Skip to main content
QUICK REVIEW

[Paper Review] Macroscopic Traffic Flow Modeling with Physics Regularized Gaussian Process: A New Insight into Machine Learning Applications

Yun Yuan, Xianfeng Yang|arXiv (Cornell University)|Feb 6, 2020
Traffic Prediction and Management TechniquesEngineering68 references7 citations
TL;DR

This paper proposes a physics regularized Gaussian process (PRGP) framework that embeds macroscopic traffic flow models (LWR, PW, ARZ) into a Bayesian Gaussian process to improve estimation accuracy and robustness in low-data or noisy conditions. By using a shadow GP and posterior regularization, the method outperforms pure ML and calibrated physical models, reducing flow RMSE by over 160 veh/h and MAPE by more than 100% on noisy data.

ABSTRACT

Despite the wide implementation of machine learning (ML) techniques in traffic flow modeling recently, those data-driven approaches often fall short of accuracy in the cases with a small or noisy dataset. To address this issue, this study presents a new modeling framework, named physics regularized machine learning (PRML), to encode classical traffic flow models (referred as physical models) into the ML architecture and to regularize the ML training process. More specifically, a stochastic physics regularized Gaussian process (PRGP) model is developed and a Bayesian inference algorithm is used to estimate the mean and kernel of the PRGP. A physical regularizer based on macroscopic traffic flow models is also developed to augment the estimation via a shadow GP and an enhanced latent force model is used to encode physical knowledge into stochastic processes. Based on the posterior regularization inference framework, an efficient stochastic optimization algorithm is also developed to maximize the evidence lowerbound of the system likelihood. To prove the effectiveness of the proposed model, this paper conducts empirical studies on a real-world dataset which is collected from a stretch of I-15 freeway, Utah. Results show the new PRGP model can outperform the previous compatible methods, such as calibrated pure physical models and pure machine learning methods, in estimation precision and input robustness.

Motivation & Objective

  • Address the limitations of pure machine learning models in traffic state estimation when training data are scarce or noisy.
  • Overcome the inflexibility and high calibration burden of classical deterministic traffic flow models under real-world data uncertainty.
  • Integrate well-established macroscopic traffic flow physics (e.g., conservation laws, fundamental diagrams) into a data-driven learning framework.
  • Develop a hybrid modeling approach that combines the interpretability of physical models with the adaptability of machine learning.
  • Improve robustness to input data noise and extrapolation by embedding physical knowledge as soft constraints in the learning process.

Proposed method

  • Propose a stochastic physics regularized Gaussian process (PRGP) that combines a standard GP with a shadow GP to encode physical laws.
  • Use a latent force model to embed macroscopic traffic flow models (LWR, Payne-Whitham, ARZ) as stochastic processes within the GP framework.
  • Implement a posterior regularization inference algorithm to enforce physical constraints during Bayesian learning, using evidence lower bound maximization.
  • Leverage automatic differentiation for efficient optimization of the PRGP's mean and kernel functions under physical regularization.
  • Formulate the PRGP as a multi-output Gaussian process with joint modeling of flow, speed, and density under a shared physical structure.
  • Apply the framework to real-world PeMS data from I-15 freeway, Utah, to validate performance against pure ML and calibrated physical models.

Experimental results

Research questions

  • RQ1Can physics-regularized machine learning improve estimation accuracy in macroscopic traffic flow modeling when training data are limited or noisy?
  • RQ2How does embedding classical traffic flow models (LWR, PW, ARZ) as soft constraints enhance the robustness of Gaussian process regression?
  • RQ3To what extent does the PRGP framework outperform pure machine learning models and calibrated physical models in terms of RMSE and MAPE on real-world data?
  • RQ4Does the inclusion of physical knowledge reduce bias and variance in traffic state estimation under data corruption or sensor malfunction?
  • RQ5Can the proposed framework maintain high performance in extrapolation scenarios where test data differ from training data?

Key findings

  • The PRGP model reduces flow RMSE by over 160 veh/h and flow MAPE by more than 100% compared to pure GP when trained on 50% noisy data.
  • PRGP models (e.g., GP-LWR, GP-ARZ) achieve flow RMSE as low as 34.75 veh/h and flow MAPE of 11.48%, significantly outperforming pure GP (RMSE: 212.17, MAPE: 135.19%).
  • The GP-ARZ variant achieves the lowest speed RMSE (2.90 mph) and speed MAPE (2.72%), demonstrating superior accuracy in speed estimation.
  • The heat equation-based regularization (GP-HEAT) performs poorly, with MAPE of 33.6% for speed, confirming that only well-structured physical models improve performance.
  • The PRGP framework maintains high accuracy and robustness even when 50% of training data are corrupted with 100 veh/5min noise, unlike pure ML models that diverge significantly.
  • The shadow GP and posterior regularization effectively regularize the standard GP, acting as soft constraints that preserve physical consistency while allowing data adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.