Artificial Neural Network-Based Prediction of Violent Behaviour Using Psychosocial and Behavioural Indicators
Abstract
The increasing prevalence of violence among young people highlights the urgency of empirical, data-driven approaches capable of identifying early behavioural risk indicators. Understanding the behavioural and psychosocial factors that contribute to violent tendencies is critical for early identification and prevention. This study develops a predictive framework using an Artificial Neural Network (ANN) to classify the likelihood of violent character based on a structured survey of 1,277 respondents aged 13–30 years. The dataset incorporated key predictors, including emotional disposition, peer influence, family environment, media exposure, socioeconomic conditions, and psychological traits. After data preprocessing, the ANN was trained using a 70/30 split and further validated through 5-fold cross-validation, yielding strong and consistent performance with an average accuracy of 98.2%, precision of 96.9%, recall of 98.9%, and F1-score of 97.9%. The Receiver Operating Characteristic (ROC) analysis demonstrated excellent ability, indicating a highly reliable model. The results and findings demonstrate that violent behavioural tendencies can be reliably inferred from structured psychosocial indicators, highlighting the utility of machine learning for early detection and intervention planning. This study contributes to the body of knowledge by integrating behavioural science and machine learning to provide a practical, evidence-based tool for violence prevention initiatives.
Keywords
Violent Behaviour, Machine Learning, Artificial Neural Networks, Psychosocial, Cross-Validation, Predictive Model
References
- [1] Rutherford, E.R., Zwi, A.B., Grove, N.J., 2007. Violence: A Glossary. Journal of Epidemiology and Community Health. 61(8), 676–680. DOI: https://doi.org/10.1136/jech.2005.043711
- [2] Srivastava, N., Pandey, N., 2025. Correlational between Perceived Parenting Styles, Aggression, and Emotional Regulation. International Journal of Indian Psychology. 13(1), 636–642. Available from: https://ijip.in/articles/perceived-parenting-styles-aggression/
- [3] Ogonah, M.G.T., Seyedsalehi, A., Whiting, D., et al., 2023. Violence risk assessment instruments in forensic psychiatric populations: A systematic review and meta-analysis. The Lancet Psychiatry. 10(10), 780–789. DOI: https://doi.org/10.1016/S2215-0366(23)00256-0
- [4] Fitzpatrick, C., Oghia, M.J., Melki, L., 2016. Early Childhood Exposure to Media Violence: What Parents and Policymakers Ought to Know. South African Journal of Childhood Education. 6(1). Available from: https://sajce.co.za/index.php/sajce/article/view/431/341
- [5] Ayano, G., Rooney, R., Pollard, C.M., 2024. Risk and protective factors of youth crime: An umbrella review of systematic reviews and meta-analyses. Clinical Psychology Review. 113, 102479. DOI: https://doi.org/10.1016/j.cpr.2024.102479
- [6] Axford, N., Humayun, S., 2026. Preventing Youth Crime and Violence: Intervention and Evaluation Issues. Behavioral Sciences. 16(2), 247. DOI: https://doi.org/10.3390/bs16020247
- [7] Lee, S.-Y., Choi, M., 2025. Changes in aggressive behaviours over time in children with adverse childhood experiences: Focusing on the role of school connectedness. Social Sciences. 14(6), 385. DOI: https://doi.org/10.3390/socsci14060385
- [8] Henry, D.B., Tolan, P.H., Gorman-Smith, D., 2012. Risk and Direct Protective Factors for Youth Violence: Results from the Centres for Disease Control and Prevention's Multisite Violence Prevention Project. American Journal of Preventive Medicine. 43, S67–S75. DOI: https://doi.org/10.1016/j.amepre.2012.04.025
- [9] Sitnick, S.L., Galán, C.A., Shaw, D.S., 2018. Early childhood predictors of boys’ antisocial and violent behaviour in early adulthood. Infant Mental Health Journal. 40(1), 67–83. DOI: https://doi.org/10.1002/imhj.21754
- [10] Fazel, S., Chang, Z., Fanshawe, T., 2016. Prediction of violent reoffending on release from prison: Derivation and external validation of a scalable tool. The Lancet Psychiatry. 3(6), 535–543. DOI: https://doi.org/10.1016/S2215-0366(16)00103-6
- [11] Hoskins, D.H., 2014. Consequences of Parenting on Adolescent Outcomes. Societies. 4(3), 506–531. DOI: https://doi.org/10.3390/soc4030506
- [12] Haynie, D.L., Silver, E., Teasdale, T.M., 2006. Neighbourhood Characteristics, Peer Networks, and Adolescent Violence. Journal of Quantitative Criminology. 22(9), 147–169. DOI: https://doi.org/10.1007/s10940-006-9006-y
- [13] Krug, E.G., Dahlberg, L.L., Mercy, J.A., 2013. Child Abuse and Neglect by Parents and Other Caregivers. In World Report on Violence and Health. World Health Organisation: Geneva, Switzerland. pp. 59–86. Available from: https://www.iccwtnispcanarc.org/upload/pdf/3609755328Child%20abuse%20and%20neglect%20by%20parents%20and%20other%20caregivers.pdf
- [14] Morrison, M., Skiba, R., 2001. Predicting Violence from School Misbehaviour: Promises and Perils. Psychology in the Schools. 38(2), 173–184. DOI: https://doi.org/10.1002/pits.1008
- [15] Mulvey, P., Cauffman, E., 2001. The Inherent Limits of Predicting School Violence. American Psychologist. 56(10), 797–802. DOI: https://doi.org/10.1037/0003-066X.56.10.797
- [16] World Bank, 2007. Crime, Violence, and Development: Trends, Costs, and Policy Options in the Caribbean. World Bank: Washington, DC, USA. Available from: http://documents.worldbank.org/curated/en/537301468231536879
- [17] Yu, T., Pei, W., Xu, C., 2022. Prediction of violence in male schizophrenia using sMRI, based on machine learning algorithms. BMC Psychiatry. 22, 676. DOI: https://doi.org/10.1186/s12888-022-04331-1
- [18] Gershenson, H., 2003. Artificial Neural Networks for Beginners. Available from: https://bingweb.binghamton.edu/~cgershensong/unam/cogs/doc/FCS-ANN-tutorial.htm (cited 11 May 2025).
- [19] Osisanwo F.Y., Akinsola J.E.T., Awodele O., et al., 2017. Supervised Machine Learning Algorithms: Classification and Comparison. International Journal of Computer Trends and Technology. 48(2), 128–138. DOI: https://doi.org/10.14445/22312803/IJCTT-V48P126
- [20] Bzdok, D., Meyer-Lindenberg, A., 2018. Machine Learning for Precision Psychiatry: Opportunities and Challenges. Biological Psychiatry: Cognitive Neuroscience and Neuroimaging. 3(3), 223–230. DOI: https://doi.org/10.1016/j.bpsc.2017.11.007
- [21] Dressel, J., Farid, H., 2018. The Accuracy, Fairness, and Limits of Predicting Recidivism. Science Advances. 4(1), eaao5580. DOI: https://doi.org/10.1126/sciadv.aao5580
- [22] Dobbins, N.J., Chipkin, J., Byrne, T., 2024. Deep learning models can predict violence and threats against healthcare providers using clinical notes. npj Mental Health Research. 3, 61. DOI: https://doi.org/10.1038/s44184-024-00105-7
- [23] van der Put, C.E., Gubbels, J., Assink, M., 2019. Predicting domestic violence: A meta-analysis on the predictive validity of risk assessment tools. Aggression and Violent Behaviour. 47, 100–116. DOI: https://doi.org/10.1016/j.avb.2019.03.008
- [24] Berk, R., Heidari, H., Jabbari, S., 2018. Fairness in Criminal Justice Risk Assessments: The State of the Art. Sociological Methods & Research. 50(1), 3–44. DOI: https://doi.org/10.1177/0049124118782533
- [25] Perry, C., 2013. Machine Learning and Conflict Prediction: A Use Case. Stability: International Journal of Security & Development. 2(3), 56. DOI: https://doi.org/10.5334/sta.cr
- [26] Farrington, D.P., Ttofi, M.M., Piquero, A.R., 2016. Risk, promotive, and protective factors in youth offending: Results from the Cambridge Study in Delinquent Development. Journal of Criminal Justice. 45, 63–70. DOI: https://doi.org/10.1016/j.jcrimjus.2016.02.014
- [27] Cheng, N., Guo, M., Yan, F., et al., 2023. Application of Machine Learning in Predicting Aggressive Behaviours from Hospitalised Patients with Schizophrenia. Frontiers in Psychiatry. 14, 1016586. DOI: https://doi.org/10.3389/fpsyt.2023.1016586
- [28] Tate, A.E., Akingbuwa, W.A., Karlsson, R., et al., 2022. A genetically informed prediction model for suicidal and aggressive behaviour in teens. Translational Psychiatry. 12, 488. DOI: https://doi.org/10.1038/s41398-022-02245-w
- [29] Poldrack, R.A., Monahan, J., Imrey, P.B., 2018. Predicting Violent Behaviour: What Can Neuroscience Add? Trends in Cognitive Sciences. 22(2), 111–123. DOI: https://doi.org/10.1016/j.tics.2017.11.003
- [30] Cavalcanti, J.G., Pimentel, C.E., 2016. Personality and Aggression: A Contribution of the General Aggression Model. Psychological Assessments. 33(3). DOI: https://doi.org/10.1590/1982-02752016000300008
- [31] Varela, J.J., Zimmerman, M.A., Ryan, A.M., et al., 2018. School Attachment and Violent Attitudes: Preventing Future Violent Behaviour among Youth. Journal of Interpersonal Violence. 36(9–10), NP5407–NP5426. DOI: https://doi.org/10.1177/0886260518800314
- [32] Grumm, M., Hein, E., Fingerle, M., 2011. Predicting Aggressive Behaviour in Children with the Help of Measures of Implicit and Explicit Aggression. International Journal of Behavioural Development. 35(4), 352–357. DOI: https://doi.org/10.1177/0165025411405955
- [33] Harsh, K., Bharath, N., Siddesh, C.S., 2016. An Introduction to Artificial Neural Networks. International Journal of Advanced Research and Innovative Ideas in Education. 1(5), 27–30. Available from: https://www.researchgate.net/profile/KuldeepShiruru/publication/319903816_AN_INTRODUCTION_TO_ARTIFICIAL_NEURAL_NETWORK/links/59c0fe55458515af305c471a/AN-INTRODUCTION-TO-ARTIFICIAL-NEURAL-NETWORK.pdf
- [34] Chanchlani, J., Jaitly, A., Kharade, P., 2018. Predicting Human Behaviour through Handwriting. International Journal for Research in Applied Science & Engineering Technology. 6(6), 849–854. DOI: https://doi.org/10.22214/ijraset.2018.6129
- [35] Parsaei, M., Arvin, A., Taebi, M., et al., 2024. Machine learning for prediction of violent behaviours in schizophrenia spectrum disorders: A systematic review. Frontiers in Psychiatry. 15, 1384828. DOI: https://doi.org/10.3389/fpsyt.2024.1384828
- [36] Martinez, V.R., Somandepalli, K., Singla, K., et al., 2019. Violence rating prediction from movie scripts. Proceedings of the AAAI Conference on Artificial Intelligence. 33(1), 671–678. DOI: https://doi.org/10.1609/aaai.v33i01.3301671
- [37] Dunne, R., Matthews, O., Vega, J., 2023. Computational Methods for Predicting Human Behaviour in Smart Environments. Journal of Ambient Intelligence. 15(2), 179–205. DOI: https://doi.org/10.3233/AIS-210384
- [38] Qamar, R., Zardari, B.A., 2023. Artificial neural networks: An overview. Mesopotamian Journal of Computer Science. 2023, 124–133. DOI: https://doi.org/10.58496/MJCSC/2023/015
- [39] Yang, G., Wong, S.C.P., Coid, J., 2011. The efficacy of violence prediction: A meta-analytic comparison of nine risk assessment tools. Psychological Bulletin. 136(5), 740–767. DOI: https://doi.org/10.1037/a0020473
