Skip to main content
Log in

DeepOffense: a recurrent network based approach for crime prediction

  • Regular Paper
  • Published:
CCF Transactions on Pervasive Computing and Interaction Aims and scope Submit manuscript

Abstract

Crime prediction has attracted increasing attention due to its significance in public safety and growing availability of heterogeneous relevant data. Existing works on crime prediction usually failed to capture its dynamics and inherent non-linear relationships. To address these issues, in this paper, we propose an attentional recurrent neural network for future crime count prediction leveraging heterogeneous urban open data. In particular, we first extract and embed relevant features using multi-source data, e.g. crime records, POIs, demographic data and meteorological data. We then feed all features into a two-layer recurrent neural network to capture temporal relevance. Further, we incorporate an attention mechanism to capture the time-varying dependency. The final prediction results can be generated through a fully connected neural network. Extensive experiments with real-world datasets verify the effectiveness of our proposed framework which outperforms many baseline methods.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. https://ucr.fbi.gov/crime-in-the-u.s/2017/crime-in-the-u.s.-2017.

  2. https://data.cityofnewyork.us/Public-Safety/NYPD-Complaint-Data-Historic/qgea-i56i.

  3. https://www.wunderground.com/weather/api.

  4. https://foursquare.com/.

  5. https://www.census.gov/programs-surveys/acs.

  6. https://www.bbc.com/weather.

  7. https://en.wikipedia.org/wiki/Hadamard_product_(matrices).

  8. https://www.census.gov/programs-surveys/acs

References

  • Anderson, C.A.: Temperature and aggression: Effects on quarterly, yearly, and city rates of violent and nonviolent crime. J. Pers. Soc. Psychol. 52(6), 1161 (1987)

    Article  Google Scholar 

  • Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473 (2014)

  • Bogomolov, A., Lepri, B., Staiano, J., Oliver, N., Pianesi, F., Pentland, A.: Once upon a crime: towards crime prediction from demographics and mobile data. In: Proceedings of the 16th international conference on multimodal interaction, pp. 427-434 (2014)

  • Braithwaite, J.: Crime, shame and reintegration. Cambridge University Press, Cambridge (1989)

    Book  Google Scholar 

  • Chang, C.C., Lin, C.J.: LIBSVM: A library for support vector machines. ACM Trans. Intell. Syst. Technol. (TIST) 2(3), 1–27 (2011)

    Article  Google Scholar 

  • Cohn, E.G.: Weather and crime. Br. J. Criminol. 30(1), 51–64 (1990)

    Article  Google Scholar 

  • Covington, P., Adams, J., Sargin, E.: Deep neural networks for youtube recommendations. In: Proceedings of the 10th ACM Conference on Recommender Systems, pp. 191-198 (2016)

  • Ehrlich, I.: On the relation between education and crime (no. c3702). National Bureau of Economic Research, Cambridge (1975)

    Google Scholar 

  • Fabusuyi, T.: Is crime a real estate problem? A case study of the neighborhood of East Liberty, Pittsburgh. Pennsylvania. Eur. J. Oper. Res. 268(3), 1050–1061 (2018)

    Article  Google Scholar 

  • Featherstone, C.: Identifying vehicle descriptions in microblogging text with the aim of reducing or predicting crime. In: 2013 International Conference on Adaptive Science and Technology, IEEE, pp. 1–8 (2013)

  • Field, S.: The effect of temperature on crime. Br. J. Criminol. 32(3), 340–351 (1992)

    Article  Google Scholar 

  • Gerber, M.S.: Predicting crime using twitter and kernel density estimation. Decis. Support Syst. 61, 115–125 (2014)

    Article  Google Scholar 

  • Goldberg, Y., Levy, O.: word2vec Explained: deriving Mikolov et al.’s negative-sampling word-embedding method. arXiv preprint arXiv:1402.3722 (2014)

  • Graif, C.: Toward a geographically extended perspective of neighborhood effects on children’s victimization. In: American Society of Criminology Annual Meeting. (2015)

  • Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  • Huang, C., Zhang, J., Zheng, Y. and Chawla, N.V.: DeepCrime: Attentive hierarchical recurrent networks for crime prediction. In: Proceedings of the 27th ACM International Conference on Information and Knowledge Management, pp. 1423–1432 (2018)

  • Patterson, E.B.: Poverty, income inequality, and community crime rates. Criminology 29(4), 755–776 (1991)

    Article  Google Scholar 

  • Ranson, M.: Crime, weather, and climate change. J. Environ. Econ. Manag. 67(3), 274–302 (2014)

    Article  Google Scholar 

  • Solomatine, D.P., Shrestha, D.L.: AdaBoostRT: A boosting algorithm for regression problems. IEEE Int. Jt. Conf. Neural Netw. 2, 1163–1168 (2004)

    Google Scholar 

  • Vomfell, L., Härdle, W.K., Lessmann, S.: Improving crime count forecasts using twitter and taxi data. Decis. Support Syst. 113, 73–85 (2018)

    Article  Google Scholar 

  • Wang, H., Kifer, D., Graif, C., Li, Z.: Crime rate inference with big data. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 635–644 (2016)

  • Wang, Q., Jin, G., Zhao, X., Feng, Y., Huang, J.: CSAN: A neural network benchmark model for crime forecasting in spatio-temporal scale. Knowl.-Based Syst. 189, 105120 (2020)

    Article  Google Scholar 

  • Yan, X., Su, X.: Linear regression analysis: Theory and computing. World Scientific, London (2009)

    Book  Google Scholar 

  • Yi, F., Yu, Z., Zhuang, F., Zhang, X. and Xiong, H.: An integrated model for crime prediction using temporal and spatial factors. In: 2018 IEEE International Conference on Data Mining (ICDM), IEEE, pp. 1386–1391 (2018)

  • Zhang, M., Li, T., Li, Y., Hui, P.: Multi-view joint graph representation learning for urban region embedding. In: Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pp. 4431-4437 (2021)

Download references

Acknowledgements

This research has been supported by NSF of China No. 62102349.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gang Pan.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhou, F., Zhou, B., Zhao, S. et al. DeepOffense: a recurrent network based approach for crime prediction. CCF Trans. Pervasive Comp. Interact. 4, 240–251 (2022). https://doi.org/10.1007/s42486-022-00100-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s42486-022-00100-x

Keywords

Navigation