Mobility-Aware Federated Learning: Multi-Armed Bandit Based Selection in Vehicular Network

Haoyu Tu, Lin Chen, Zuguang Li, Xiaopei Chen, Wen Wu

TL;DR

This paper tackles the challenge of efficient federated learning (FL) in dynamic vehicular networks by proposing a novel Mobility-Aware Vehicular Federated Learning (MAVFL) scheme. It introduces a multi-armed bandit (MAB) approach to intelligently select vehicles for training, optimizing for both model convergence and reduced training delay, leading to significantly faster training times.

What Problem Does This Paper Address?

Federated learning (FL) is a promising approach for training machine learning models on decentralized data, like that collected by vehicles, without compromising privacy. However, applying FL to vehicular networks presents unique challenges. Vehicles are constantly moving, meaning their availability for training can change rapidly. This mobility can lead to dropped connections or vehicles leaving the training segment mid-process, resulting in incomplete training rounds and slower convergence. Existing FL methods often struggle to adapt to this dynamic environment, either requiring prior knowledge of vehicle trajectories or not effectively handling the real-time availability of vehicles. This paper aims to bridge this gap by developing an FL scheme that explicitly accounts for vehicle mobility to improve training efficiency.

Methods

The core of this paper is the Mobility-Aware Vehicular Federated Learning (MAVFL) scheme. It introduces a real-time successful training participation ratio as a key metric to assess vehicle contribution. This ratio reflects how often a vehicle successfully uploads its model updates after being selected.

To address the vehicle selection problem, the authors propose a Multi-Armed Bandit (MAB)-based vehicle selection algorithm. This algorithm balances exploitation (selecting vehicles that have historically performed well) and exploration (trying out new vehicles or those in different locations to discover potentially better contributors). The MAB approach uses an Upper Confidence Bound (UCB) index to make selection decisions, aiming to maximize a utility function that combines training loss and training delay. The algorithm learns over time which vehicles are most reliable and contribute most effectively to the FL process.

Datasets

The paper evaluates its proposed scheme using two common datasets for vehicular ML tasks:

  • CIFAR-10: Used for image classification tasks, with the ResNet-18 model.
  • GTSRB (German Traffic Sign Recognition Benchmark): Used for traffic sign classification, with the LeNet model.

Each vehicle is simulated to have 600 samples from these datasets.

Key Insights and Ideas

  • Mobility is a critical factor: The paper highlights that vehicle mobility isn't just a nuisance but a fundamental aspect that directly impacts FL convergence. Ignoring it leads to suboptimal performance.
  • Real-time participation matters: The "successful training participation ratio" is a novel and effective metric for evaluating vehicle contribution in a dynamic setting. It's more informative than just presence.
  • MAB for intelligent selection: Applying MAB to vehicle selection in FL is a clever way to handle the exploration-exploitation trade-off in a dynamic environment. It allows the system to adapt and learn the best vehicles over time.
  • Balancing loss and delay: The utility function formulation effectively captures the dual goals of achieving accurate models (low loss) and completing training quickly (low delay).

Key Results

The simulation results demonstrate the effectiveness of the proposed MAVFL scheme with the MAB-based selection:

  • Faster Convergence: The MAB-based approach achieves significantly faster convergence compared to baseline methods (Communication-based Selection (CBS), Remain-time based Selection (RBS), and Random selection).
  • Speedup: The proposed algorithm shows an approximate 28% faster convergence overall.
  • Reduced Delay: For the CIFAR-10 dataset, the MAB algorithm is nearly 23% faster at 60 km/h and approximately 50% faster at 80 km/h when reaching 75% accuracy. For the GTSRB dataset, it's about 32% faster than CBS and RBS.
  • Robustness: The performance improvement is observed across different vehicle velocities and datasets.

Limitations and Future Work

  • Assumptions: The convergence analysis relies on several assumptions, including L-smoothness of the loss function and bounded gradients, which might not always hold in real-world complex scenarios.
  • Future Work: The authors suggest exploring the proposed scheme for vehicles with computing and data heterogeneity, which are also significant challenges in real-world FL deployments. They also mention investigating more sophisticated MAB strategies or other reinforcement learning approaches for vehicle selection.

Summary updated

Abstract

In this paper, we study a vehicle selection problem for federated learning (FL) over vehicular networks. Specifically, we design a mobility-aware vehicular federated learning (MAVFL) scheme in which vehicles drive through a road segment to perform FL. Some vehicles may drive out of the segment which leads to unsuccessful training. In the proposed scheme, the real-time successful training participation ratio is utilized to implement vehicle selection. We conduct the convergence analysis to indicate the influence of vehicle mobility on training loss. Furthermore, we propose a multi-armed bandit-based vehicle selection algorithm to minimize the utility function considering training loss and delay. The simulation results show that compared with baselines, the proposed algorithm can achieve better training performance with approximately 28% faster convergence.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10MAB-based vehicle selection (Proposed)Training delay to 75% accuracy2326.27 sec.federated-learning · backbone=ResNet-18 · vehicle-speed=60 km/h
Source quote
L243: Proposed │ 2326.27 │ 2357.96 │ 320.24 │ 339.66
CIFAR-10MAB-based vehicle selection (Proposed)Training delay to 75% accuracy2357.96 sec.federated-learning · backbone=ResNet-18 · vehicle-speed=80 km/h
Source quote
L243: Proposed │ 2326.27 │ 2357.96 │ 320.24 │ 339.66
GTSRBMAB-based vehicle selection (Proposed)Training delay to 90% accuracy320.24 sec.federated-learning · backbone=LeNet · vehicle-speed=60 km/h
Source quote
L243: Proposed │ 2326.27 │ 2357.96 │ 320.24 │ 339.66
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
CIFAR-10CBS baselineTraining delay to 75% accuracy2812.62 sec.federated-learning · backbone=ResNet-18 · vehicle-speed=60 km/h
Source quote
L244: CBS │ 2812.62(× 1.21) │ 2558.51(× 1.08) │ 457.67(× 1.42) │ 492.72(× 1.45)
CIFAR-10CBS baselineTraining delay to 75% accuracy2558.51 sec.federated-learning · backbone=ResNet-18 · vehicle-speed=80 km/h
Source quote
L244: CBS │ 2812.62(× 1.21) │ 2558.51(× 1.08) │ 457.67(× 1.42) │ 492.72(× 1.45)
GTSRBCBS baselineTraining delay to 90% accuracy457.67 sec.federated-learning · backbone=LeNet · vehicle-speed=60 km/h
Source quote
L244: CBS │ 2812.62(× 1.21) │ 2558.51(× 1.08) │ 457.67(× 1.42) │ 492.72(× 1.45)
BibTeX
@misc{tu2024mobility,
  author = {Haoyu Tu and Lin Chen and Zuguang Li and Xiaopei Chen and Wen Wu},
  title = {{Mobility-Aware Federated Learning: Multi-Armed Bandit Based Selection in Vehicular Network}},
  year = {2024},
  eprint = {2410.10451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.10451},
}
Figure