REFOL: Resource-Efficient Federated Online Learning for Traffic Flow Forecasting

Qingxiang Liu, Sheng Sun, Yuxuan Liang, Xiaolong Xu, Min Liu, Muhammad Bilal, Yuwei Wang, Xujing Li, Yu Zheng

TL;DR

This paper introduces REFOL, a novel federated online learning framework for traffic flow forecasting that significantly reduces computational and communication overhead. By intelligently detecting concept drift and employing a graph convolution-based aggregation mechanism, REFOL achieves superior prediction accuracy while being resource-efficient, making it ideal for real-world traffic management systems.

What Problem Does This Paper Address?

Traffic congestion is a major global issue, leading to significant economic losses and environmental impact. Accurate traffic flow forecasting (TFF) is crucial for mitigating these problems. Traditional TFF methods often rely on centralized learning, which requires transmitting vast amounts of sensitive traffic data, raising privacy concerns and incurring substantial communication costs. Federated Learning (FL) offers a privacy-preserving alternative by training models collaboratively on decentralized data. However, existing FL methods for TFF typically use offline learning, which struggles with concept drift – the phenomenon where data distributions change over time, leading to degraded prediction performance. Online learning (OL) can adapt to concept drift, but existing federated online learning approaches for TFF are computationally and communicationally expensive. This paper addresses the need for a resource-efficient federated online learning method that can effectively handle concept drift in TFF.

Methods

REFOL introduces three key innovations:

  • Data-driven Client Participation Mechanism: This mechanism allows individual traffic nodes (clients) to autonomously detect concept drift by analyzing the divergence between historical and current traffic data distributions using Kullback-Leibler Divergence (KLD). Based on a KLD threshold, clients decide whether to participate in the current round of federated training. This prevents unnecessary updates and communication when models are still performing well.
  • Adaptive Online Optimization: When concept drift is detected, clients download the global model and perform local online optimization using Online Gradient Descent (OGD) to adapt to the new data distribution. If no concept drift is detected, clients reuse their locally-saved models, avoiding communication overhead and further saving resources.
  • Graph Convolution-based Model Aggregation: Instead of simple averaging, REFOL employs a novel graph convolution mechanism at the central server. This mechanism constructs a graph of participating clients and uses a 2-layer graph convolution to dynamically evaluate the importance of each client's updated model based on their spatial correlation. This allows for more effective aggregation and improves the generalization ability of the global model without imposing extra computational burden on the clients.

Datasets

The paper evaluates REFOL on two real-world traffic speed datasets:

  • PEMS-BAY: Contains vehicular speed data from 325 sensors in the San Francisco Bay Area (2017/1/1 to 2017/5/31).
  • METR-LA: Comprises traffic speed data from 207 sensors in Los Angeles County (2012/3/1 to 2012/6/30).

These datasets are standard benchmarks for traffic flow forecasting research.

Key Insights and Ideas

  • Concept Drift is a Major Hurdle for FL in TFF: The paper highlights that offline FL methods are insufficient when traffic patterns change, underscoring the necessity of online learning.
  • Intelligent Client Participation is Key to Efficiency: REFOL's data-driven approach to concept drift detection and client participation is crucial for reducing communication and computation costs, a significant improvement over methods that involve all clients in every round.
  • Spatial Correlation Matters for Aggregation: Simply averaging models is suboptimal. REFOL's graph convolution-based aggregation effectively captures the nuanced spatial relationships between traffic nodes, leading to a more robust global model.
  • Trade-off Between Performance and Resource Usage: The paper demonstrates that by carefully tuning the KLD threshold (Q), a balance can be struck between achieving high prediction accuracy and significantly reducing computational and communication overhead.

Key Results

REFOL significantly outperforms 12 baseline methods (including centralized and federated approaches) on both PEMS-BAY and METR-LA datasets across various forecasting horizons (F=1, F=6, F=12).

  • Prediction Accuracy: REFOL achieves substantial RMSE gains, for example, up to 45.05% on PEMS-BAY and 43.43% on METR-LA compared to the state-of-the-art federated method CNFGNN.
  • Resource Efficiency: Compared to FedOSTC (another federated online learning method), REFOL reduces computational cost by 76.56% and communication cost by 87.57% on PEMS-BAY (and 41.76% and 62.52% on METR-LA, respectively).
  • Traffic Congestion Handling: REFOL shows superior performance even under traffic congestion conditions (speeds < 45 km/h or 55 km/h).
  • Narrower Prediction Intervals: REFOL achieves the lowest Mean Scaled Interval Score (MSIS), indicating more precise predictions.

Limitations and Future Work

  • Resource Imbalance: The current REFOL assumes clients have similar computing and communication resources. The paper acknowledges that real-world scenarios often involve imbalanced resources, leading to asynchronous FL. Future work will explore adapting REFOL for asynchronous FL, which is non-trivial.
  • Scalability to Large Networks: While REFOL is designed for scalability, the paper suggests future work could explore mitigating communication bottlenecks in extremely large networks by splitting the topological graph into subgraphs.
  • Generalizability: The paper notes that REFOL's core mechanisms (concept drift detection, adaptive optimization, and graph convolution) could be applied to other spatio-temporal forecasting tasks beyond traffic flow, such as weather or retail sales forecasting. The KLD threshold Q can be adjusted to suit specific requirements for prediction accuracy versus resource consumption in these different domains.

Summary updated

BibTeX
@article{liu2024refol,
  author = {Qingxiang Liu and Sheng Sun and Yuxuan Liang and Xiaolong Xu and Min Liu and Muhammad Bilal and Yuwei Wang and Xujing Li and Yu Zheng},
  title = {{REFOL: Resource-Efficient Federated Online Learning for Traffic Flow Forecasting}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2024},
}
Figure