FedMGP: Personalized Federated Learning with Multi-Group Text-Visual Prompts

Weihao Bo, Yanpeng Sun, Yu Wang, Xinyu Zhang, Zechao Li
11/1/2025
cs.CVcs.LG

Official code: weihao-bo/FedMGP (6 stars, last commit 2025-12-27).

Abstract

In this paper, we introduce FedMGP, a new paradigm for personalized federated prompt learning in vision-language models. FedMGP equips each client with multiple groups of paired textual and visual prompts, enabling the model to capture diverse, fine-grained semantic and instance-level cues. A diversity loss is introduced to drive each prompt group to specialize in distinct and complementary semantic aspects, ensuring that the groups collectively cover a broader range of local characteristics. During communication, FedMGP employs a dynamic prompt aggregation strategy based on similarity-guided probabilistic sampling: each client computes the cosine similarity between its prompt groups and the global prompts from the previous round, then samples s groups via a softmax-weighted distribution. This soft selection mechanism preferentially aggregates semantically aligned knowledge while still enabling exploration of underrepresented patterns effectively balancing the preservation of common knowledge with client-specific features. Notably, FedMGP maintains parameter efficiency by redistributing a fixed prompt capacity across multiple groups, achieving state-of-the-art performance with the lowest communication parameters among all federated prompt learning methods. Theoretical analysis shows that our dynamic aggregation strategy promotes robust global representation learning by reinforcing shared semantics while suppressing client-specific noise. Extensive experiments demonstrate that FedMGP consistently outperforms prior approaches in both personalization and domain generalization across diverse federated vision-language benchmarks. The code will be released on https://github.com/weihao-bo/FedMGP.git.

View on arXivView PDF

Code Implementations(1)

weihao-bo/FedMGPOfficial100%

The implementation of paper FedMGP: Personalized Federated Learning with Multi-Group Text-Visual Prompts[NIPS 2025].

63Shell, PythonSep 22, 20259 months ago

Similar Papers

Cite this paper

@article{bo2025fedmgp,
  title  = {FedMGP: Personalized Federated Learning with Multi-Group Text-Visual Prompts},
  author = {Weihao Bo and Yanpeng Sun and Yu Wang and Xinyu Zhang and Zechao Li},
  year   = {2025},
  eprint = {2511.00480},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.00480v1}
}

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

Discussion