Quantifying Uncertainty In Traffic State Estimation Using Generative Adversarial Networks

Zhaobin Mo, Yongjie Fu, Xuan Di

This paper, presented at the 2022 IEEE International Conference on Intelligent Transportation Systems (ITSC), introduces a novel framework for quantifying uncertainty in traffic state estimation (TSE) by merging the generative power of GANs with the structural constraints of traffic physics.

TL;DR

The authors develop PhysGAN-TSE, a physics-informed generative adversarial network that estimates traffic density and velocity while quantifying the inherent uncertainty of human driving behavior. By integrating stochastic versions of the LWR and ARZ traffic flow models, the framework achieves higher accuracy and better distributional matching on real-world datasets compared to purely data-driven or traditional filtering methods.

What Problem Does This Paper Address?

Traffic State Estimation (TSE) is the task of inferring traffic conditions (like density and speed) across a road network using sparse data from sensors like loop detectors. This is challenging because traffic is inherently stochastic—human drivers don't behave like identical particles; they have varying reaction times, driving styles, and goals.

Existing approaches generally fall into two camps:

  1. Model-based methods (e.g., Extended Kalman Filters): These rely on physics equations but often assume simple Gaussian noise, which fails to capture the complex, non-linear randomness of real traffic.
  2. Data-driven methods (e.g., standard Deep Learning): These can learn complex patterns but require massive amounts of data and often produce physically impossible results because they ignore the underlying "laws" of traffic flow.

The authors aim to bridge this gap by using Physics-Informed Deep Learning (PIDL) to quantify uncertainty in a way that is both data-responsive and physically consistent.

Methods

The core of the proposal is the PhysGAN-TSE framework. It adapts the Generative Adversarial Network (GAN) architecture to include a physics-based regularization component.

  • The Generator ($G_\theta$): Instead of just taking coordinates, it takes spatial-temporal points $(x, t)$ and a latent random variable $z$. It learns to output a distribution of traffic states, effectively mapping noise to realistic traffic fluctuations.
  • The Discriminator ($D_\phi$): An adversarial component that tries to distinguish between the generator's predictions and real-world sensor observations.
  • Physics-Informed Loss: This is the "secret sauce." The generator is penalized if its outputs violate fundamental traffic flow partial differential equations (PDEs). The authors test two physics models:
  • LWR Model: A first-order model based on the conservation of vehicles.
  • ARZ Model: A second-order model that also accounts for velocity dynamics (acceleration/deceleration).
  • Joint Estimation: Crucially, the model doesn't just use fixed physics parameters; it jointly estimates parameters like maximum traffic density ($\rho_{max}$) and free-flow velocity ($u_{max}$) during the training process.
Fig. 2. Architecture of the ARZ-PhysGAN.

Datasets

The model was evaluated using the Next Generation SIMulation (NGSIM) dataset. This is a high-fidelity, real-world dataset containing vehicle trajectories (position, velocity, etc.) collected at 0.1-second intervals. The authors focused on a mainline highway segment with five lanes to test the model's ability to handle complex, real-world traffic dynamics.

Key Insights and Ideas

  • Stochastic Physics: Most prior "Physics-Informed" GAN research assumes the underlying physics equations are deterministic and the randomness comes only from boundary conditions. This paper argues that for traffic, the physics itself is stochastic due to human behavior, requiring the integration of stochastic traffic flow models.
  • ARZ > LWR: The experiments revealed that the ARZ-based PhysGAN outperformed the LWR-based version. This indicates that the second-order dynamics of the ARZ model (which treats velocity as an independent state) are better at capturing the "stop-and-go" waves and high-frequency fluctuations found in real traffic data.
  • Physics as a Stabilizer: GANs are notoriously difficult to train (prone to "mode collapse"). The authors found that incorporating physics equations acts as a powerful regularizer, narrowing the search space for parameters and making the training process more robust.

Key Results

  • Accuracy: PhysGAN-TSE consistently outperformed both a "Pure GAN" (no physics) and an Extended Kalman Filter (EKF) across various sensor densities. As shown in Figure 3, the Relative Error (RE) for both density and velocity is significantly lower for the PhysGAN models.
Fig. 3. The REs of our proposed PhysGANs and the baselines.
  • Distributional Matching: Using Kullback-Leibler (KL) divergence, the authors showed that PhysGAN-TSE does a much better job of matching the actual probability distribution of traffic states than baselines.
  • Parameter Convergence: The model successfully "discovered" physical parameters from the data. The estimated values for maximum density and velocity converged to values that are physically realistic for highway scenarios (e.g., $\rho_{max} \approx 0.38$ vehicles/meter).
Fig. 5. The mean value of the jointly estimated physics parameters for the NGSIM dataset.

Limitations and Future Work

  • Training Complexity: Despite the physics regularization, the adversarial min-max game of GANs remains computationally intensive and sometimes unstable. The authors suggest exploring Normalizing Flows as an alternative generative architecture that allows for explicit likelihood computation.
  • Generalizability: Currently, the model needs to be re-trained if applied to a new road segment or a significantly different time period. Developing "foundation models" for traffic that generalize across different geometries and conditions is a key next step.
  • Scalability: Testing the framework on larger, city-scale networks remains a challenge for future research.

Summary updated

BibTeX
@inproceedings{mo2022quantifying,
  author = {Zhaobin Mo and Yongjie Fu and Xuan Di},
  title = {{Quantifying Uncertainty In Traffic State Estimation Using Generative Adversarial Networks}},
  booktitle = {2022},
  year = {2022},
  doi = {10.1109/itsc55140.2022.9921791},
}
Figure