Recurrent Early Exits for Federated Learning with Heterogeneous Clients

Royson Lee, Javier Fernandez-Marques, Shell Xu Hu, Da Li, Stefanos Laskaridis +4 more
5/23/2024
cs.LGcs.CVcs.DC

No official code found. Best implementation: royson/reefl (11 stars, MIT, last commit 2025-11-08).

Abstract

Federated learning (FL) has enabled distributed learning of a model across multiple clients in a privacy-preserving manner. One of the main challenges of FL is to accommodate clients with varying hardware capacities; clients have differing compute and memory requirements. To tackle this challenge, recent state-of-the-art approaches leverage the use of early exits. Nonetheless, these approaches fall short of mitigating the challenges of joint learning multiple exit classifiers, often relying on hand-picked heuristic solutions for knowledge distillation among classifiers and/or utilizing additional layers for weaker classifiers. In this work, instead of utilizing multiple classifiers, we propose a recurrent early exit approach named ReeFL that fuses features from different sub-models into a single shared classifier. Specifically, we use a transformer-based early-exit module shared among sub-models to i) better exploit multi-layer feature representations for task-specific prediction and ii) modulate the feature representation of the backbone model for subsequent predictions. We additionally present a per-client self-distillation approach where the best sub-model is automatically selected as the teacher of the other sub-models at each client. Our experiments on standard image and speech classification benchmarks across various emerging federated fine-tuning baselines demonstrate ReeFL's effectiveness over previous works.

View on arXivView PDF

Code Implementations(1)

royson/reeflCommunity100%
MIT

[ICML'24] Recurrent Early Exits for Federated Learning with Heterogeneous Clients

111PythonMay 27, 202411 months agoMIT

Similar Papers

Cite this paper

@article{lee2024recurrent,
  title  = {Recurrent Early Exits for Federated Learning with Heterogeneous Clients},
  author = {Royson Lee and Javier Fernandez-Marques and Shell Xu Hu and Da Li and Stefanos Laskaridis and Łukasz Dudziak and Timothy Hospedales and Ferenc Huszár and Nicholas D. Lane},
  year   = {2024},
  eprint = {2405.14791},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.14791v2},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.14791.svg)](https://codeofpaper.com/paper/2405.14791)

Discussion