Abstract
Agent-based modelling (ABM) is ideally suited to simulating crowds of people as it captures the complex behaviours and interactions between individuals that lead to the emergence of crowding. Currently, it is not possible to use ABM for real-time simulation due to the absence of established mechanisms for dynamically incorporating real-time data. This means that, although models are able to perform useful offline crowd simulations, they are unable to simulate the behaviours of crowds in real time. This paper begins to address this drawback by demonstrating how a data assimilation algorithm, the Unscented Kalman Filter (UKF), can be used to incorporate pseudo-real data into an agent-based model at run time. Experiments are conducted to test how well the algorithm works when a proportion of agents are tracked directly under varying levels of uncertainty. Notably, the experiments show that the behaviour of unobserved agents can be inferred from the behaviours of those that are observed. This has implications for modelling real crowds where full knowledge of all individuals will never be known. In presenting a new approach for creating real-time simulations of crowds, this paper has important implications for the management of various environments in global cities, from single buildings to larger structures such as transportation hubs, sports stadiums, through to entire city regions.
This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No. 757455), through a UK Economic and Social Research Council (ESRC) Future Research Leaders grant [number ES/L009900/1], an ESRC-Alan Turing Fellowship [number ES/R007918/1] and is part of the Leeds Institute for Data Analytics (LIDA) Data Scientist Internship Programme 2018/19, funded by the Alan Turing Institute.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
The StationSim model, specifically, can be found at: https://git.io/JvJSm. The code to run the experiments conducted here can be found at https://git.io/JvJSq.
- 3.
This work was undertaken on ARC3, part of the High Performance Computing facilities at the University of Leeds, UK.
- 4.
In practice, noise assumptions can be tailored to improve performance, but under high dimensional scenarios such as this it can prove difficult to optimise. This provides a strong motivation for further adaptions to the UKF particularly adaptive filtering [1].
References
Berry, T., Sauer, T.: Adaptive ensemble kalman filtering of non-linear systems. Tellus A: Dyn. Meteorol. Oceanogr. 65(1), 20331 (2013)
Darema, Frederica: Dynamic data driven applications systems: a new paradigm for application simulations and measurements. In: Bubak, Marian, van Albada, Geert Dick, Sloot, Peter M.A., Dongarra, Jack (eds.) ICCS 2004. LNCS, vol. 3038, pp. 662–669. Springer, Heidelberg (2004). https://doi.org/10.1007/978-3-540-24688-6_86
Deng, F., Chen, J., Chen, C.: Adaptive unscented kalman filter for parameter and state estimation of nonlinear high-speed objects. J. Syst. Eng. Electron. 24(4), 655–665 (2013)
Gelb, A.: Editor. applied optimal estimation (1974)
Kalnay, E.: Atmospheric Modeling, Data Assimilation and Predictability. Cambridge University Press, Cambridge (2003)
Kieu, L.M., Malleson, N., Heppenstall, A.: Dealing with uncertainty in agent-based models for short-term predictions. Roy. Soc. Open Sci. 7(1), 191074 (2020). https://doi.org/10.1098/rsos.191074
Lloyd, D.J.B., Santitissadeekorn, N., Short, M.B.: Exploring data assimilation and forecasting issues for an urban crime model. Eur. J. Appl. Math. 27(Special Issue 03), 451–478 (2016). https://doi.org/10.1017/S0956792515000625
Lueck, J., Rife, J.H., Swarup, S., Uddin, N.: Who goes there? using an agent-based simulation for tracking population movement. In: Winter Simulation Conference, 8–11 December 2019. National Harbor, MD, USA (2019)
Malleson, N., Minors, K., Kieu, L.M., Ward, J.A., West, A.A., Heppenstall, A.: Simulating Crowds in Real Time with Agent-Based Modelling and a Particle Filter. arXiv:1909.09397 [cs], September 2019
Oloo, F., Safi, K., Aryal, J.: Predicting migratory corridors of white storks, ciconia ciconia, to enhance sustainable wind energy planning: a data-driven agent-based model. Sustainability 10(5), 1470 (2018). https://doi.org/10.3390/su10051470
Othman, N.B., Legara, E.F., Selvam, V., Monterola, C.: A data-driven agent-based model of congestion and scaling dynamics of rapid transit systems. J. Comput. Sci. 10, 338–350 (2015). https://doi.org/10.1016/j.jocs.2015.03.006
Schoenharl, T., Madey, G.: Design and implementation of an agent-based simulation for emergency response and crisis management. J. Algorithms Comput. Technol. 5(4), 601–622 (2011). https://doi.org/10.1260/1748-3018.5.4.601
Tabataba, F.S., et al.: Epidemic forecasting framework combining agent-based models and smart beam particle filtering. In: 2017 IEEE International Conference on Data Mining (ICDM), pp. 1099–1104. IEEE, New Orleans, LA, November 2017. https://doi.org/10.1109/ICDM.2017.145
Talagrand, O.: The use of adjoint equations in numerical modelling of the atmospheric circulation. In: Griewank, A., Corliss, G.F. (eds.) Automatic Differentiation of Algorithms: Theory, Implementation, and Application, pp. 169–180. SIAM, Philadelphia (1991)
Uhlmann, J.K.: Dynamic map building and localization: New theoretical foundations. Ph.D. thesis, University of Oxford Oxford (1995)
Van Der Merwe, R., Wan, E.A.: The square-root unscented Kalman filter for state and parameter-estimation. In: 2001 IEEE International Conference on Acoustics, Speech, and Signal Processing. Proceedings (Cat. No. 01ch37221), vol. 6, pp. 3461–3464. IEEE (2001)
Wan, E.A., Van Der Merwe, R.: The unscented Kalman filter for nonlinear estimation. In: Proceedings of the IEEE 2000 Adaptive Systems for Signal Processing, Communications, and Control Symposium (Cat. No. 00EX373), pp. 153–158. IEEE (2000)
Wang, M., Hu, X.: Data assimilation in agent based simulation of smart environments using particle filters. Simul. Model. Pract. Theory 56, 36–54 (2015). https://doi.org/10.1016/j.simpat.2015.05.001
Ward, J.A., Evans, A.J., Malleson, N.S.: Dynamic calibration of agent-based models using data assimilation. Royal Soc. Open Sci. 3(4), 150703 (2016). https://doi.org/10.1098/rsos.150703
Zhang, H., Vorobeychik, Y., Letchford, J., Lakkaraju, K.: Data-driven agent-based modeling, with application to rooftop solar adoption. In: Proceedings of the 2015 International Conference on Autonomous Agents and Multiagent Systems. AAMAS 2015, International Foundation for Autonomous Agents and Multiagent Systems, Richland, SC, pp. 513–521 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Clay, R., Kieu, LM., Ward, J.A., Heppenstall, A., Malleson, N. (2020). Towards Real-Time Crowd Simulation Under Uncertainty Using an Agent-Based Model and an Unscented Kalman Filter. In: Demazeau, Y., Holvoet, T., Corchado, J., Costantini, S. (eds) Advances in Practical Applications of Agents, Multi-Agent Systems, and Trustworthiness. The PAAMS Collection. PAAMS 2020. Lecture Notes in Computer Science(), vol 12092. Springer, Cham. https://doi.org/10.1007/978-3-030-49778-1_6
Download citation
DOI: https://doi.org/10.1007/978-3-030-49778-1_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-49777-4
Online ISBN: 978-3-030-49778-1
eBook Packages: Computer ScienceComputer Science (R0)