Federated Learning Framework Coping with Hierarchical Heterogeneity in Cooperative ITS

Rui Song, Liguo Zhou, Venkatnarayanan Lakshminarasimhan, Andreas Festag, Alois Knoll

TL;DR

$H^2$-Fed is a hierarchical federated learning framework designed to train deep learning models across vehicular networks while preserving data privacy. By using a multi-layer aggregation strategy and specialized loss functions, it overcomes the "hierarchical heterogeneity" of unreliable connections and diverse local data, boosting model accuracy from 68% to over 90% even when 90% of vehicles are disconnected.

What Problem Does This Paper Address?

Deep learning is the backbone of modern Cooperative Intelligent Transportation Systems (C-ITS), enabling autonomous vehicles to perceive their surroundings. However, these models require massive amounts of data. Currently, manufacturers (OEMs) rely on small fleets of test vehicles, leading to biased models that can compromise safety.

While public roads are teeming with data-generating "traffic agents" (connected vehicles), privacy constraints prevent this raw data from being uploaded to a central server. Federated Learning (FL) offers a solution by training models locally on devices and only sharing model updates. However, C-ITS environments present a unique challenge called Hierarchical Heterogeneity:

  1. Data Heterogeneity: A roadside unit (RSU) on a highway sees vastly different traffic patterns than one at a city intersection (Non-IID data).
  2. Communication Heterogeneity: Vehicle-to-Everything (V2X) connections are often unstable, and safety-critical messages always take priority over model updates.
  3. Computational Heterogeneity: Different vehicles have varying hardware capabilities, meaning not all can finish training tasks in the same timeframe.

Methods

The authors propose the $H^2$-Fed framework, which mirrors the physical hierarchy of C-ITS: the Traffic Agent Layer (vehicles), the Roadside Unit Layer (edge), and the Cloud Layer.

Fig. 1: Proposed framework for federated learning in a Cooperative Intelligent Transportation System (C-ITS): Blue, green and purple arrows indicate I2N, V2I and N2V communication, respectively. The gray line represents OEM-internal communication.

The "Secret Sauce": Multiple Proximal Terms

Standard FL algorithms like FedProx use a single penalty term to keep local models from straying too far from the global model. $H^2$-Fed introduces a double-layer aggregation system with two distinct proximal terms ($\mu_1$ and $\mu_2$) in the loss function:

  • $\mu_1$ (Local Term): Addresses heterogeneity between individual vehicles and their connected RSU.
  • $\mu_2$ (Global Term): Addresses heterogeneity between different RSUs and the central cloud.

This allows the system to be tuned specifically for the network's current state. For example, if communication is poor, increasing $\mu_2$ can stabilize the training process.

Datasets

The framework was evaluated using the MNIST dataset, re-partitioned to simulate C-ITS conditions:

  • Non-IID Partitioning: Data was divided among 110 agents such that each agent only saw a subset of labels, mimicking different road scenarios.
  • Pre-training: 10 agents were used to create an initial "OEM-style" model with 68% accuracy.
  • Federated Training: The remaining 100 agents participated in the $H^2$-Fed process to enhance this base model.

Key Insights and Ideas

  • Stability vs. Accuracy Trade-off: The researchers found that while a positive $\mu_2$ might slightly lower the peak Accuracy Enhancement Degree (AED), it significantly reduces "jitter" in the learning process caused by unreliable connections.
  • Resilience to Disconnection: One of the most striking findings is that the framework remains effective even with a Connection Success Ratio (CSR) as low as 10%. In these "bad" communication scenarios, the proximal terms actually provide a higher relative boost to accuracy compared to stable networks.
  • Hierarchical Efficiency: By performing multiple "Local Aggregation Rounds" (LAR) at the RSU level before sending updates to the cloud, the system converges much faster than "flat" federated learning architectures.

Key Results

  • Accuracy Boost: $H^2$-Fed successfully enhanced the pre-trained model's accuracy from 68% to over 90%.
  • Superior Stability: As shown in Figure 3, increasing the global proximal term ($\mu_2$) effectively smoothed out the testing accuracy curve, making the federated process nearly as stable as centralized training, even with 90% agent disconnection.
  • Benchmark Comparison: $H^2$-Fed outperformed existing baselines like HierFAVG (which lacks heterogeneity handling) and FedProx (which is not optimized for hierarchical structures).
Comparison showing H2-Fed outperforming FedProx in Scenario II (Non-IID data at agent layer).

Limitations and Future Work

While $H^2$-Fed shows great promise, the authors note a few areas for further development:

  • Dynamic Parameter Tuning: Currently, the $\mu$ values are fixed. Future iterations could benefit from algorithms that adjust these parameters in real-time based on fluctuating network quality.
  • Scaling to Complex Data: The study used MNIST as a benchmark. Validating the framework on high-dimensional sensor data (like LiDAR point clouds or high-resolution video) is a necessary next step.
  • Latency Analysis: The impact of time-variant latency caused by road topology and the overhead of disseminating large DNN models remains to be fully explored in future simulations.

Summary updated

BibTeX
@inproceedings{song2022federated,
  author = {Rui Song and Liguo Zhou and Venkatnarayanan Lakshminarasimhan and Andreas Festag and Alois Knoll},
  title = {{Federated Learning Framework Coping with Hierarchical Heterogeneity in Cooperative ITS}},
  booktitle = {ITSC},
  year = {2022},
  doi = {10.1109/itsc55140.2022.9922064},
}
Figure