Towards Instance-adaptive Inference for Federated Learning

Chunhui Feng, Kai Yu, Nian Liu, Xinxing Xu, Salman A. Khan +1 more
2/14/2026

No official code found. Best implementation: chunmeifeng/FedIns (12 stars, last commit 2025-03-31).

Abstract

Federated learning (FL) is a distributed learning paradigm that enables multiple clients to learn a powerful global model by aggregating local training. However, the performance of the global model is often hampered by non-i.i.d. distribution among the clients, requiring extensive efforts to mitigate inter-client data heterogeneity. Going beyond inter-client data heterogeneity, we note that intra-client heterogeneity can also be observed on complex real-world data and seriously deteriorate FL performance. In this paper, we present a novel FL algorithm, i.e., FedIns, to handle intra-client data heterogeneity by enabling instance-adaptive inference in the FL framework. Instead of huge instance-adaptive models, we resort to a parameter-efficient fine-tuning method, i.e., scale and shift deep features (SSF), upon a pre-trained model. Specifically, we first train an SSF pool for each client, and aggregate these SSF pools on the server side, thus still maintaining a low communication cost. To enable instance-adaptive inference, for a given instance, we dynamically find the best-matched SSF subsets from the pool and aggregate them to generate an adaptive SSF specified for the instance, thereby reducing the intra-client as well as the inter-client heterogeneity. Extensive experiments show that our FedIns outperforms state-of-the-art FL algorithms, e.g., a 6.64% improvement against the top-performing method with less than 15% communication cost on Tiny-ImageNet.

View on arXivView PDF

Code Implementations(1)

chunmeifeng/FedInsCommunity100%

【ICCV 2023】Towards Instance-adaptive Inference for Federated Learning

123PythonJul 26, 20231 years ago

Similar Papers

Cite this paper

@article{feng2026towards,
  title  = {Towards Instance-adaptive Inference for Federated Learning},
  author = {Chunhui Feng and Kai Yu and Nian Liu and Xinxing Xu and Salman A. Khan and W. Zuo},
  year   = {2026},
  eprint = {2308.06051},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.06051},
  journal = {ICCV 2023 2023}
}

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

Discussion