用物理约束的神经元胞自动机学习交通流动态
Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata
把元胞自动机和神经网络结合做交通流建模,还强制守恒约束,比标准 NCA 学得更准,做交通仿真的可以看看。
论文提出 PI-NCA(物理信息神经元胞自动机),在标准 NCA 基础上加入与道路拓扑一致的架构,并保证车辆总数守恒,使学到的转移规则符合物理约束。框架进一步扩展到随机动力学,用概率转移规则参数化且不破坏物理约束。作者在 Nagel-Schreckenberg 和 Kerner-Klenov-Wolf 两种经典元胞自动机生成的交通场景上评估,PI-NCA 均成功学到两种模型的动态,并持续优于标准 NCA。
Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular Automata
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.