Classification of Community Aspiration Proposal Documents Using Large Language Model and Naïve Bayes Approach
DOI:
https://doi.org/10.52436/1.jutif.2026.7.5.5886Keywords:
Administrative Document, Complement Naive Bayes, Document Classification, Large Language Model, Multinomial Naive BayesAbstract
Community proposals in the form of regional development proposals are often voluminous, creating administrative barriers to verification and alignment with dynamic development priorities. This study aims to implement and evaluate an automatic classification system to help verifiers quickly and accurately prioritize community proposals that are most relevant to the regional development policy directions. This study employs a comparative experimental design to evaluate the performance of a Large Language Model (LLM) against traditional machine learning models, namely Multinomial Naive Bayes (MNB) and Complementary Naive Bayes (CNB). PDF documents in the dataset were processed to extract text, and Optical Character Recognition (OCR) was used for scanned documents. Documents were sorted based on seven administrative criteria, then summarized to extract key points from those meeting the criteria, classified according to development priorities, and evaluated using Stratified 10-Fold Cross-Validation to ensure consistent and representative results. Experimental results show that Complement Naive Bayes (CNB) achieved the highest performance with an accuracy of 87.69% and an F1-score of 0.8760, followed by LLM with an accuracy of 87.72% and an F1-score of 0.8759, and MNB with an accuracy of 84.3% and an F1-score of 0.8430. Although CNB has a slight edge in statistical accuracy, LLM offers added value through its semantic evaluation capabilities, which can provide the logical reasoning behind each classification decision. This study provides empirical evidence that lightweight traditional algorithms (CNB) remain more robust and computationally efficient than zero-shot LLMs for localized administrative texts, offering a scalable solution for government digital transformation.
Downloads
References
S. Sharmin and R. H. Chowdhury, “Digital Transformation in Governance: The Impact of e-governance on Public Administration and Transparency,” Journal of Computer Science and Technology Studies, vol. 7, no. 1, pp. 362–379, Mar. 2025, doi: 10.32996/JCSTS.2025.7.1.27.
Menteri Dalam Negeri Republik Indonesia, “Peraturan Menteri Dalam Negeri Nomor 86 Tahun 2017 tentang Tata Cara Perencanaan, Pengendalian, dan Evaluasi Pembangunan Daerah, Tata Cara Evaluasi Rancangan Peraturan Daerah tentang Rencana Pembangunan Jangka Panjang Daerah dan Rencana Pembangunan Jangka Menengah Daerah, serta Tata Cara Perubahan Rencana Pembangunan Jangka Panjang Daerah, Rencana Pembangunan Jangka Menengah Daerah, dan Rencana Kerja Pemerintah Daerah,” 2017. [Online]. Available: www.peraturan.go.id
W. Sundari and I. Sartika, “Advancing Public Service Quality through Indonesia’s Electronic-Based Government System,” Jurnal Ilmiah Multidisiplin Indonesia (JIM-ID), vol. 4, no. 8, pp. 902–911, Sep. 2025, doi: 10.58471/esaprom.v4i08.
B. Altınel and M. C. Ganiz, “Semantic text classification: A survey of past and recent advances,” Information Processing & Management, vol. 54, no. 6, pp. 1129–1153, Nov. 2018, doi: 10.1016/J.IPM.2018.08.001.
P. Cristin, B. Natalia, J. C. Limantara, and Sarwosri, “Performance Comparison of Embeddings and Keyword Selection Methods in Enterprise Document,” Journal of Applied Informatics and Computing (JAIC). Accessed: Dec. 27, 2025. [Online]. Available: https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/9971/2915
Q. Li, H. Peng, J. Li, C. Xia, R. Yang, L. Sun, et al., “A Survey on Text Classification: From Traditional to Deep Learning,” ACM Transactions on Intelligent Systems and Technology, vol. 13, no. 2, pp. 1–41, Apr. 2022, doi: 10.1145/3495162.
D. Xu, W. Chen, W. Peng, C. Zhang, T. Xu, X. Zhao, et al., “Large language models for generative information extraction: a survey,” Frontiers of Computer Science, vol. 18, p. 186357, Nov. 2024, doi: 10.1007/s11704-024-40555-y.
Y. Chang, X. Wang, J. Wang, Y. Wu, L. Yang, K. Zhu, et al., “A Survey on Evaluation of Large Language Models,” ACM Transactions on Intelligent Systems and Technology, vol. 15, no. 3, p. 1, Mar. 2024, doi: 10.1145/3641289.
Retnowati, V. Lusiana, and E. Nur Wahyudi, “Klasifikasi Dokumen Publik Berbasis NLP: Otomatisasi Proses Informasi Menuju Keterbukaan Data yang Adaptif dan Transparan,” Jurnal Teknik Informatika dan Teknologi Informasi, vol. 5, no. 2, pp. 521–533, Aug. 2025, doi: 10.55606/jutiti.v5i2.5693.
R. Labib Mustofa, Tarno, and C. Edi Widodo, “Analisis Sentimen Berbasis Aspek Pada Aplikasi Elektronik Survei Kepuasan Masyarakat (E-SKM) Jawa Tengah Menggunakan Indobert,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 12, no. 4, pp. 867–874, Aug. 2025, doi: 10.25126/jtiik.124.
W. M. H. Sasmita, S. Sumpeno, and R. F. Rachmadi, “Improving Government Helpdesk Service With an AI-Powered Chatbot Built on the Rasa Framework,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 9, no. 2, pp. 393–403, Apr. 2025, doi: 10.29207/resti.v9i2.6293.
T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, et al., “Language Models are Few-Shot Learners,” Advances in Neural Information Processing Systems (NeurIPS), May 2020, doi: 10.48550/arXiv.2005.14165.
T. Kojima, S. Shane Gu, M. Reid, Y. Matsuo, and Y. Iwasawa, “Large Language Models are Zero-Shot Reasoners,” Conference on Neural Information Processing Systems (NeurIPS), Jan. 2023, doi: 10.48550/arXiv.2205.11916.
M. Cate, “Understanding Zero-Shot and Few-Shot Learning in LLMs.” Accessed: Dec. 27, 2025. [Online]. Available: https://www.researchgate.net/publication/388959308_Understanding_Zero-Shot_and_Few-Shot_Learning_in_LLMs
K. Kingphai, P. Wangkae, K. Sanittham, and K. N. Nakornphanom, “A Comparative Study of Statistical Models for News Classification under Imbalanced Data,” KKU Science Journal, vol. 54, no. 1, pp. 215–231, Feb. 2026, doi: 10.14456/KKUSCIJ.2026.16.
A. Kostina, M. D. Dikaiakos, D. Stefanidis, and G. Pallis, “Large Language Models For Text Classification: Case Study And Comprehensive Review,” arXiv preprint arXiv:2501.08457, Jan. 2025, doi: 10.48550/arXiv.2501.08457.
M. Altalhan, A. Algarni, and M. Turki-Hadj Alouane, “Imbalanced Data Problem in Machine Learning: A Review,” IEEE Access, vol. 13, pp. 13686–13699, Jan. 2025, doi: 10.1109/ACCESS.2025.3531662.
L. Qin, Q. Chen, X. Feng, Y. Wu, Y. Zhang, Y. Li, et al., “Large Language Models Meet NLP: A Survey,” Frontiers of Computer Science, vol. 20, p. 2011361, Mar. 2025, doi: 10.1007/s11704-025-50472-3.
M. Tahmid Rahman Laskar, S. Alqahtani, M. Saiful Bari, M. Rahman, M. Abdullah Matin Khan, H. Khan, et al., “A Systematic Survey and Critical Review on Evaluating Large Language Models: Challenges, Limitations, and Recommendations,” Proceedings ofthe 2024 Conference on Empirical Methods in Natural Language Processing, pp. 13785–13816, Nov. 2024, doi: 10.18653/v1/2024.emnlp-main.764.
S. Minaee, T. Mikolov, N. Nikzad, M. Chenaghlu, R. Socher, X. Amatriain, et al., “Large Language Models: A Survey,” arXiv preprint arXiv:2402.06196, Mar. 2025, doi: 10.48550/arXiv.2402.06196.
I. D. Mienye, N. Jere, G. Obaido, O. O. Ogunruku, E. Esenogho, and C. Modisane, “Large language models: an overview of foundational architectures, recent trends, and a new taxonomy,” Discover Applied Sciences, vol. 7, no. 1027, Sep. 2025, doi: 10.1007/s42452-025-07668-w.
C. Auer, M. Lysak, A. Nassar, M. Dolfi, N. Livathinos, P. Vagenas, et al., “Docling Technical Report,” arXiv preprint arXiv:2408.09869, Aug. 2024, doi: 10.48550/arXiv.2408.09869.
R. Sinha and M. Rekha, “Digitization of Document and Information Extraction using OCR,” arXiv preprint arXiv:2402.06196, Jun. 2025, doi: 10.48550/arXiv.2506.11156.
S. Sathyanarayanan, “Confusion Matrix-Based Performance Evaluation Metrics,” African Journal of Biomedical Research, vol. 27, pp. 4023–4031, Nov. 2024, doi: 10.53555/AJBR.V27I4S.4345.
K. Febianto Agiharta, B. Renaldy Suteja, and M. Ayub, “Application of Sentence BERT for Job Competency and Course Similarity,” UTISI (Jurnal Teknik Informatika dan Sistem Informasi), vol. 10, no. 3, pp. 449–467, Dec. 2024, doi: 10.28932/JUTISI.V10I3.9411.
M. Barbella and G. Tortora, “Rouge Metric Evaluation for Text Summarization Techniques,” SSRN Electronic Journal, May 2022, doi: 10.2139/SSRN.4120317.
C.-Y. Lin, “ROUGE: A Package for Automatic Evaluation of Summaries,” Text Summarization Branches Out, pp. 74–81, Jul. 2004, Accessed: Dec. 06, 2026. [Online]. Available: https://aclanthology.org/W04-1013
S. Widodo, H. Brawijaya, and S. Samudi, “Stratified K-fold cross validation optimization on machine learning for prediction,” Sinkron: Jurnal dan Penelitian Teknik Informatika, vol. 7, no. 4, pp. 2407–2414, Oct. 2022, doi: 10.33395/SINKRON.V7I4.11792.
C. Duan, “Accelerating End-to-End PDF to Markdown Conversion through Assisted Generation,” arXiv preprint arXiv:2512.18122, Dec. 2025, doi: 10.1007/978-3-031-97141-9_3.
L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. L. Wainwright, P. Mishkin, et al., “Training language models to follow instructions with human feedback,” Mar. 2022, doi: 10.48550/arXiv.2203.02155.
P. Liu, W. Yuan, J. Fu, Z. Jiang, H. Hayashi, and G. Neubig, “Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing,” ACM Computing Surveys, vol. 55, pp. 1–35, Jul. 2023, doi: 10.1145/3560815.
B. Phatcharathada and P. Srisuradetchai, “Randomized Feature and Bootstrapped Naive Bayes Classification,” Applied System Innovation, vol. 8, no. 4, p. 94, Jul. 2025, doi: 10.3390/ASI8040094.
P. Fu, T. Guan, Z. Wang, Z. Guo, C. Duan, H. Sun, et al., “Multimodal Large Language Models for Text-rich Image Understanding: A Comprehensive Review,” Findings of the Association for Computational Linguistics: ACL 2025, pp. 19941–19958, Jul. 2025, doi: 10.18653/v1/2025.findings-acl.1023.
F. Rademaker, F. Ahmed, and M. R. Machado, “Multi-modal document classification in AEC asset management,” Intelligent Systems with Applications, vol. 29, no. 200609, Mar. 2025, doi: 10.1016/j.iswa.2025.200609.
Additional Files
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Fariz Arya Brahmantya Putratama, Surya Sumpeno, Reza Fuad Rachmadi

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

</a



