Gains: Fine-grained Federated Domain Adaptation in Open Set

Zhengyi Zhong, Wenzheng Jiang, Weidong Bao, Ji Wang, Cheems Wang +3 more
10/12/2025
cs.LGcs.AI

Official code: Zhong-Zhengyi/Gains (2 stars, last commit 2025-05-16).

Abstract

Conventional federated learning (FL) assumes a closed world with a fixed total number of clients. In contrast, new clients continuously join the FL process in real-world scenarios, introducing new knowledge. This raises two critical demands: detecting new knowledge, i.e., knowledge discovery, and integrating it into the global model, i.e., knowledge adaptation. Existing research focuses on coarse-grained knowledge discovery, and often sacrifices source domain performance and adaptation efficiency. To this end, we propose a fine-grained federated domain adaptation approach in open set (Gains). Gains splits the model into an encoder and a classifier, empirically revealing features extracted by the encoder are sensitive to domain shifts while classifier parameters are sensitive to class increments. Based on this, we develop fine-grained knowledge discovery and contribution-driven aggregation techniques to identify and incorporate new knowledge. Additionally, an anti-forgetting mechanism is designed to preserve source domain performance, ensuring balanced adaptation. Experimental results on multi-domain datasets across three typical data-shift scenarios demonstrate that Gains significantly outperforms other baselines in performance for both source-domain and target-domain clients. Code is available at: https://github.com/Zhong-Zhengyi/Gains.

View on arXivView PDF

Code Implementations(1)

21PythonMay 13, 20251 years ago

Similar Papers

Cite this paper

@article{zhong2025gains,
  title  = {Gains: Fine-grained Federated Domain Adaptation in Open Set},
  author = {Zhengyi Zhong and Wenzheng Jiang and Weidong Bao and Ji Wang and Cheems Wang and Guanbo Wang and Yongheng Deng and Ju Ren},
  year   = {2025},
  eprint = {2510.15967},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.15967v1}
}

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

Discussion