IDEAS home Printed from https://ideas.repec.org/a/pal/palcom/v12y2025i1d10.1057_s41599-025-04967-w.html
   My bibliography  Save this article

Predicting police and military violence: evidence from Colombia and Mexico using machine learning models

Author

Listed:
  • Juan David Gelvez

    (University of Maryland, College Park)

Abstract

Armed forces violence has pervasive effects on public trust and population well-being. Such misconduct is not random, making its prevention both crucial and challenging due to the difficulty of measuring and detecting these phenomena beforehand. Recent advances in artificial intelligence offer new tools for this task. This article proposes the use of machine learning models to predict armed forces violence at the municipality level. Focusing on Colombia and Mexico—two countries with a significant number of human rights abuses by armed forces—the analysis draws on comprehensive subnational datasets. In Colombia, the study examines 1255 extrajudicial killing cases in which innocent civilians were misrepresented as guerrillas by the military. In Mexico, it considers 12,437 allegations of severe human rights abuses during militarized policing operations. Separate machine learning models are trained using four canonical algorithms—Lasso, Random Forests, Extreme Gradient Boosting, and Neural Networks—and their predictions are combined through a Super Learner ensemble. Results show high accuracy, specificity, and sensitivity in predicting police and military violence. In addition, feature-importance analysis highlights the most influential variables in the models’ predictions. These findings carry significant policy implications for contemporary law-and-order institutions, particularly in Latin America, where over a quarter of the world’s homicides occur, less than half the population expresses confidence in the police, and more than 9000 police killings are reported in a single year.

