English

Federated Learning for Inference at Anytime and Anywhere

Machine Learning 2022-12-09 v1 Distributed, Parallel, and Cluster Computing

Abstract

Federated learning has been predominantly concerned with collaborative training of deep networks from scratch, and especially the many challenges that arise, such as communication cost, robustness to heterogeneous data, and support for diverse device capabilities. However, there is no unified framework that addresses all these problems together. This paper studies the challenges and opportunities of exploiting pre-trained Transformer models in FL. In particular, we propose to efficiently adapt such pre-trained models by injecting a novel attention-based adapter module at each transformer block that both modulates the forward pass and makes an early prediction. Training only the lightweight adapter by FL leads to fast and communication-efficient learning even in the presence of heterogeneous data and devices. Extensive experiments on standard FL benchmarks, including CIFAR-100, FEMNIST and SpeechCommandsv2 demonstrate that this simple framework provides fast and accurate FL while supporting heterogenous device capabilities, efficient personalization, and scalable-cost anytime inference.

Keywords

Cite

@article{arxiv.2212.04084,
  title  = {Federated Learning for Inference at Anytime and Anywhere},
  author = {Zicheng Liu and Da Li and Javier Fernandez-Marques and Stefanos Laskaridis and Yan Gao and Łukasz Dudziak and Stan Z. Li and Shell Xu Hu and Timothy Hospedales},
  journal= {arXiv preprint arXiv:2212.04084},
  year   = {2022}
}

Comments

14 pages, 3 figures

R2 v1 2026-06-28T07:25:29.039Z