Early Warning of Human Crowds Based on Query Data from Baidu Maps: Analysis Based on Shanghai Stampede

  • Jingbo Zhou
  • Hongbin Pei
  • Haishan WuEmail author
Part of the Advances in Geographic Information Science book series (AGIS)


Without sufficient preparation and on-site management, the mass-scale unexpected huge human crowd is a serious threat to public safety. A recent impressive tragedy is the 2014 Shanghai Stampede, where 36 people died and 49 were injured in celebration of the New Year’s Eve on December 31st 2014 in the Shanghai Bund. Due to the innately stochastic and complicated individual movement, it is not easy to predict collective gatherings, which can potentially leads to crowd events. In this chapter, with leveraging the big data generated on Baidu Maps, we propose a novel approach to early warning such potential crowd disasters, which has profound public benefits. An insightful observation is that, with the prevalence and convenience of web map service, users usually search on the Baidu Maps to plan a routine, which reveals the users’ future destinations. Therefore, aggregating users’ query data on Baidu Maps can obtain priori and indication information for estimating future human population in a specific area ahead of time. Our careful analysis and deep investigation on the Baidu Maps’ data on various events also demonstrate a strong correlation pattern between the number of map query and the number of positioning in an area. Based on such observation, we propose a decision method utilizing query data on Baidu Maps to invoke warnings for potential crowd events about 1~3 h in advance. Then we also construct a machine learning model with heterogeneous data (such as query data and positioning data) to quantitatively measure the risk of the potential crowd disasters. We evaluate the effectiveness of our methods on the data of Baidu Maps.


Emergency early warning Crowd anomaly prediction Map query Stampede 


  1. Investigation report of 2014 shanghai stampede event. u1ai51007.html
  2. Ali, S., & Shah, M. (2008). Floor fields for tracking in high density crowd scenes. In Computer Vision–ECCV 2008 (pp. 1–14). Heidelberg: Springer.Google Scholar
  3. Ashok, K. (1996). Estimation and prediction of time-dependent origin-destination flows (PhD thesis). Massachusetts Institute of Technology.Google Scholar
  4. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32.CrossRefzbMATHGoogle Scholar
  5. Gallup, A. C., Hale, J. J., Sumpter, D. J., Garnier, S., Kacelnik, A., Krebs, J. R., & Couzin, I. D. (2012). Visual attention and the acquisition of information in human crowds. Proceedings of the National Academy of Sciences, 109(19), 7245–7250.CrossRefGoogle Scholar
  6. Gonzalez, M. C., Hidalgo, C. A., & Barabasi, A.-L. (2008). Understanding individual human mobility patterns. Nature, 453(7196), 779–782.CrossRefGoogle Scholar
  7. Helbing, D., Johansson, A., & Al-Abideen, H. Z. (2007). Dynamics of crowd disasters: An empirical study. Physical Review E, 75(4), 046109.CrossRefGoogle Scholar
  8. Schneider, C. M., Belik, V., Couronn’e, T., Smoreda, Z., & Gonza’lez, M. C. (2013). Unravelling daily human mobility motifs. Journal of the Royal Society Interface, 10(84), 20130246.CrossRefGoogle Scholar
  9. Zheng, J., & Ni, L. M. (2012). An unsupervised framework for sensing individual and cluster behavior patterns from human mobile data. In Proceedings of the 2012 ACM conference on ubiquitous computing (pp. 153–162). ACM.Google Scholar

Copyright information

© Springer International Publishing AG 2018

Authors and Affiliations

  1. 1.Baidu Research, Big Data LabBeijingChina
  2. 2.College of Computer Science and TechnologyJilin UniversityChangchunChina

Personalised recommendations