Abstract
This paper aims to quantify uncertainty in traffic state estimation (TSE) using the generative adversarial network based physics-informed deep learning (PIDL). The uncertainty of the focus arises from fundamental diagrams, in other words, the mapping from traffic density to velocity. To quantify uncertainty for the TSE problem is to characterize the robustness of predicted traffic states. Since its inception, generative adversarial networks (GAN) have become a popular probabilistic machine learning framework. In this paper, we will inform the GAN based predictions using stochastic traffic flow models and develop a GAN based PIDL framework for TSE, named "PhysGAN-TSE". By conducting experiments on a real-world dataset, the Next Generation SIMulation (NGSIM) dataset, this method is shown to be more robust for uncertainty quantification than the pure GAN model or pure traffic flow models. Two physics models, the Lighthill-Whitham-Richards (LWR) and the Aw-Rascle-Zhang (ARZ) models, are compared as the physics components for the PhysGAN, and results show that the ARZ-based PhysGAN achieves a better performance than the LWR-based one.
Introduction
Traffic State Estimation (TSE) is the process of inferring traffic variables, such as density and velocity, across a spatiotemporal domain using sparse sensor data. Traditional methods often struggle with the inherent stochasticity of human driving and the noisy nature of real-world measurements. Traffic states are effectively spatiotemporal random fields, yet existing model-based approaches (e.g., Kalman Filters) often fail to capture complex, non-Gaussian noise, while purely data-driven methods require vast amounts of labeled data and may ignore physical constraints. This work introduces PhysGAN-TSE, a framework that integrates physics-informed deep learning with Generative Adversarial Networks (GANs) to quantify prediction uncertainty and improve estimation robustness.
Methodology: The PhysGAN-TSE Framework
The proposed PhysGAN-TSE architecture leverages the adversarial training paradigm to learn the distribution of traffic states. It consists of three primary modules: a Generator ($G_\theta$), a Discriminator ($D_\phi$), and a Physics Component ($f_\lambda$).
The Generator maps spatial coordinates and latent noise to predicted traffic states, while the Discriminator distinguishes these from ground-truth observations. The core innovation lies in the Physics Component, which embeds stochastic traffic flow models—specifically the first-order LWR model and the second-order ARZ model—into the loss function. This hybrid loss penalizes both data discrepancies and violations of physical laws, such as vehicle conservation.
The model was validated using the high-resolution Next Generation SIMulation (NGSIM) dataset. By simulating sparse loop detector data, the authors evaluated the framework's ability to reconstruct the full traffic state from limited observations.
Experimental Results
A key finding of this research is the superiority of the ARZ-based PhysGAN over the LWR-based variant. The ARZ model's inclusion of velocity dynamics and driver "inertia" allows it to better capture the nuances of real-world traffic behavior.
As shown in Figure 3, PhysGAN-TSE consistently outperforms the "Pure GAN" and the traditional Extended Kalman Filter (EKF), particularly in scenarios with high data sparsity. While the performance of purely data-driven models degrades rapidly as sensors are removed, the physics-informed regularizer in PhysGAN-TSE provides a stable baseline that maintains accuracy. Furthermore, the model successfully identifies physical parameters, such as maximum road capacity and velocity, without prior knowledge, demonstrating its utility for parameter discovery.
Conclusion and Future Work
PhysGAN-TSE represents a significant step toward robust, physics-aware uncertainty quantification in traffic engineering. By treating physical laws as stochastic constraints, the model bridges the gap between rigid theoretical models and flexible but unconstrained deep learning. Future research will focus on improving training stability—perhaps through normalizing flows—and enhancing the model's generalizability to unseen road geometries and traffic conditions.
Summary updated