Clustering of Crimes Using Latent Representations Obtained via Autoencoders
Source abstract
Abstract
This article presents the use of autoencoders as part of a dimensionality-reduction method in the task of crime clustering. The study was conducted on a real-world crime dataset from the city of Chicago, based on publicly available police records. The initial data processing involved selecting and extracting variables, aggregating the selected variables, and converting crime categories and incident locations into contextual embeddings. The data prepared in this way was used to train various autoencoder architectures, including Vanilla, convolutional, denoising and variational models. The representations obtained from the latent layer of the encoder were then used as input data for clustering methods, such as k-means, Gaussian mixture model, and spectral clustering. The experimental results showed that the use of autoencoders in the clustering process enabled the identification of distinct groups of offences, with the best results (measured using the ARI and NMI metrics) obtained for Vanilla autoencoders combined with k-means and GMM, particularly with intermediate latent-space dimensions. The results confirm the potential of autoencoders as effective tools for dimensionality reduction and feature extraction in crime data analysis, as well as their usefulness in the exploratory analysis of complex urban data.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Crime Patterns and Interventions · Anomaly Detection Techniques and Applications · Bayesian Methods and Mixture Models
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Faculty of Mathematics and Information Technology, Lublin University of Technology, 20-618 Lublin, Poland
Funding
Polish Ministry of Science and Higher Education
References (29)
Show source-provided references
1. Artificial Neural Networks: An Overview
2. Early History of Machine Learning10.1016/j.ifacol.2020.12.1888 ↗
3. Ballard, D.H. (1987, January 13–17). Modular Learning in Neural Networks. Proceedings of the AAAI Conference on Artificial Intelligence, Seattle, WA, USA.
4. Schmidhuber, J. (2014). Deep Learning in Neural Networks: An Overview. arXiv.10.1016/j.neunet.2014.09.003 ↗
5. Bank, D., Koenigstein, N., and Giryes, R. (2020). Autoencoders. arXiv.
6. Michelucci, U. (2022). An Introduction to Autoencoders. arXiv.10.1007/978-1-4842-8020-1_9 ↗
7. Kingma, D.P., and Welling, M. (2014, January 14–16). Auto-Encoding Variational Bayes. Proceedings of the International Conference on Learning Representations (ICLR), Banff, AB, Canada.
8. Generative Artificial Intelligence and Its Applications in Materials Science: Current Situation and Future Perspectives
9. Understanding of Convolutional Neural Network (CNN): A Review10.31763/ijrcs.v2i4.888 ↗
10. Zakeri, A., Xia, Y., Ravikumar, N., and Frangi, A.F. (2024). Deep Learning for Vision and Representation Learning, Elsevier.10.1016/B978-0-12-813657-7.00044-3 ↗
11. Data Clustering: 50 Years beyond K-Means10.1016/j.patrec.2009.09.011 ↗
12. Theodoridis, S., and Koutroumbas, K. (2009). Clustering Algorithms IV. Pattern Recognition, Academic Press. [4th ed.].10.1016/B978-1-59749-272-0.50017-7 ↗
13. Xie, J., Girshick, R., and Farhadi, A. (2016, January 19–24). Unsupervised Deep Embedding for Clustering Analysis. Proceedings of the 33rd International Conference on Machine Learning (ICML 2016), New York NY, USA.
14. ArfaeiYazdiPour, M., Javidi, N., Mohammadi, A., Choobchian, P., Hair, J.F., and Mohammadian, A.K. (2025). ActivAbility: A Structural Framework for Quantifying Built Environment Impacts on Active Travel Using Data-Driven Sub-Scores. SSRN Electron. J.10.2139/ssrn.5991929 ↗
15. Exploratory Data Analysis, Time Series Analysis, Crime Type Prediction, and Trend Forecasting in Crime Data Using Machine Learning, Deep Learning, and Statistical Methods10.1007/s00521-025-11094-9 ↗
16. Cui, Z., Ke, R., Pu, Z., and Wang, Y. (2021). Crime Prediction with Graph Neural Networks and Multivariate Normal Distributions. arXiv.
17. Deep Learning-Based Clustering Approaches for Bioinformatics10.1093/bib/bbz170 ↗
18. Zong, B., Song, Q., Min, M.R., Cheng, W., Lumezanu, C., Cho, D., and Chen, H. (May, January 30). Deep Autoencoding Gaussian Mixture Model for Unsupervised Anomaly Detection. Proceedings of the International Conference on Learning Representations (ICLR), Vancouver, BC, Canada.
19. Agrawal, R. (2026, April 10). Complete Guide to Anomaly Detection with Autoencoders Using TensorFlow. Analytics Vidhya. Available online: https://www.analyticsvidhya.com/blog/2022/01/complete-guide-to-anomaly-detection-with-autoencoders-using-tensorflow/.
20. City of Chicago (2024, November 04). Crimes–2001 to Present. Available online: https://data.cityofchicago.org/Public-Safety/Crimes-2001-to-Present/ijzp-q8t2/about_data.
21. (2026, April 10). Hugging Face. Sentence Transformers. Available online: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2.
22. Analysis of a Complex of Statistical Variables into Principal Components10.1037/h0071325 ↗
23. Some Methods for Classification and Analysis of Multivariate Observations
24. Contributions to the Mathematical Theory of Evolution. II. Skew Variation in Homogeneous Material10.1098/rsta.1894.0003 ↗
25. Comparing Partitions10.1007/BF01908075 ↗
26. Vinh, N.X., Epps, J., and Bailey, J. (2009, January 14–18). Information Theoretic Measures for Clusterings Comparison: Is a Correction for Chance Necessary?. Proceedings of the 26th Annual International Conference on Machine Learning, Montreal, Canada.10.1145/1553374.1553511 ↗
27. Elharrouss, O., Mahmood, Y., Bechqito, Y., Serhani, M.A., Badidi, E., Riffi, J., and Tairi, H. (2025). Loss Functions in Deep Learning: A Comprehensive Review. arXiv.
28. Raschka, S. (2018). Model Evaluation, Model Selection, and Algorithm Selection in Machine Learning. arXiv.
29. A Comprehensive Survey of Loss Functions and Metrics in Deep Learning10.1007/s10462-025-11198-7 ↗