Abstract

Traffic flow modeling is essential for understanding and predicting the collective dynamics of vehicles on road networks. Cellular automata provide a simple, interpretable yet powerful framework for representing these dynamics via local interaction rules, while retaining the ability to reproduce complex macroscopic traffic phenomena. However, learning local transition rules from data while preserving physically meaningful constraints remains challenging, particularly for stochastic models. In this work, we propose a physics-informed neural cellular automaton (PI-NCA) for data-driven traffic flow modeling. Building on the standard neural cellular automaton (NCA), we design a neural architecture that is physically consistent with the road topology and guarantees conservation of the total number of vehicles, thereby constraining the learned transition rules to physically admissible dynamics. We further extend this framework to stochastic dynamics by parameterizing probabilistic transition rules while preserving the same physics-informed constraints. We evaluate the proposed models on multiple traffic scenarios generated by the well-established Nagel-Schreckenberg and Kerner-Klenov-Wolf cellular automata. The results demonstrate that the PI-NCA successfully learns the dynamics of both traffic models and consistently outperforms a standard NCA, while the stochastic extension captures probabilistic transition rules without compromising the imposed physical constraints.

Keywords

Subject

Publication details

Journal
Not available
Open access
Green open access

Cite this article

APA 7

Bragone, F., & Barreau, M. (2026). Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata. https://omanscience.com/en/articles/learning-traffic-flow-dynamics-with-stochastic-physics-informed-neural-cellular-automata

MLA 9

Bragone, Federica, and Matthieu Barreau. "Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata." https://omanscience.com/en/articles/learning-traffic-flow-dynamics-with-stochastic-physics-informed-neural-cellular-automata.

Chicago (author–date)

Bragone, Federica, and Matthieu Barreau. 2026. "Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata." https://omanscience.com/en/articles/learning-traffic-flow-dynamics-with-stochastic-physics-informed-neural-cellular-automata.

Harvard

Bragone, F. and Barreau, M. (2026) 'Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata', Available at: https://omanscience.com/en/articles/learning-traffic-flow-dynamics-with-stochastic-physics-informed-neural-cellular-automata.

Vancouver

Bragone F, Barreau M. Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata. https://omanscience.com/en/articles/learning-traffic-flow-dynamics-with-stochastic-physics-informed-neural-cellular-automata

IEEE

F. Bragone, and M. Barreau, "Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata," https://omanscience.com/en/articles/learning-traffic-flow-dynamics-with-stochastic-physics-informed-neural-cellular-automata.