Physics-Informed Deep Learning for Traffic State Estimation

Rongye Shi, Zhaobin Mo, Kuang Huang, Xuan Di, Qiang DuarXiv 2021

Abstract

Traffic state estimation (TSE), which reconstructs the traffic variables (e.g., density) on road segments using partially observed data, plays an important role on efficient traffic control and operation that intelligent transportation systems (ITS) need to provide to people. Over decades, TSE approaches bifurcate into two main categories, model-driven approaches and data-driven approaches. However, each of them has limitations: the former highly relies on existing physical traffic flow models, such as Lighthill-Whitham-Richards (LWR) models, which may only capture limited dynamics of real-world traffic, resulting in low-quality estimation, while the latter requires massive data in order to perform accurate and generalizable estimation. To mitigate the limitations, this paper introduces a physics-informed deep learning (PIDL) framework to efficiently conduct high-quality TSE with small amounts of observed data. PIDL contains both model-driven and data-driven components, making possible the integration of the strong points of both approaches while overcoming the shortcomings of either. This paper focuses on highway TSE with observed data from loop detectors, using traffic density as the traffic variables. We demonstrate the use of PIDL to solve (with data from loop detectors) two popular physical traffic flow models, i.e., Greenshields-based LWR and three-parameter-based LWR, and discover the model parameters. We then evaluate the PIDL-based highway TSE using the Next Generation SIMulation (NGSIM) dataset. The experimental results show the advantages of the PIDL-based approach in terms of estimation accuracy and data efficiency over advanced baseline TSE methods.

Bridging the Gap in Traffic State Estimation

Traffic State Estimation (TSE) is the process of reconstructing the full state of traffic (density, speed, flow) across a road segment using only partial data from sensors like inductive loop detectors. Historically, researchers have used two distinct paths:

  1. Model-driven approaches: These rely on physical laws like the Lighthill-Whitham-Richards (LWR) model. They are data-efficient but often fail to capture complex real-world dynamics if the underlying model is too simple or poorly calibrated.
  2. Data-driven approaches: These use neural networks to find patterns in historical data. While powerful, they are "black boxes" that require massive amounts of data and can produce physically impossible results, such as negative traffic density.

The authors tackle the gap between these two: how to achieve high-fidelity estimation when data is limited and the physical model might be incomplete.

The PIDL Framework

The core innovation is the Physics-Informed Deep Learning (PIDL) framework, which merges the predictive power of deep learning with the structural constraints of physical laws. It consists of two interconnected neural networks:

  • PUNN (Physics-Uninformed Neural Network): This is the "estimation network." It takes time ($t$) and space ($x$) as inputs and predicts traffic density ($\hat{\rho}$).
  • PINN (Physics-Informed Neural Network): This network encodes the Partial Differential Equations (PDEs) of traffic flow (specifically the LWR model). It calculates the "physics loss" by measuring how much the PUNN’s predictions violate the laws of conservation.
The PIDL framework architecture, featuring the PUNN for state estimation and the PINN for enforcing physical constraints.

During training, the total loss function includes both a Data Discrepancy term (difference between prediction and sensor data) and a Physical Discrepancy term. This ensures the network finds solutions that are both data-consistent and physically plausible. The PDE acts as a sophisticated regularization term, constraining the search space of the neural network to solutions that are physically plausible.

Performance and Data Efficiency

The framework was validated using both synthetic data (generated via the Godunov scheme) and the NGSIM (Next Generation SIMulation) dataset, representing real-world highway traffic. A key finding was the framework's superior data efficiency. On the NGSIM dataset, PIDL achieved satisfactory estimation with significantly fewer sensors than traditional methods.

Estimation error comparison between standard neural networks (NN) and the PIDL framework as the number of loop detectors increases.

Key results include:

  • Superior Data Efficiency: PIDL achieved satisfactory estimation with only 8 loop detectors, whereas traditional baselines like pure NNs or LSTMs required 12 or more to reach comparable accuracy.
  • Outperforming Baselines: PIDL consistently outperformed the Extended Kalman Filter (EKF), especially as sensor density increased, because the EKF is strictly bound by its physical model, whereas PIDL can adapt to data.
  • Robust Parameter Discovery: The model can identify unknown physical parameters (e.g., maximum velocity) with less than 1% error using minimal sensor data.
  • Shockwave Capture: Qualitatively, PIDL was much better at reconstructing "shockwaves" (backward-propagating traffic jams) than pure data-driven methods, which tended to blur these sharp transitions.

Conclusion

By treating physics as a regularizer, the PIDL framework constrains the search space of neural networks to physically plausible solutions. This allows for high-accuracy estimation even with sparse data. While the current study focuses on 1D highway segments, future work aims to expand this to complex multi-lane networks and incorporate diverse data sources like GPS probe data. Additionally, automating the hyperparameter tuning between physics and data loss (the $\beta/\alpha$ trade-off) remains an open research question.

Summary updated

BibTeX
@misc{shi2021physics,
  author = {Rongye Shi and Zhaobin Mo and Kuang Huang and Xuan Di and Qiang Du},
  title = {{Physics-Informed Deep Learning for Traffic State Estimation}},
  year = {2021},
  eprint = {2101.06580},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.06580},
}
Figure