journal article·2026-01-24Open access

Multi-Agent Reinforcement Learning for Traffic State Estimation on Highways Using Fundamental Diagram and LWR Theory

Xulei Zhang, Yin Han

Applied Sciences· Volume 16· Issue 3

Abstract

Traffic state estimation (TSE) is a core task in intelligent transportation systems (ITSs) that seeks to infer key operational parameters—such as speed, flow, and density—from limited observational data. Existing methods often face challenges in practical deployment, including limited estimation accuracy, insufficient physical consistency, and weak generalization capability. To address these issues, this paper proposes a hybrid estimation framework that integrates multi-agent reinforcement learning (MARL) with the Lighthill–Whitham–Richards (LWR) traffic flow model. In this framework, each roadside detector is modeled as an agent that adaptively learns fundamental diagram (FD) parameters—the free-flow speed and jam density—by fusing local detector measurements with global CAV trajectory sequences via an interactive attention mechanism. The learned parameters are then passed to an LWR solver to perform sequential (rolling) prediction of traffic states across the entire road segment. We design a reward function that jointly penalizes estimation error and violations of physical constraints, enabling the agents to learn accurate and physically consistent dynamic traffic state estimates through interaction with the physics-based LWR environment. Experiments on simulated and real-world datasets demonstrate that the proposed method outperforms existing models in estimation accuracy, real-time performance, and cross-scenario generalization. It faithfully reproduces dynamic traffic phenomena, such as shockwaves and queue waves, demonstrating robustness and practical potential for deployment in complex traffic environments.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Traffic Prediction and Management Techniques · Traffic control and management · Autonomous Vehicle Technology and Safety

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Transportation System Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China

References (32)

Show source-provided references
1. Wang, Y., Luo, R., and Yang, X. (2025). Urban traffic state sensing and analysis based on etc data: A survey. Appl. Sci., 15.10.3390/app15126863 ↗
2. Wang, N., Zhang, B., Gu, J., Kong, H., Hu, S., and Lu, S. (2023). Urban road traffic spatiotemporal state estimation based on multivariate phase space–lstm prediction. Appl. Sci., 13.10.3390/app132112079 ↗
3. Yamada, T., and Shi, S. (2022). Estimating infection-related human mobility networks based on time series data of COVID-19 infection in japan. Appl. Sci., 12.10.3390/app12189236 ↗
4. Traffic state estimation from vehicle trajectories with anisotropic gaussian processes10.1016/j.trc.2024.104646 ↗
5. Zhao, W., Wang, T., Zou, G., Wang, H., and Li, Y. (2025). Adaptive deployment of fixed traffic detectors based on attention mechanism. Systems, 13.10.3390/systems13100887 ↗
6. Traffic state estimation with spatio-temporal autoencoding transformer (stat model)10.1109/ACCESS.2025.3569694 ↗
7. Traffic state estimation incorporating heterogeneous vehicle composition: A high-dimensional fuzzy model10.1007/s42524-024-3148-1 ↗
8. Real-time freeway traffic state estimation based on extended kalman filter: A general approach10.1016/j.trb.2004.03.003 ↗
9. Traffic state estimation of urban road networks by multi-source data fusion: Review and new insights10.1016/j.physa.2022.127079 ↗
10. Knowledge-data fusion oriented traffic state estimation: A stochastic physics-informed deep learning approach10.1016/j.trc.2025.105422 ↗
11. Identifying traffic-induced bridge excitations using an optimised state estimation method10.1680/jstbu.24.00030 ↗
12. Bayesian traffic state estimation using extended floating car data
13. Prescriptive analytics for freeway traffic state estimation by multi-source data fusion10.1016/j.tre.2025.104105 ↗
14. Sultanova, S.M., Babakhanova, N.U., Shaumarov, S.S., and Masharipov, M.S.N. (2025). Modeling traffic flow using the lwr model and finite difference numerical method: Analysis of efficiency and applicability in urban transport infrastructure conditions. Sustainable Development of Transport: Economy, Transformation, Logistics and ESG Agenda. Volume 2, Springer Nature.
15. Multimodel ensemble for freeway traffic state estimations10.1109/TITS.2014.2299542 ↗
16. Highway traffic state estimation with mixed connected and conventional vehicles: Microscopic simulation-based testing10.1016/j.trc.2017.02.015 ↗
17. Traffic state estimation using stochastic lagrangian dynamics10.1016/j.trb.2018.07.004 ↗
18. Traffic state estimation and its sensitivity utilizing measurements from the opposite lane10.1016/j.trc.2019.04.016 ↗
19. Congestion boundary approach for phase transitions in traffic flow
20. There is something more fundamental than fundamental diagram10.1016/j.trb.2025.103206 ↗
21. Ge-gan: A novel deep learning framework for road traffic state estimation10.1016/j.trc.2020.102635 ↗
22. A conditional diffusion model for probabilistic estimation of traffic states at sensor-free locations10.1016/j.trc.2024.104798 ↗
23. A systematic review of machine learning-based microscopic traffic flow models and simulations10.1016/j.commtr.2025.100164 ↗
24. Traffic state estimation on a two-dimensional network by a state-space model10.1016/j.trpro.2019.05.017 ↗
25. Physics-informed neural networks for integrated traffic state and queue profile estimation: A differentiable programming approach on layered computational graphs10.1016/j.trc.2023.104224 ↗
26. Huang, A.J., and Filipovska, M. (2024, January 24–27). Physics-informed bayesian deep learning for traffic state estimation and uncertainty quantification. Proceedings of the 2024 IEEE 27th International Conference on Intelligent Transportation Systems (ITSC), Edmonton, AB, Canada.10.1109/ITSC58415.2024.10920012 ↗
27. Luo, X., Yu, H., Yuan, H., and Wang, Y. (2024, January 1–3). A model and data dual-driven approach to traffic state estimation on freeways. Proceedings of the 2024 5th International Conference on Computer, Big Data and Artificial Intelligence (ICCBD+AI), Jingdezhen, China.10.1109/ICCBD-AI65562.2024.00027 ↗
28. Observer-informed deep learning for traffic state estimation with boundary sensing10.1109/TITS.2023.3318299 ↗
29. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep residual learning for image recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
30. Macroscopic Fundamental Diagram: Alternative theoretical analysis and implications for traffic control
31. State-of-the-art of vehicular traffic flow modelling
32. Physics-informed deep learning for traffic state estimation based on the traffic flow model and computational graph method10.1016/j.inffus.2023.101971 ↗