Skip to main content
QUICK REVIEW

[Paper Review] Short-term traffic prediction using physics-aware neural networks

Mike Pereira, Annika Lang|arXiv (Cornell University)|Sep 21, 2021
Traffic Prediction and Management TechniquesEngineering37 references4 citations
TL;DR

This paper proposes a physics-aware recurrent neural network that integrates a discretized macroscopic traffic flow model (Traffic Reaction Model) with LSTM-based parameter estimation to enable interpretable short-term flux predictions and noise-aware smoothing of raw loop detector data. The method achieves MAPEs of 4.82% on 3-step predictions and 8.02% on 10-step predictions when compared to smoothed fluxes, demonstrating both physically consistent predictions and effective data denoising.

ABSTRACT

In this work, we propose an algorithm performing short-term predictions of the flux of vehicles on a stretch of road, using past measurements of the flux. This algorithm is based on a physics-aware recurrent neural network. A discretization of a macroscopic traffic flow model (using the so-called Traffic Reaction Model) is embedded in the architecture of the network and yields flux predictions based on estimated and predicted space-time dependent traffic parameters. These parameters are themselves obtained using a succession of LSTM ans simple recurrent neural networks. Besides, on top of the predictions, the algorithm yields a smoothing of its inputs which is also physically-constrained by the macroscopic traffic flow model. The algorithm is tested on raw flux measurements obtained from loop detectors.

Motivation & Objective

  • To develop a short-term traffic flux prediction method that combines neural networks with physical traffic flow models for improved interpretability and robustness.
  • To address the black-box nature of standard deep learning models in traffic prediction by embedding a macroscopic traffic flow model (TRM) into the neural network architecture.
  • To simultaneously perform noise reduction (smoothing) and prediction using a single, physically constrained framework.
  • To produce flux estimates and predictions at all spatial locations along a road segment, not just at sensor locations, enabling data augmentation.
  • To validate the method on real-world raw flux measurements from Dutch freeway loop detectors, demonstrating performance on both smoothed and raw data.

Proposed method

  • The method uses a two-stage architecture: first, an LSTM network estimates time-varying parameters (e.g., free-flow speed, jam density) from past flux measurements.
  • These estimated parameters are fed into a discretized version of the Traffic Reaction Model (TRM), a macroscopic traffic flow model, to compute flux estimates and predictions across the entire road segment.
  • The TRM discretization ensures that all flux predictions and smoothed outputs are physically consistent with macroscopic traffic dynamics.
  • The model performs both smoothing of raw input data and future prediction in a unified framework, with the smoothing grounded in the physical model.
  • The architecture is trained end-to-end, with the physical model acting as a differentiable constraint on the neural network's output.
  • The method enables spatially continuous flux estimation and prediction, even at locations without direct measurements, by solving the TRM numerically across the road domain.

Experimental results

Research questions

  • RQ1Can a physics-aware neural network architecture improve interpretability and robustness in short-term traffic flux prediction compared to standard black-box models?
  • RQ2To what extent can a macroscopic traffic flow model (TRM) be effectively embedded into a deep learning framework to ensure physically consistent predictions and smoothing?
  • RQ3How does the performance of the proposed method compare to standard deep learning models when evaluated on both raw and smoothed flux data?
  • RQ4Can the model simultaneously perform noise reduction and future prediction while maintaining physical plausibility across the entire road segment?
  • RQ5Does the integration of a physical model into the neural network architecture lead to better generalization and reduced sensitivity to hyperparameter tuning?

Key findings

  • The proposed method achieves a 3-step prediction MAPE of 4.82% when compared to the smoothed flux, indicating strong predictive accuracy.
  • For 10-step predictions, the MAPE reaches 8.02% on the smoothed flux, demonstrating consistent performance over longer horizons.
  • The algorithm effectively smooths raw flux measurements, reducing noise while preserving physical consistency, without requiring external preprocessing.
  • Prediction errors are highest at interfaces away from sensors and peak at observed interfaces, indicating localized adaptation to measured data.
  • The model produces physically plausible flux estimates and predictions across the entire road segment, not just at sensor locations, enabling spatial data augmentation.
  • Compared to standard deep learning models, the proposed method offers comparable performance on smoothed data but with improved interpretability and physical grounding.

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.