Modeling Network-level Traffic Flow Transitions on Sparse Data

Xiaoliang Lei, Hao Mei, Bin Shi, Hua Wei · DOI

Abstract

Modeling how network-level traffic flow changes in the urban environment is useful for decision-making in transportation, public safety and urban planning. The traffic flow system can be viewed as a dynamic process that transits between states (e.g., traffic volumes on each road segment) over time. In the real-world traffic system with traffic operation actions like traffic signal control or reversible lane changing, the system's state is influenced by both the historical states and the actions of traffic operations. In this paper, we consider the problem of modeling network-level traffic flow under a real-world setting, where the available data is sparse (i.e., only part of the traffic system is observed). We present DTIGNN, an approach that can predict network-level traffic flows from sparse data. DTIGNN models the traffic system as a dynamic graph influenced by traffic signals, learns the transition models grounded by fundamental transition equations from transportation, and predicts future traffic states with imputation in the process. Through comprehensive experiments, we demonstrate that our method outperforms state-of-the-art methods and can better support decision-making in transportation.

Introduction

Accurate traffic flow prediction is a cornerstone of modern urban management, influencing everything from emergency response times to daily commutes. However, most existing deep learning models for traffic forecasting struggle with two fundamental realities of urban environments: the active manipulation of traffic via signal control and the inherent sparsity of sensor networks.

Traditional models often treat traffic as a passive time-series problem, ignoring the fact that a "green light" vs. a "red light" fundamentally changes the physical connectivity of the road network. Furthermore, because installing and maintaining sensors at every intersection is cost-prohibitive, most cities operate with significant "blind spots." This paper introduces the Dynamic Transition-based Imputation Graph Neural Network (DTIGNN), a framework designed to bridge these gaps by integrating transportation physics with graph-based deep learning.

The Challenges: Actions and Sparsity

The Action Gap

Traffic flow is not merely a product of historical trends; it is a dynamic system influenced by external actions. A road segment with high vehicle density behaves differently depending on the traffic signal phase. Standard models that ignore these signals often encounter "learning confusion," where the same historical volume leads to vastly different outcomes, resulting in high prediction variance.

Data Sparsity

Real-world traffic data is notoriously "holey." Whether due to limited sensor coverage (e.g., only major intersections) or intermittent hardware failure, models must frequently operate on sparse data. Directly training on this incomplete data often leads to poor generalization on unobserved road segments, as the model lacks the context of how traffic enters or exits those segments.

The DTIGNN Framework

DTIGNN addresses these challenges through a physics-informed architecture consisting of three primary innovations:

  1. Phase-activated Adjacency Matrix: Rather than using a static map, DTIGNN employs a dynamic graph structure. Edges between road segments are "activated" or "deactivated" in real-time based on the traffic signal phase. For example, an edge between an upstream and downstream road only exists if the signal allows for that specific movement (e.g., a green light for a left turn).
  2. Neural Transition Layer (NTL): The NTL serves as the model's physics engine. The authors mathematically ground this layer in fundamental transportation flow equations (conservation of flow). It calculates the movement of traffic from segment to segment based on the activated edges and learned saturation flow rates, ensuring the model's predictions remain physically plausible.
  3. Iterative Imputation: To handle missing data, DTIGNN integrates imputation directly into the prediction cycle. The model predicts traffic for unobserved roads at time $t$, merges this imputed data with observed values, and uses this complete (though partially estimated) state to predict time $t+1$. This ensures that even unobserved segments are constrained by the physical laws of traffic transition.

Experimental Evaluation

The authors evaluated DTIGNN against state-of-the-art models (including WaveNet and ASTGNN) across three datasets: a synthetic $4 \times 4$ grid ($D_{4 \times 4}$), real-world surveillance data from Hangzhou ($D_{HZ}$), and a large-scale Manhattan dataset ($D_{NY}$) involving 196 intersections.

Key Findings

  • Accuracy: DTIGNN consistently outperformed baselines. On the Hangzhou dataset, DTIGNN achieved an RMSE of 0.6618, a significant improvement over ASTGNN’s 0.7408.
  • Resilience to Sparsity: The model proved remarkably robust. Even when 75% of intersections were unobserved (12 out of 16), DTIGNN maintained a low error rate, whereas baseline models' performance degraded rapidly.
  • Downstream Utility: In a case study using the MaxPressure traffic signal control algorithm, using DTIGNN’s imputed predictions to fill sensor gaps reduced average vehicle travel time by approximately 26% compared to the best baseline model.

Conclusion

DTIGNN demonstrates that the integration of domain knowledge—specifically transportation physics and signal logic—can significantly enhance the performance of deep learning models in complex urban environments. By treating traffic signals as primary inputs and embedding imputation within the transition process, DTIGNN provides a robust solution for network-level traffic modeling, even in the face of extreme data sparsity. Future work may expand this framework to include other external factors such as weather conditions or road incidents.

Summary updated

BibTeX
@inproceedings{lei2022modeling,
  author = {Xiaoliang Lei and Hao Mei and Bin Shi and Hua Wei},
  title = {{Modeling Network-level Traffic Flow Transitions on Sparse Data}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539236},
}
Figure