Comparison of Modern NLP with Classical Machine Learning Algorithms in Evaluating Food Security Programs
Abstract
The success of food security programs faces various challenges. Most of the available data is in the form of unstructured text reports, news, and policy documents. The BERT (Bidirectional Encoder Representations from Transformers) model allows the system to read reports and news by considering the relationship between words in sentences. Compared to Support Vector Machines (SVMs) that rely on numerical data. The dataset is expanded to improve the generalization of the IndoBERT Classifier. There are 6 commodity data and 3 labels used in IndoBERT Modeling, represented by a 768-dimensional feature vector resulting in Accuracy 0.8333 (83.33%) indicating 5 correct predictions, with one misclassification. Tuned Min-Max on Support Vector Machines (SVM) is used in each dimension to find the optimal hyperplane contributing. The feature matrix x with size (39,10) and the target variable y with size (39) show Accuracy 0.92 (92.0%) that the data division process maintains the class proportion consistently. SVM performed better than IndoBERT. Classification evaluation of the models showed IndoBERT with Accuracy 83% and SVM Sccuracy 87%.
Downloads
References
S. Kannan, “Transforming Community Engagement with Generative AI: Harnessing Machine Learning and Neural Networks for Hunger Alleviation and Global Food Security,” Cuest. Fisioter., vol. 54, no. 4, pp. 953–963, 2025.
K. N. Khikmah, B. Sartono, B. Susetyo, and G. A. Dito, “Performance Comparative Study of Machine Learning Classification Algorithms for Food Insecurity Experience by Households in West Java,” J. Online Inform., vol. 9, no. 1, pp. 128–137, 2024, doi: 10.15575/join.v9i1.1012.
A. Çalışkan, S. Demirhan, and R. Tekin, “Comparison of different machine learning methods for estimating compressive strength of mortars,” Constr. Build. Mater., vol. 335, no. 1, pp. 12–21, 2022, doi: 10.1016/j.conbuildmat.2022.127490.
K. Kumari, A. Mirzakhani Nafchi, S. Mirzaee, and A. Abdalla, “AI-Driven Future Farming: Achieving Climate-Smart and Sustainable Agriculture,” AgriEngineering, vol. 7, no. 3, pp. 1–30, 2025, doi: 10.3390/agriengineering7030089.
W. R. Mgomezulu, M. M. N. Chitete, B. B. Maonga, and M. A. R. Phiri, “Machine learning approaches for grain seed quality assessment: a comparative study of maize seed samples in Malawi,” Discov. Appl. Sci., vol. 7, no. 6, 2025, doi: 10.1007/s42452-025-07191-y.
R. T. Al Zahrawi, S. N. S. Abdullah, A. Sarirete, and M. A. R. Abdullah, “Advancing Literary Analysis With Python: A Comprehensive Study of Simile Detection and Classification in the Translation of Al-Abrat,” SAGE Open, vol. 15, no. 4, pp. 1–20, 2025, doi: 10.1177/21582440251378859.
W. Quan, J. Zhou, J. Wang, and J. Huang, “Machine Learning-Driven Precision Nutrition : A Paradigm Evolution in Dietary Assessment and Intervention,” pp. 1–27, 2026.
M. Nigus and H. L. Shashirekha, “A Comparison of Machine Learning and Deep Learning Models for Predicting Household Food Security Status,” Int. J. Electr. Electron. Res., vol. 10, no. 2, pp. 308–311, 2022, doi: 10.37391/IJEER.100241.
J. Arévalo-Royo, F. J. Flor-Montalvo, J. I. Latorre-Biel, R. Tino-Ramos, E. Martínez-Cámara, and J. Blanco-Fernández, “AI Algorithms in the Agrifood Industry: Application Potential in the Spanish Agrifood Context,” Appl. Sci., vol. 15, no. 4, pp. 1–37, 2025, doi: 10.3390/app15042096.
A. Rejeb, K. Rejeb, and A. Hassoun, “The impact of machine learning applications in agricultural supply chain: a topic modeling-based review,” Discov. Food, vol. 5, no. 1, 2025, doi: 10.1007/s44187-025-00419-1.
G. Sabapathy, “Artificial Intelligence in Pharmaceutical Commercial Operations: Transforming Sales Performance and Patient Engagement in the Digital Era,” J. Comput. Sci. Technol. Stud., vol. 7, no. 8, pp. 636–651, 2025, doi: 10.32996/jcsts.
H. Resources and A. Officer, “ARTIFICIAL INTELLIGENCE FOR GLOBAL FOOD SECURITY : DATA-DRIVEN STRATEGIES FOR CLIMATE-RESILIENT AGRICULTURAL SYSTEMS International Journal of Engineering Technology Research & Managemen,” Int. J. Eng. Technol. Res. Manag., no. 12, 2019, [Online]. Available: file:///D:/RRC/Referenceing/Safety and Resilience/Ref/Sep-2019-02-1756779191-DEC201923.pdf.
A. S. R. M. Sinaga, R. E. Putra, and A. S. Girsang, “Prediction measuring local coffee production and marketing relationships coffee with big data analysis support,” Bull. Electr. Eng. Informatics, vol. 11, no. 5, pp. 2764–2772, 2022, doi: 10.11591/eei.v11i5.4082.
C. P. Ng, T. Y. Tang, and A. Pariatamby, “How urgent environmental challenges and tech advancements reshape commercial food systems: A bibliometric analysis leveraging natural-language processing,” Int. J. Eng. Bus. Manag., vol. 18, pp. 1–23, 2026, doi: 10.1177/18479790251394768.
P. Bhairo and R. Maharaj, “Harnessing artificial intelligence for food security in a changing climate,” Discov. Food, vol. 5, no. 1, 2025, doi: 10.1007/s44187-025-00609-x.
Copyright (c) 2025 Anita Sindar Sinaga, Dameria Esterlina Sijabat, Bella Saputri, Nadia Aulia

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


