Fast-Forwarding Agent States to Accelerate Microscopic Traffic Simulations

Traditionally, the model time in agent-based simulations is advanced in fixed time steps. However, a purely time-stepped execution is inefficient in situations where the states of individual agents are independent of other agents and thus easily predictable far into the simulated future. In this work, we propose a method to accelerate microscopic traffic simulations based on identifying independence among agent state updates. Instead of iteratively updating an agent's state throughout a sequence of time steps, a computationally inexpensive "fast-forward" function advances the agent's state to the time of its earliest possible interaction with other agents. To demonstrate the approach in practice, we present an algorithm to efficiently determine intervals of independence in microscopic traffic simulations and derive a fast-forward function for the popular Intelligent Driver Model (IDM). In contrast to existing acceleration approaches based on reducing the level of model detail, our approach retains the microscopic nature of the simulation. A performance evaluation is performed in a synthetic scenario and on the road network of the city of Singapore. At low traffic densities, we achieved a speedup of up to 2.8, whereas at the highest considered densities, only few opportunities for fast-forwarding could be identified. The algorithm parameters can be tuned to control the overhead of the approach.

[1]  Richard M. Fujimoto,et al.  Cloning parallel simulations , 2001, TOMC.

[2]  Matthias Scheutz,et al.  New Advances in Asynchronous Agent-based Scheduling , 2012 .

[3]  Michael Hunter,et al.  Efficient Execution of Replicated Transportation Simulations with Uncertain Vehicle Trajectories , 2015, ICCS.

[4]  David M. Nicol,et al.  Lookahead revisited in wireless network simulations , 2002, Proceedings 16th Workshop on Parallel and Distributed Simulation.

[5]  Jun Wang,et al.  Optimizing parallel simulation of multicore systems using domain-specific knowledge , 2013, SIGSIM PADS '13.

[6]  Rizos Sakellariou,et al.  Improving lookahead in parallel discrete event simulations of large-scale applications using compiler analysis , 2001, Proceedings 15th Workshop on Parallel and Distributed Simulation.

[7]  Martin Mauve,et al.  Local-lag and timewarp: providing consistency for replicated continuous applications , 2004, IEEE Transactions on Multimedia.

[8]  Helbing,et al.  Congested traffic states in empirical observations and microscopic simulations , 2000, Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics.

[9]  Alois Ferscha,et al.  Parallel and Distributed Simulation , 1996, Proceedings of HICSS-29: 29th Hawaii International Conference on System Sciences.

[10]  R.M. Fujimoto,et al.  Parallel and distributed simulation systems , 2001, Proceeding of the 2001 Winter Simulation Conference (Cat. No.01CH37304).

[11]  Boris D. Lubachevsky,et al.  Efficient distributed event-driven simulations of multiple-loop networks , 1988, CACM.

[12]  Mostafa H. Ammar,et al.  Updateable simulation of communication networks , 2002, Proceedings 16th Workshop on Parallel and Distributed Simulation.

[13]  Richard M. Fujimoto,et al.  Parallel and Distribution Simulation Systems , 1999 .

[14]  Joel H. Saltz,et al.  Dynamic Remapping of Parallel Computations with Varying Resource Demands , 1988, IEEE Trans. Computers.

[15]  Ruth Meyer,et al.  Event-Driven Multi-agent Simulation , 2014, MABS.

[16]  Chong-Min Kyung,et al.  Improving Lookahead in Parallel Multiprocessor Simulation Using Dynamic Execution Path Prediction , 2006, 20th Workshop on Principles of Advanced and Distributed Simulation (PADS'06).

[17]  Haris N. Koutsopoulos,et al.  Hybrid Mesoscopic-Microscopic Traffic Simulation , 2004 .

[18]  Richard M. Fujimoto Lookahead in Parallel Discrete Event Simulation , 1988 .

[19]  P. G. Gipps,et al.  A behavioural car-following model for computer simulation , 1981 .

[20]  Rajive L. Bagrodia,et al.  Path lookahead: a data flow view of PDES models , 1999, Proceedings Thirteenth Workshop on Parallel and Distributed Simulation. PADS 99. (Cat. No.PR00155).

[21]  Dirk Helbing,et al.  General Lane-Changing Model MOBIL for Car-Following Models , 2007 .

[22]  Dirk Helbing,et al.  Agents for Traffic Simulation , 2008, Multi-Agent Systems.

[23]  Matthias Scheutz,et al.  Adaptive algorithms for the dynamic distribution and parallel execution of agent-based models , 2006, J. Parallel Distributed Comput..

[24]  Michael Lees,et al.  Relaxing Synchronization in Parallel Agent-Based Road Traffic Simulation , 2017, ACM Trans. Model. Comput. Simul..

[25]  Mohammed M. Olama,et al.  Model-based Dynamic Control of Speculative Forays in Parallel Computation , 2016, Electron. Notes Theor. Comput. Sci..

[26]  Peter Martini,et al.  Good news for parallel wireless network simulations , 2009, MSWiM '09.

[27]  Y.-B. Lin,et al.  Exploiting Lookahead in Parallel Simulation , 1990, IEEE Trans. Parallel Distributed Syst..

[28]  Matthias Scheutz,et al.  Adaptive Scheduling Algorithms for the Dynamic Distribution and Parallel Execution of Spatial Agent-Based Models , 2010, Parallel and Distributed Computational Intelligence.

[29]  W. Gander On Halley's Iteration Method , 1985 .

[30]  Masatoshi Hanai,et al.  Exact-Differential Large-Scale Traffic Simulation , 2015, SIGSIM-PADS.

[31]  P. G. Gipps,et al.  A MODEL FOR THE STRUCTURE OF LANE-CHANGING DECISIONS , 1986 .

[32]  Michael Lees,et al.  Modelling Environments for Distributed Simulation , 2004, E4MAS.

[33]  Arnold H. Buss,et al.  Simple movement and detection in discrete event simulation , 2005, Proceedings of the Winter Simulation Conference, 2005..