Transparent and bias-resilient AI framework for recidivism prediction using deep learning and clustering techniques in criminal justice
This paper presents the Recidivism Clustering Network (RCN), an effective approach for predicting repeat offenses using deep learning (DL), clustering, and explainable AI (XAI). The RCN improves offender profiling for more accurate and interpretable recidivism predictions, aligning with key legal principles like fair sentencing, transparency, and non-discrimination. The RCN employs machine learning (ML) models optimized with a Keras tuner, using the Synthetic Minority Over-sampling Technique (SMOTE) to handle class imbalance. With about 75% accuracy, the model shows strong recall, identifying 10,661 recidivists but producing 4,038 false positives—indicating a trade-off between sensitivity and specificity. Beyond predictions, RCN integrates clustering methods, including k-means, principal component analysis (PCA), and t-distributed Stochastic Neighbor Embedding (t-SNE), to identify hidden patterns within offender data. Visualizations reveal distinct clusters, linking characteristics, such as age, to recidivism behaviors. SHapley Additive exPlanations (SHAP) values enhance interpretability, showing that factors like time since the last conviction and age significantly impact predictions. The RCN approach offers substantial potential for criminal justice applications by combining predictive power with actionable insights, supporting a more ethical and accountable use of ML in offender profiling and aiding in fairer recidivism prevention strategies. The code and data are publicly available on GitHub at https://github.com/cavusmuhammed68/Recidivism-Clustering-Network-RCN- . • RCN combines deep learning, clustering, and explainable AI for recidivism prediction. • Uses SMOTE to address the class imbalance in recidivism data for robust predictions. • Achieves nearly 75% accuracy, enhancing fairness and transparency in offender profiling.
Authors
- Muhammed Cavus (ORCID: https://orcid.org/0000-0002-6231-6129)
- Mahmut Sarı (ORCID: https://orcid.org/0000-0002-9298-5518)
- Yusuf Furkan Ugurluoglu (ORCID: https://orcid.org/0000-0002-6266-0165)
- Huseyin Ayan (ORCID: https://orcid.org/0009-0006-2850-1714)
- Muhammed Nurullah Benli
- Usame Altuntas
Institutions
- Ankara University (TR)
- University of Aberdeen (GB)
- Ahi Evran University (TR)
- Northumbria University (GB)
- Necmettin Erbakan University (TR)
- Istanbul University-Cerrahpaşa (TR)
- İskenderun Technical University (TR)
- Istanbul Medeniyet University (TR)
- Newcastle University (GB)
Publication Details
- Journal
- Applied Soft Computing
- Published
- 2025-04-29
- DOI
- https://doi.org/10.1016/j.asoc.2025.113160
- Citations
- 5
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 42.61