{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,8]],"date-time":"2026-04-08T05:28:11Z","timestamp":1775626091368,"version":"3.50.1"},"reference-count":50,"publisher":"MDPI AG","issue":"8","license":[{"start":{"date-parts":[[2025,8,19]],"date-time":"2025-08-19T00:00:00Z","timestamp":1755561600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Major Social Science Projects in China (Evaluation of the Development Potential of the Deep Blue Fisheries Industry under Climate Change)","award":["21&ZD100"],"award-info":[{"award-number":["21&ZD100"]}]},{"name":"Major Social Science Projects in China (Evaluation of the Development Potential of the Deep Blue Fisheries Industry under Climate Change)","award":["CARS-47-G29"],"award-info":[{"award-number":["CARS-47-G29"]}]},{"name":"China Modern Agricultural Industry Technology System Support Project","award":["21&ZD100"],"award-info":[{"award-number":["21&ZD100"]}]},{"name":"China Modern Agricultural Industry Technology System Support Project","award":["CARS-47-G29"],"award-info":[{"award-number":["CARS-47-G29"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Systems"],"abstract":"<jats:p>This paper focuses on the challenges in food safety governance in megacities, taking Shanghai as the research object. Aiming at the pain points in food sampling inspections, it proposes a risk prediction and regulatory optimization scheme combining text mining and machine learning. First, the paper uses the LDA method to conduct in-depth mining on over 78,000 pieces of food sampling data across 34 categories in Shanghai, so as to identify core risk themes. Second, it applies SMOTE oversampling to the sampling data with an extremely low unqualified rate (0.5%). Finally, a machine learning prediction model for food safety risks is constructed, and predictions are made based on this model. The research findings are as follows: \u2460 Food risks in Shanghai show significant characteristics in terms of time, category, and pollution causes. \u2461 Supply chain links, regulatory intensity, and consumption scenarios are among the core influencing factors. \u2462 The traditional \u201cfull coverage\u201d model is inefficient, and resources need to be tilted toward high-risk categories. \u2463 Public attention (e.g., the \u201cYou Order, We Inspect\u201d initiative) can drive regulatory responses to improve the qualified rate. Based on these findings, this paper suggests that relevant authorities should \u2460 classify three levels of risks for categories, increase inspection frequency for high-risk products in summer, adjust sampling intensity for different business entities, and establish a dynamic hierarchical regulatory mechanism; \u2461 tackle source governance, reduce environmental pollution, upgrade process supervision, and strengthen whole-chain risk prevention and control; and \u2462 promote public participation, strengthen the enterprise responsibility system, and deepen the social co-governance pattern. This study effectively addresses the risk early warning problems in food safety supervision of megacities, providing a scientific basis and practical path for optimizing the allocation of regulatory resources and improving governance efficiency.<\/jats:p>","DOI":"10.3390\/systems13080715","type":"journal-article","created":{"date-parts":[[2025,8,19]],"date-time":"2025-08-19T15:29:29Z","timestamp":1755617369000},"page":"715","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Food Safety Risk Prediction and Regulatory Policy Enlightenment Based on Machine Learning"],"prefix":"10.3390","volume":"13","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6486-5554","authenticated-orcid":false,"given":"Daqing","family":"Wu","sequence":"first","affiliation":[{"name":"School of Economics and Management, Shanghai Ocean University, Shanghai 201306, China"}]},{"given":"Hangqi","family":"Cai","sequence":"additional","affiliation":[{"name":"School of Economics and Management, Shanghai Ocean University, Shanghai 201306, China"}]},{"given":"Tianhao","family":"Li","sequence":"additional","affiliation":[{"name":"School of Economics and Management, Shanghai Ocean University, Shanghai 201306, China"}]}],"member":"1968","published-online":{"date-parts":[[2025,8,19]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"88","DOI":"10.15302\/J-SSCAE-2022.06.009","article-title":"Optimization of Organizational Model of Public Food Safety Emergency Management in China","volume":"24","author":"Peng","year":"2023","journal-title":"Chin. J. Eng. Sci."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"745","DOI":"10.1017\/S030574101500079X","article-title":"Why food safety fails in China: The politics of scale","volume":"223","author":"Yasuda","year":"2015","journal-title":"China Q."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Chai, D., Meng, T., and Zhang, D. (2022). Influence of food safety concerns and satisfaction with government regulation on organic food consumption of Chinese urban residents. Foods, 11.","DOI":"10.3390\/foods11192965"},{"key":"ref_4","first-page":"315","article-title":"Application Research of Machine Learning in Food Safety Risk Early Warning and Sampling Inspection Program","volume":"34","author":"Yang","year":"2022","journal-title":"Manag. Rev."},{"key":"ref_5","first-page":"4","article-title":"Food Safety Risk Prediction and Regulatory Policy Implications Based on Machine Learning: Evidence from Fresh Aquatic Products","volume":"5","author":"Zhou","year":"2024","journal-title":"Issues Agric. Econ."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"102218","DOI":"10.1016\/j.foodpol.2022.102218","article-title":"Effects of Regulatory Policy Mixes on Traceability Adoption in Wholesale Markets: Food Safety Inspection and Information Disclosure","volume":"107","author":"Zhou","year":"2022","journal-title":"Food Policy"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"108697","DOI":"10.1016\/j.foodcont.2021.108697","article-title":"A Comparison of Neural and Non-Neural Machine Learning Models for Food Safety Risk Prediction with European Union RASFF Data","volume":"134","author":"Nogales","year":"2022","journal-title":"Food Control"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Zhang, R., Zhou, L., Zuo, M., Zhang, Q., Bi, M., Jin, Q., and Xu, Z. (2018, January 21\u201323). Prediction of Dairy Product Quality Risk Based on Extreme Learning Machine. Proceedings of the 2018 2nd International Conference on Data Science and Business Analytics (ICDSBA), Changsha, China.","DOI":"10.1109\/ICDSBA.2018.00090"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"373","DOI":"10.5662\/wjm.v13.i5.373","article-title":"Challenges and limitations of synthetic minority oversampling techniques in machine learning","volume":"13","author":"Alkhawaldeh","year":"2023","journal-title":"World J. Methodol."},{"key":"ref_10","unstructured":"Brabec, J., and Machlica, L. (2018). Bad practices in evaluation methodology relevant to class-imbalanced problems. arXiv."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"03084","DOI":"10.1051\/e3sconf\/20185303084","article-title":"Improving Food Safety in Supply Chain Based on Big Data","volume":"53","author":"Liu","year":"2018","journal-title":"E3S Web Conf."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"32","DOI":"10.3390\/ijerph120100032","article-title":"Agricultural and Management Practices and Bacterial Contamination in Greenhouse Versus Open Field Lettuce Production","volume":"12","author":"Holvoet","year":"2015","journal-title":"Int. J. Environ. Res. Public Health"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Stoev, S.D. (2023). Foodborne Diseases Due to Underestimated Hazard of Joint Mycotoxin Exposure at Low Levels and Possible Risk Assessment. Toxins, 15.","DOI":"10.3390\/toxins15070464"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Lebelo, K., Malebo, N., Mochane, M.J., and Masinde, M. (2021). Chemical Contamination Pathways and the Food Safety Implications Along the Various Stages of Food Production: A Review. Int. J. Environ. Res. Public Health, 18.","DOI":"10.3390\/ijerph18115795"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Virumbrales, C., Hern\u00e1ndez-Ruiz, R., Trigo-L\u00f3pez, M., Vallejos, S., and Garc\u00eda, J.M. (2024). Sensory Polymers: Trends, Challenges, and Prospects Ahead. Sensors, 24.","DOI":"10.3390\/s24123852"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"91","DOI":"10.15408\/saj.v2i2.29178","article-title":"Mitigasi Risiko Rantai Pasok Daging Sapi di PT Gizi Pangan Utama Bekasi","volume":"2","author":"Ibrahim","year":"2022","journal-title":"Sharia Agribus. J."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"911","DOI":"10.19026\/ajfst.9.1772","article-title":"Food Safety Management System in Star Hotel and Safety Hazards Countermeasures","volume":"9","author":"Liu","year":"2015","journal-title":"Adv. J. Food Sci. Technol."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"87","DOI":"10.33545\/26646064.2022.v4.i1b.156","article-title":"The Role of Food Safety Regulations in Preventing E. coli Contamination in Leafy Greens","volume":"4","author":"Majumdar","year":"2022","journal-title":"Int. J. Agric. Nutr."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Hern\u00e1ndez-Rubio, J., P\u00e9rez-Mesa, J.C., Piedra-Mu\u00f1oz, L., and Galdeano-G\u00f3mez, E. (2018). Determinants of Food Safety Level in Fruit and Vegetable Wholesalers\u2019 Supply Chain: Evidence from Spain and France. Int. J. Environ. Res. Public Health, 15.","DOI":"10.3390\/ijerph15102246"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Colon, C., Br\u00e4nnstr\u00f6m, \u00c5., Rovenskaya, E., and Dieckmann, U. (2020). Fragmentation of Production Amplifies Systemic Risks from Extreme Events in Supply-Chain Networks. PLoS ONE, 15.","DOI":"10.1371\/journal.pone.0244196"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Macieira, A., Barbosa, J., and Teixeira, P. (2021). Food Safety in Local Farming of Fruits and Vegetables. Int. J. Environ. Res. Public Health, 18.","DOI":"10.3390\/ijerph18189733"},{"key":"ref_22","first-page":"75","article-title":"Seasonal Variation in Microbial Contamination of Various Food Items in Karachi: Microbial Contamination of Various Food","volume":"64","author":"Aqeel","year":"2021","journal-title":"Biol. Sci.-PJSIR"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Bianchi, D.M., Maurella, C., Lenzi, C., Fornasiero, M., Barbaro, A., and Decastelli, L. (2022). Influence of Season and Food Type on Bacterial and Entero-Toxigenic Prevalence of Staphylococcus aureus. Toxins, 14.","DOI":"10.3390\/toxins14100671"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"25","DOI":"10.1186\/s40793-021-00393-y","article-title":"Seasonality, Shelf Life and Storage Atmosphere Are Main Drivers of the Microbiome and E. coli O157:H7 Colonization of Post-Harvest Lettuce Cultivated in a Major Production Area in California","volume":"16","author":"Leonard","year":"2021","journal-title":"Environ. Microbiome"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"e190","DOI":"10.1017\/S0950268819000797","article-title":"Seasonality and Zoonotic Foodborne Pathogens in Canada: Relationships Between Climate and Campylobacter, E. coli and Salmonella in Meat Products","volume":"147","author":"Smith","year":"2019","journal-title":"Epidemiol. Infect."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Marty, L., de Lauzon-Guillain, B., and Nicklaus, S. (2022). Short- and Mid-Term Impacts of COVID-19 Outbreak on the Nutritional Quality and Environmental Impact of Diet. Front. Nutr., 9.","DOI":"10.3389\/fnut.2022.838351"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"694","DOI":"10.1038\/s43016-022-00594-9","article-title":"Global Dietary Quality in 185 Countries from 1990 to 2018 Show Wide Differences by Nation, Age, Education, and Urbanicity","volume":"3","author":"Miller","year":"2022","journal-title":"Nat. Food"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Kosola, M., Kiviniemi, K., and Lund\u00e9n, J. (2022). Factors Affecting Effectiveness of Food Control Inspections in Food Production Establishments in Finland. Sci. Rep., 12.","DOI":"10.1038\/s41598-022-08204-1"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Li, K., Yin, S., and Chen, Y. (2023). Analysis of Cross-Regional Transfer of Food Safety Risks and Its Influencing Factors\u2014An Empirical Study of Five Provinces in East China. Foods, 12.","DOI":"10.3390\/foods12081596"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"2820506","DOI":"10.1155\/2023\/2820506","article-title":"Microbiological Profile and Hygienic Quality of Foodstuffs Marketed in Collective Catering in Central Morocco","volume":"2023","author":"Amaiach","year":"2023","journal-title":"Int. J. Food Sci."},{"key":"ref_31","first-page":"375","article-title":"A Survey on Awareness of Consumers About Health Problems of Food Additives in Packaged Foods and Their Attitude Toward Consumption of Packaged Foods: A Case Study at Jimma University","volume":"23","author":"Legesse","year":"2016","journal-title":"Int. Food Res. J."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1","DOI":"10.25220\/WNJ.V06.i2.0002","article-title":"The Correlation Between Knowledge and Behavior of Reading Composition Label of Packaged Food on Public 2 JHS and Giovani JHS Students in Kupang","volume":"6","author":"Making","year":"2023","journal-title":"World Nutr. J."},{"key":"ref_33","first-page":"51","article-title":"Formation as a Factor in Consumer Demand for Organic Food","volume":"29","year":"2022","journal-title":"Humanit. Soc. Sci."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"31","DOI":"10.5005\/jp-journals-10084-12112","article-title":"A Comparative Study to Assess the Knowledge Regarding Food Adulteration and Its Detection and to Create Awareness Among Homemakers in Selected Rural and Urban Community of Durg District, Chhattisgarh","volume":"12","author":"Indu","year":"2020","journal-title":"Pondicherry J. Nurs."},{"key":"ref_35","first-page":"55","article-title":"Media Coverage and Citizens\u2019 Perceptions of Food Safety in Urban China","volume":"2","author":"Wang","year":"2020","journal-title":"China Policy J."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Moruzzo, R., Riccioli, F., Boncinelli, F., Zhang, Z., Zhao, J., Tang, Y., Tinacci, L., Massai, T., and Guidi, A. (2020). Urban Consumer Trust and Food Certifications in China. Foods, 9.","DOI":"10.3390\/foods9091153"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Stoitsis, G., Papakonstaninou, M., Karvounis, M., and Manouselis, N. (2023). The Role of Big Data and Artificial Intelligence in Food Risk Assessment and Prediction. Present Knowledge in Food Safety, Elsevier.","DOI":"10.1016\/B978-0-12-819470-6.00041-X"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"196","DOI":"10.1016\/j.chroma.2007.05.024","article-title":"Supervised Pattern Recognition in Food Analysis","volume":"1158","author":"Berrueta","year":"2007","journal-title":"J. Chromatogr. A"},{"key":"ref_39","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1038\/s41538-023-00226-x","article-title":"Review of Visual Analytics Methods for Food Safety Risks","volume":"7","author":"Chen","year":"2023","journal-title":"npj Sci. Food"},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Xiong, Y., Li, W., and Liu, T. (2020). Risk Early Warning of Food Quality Safety in Meat Processing Industry. Int. J. Environ. Res. Public Health, 17.","DOI":"10.3390\/ijerph17186579"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Hao, C., Zhang, Q., Wang, S., Jiang, T., and Dong, W. (2023). Prediction of Safety Risk Levels of Benzopyrene Residues in Edible Oils in China Based on the Variable-Weight Combined LSTM-XGBoost Prediction Model. Foods, 12.","DOI":"10.3390\/foods12112241"},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Song, D., Hu, G., Li, H., Zhao, H., Wang, Z., and Liu, Y. (2025). Real Estate Market Forecasting for Enterprises in First-Tier Cities: Based on Explainable Machine Learning Models. Systems, 13.","DOI":"10.3390\/systems13070513"},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Ma, Y., Hou, Y.Y., Liu, Y.S., and Xue, Y.H. (2016, January 12\u201314). Research of Food Safety Risk Assessment Methods Based on Big Data. Proceedings of the IEEE International Conference on Big Data Analysis, Hangzhou, China.","DOI":"10.1109\/ICBDA.2016.7509812"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"e13296","DOI":"10.1111\/1541-4337.13296","article-title":"Making Food Systems More Resilient to Food Safety Risks by Including Artificial Intelligence, Big Data, and Internet of Things into Food Safety Early Warning and Emerging Risk Identification Tools","volume":"23","author":"Mu","year":"2024","journal-title":"Compr. Rev. Food Sci. Food Saf."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"e33","DOI":"10.1017\/dap.2022.25","article-title":"Food Security Analysis and Forecasting: A Machine Learning Case Study in Southern Malawi","volume":"4","author":"Gholami","year":"2022","journal-title":"Data Policy"},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Qasrawi, R., Hoteit, M., Tayyem, R., Bookari, K., Al Sabbah, H., Kamel, I., Dashti, S., Allehdan, S., Bawadi, H., and Waly, M. (2023). Machine Learning Techniques for the Identification of Risk Factors Associated with Food Insecurity Among Adults in Arab Countries During the COVID-19 Pandemic. BMC Public Health, 23.","DOI":"10.21203\/rs.3.rs-2545270\/v1"},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Chen, Y., Li, H., Dou, H., Wen, H., and Dong, Y. (2023). Prediction and Visual Analysis of Food Safety Risk Based on Tabnet-Gra. Foods, 12.","DOI":"10.3390\/foods12163113"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"e42021","DOI":"10.1590\/fst.42021","article-title":"Study on Food Safety Risk Based on LightGBM Model: A Review","volume":"42","author":"Jing","year":"2022","journal-title":"Food Sci. Technol."},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Zhong, J., Sun, L., Zuo, E., Chen, C., Chen, C., Jiang, H., Li, H., and Lv, X. (2023). An Ensemble of AHP-EW and AE-RNN for Food Safety Risk Early Warning. PLoS ONE, 18.","DOI":"10.1371\/journal.pone.0284144"},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"1233","DOI":"10.22214\/ijraset.2021.37976","article-title":"Hard Disk Drive Failure Detection Using Hybrid Algorithm","volume":"9","author":"Mokal","year":"2021","journal-title":"Int. J. Res. Appl. Sci. Eng. Technol."}],"container-title":["Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2079-8954\/13\/8\/715\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T18:31:12Z","timestamp":1760034672000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2079-8954\/13\/8\/715"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,19]]},"references-count":50,"journal-issue":{"issue":"8","published-online":{"date-parts":[[2025,8]]}},"alternative-id":["systems13080715"],"URL":"https:\/\/doi.org\/10.3390\/systems13080715","relation":{},"ISSN":["2079-8954"],"issn-type":[{"value":"2079-8954","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,8,19]]}}}