Hybrid Machine Learning for Crime Prediction in Indonesia toward Society 5.0
Keywords:
Artificial Intelligence, Crime Prediction, Digital Transformation, Hybrid Machine Learning, Society 5.0Abstract
Crime remains a major social challenge in Indonesia, requiring innovative approaches to enhance prevention and law enforcement. This study proposes a hybrid machine learning framework that integrates the Temporal Fusion Transformer (TFT) for time-series forecasting and Extreme Gradient Boosting (XGBoost) for classification and feature analysis. Using socio-economic and demographic data from the Indonesian Central Bureau of Statistics (2010-2023) across 38 provinces, the framework aims to predict crime incidence and classify crime resolution effectiveness. The results show that TFT effectively captures temporal dependencies, achieving robust forecasting accuracy (R2 = 0.9893), while XGBoost delivers high classification performance (Accuracy = 98.87%). Feature importance analysis highlights the dominant role of case resolution rate, government consumption expenditure, school participation rates and life expectancy in shaping crime patterns. Compared to baseline models such as LSTM and Random Forest, the hybrid TFT + XGBoost approach demonstrates superior balance between accuracy, robustness and interpretability. These findings provide actionable insights for policymakers to design data-driven crime prevention strategies, align with Indonesia’s digital transformation agenda, and support the vision of Society 5.0.
Downloads
References
Ž. Bjelajac, “The Origin Of Criminal Behavior In The Context Of Developmental Risk Factors,” Kultura Polisa, vol. 21, no. 1, pp. 18–42, Apr. 2024, doi: 10.51738/Kpolisa2024.21.1r.18b. DOI: https://doi.org/10.51738/Kpolisa2024.21.1r.18b
E. Lamba, R. Gupta, and R. P. Singh Lamba, Social Problems In Modern India. Shodh Sagar International Publications, 2024. doi: 10.36676/shodhsagar/978-93-94411-84-5. DOI: https://doi.org/10.36676/shodhsagar/978-93-94411-84-5
A. Furkan and M. E. Susila, “Artificial Intelligence-Based Crime Prevention Policy in Indonesia,” Pena Justisia: Media Komunikasi dan Kajian Hukum, vol. 23, no. 3, pp. 2429–2440, Dec. 2024, doi: 10.31941/pj.v23i3.4114. DOI: https://doi.org/10.31941/pj.v23i3.4114
“Asta Cita Presiden dan Wakil Presiden.” Accessed: Aug. 25, 2025. [Online]. Available: https://tni.mil.id/view-248945-asta-cita-presiden-dan-wakil-presiden.html
Pankaj Chandre, “Industry 5.0 for Society 5.0 a new Transformation,” Panamerican Mathematical Journal, vol. 35, no. 1s, pp. 127–137, Nov. 2024, doi: 10.52783/pmj.v35.i1s.2188. DOI: https://doi.org/10.52783/pmj.v35.i1s.2188
K. Malik, M. Pandey, A. Khan, M. Srivastav, A. Gera, and S. S. Chauhan, “Crime Prediction by Comparing Machine Learning and Deep Learning Algorithms,” in 2024 2nd International Conference on Disruptive Technologies (ICDT), IEEE, Mar. 2024, pp. 215–219. doi: 10.1109/ICDT61202.2024.10489578. DOI: https://doi.org/10.1109/ICDT61202.2024.10489578
M. Tamilselvi, C. N. Ravi, S. Jayasudha, P. Shahad, S. Karthikeyan, and V. S. Pandi, “HDLCP: Experimental Analysis and Development of Hybrid Deep Learning Methodology for Crime Scenario Assesment and Prediction,” in 2024 1st International Conference on Cognitive, Green and Ubiquitous Computing (IC-CGU), IEEE, Mar. 2024, pp. 1–6. doi: 10.1109/IC-CGU58078.2024.10530836. DOI: https://doi.org/10.1109/IC-CGU58078.2024.10530836
P. Karthik, P. Jayanth, K. Tharun Nayak, and K. Anil Kumar, “Crime Prediction Using Machine Learning and Deep Learning,” Int J Sci Res Sci Eng Technol, vol. 11, no. 3, pp. 08–15, May 2024, doi: 10.32628/IJSRSET241134. DOI: https://doi.org/10.32628/IJSRSET241134
A. A. Ibrahim, Y. M. Malgwi, and Y. Ali, “A Hybrid Machine Learning Model For Crime Rate Prediction,” FUDMA JOURNAL OF SCIENCES, vol. 8, no. 6, pp. 101–106, Dec. 2024, doi: 10.33003/fjs-2024-0806-2789. DOI: https://doi.org/10.33003/fjs-2024-0806-2789
H. Abubakar, S. Boukari, A. Gital, and F. Zambuk, “Evaluation of a Hyperparameter Tuned Random Forest Algorithm Based on Artificial Bee Colony for Improving Accuracy and Precision of Crime Prediction Model,” American Journal of Biological and Environmental Statistics, vol. 11, no. 3, pp. 107–121, Sep. 2025, doi: 10.11648/j.ajbes.20251103.16. DOI: https://doi.org/10.11648/j.ajbes.20251103.16
B. Mwaniki, T. Mwalili, and K. Ogada, “Crime Prediction Using Decision Trees, Random Forests, and Hybrid Algorithm: A Comparative Analysis,” in 2023 7th International Conference on New Media Studies (CONMEDIA), IEEE, Dec. 2023, pp. 99–104. doi: 10.1109/CONMEDIA60526.2023.10428374. DOI: https://doi.org/10.1109/CONMEDIA60526.2023.10428374
H. Jdi and N. Falih, “Leveraging transformer models for enhanced temperature forecasting: a comparative analysis in the Beni Mellal region,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 36, no. 3, p. 1694, Dec. 2024, doi: 10.11591/ijeecs.v36.i3.pp1694-1700. DOI: https://doi.org/10.11591/ijeecs.v36.i3.pp1694-1700
J. Yang, P. Li, Y. Cui, X. Han, and M. Zhou, “Multi-Sensor Temporal Fusion Transformer for Stock Performance Prediction: An Adaptive Sharpe Ratio Approach,” Sensors, vol. 25, no. 3, p. 976, Feb. 2025, doi: 10.3390/s25030976. DOI: https://doi.org/10.3390/s25030976
S. Hartanto and A. A. S. Gunawan, “Temporal Fusion Transformers for Enhanced Multivariate Time Series Forecasting of Indonesian Stock Prices,” International Journal of Advanced Computer Science and Applications, vol. 15, no. 7, 2024, doi: 10.14569/IJACSA.2024.0150713. DOI: https://doi.org/10.14569/IJACSA.2024.0150713
S. Rasiya Koya and T. Roy, “Temporal Fusion Transformers for streamflow Prediction: Value of combining attention with recurrence,” J Hydrol (Amst), vol. 637, p. 131301, Jun. 2024, doi: 10.1016/j.jhydrol.2024.131301. DOI: https://doi.org/10.1016/j.jhydrol.2024.131301
B. Kim et al., “Internet of things and ensemble learning-based mental and physical fatigue monitoring for smart construction sites,” J Big Data, vol. 11, no. 1, p. 115, Aug. 2024, doi: 10.1186/s40537-024-00978-7. DOI: https://doi.org/10.1186/s40537-024-00978-7
S. Jain and Riyank, “Geographical crime rate prediction,” in 2023 4th International Conference on Intelligent Engineering and Management (ICIEM), IEEE, May 2023, pp. 1–6. doi: 10.1109/ICIEM59379.2023.10167307. DOI: https://doi.org/10.1109/ICIEM59379.2023.10167307
A. Gangwar, D. Bisht, S. Choudhary, V. Chauhan, and V. Tomar, “An Analytical Comparison of Crime Prediction using Machine Learning Techniques,” in 2024 International Conference on Electrical Electronics and Computing Technologies (ICEECT), IEEE, Aug. 2024, pp. 1–6. doi: 10.1109/ICEECT61758.2024.10739168. DOI: https://doi.org/10.1109/ICEECT61758.2024.10739168
S. Ahmed et al., “The Deep Learning ResNet101 and Ensemble XGBoost Algorithm with Hyperparameters Optimization Accurately Predict the Lung Cancer,” Applied Artificial Intelligence, vol. 37, no. 1, Dec. 2023, doi: 10.1080/08839514.2023.2166222. DOI: https://doi.org/10.1080/08839514.2023.2166222
A. Mokline, “Criminality, Human Capital and Economic Performance,” Business and Economic Research, vol. 8, no. 4, p. 130, Nov. 2018, doi: 10.5296/ber.v8i4.13948. DOI: https://doi.org/10.5296/ber.v8i4.13948
Y. Yuan and A. Lozano-Durán, “Limits to extreme event forecasting in chaotic systems,” Physica D, vol. 467, p. 134246, 2024, doi: https://doi.org/10.1016/j.physd.2024.134246. DOI: https://doi.org/10.1016/j.physd.2024.134246
Published
How to Cite
Issue
Section
Categories
Copyright (c) 2025 Nadya Sikana, Rivaldi Lubis, Gilbert Fernando Situmorang, Naomi Prisella

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












