Dynamic Frequency Domain Graph Convolutional Network for Traffic Forecasting

Yujie Li, Zezhi Shao, Yongjun Xu, Qiang Qiu, Zhaogang Cao, Fei Wang

TL;DR

Traffic forecasting models often struggle with "time-shift"—the delay it takes for congestion to travel from one sensor to another—and random data noise. This paper introduces the Dynamic Frequency Domain Graph Convolutional Network (DFDGCN), which uses Fourier transforms to analyze traffic patterns in the frequency domain, making the model resilient to time delays and noise while outperforming state-of-the-art baselines on real-world datasets.

What Problem Does This Paper Address?

Predicting traffic flow is a classic "spatio-temporal" problem: what happens at one sensor depends on both its own history (time) and what is happening at nearby sensors (space). Modern models use Graph Convolutional Networks (GCNs) to map these relationships.

However, the authors identify two major hurdles for current "data-driven" models:

  1. Time-Shift: Traffic patterns are rarely perfectly synchronized. If a traffic jam starts at an industrial zone at 5:00 PM, it might not reach a residential area until 5:30 PM. Standard similarity measures (like Euclidean distance or Cosine similarity) compare data at the same timestamp, failing to recognize that these two sensors are actually highly correlated but just shifted in time.
  2. Data Noise: Traffic data is messy. Accidents, roadwork, and sensor glitches create "noise" that can lead a model to learn incorrect spatial relationships if it relies solely on raw historical data.

Methods

The core innovation of DFDGCN is moving the analysis from the time domain to the frequency domain.

  • Fourier Transformation: By applying a Fast Fourier Transform (FFT) to the traffic data, the authors can analyze the signal's frequency components. Mathematically, a time-shift in the time domain corresponds to a phase shift in the frequency domain, but the underlying frequency components remain aligned. This allows the model to "see" correlations that are invisible in the raw time series.
  • Multi-Source Embedding: To combat noise, the model doesn't just look at traffic numbers. It incorporates Identity Embeddings (unique IDs for each sensor) and Time Embeddings (day of the week, hour of the day). This provides the "context" necessary to distinguish between a random fluke and a recurring pattern.
  • Dynamic Adjacency Matrix: The model generates a dynamic graph ($A_D$) at each observation window. This graph is then combined with static predefined graphs (physical distance) and self-adaptive graphs (learned long-term relationships) to perform graph convolutions.
  • Temporal Convolution: For the time-series aspect, the model uses standard causal convolutions with residual connections, similar to the architecture used in Graph WaveNet (GWNet).

Datasets

The authors evaluated their model on four widely used real-world traffic benchmarks:

  • PEMS-BAY: Traffic speed data from 325 sensors in the Bay Area.
  • PEMS03, PEMS07, PEMS08: Traffic flow data from various California highway districts, ranging from 170 to 883 sensors.

All datasets consist of five-minute interval readings, and the task was to predict the next 12 time steps (one hour) based on the previous 12.

Key Insights and Ideas

  • Frequency Differentiation: One of the most striking "aha" moments is shown in the paper's Figure 2. In the time domain, the similarity between sensors is "stacked" and lacks differentiation. In the frequency domain, the similarity scores are much more spread out, allowing the model to more accurately distinguish which sensors are truly related.
  • Shift-Invariance: By proving that traffic data in the frequency domain is represented in the same phase dimension regardless of time-shift, the authors provide a robust mathematical foundation for why their method works better for urban commuting patterns.
  • The "Static" Penalty: Interestingly, the ablation studies suggested that while combining multiple graphs is generally good, adding static predefined information sometimes hurt performance. This suggests that data-driven dynamic graphs might already be capturing the most relevant spatial info, and rigid "prior" knowledge can occasionally act as a distraction.

Key Results

DFDGCN consistently outperformed baselines including DCRNN, STGCN, GWNet, and DGCRN across all four datasets.

  • Accuracy: On the PEMS08 dataset, DFDGCN achieved a Mean Absolute Error (MAE) of 14.23, outperforming the base GWNet model (14.40) and the previous state-of-the-art DGCRN (14.42).
  • Stability: The model showed particular strength in long-term forecasting (the 12th time step), where the benefits of the frequency domain's noise reduction and shift-invariance became most apparent.

Limitations and Future Work

The authors acknowledge a few areas for improvement:

  • Multi-Graph Complexity: Convolving multiple graphs (static, adaptive, and dynamic) can lead to inconsistent convergence speeds during training, a problem similar to those found in multi-task learning.
  • Information Density: Different graphs have different "densities" of information, and the current method of simply summing them might not be the most optimal fusion strategy.
  • Future Directions: The team plans to explore more sophisticated ways to optimize multi-graph convolutions and further investigate the spatial dependencies between sensor signals.

Summary updated

BibTeX
@inproceedings{li2024dynamic,
  author = {Yujie Li and Zezhi Shao and Yongjun Xu and Qiang Qiu and Zhaogang Cao and Fei Wang},
  title = {{Dynamic Frequency Domain Graph Convolutional Network for Traffic Forecasting}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446144},
}
Figure