Federated Adapter on Foundation Models: An Out-Of-Distribution Approach

Yiyuan Yang, Guodong Long, Tianyi Zhou, Qinghua Lu, Shanshan Ye +1 more
5/2/2025
cs.LG

No confident code implementation found for this paper.

Abstract

As foundation models gain prominence, Federated Foundation Models (FedFM) have emerged as a privacy-preserving approach to collaboratively fine-tune models in federated learning (FL) frameworks using distributed datasets across clients. A key challenge for FedFM, given the versatile nature of foundation models, is addressing out-of-distribution (OOD) generalization, where unseen tasks or clients may exhibit distribution shifts leading to suboptimal performance. Although numerous studies have explored OOD generalization in conventional FL, these methods are inadequate for FedFM due to the challenges posed by large parameter scales and increased data heterogeneity. To address these, we propose FedOA, which employs adapter-based parameter-efficient fine-tuning methods for efficacy and introduces personalized adapters with feature distance-based regularization to align distributions and guarantee OOD generalization for each client. Theoretically, we demonstrate that the conventional aggregated global model in FedFM inherently retains OOD generalization capabilities, and our proposed method enhances the personalized model's OOD generalization through regularization informed by the global model, with proven convergence under general non-convex settings. Empirically, the effectiveness of the proposed method is validated on benchmark datasets across various NLP tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2025federated,
  title  = {Federated Adapter on Foundation Models: An Out-Of-Distribution Approach},
  author = {Yiyuan Yang and Guodong Long and Tianyi Zhou and Qinghua Lu and Shanshan Ye and Jing Jiang},
  year   = {2025},
  eprint = {2505.01075},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.01075v1}
}

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/2505.01075.svg)](https://codeofpaper.com/paper/2505.01075)

Discussion