Resource-Efficient Federated Learning

Ahmed M. Abdelmoniem, Atal Narayan Sahu, Marco Canini, Suhaib A. Fahmy

TL;DR

REFL (Resource-Efficient Federated Learning) addresses the massive computational wastage and data bias inherent in current federated learning protocols. By intelligently selecting participants based on predicted availability and incorporating late updates from "straggler" devices, REFL achieves higher model accuracy with up to 2x fewer resources.

What Problem Does This Paper Address?

Federated Learning (FL) allows models to be trained on decentralized data (like on smartphones or IoT devices) without that data ever leaving the device. While great for privacy, real-world execution is challenging. Devices have vastly different processing speeds, network conditions, and unpredictable online availability.

Standard FL protocols, like Federated Averaging (FedAvg), operate in rounds with strict reporting deadlines. If a device is slow—a "straggler"—its update is often discarded if it arrives late. To ensure enough updates are received, servers often "overcommit" by selecting more devices than needed, leading to significant wasted computation and energy. Furthermore, favoring only the fastest devices biases the model against the unique data held by slower or less available devices, hurting the model's ability to generalize.

A typical federated learning round where late updates are discarded, leading to wasted work.

Methods

The authors propose REFL, which introduces two core components to maximize resource efficiency and data diversity:

  1. Intelligent Participant Selection (IPS): Instead of picking participants at random or favoring the fastest ones, REFL prioritizes the least available learners. Each device runs a local, privacy-preserving model to predict its future availability (e.g., based on charging status or WiFi connection). By selecting devices likely to go offline soon, REFL captures their unique data before they disappear.
  2. Staleness-Aware Aggregation (SAA): REFL decouples the collection of updates from the model aggregation step. It allows stragglers to submit "stale" updates from previous rounds, which are then cached and folded into the global model. To mitigate noise from these late updates, REFL uses a novel Privacy-Preserving Boosting Factor that weights updates based on their deviation from the current round's average, without requiring devices to share raw data.

Additionally, REFL includes an Adaptive Participant Target (APT) mechanism that dynamically adjusts the number of participants selected each round based on predicted straggler completion rates, maintaining a steady flow of updates while minimizing overcommitment.

Datasets

The researchers evaluated REFL across a wide range of common FL tasks and datasets:

  • Speech Recognition: Google Speech Commands.
  • Image Classification: CIFAR10 and OpenImage.
  • Natural Language Processing (NLP): Reddit and StackOverflow.
  • System Traces: They used the Stunner dataset (containing traces from 136k mobile users) to realistically model device availability and AI Benchmark/MobiPerf for hardware performance profiles.

Key Insights and Ideas

  • Stragglers are a feature, not a bug: In non-I.I.D. (Independent and Identically Distributed) settings, slow devices often hold unique data. Discarding their work isn't just inefficient; it actively harms model quality by reducing data diversity.
  • Availability is the key metric: Prioritizing devices that are about to go offline (rather than those that are fastest) significantly increases the number of unique participants contributing to the model over time.
  • Asynchrony for "free": The authors provide a theoretical convergence analysis showing that their stale synchronous approach achieves the same asymptotic convergence rate as standard synchronous FL. In practice, it's even better because more learners contribute to each update.

Key Results

  • Efficiency Gains: REFL reaches target accuracy with up to 2x less cumulative resource usage (computation and communication time) compared to state-of-the-art systems like Oort or SAFA.
  • Superior Accuracy in Heterogeneous Settings: On the Google Speech benchmark with highly non-I.I.D. data, REFL improved model accuracy by 10 points while using 60% fewer resources than the SAFA baseline.
  • Reduced Wastage: By intelligently managing participants and accepting stale updates, REFL avoids the "discarded work" problem. Baseline asynchronous methods were found to waste up to 80% of learners' computation time, a figure REFL drastically reduces.
Resource usage comparison showing REFL (SAFA+O) achieving target accuracy much faster than baselines.

Limitations and Future Work

While REFL is a major step forward, the authors acknowledge some areas for further exploration:

  • Adversarial Robustness: The current work doesn't deeply investigate how malicious actors might exploit the "boosting factor" by intentionally delaying updates to gain more influence over the global model.
  • Prediction Cold-Start: New devices joining the network won't have the historical traces needed to train an accurate availability prediction model immediately.
  • Energy Metrics: The study uses time as a proxy for resource usage; future work could incorporate more fine-grained, direct power measurements from mobile hardware.

Summary updated

BibTeX
@inproceedings{abdelmoniem2023resource,
  author = {Ahmed M. Abdelmoniem and Atal Narayan Sahu and Marco Canini and Suhaib A. Fahmy},
  title = {{Resource-Efficient Federated Learning}},
  booktitle = {EuroSys},
  year = {2023},
  doi = {10.1145/3552326.3567485},
}
Figure