Suggested Citation

  • Juan David Gelvez, 2025. "Predicting police and military violence: evidence from Colombia and Mexico using machine learning models," Palgrave Communications, Palgrave Macmillan, vol. 12(1), pages 1-13, December.
  • Handle: RePEc:pal:palcom:v:12:y:2025:i:1:d:10.1057_s41599-025-04967-w
    DOI: 10.1057/s41599-025-04967-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1057/s41599-025-04967-w
    File Function: Abstract
    Download Restriction: Access to full text is restricted to subscribers.

    File URL: https://libkey.io/10.1057/s41599-025-04967-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Travis Curtice, 2021. "How Repression Affects Public Perceptions of Police: Evidence from a Natural Experiment in Uganda," Journal of Conflict Resolution, Peace Science Society (International), vol. 65(10), pages 1680-1708, November.
    2. Hui Qi Low & Pantea Keikhosrokiani & Moussa Pourya Asl, 2024. "Decoding violence against women: analysing harassment in middle eastern literature with machine learning and sentiment analysis," Palgrave Communications, Palgrave Macmillan, vol. 11(1), pages 1-18, December.
    3. Samuel Bazzi & Robert A. Blair & Christopher Blattman & Oeindrila Dube & Matthew Gudgeon & Richard Peck, 2022. "The Promise and Pitfalls of Conflict Prediction: Evidence from Colombia and Indonesia," The Review of Economics and Statistics, MIT Press, vol. 104(4), pages 764-779, October.
    4. Cubitt, Timothy I.C. & Gaub, Janne E. & Holtfreter, Kristy, 2022. "Gender differences in serious police misconduct: A machine-learning analysis of the New York Police Department (NYPD)," Journal of Criminal Justice, Elsevier, vol. 82(C).
    5. Renata Franc & Tomislav Pavlović, 2023. "Inequality and Radicalisation: Systematic Review of Quantitative Studies," Terrorism and Political Violence, Taylor & Francis Journals, vol. 35(4), pages 785-810, May.
    6. Robert A. Blair & Michael Weintraub, 2023. "Little evidence that military policing reduces crime or improves human security," Nature Human Behaviour, Nature, vol. 7(6), pages 861-873, June.
    7. Abhinash Jenasamanta & Subrajeet Mohapatra, 2022. "An automated system for the assessment and grading of adolescent delinquency using a machine learning-based soft voting framework," Palgrave Communications, Palgrave Macmillan, vol. 9(1), pages 1-11, December.
    8. Kyle Rozema & Max Schanzenbach, 2023. "Does Discipline Decrease Police Misconduct? Evidence from Chicago Civilian Allegations," American Economic Journal: Applied Economics, American Economic Association, vol. 15(3), pages 80-116, July.
    9. Giovanni Mastrobuoni, 2020. "Crime is Terribly Revealing: Information Technology and Police Productivity," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 87(6), pages 2727-2753.
    10. Juan Albarracín & Juan Pablo Milanese & Inge H. Valencia & Jonas Wolff, 2023. "Local competitive authoritarianism and post-conflict violence. An analysis of the assassination of social leaders in Colombia," International Interactions, Taylor & Francis Journals, vol. 49(2), pages 237-267, March.
    11. Daniel W. Gingerich & Virginia Oliveros, 2018. "Police Violence and the Underreporting of Crime," Economics and Politics, Wiley Blackwell, vol. 30(1), pages 78-105, March.
    12. Daron Acemoglu & Leopoldo Fergusson & James Robinson & Dario Romero & Juan F. Vargas, 2020. "The Perils of High-Powered Incentives: Evidence from Colombia's False Positives," American Economic Journal: Economic Policy, American Economic Association, vol. 12(3), pages 1-43, August.
    13. Lawrence, Adria K., 2017. "Repression and Activism among the Arab Spring’s First Movers: Evidence from Morocco’s February 20th Movement," British Journal of Political Science, Cambridge University Press, vol. 47(3), pages 699-718, July.
    14. Robert A. Blair & Sabrina M. Karim & Michael J. Gilligan & Kyle Beardsley, 2022. "Policing Ethnicity: Lab-in-the-Field Evidence on Discrimination, Cooperation, and Ethnic Balancing in the Liberian National Police," Quarterly Journal of Political Science, now publishers, vol. 17(2), pages 141-181, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Martin Stavro & Ryan M. Welch, 2024. "Does Police Militarization Increase Repression?," Journal of Conflict Resolution, Peace Science Society (International), vol. 68(5), pages 964-992, May.
    2. Abril, Veronica & Perez-Vincent, Santiago & Tobon, Santiago & Vanegas-Arias, Martin, 2024. "Do procedurally just interactions increase police legitimacy? Evidence from a representative vignette experiment in Colombia," SocArXiv 67urc, Center for Open Science.
    3. repec:osf:socarx:67urc_v1 is not listed on IDEAS
    4. Thiemo Fetzer & Oliver Vanden Eynde & Austin L Wright, 2024. "Team production on the battlefield: Evidence from NATO in Afghanistan," PSE Working Papers halshs-04610715, HAL.
    5. Harrison, Mark, 2017. "Secrecy and State Capacity: A Look Behind the Iron Curtain," CAGE Online Working Paper Series 312, Competitive Advantage in the Global Economy (CAGE).
    6. d'Este, Rocco, 2022. "Scientific Advancements in Illegal Drugs Production and Institutional Responses: New Psychoactive Substances, Self-Harm, and Violence inside Prisons," IZA Discussion Papers 15248, Institute of Labor Economics (IZA).
    7. Chuantao Cui & Leona Shao-Zhi Li, 2024. "More but not better: Career incentives of local leaders and entrepreneurial entry in China," Working Papers 202417, University of Macau, Faculty of Business Administration.
    8. Elsa Voytas & Benjamin Crisman, 2024. "State violence and participation in transitional justice: Evidence from Colombia," Journal of Peace Research, Peace Research Institute Oslo, vol. 61(6), pages 1069-1084, November.
    9. Gustav Agneman, 2022. "Conflict Victimization and Civilian Obedience: Evidence from Colombia," HiCN Working Papers 379, Households in Conflict Network.
    10. Richard, Marion & Vanden Eynde, Oliver, 2023. "Cooperation between National Armies: Evidence from the Sahel borders," CEPR Discussion Papers 18674, C.E.P.R. Discussion Papers.
    11. Aslihan Arslan, Romina Cavatassi, Marup Hossain, 2022. "Research Series 69: Structural and rural transformation and food systems: a quantitative synthesis for LMICs," IFAD Research Series 320720, International Fund for Agricultural Development (IFAD).
    12. Samuel Bazzi & Robert A. Blair & Christopher Blattman & Oeindrila Dube & Matthew Gudgeon & Richard Peck, 2022. "The Promise and Pitfalls of Conflict Prediction: Evidence from Colombia and Indonesia," The Review of Economics and Statistics, MIT Press, vol. 104(4), pages 764-779, October.
    13. repec:osf:osfxxx:q59dr_v1 is not listed on IDEAS
    14. Lauren E Young, 2020. "Who dissents? Self-efficacy and opposition action after state-sponsored election violence," Journal of Peace Research, Peace Research Institute Oslo, vol. 57(1), pages 62-76, January.
    15. Gerardo Barbosa Castillo & Andrés Rolando Ciro Gómez, 2020. "Garantía de no repetición: una contribución a la justicia transicional," Books, Universidad Externado de Colombia, Facultad de Derecho, number 1183, December.
    16. Adhvaryu, Achyuta & Fenske, James & Khanna, Gaurav & Nyshadham, Anant, 2021. "Resources, conflict, and economic development in Africa," Journal of Development Economics, Elsevier, vol. 149(C).
    17. Augustin TAPSOBA, 2022. "Conflict prediction using Kernel density estimation," Working Paper 258fc89a-4ec3-4eef-a0ff-7, Agence française de développement.
    18. Leopoldo Fergusson & Juan F. Vargas, 2023. "Colombia: Democratic but Violent?," Springer Books, in: Felipe Valencia Caicedo (ed.), Roots of Underdevelopment, pages 285-316, Springer.
    19. Daisuke Miyakawa & Kohei Shintani, 2020. "Disagreement between Human and Machine Predictions," IMES Discussion Paper Series 20-E-11, Institute for Monetary and Economic Studies, Bank of Japan.
    20. Nicolas Gatti & Kathy Baylis & Benjamin Crost, 2021. "Can Irrigation Infrastructure Mitigate the Effect of Rainfall Shocks on Conflict? Evidence from Indonesia," American Journal of Agricultural Economics, John Wiley & Sons, vol. 103(1), pages 211-231, January.
    21. Kirchmaier, Tom & Oparina, Ekaterina, 2024. "Under pressure: victim withdrawal and police officer workload," LSE Research Online Documents on Economics 126826, London School of Economics and Political Science, LSE Library.
    22. Galdo Virgilio & Acevedo Gladys Lopez & Rama Martin, 2021. "Conflict and the composition of economic activity in Afghanistan," IZA Journal of Development and Migration, Sciendo & Forschungsinstitut zur Zukunft der Arbeit GmbH (IZA), vol. 12(1), pages 1-23, January.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:pal:palcom:v:12:y:2025:i:1:d:10.1057_s41599-025-04967-w. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: https://www.nature.com/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.