Physics-Constrained Neural ODEs for Learning Traffic Dynamics and Trajectories from Road Entry/Exit Times
Dennis Bogatov Wilkman, Karl Henrik Johansson, Matthieu Barreau
Key points
From the paper's conclusion- We consider the problem of learning microscopic traffic dynamics and reconstructing vehicle trajectories from section entry/exit timestamps (EET) recorded by cameras and from the positions of a probe vehicle leading the platoon.
Abstract
We consider the problem of learning microscopic traffic dynamics and reconstructing vehicle trajectories from section entry/exit timestamps (EET) recorded by cameras and from the positions of a probe vehicle leading the platoon. The dynamics are difficult to recover as each vehicle's position is measured only at two points, and its trajectory between them is unknown. By combining Neural ODEs with a local density approximation, we learn a follow-the-leader model whose speed--density relation is a neural network. With such sparse data, an unconstrained network may learn physically unrealistic relations, such as negative speeds or non-zero speeds on a fully congested road. We therefore introduce a normalization that, applied to a monotone neural network with a learned regime change, enforces the endpoint conditions, guaranteeing an admissible speed--density relation while provably retaining the ability to approximate any admissible one. We validate the method on first- and second-order simulations, recovering the speed--density relation of the first-order model and reconstructing the trajectories of both models, with mean maximum position errors of 2.50~m and 2.51~m, respectively, on a 125~m road segment. On real-world ring-road data, the proposed model still yields an admissible relation, whereas both baselines violate the constraints; the large spread in the data, however, highlights the limitations of a first-order model with homogeneous driver behaviors.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Does Physics Beat Data? Data-Efficient Traffic State Estimation with Amortized PINNsarXiv · 2026
- Learning Traffic Flow Dynamics with Stochastic Physics-Informed Neural Cellular AutomataarXiv · 2026
- Stochastic Gradient Descent for Traffic and Pedestrian Models via Neural Networks and Parameter IdentificationarXiv · 2026
- Guiding End-to-End Driving Models with Endpoint-Constrained Trajectory OptimizationarXiv · 2026
- Physics-informed deep learning for robust trajectory prediction in automated driving.Scientific reports · 2026
- Understanding Data Influence in Transportation Networks: A Physics-Constrained Influence-Function FrameworkarXiv · 2026