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 einvoices 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.
CITATION STYLE
Chang, W. T., Yeh, Y. P., Wu, H. Y., Lin, Y. F., Dinh, T. S., & Lian, I. (2020). An automated alarm system for food safety by using electronic invoices. PLoS ONE, 15(1). https://doi.org/10.1371/journal.pone.0228035
Mendeley helps you to discover research relevant for your work.