PLoS ONE (Jan 2020)

An automated alarm system for food safety by using electronic invoices.

  • Wan-Tzu Chang,
  • Yen-Po Yeh,
  • Hong-Yi Wu,
  • Yu-Fen Lin,
  • Thai Son Dinh,
  • Ie-Bin Lian

DOI
https://doi.org/10.1371/journal.pone.0228035
Journal volume & issue
Vol. 15, no. 1
p. e0228035

Abstract

Read online

BACKGROUND:Invoices had been used in food product traceability, however, none have addressed the automated alarm system for food safety by utilizing electronic invoice big data. In this paper, we present an alarm system for edible oil manufacture that can prevent a food safety crisis rather than trace problematic sources post-crisis. MATERIALS AND METHODS:Using nearly 100 million labeled e-invoices from the 2013‒2014 of 595 edible oil manufacturers provided by Ministry of Finance, we applied text-mining, statistical and machine learning techniques to "train" the system for two functions: (1) to sieve edible oil-related e-invoices of manufacturers who may also produce other merchandise and (2) to identify suspicious edible oil manufacture based on irrational transactions from the e-invoices sieved. RESULTS:The system was able to (1) accurately sieve the correct invoices with sensitivity >95% and specificity >98% via text classification and (2) identify problematic manufacturers with 100% accuracy via Random Forest machine learning method, as well as with sensitivity >70% and specificity >99% through simple decision-tree method. CONCLUSION:E-invoice has bright future on the application of food safety. It can not only be used for product traceability, but also prevention of adverse events by flag suspicious manufacturers. Compulsory usage of e-invoice for food producing can increase the accuracy of this alarm system.