Lune

NeurIPS2023Top-tier venue

Adaptive Test-Time Personalization for Federated Learning

Wenxuan Bao, Tianxin Wei, Haohan Wang, Jingrui He

Abstract

Personalized federated learning algorithms have shown promising results in adapting models to various distribution shifts. However, most of these methods require labeled data on testing clients for personalization, which is usually unavailable in real-world scenarios. In this paper, we introduce a novel setting called test-time personalized federated learning (TTPFL), where clients locally adapt a global model in an unsupervised way without relying on any labeled data during test-time. While traditional test-time adaptation (TTA) can be used in this scenario, most of them inherently assume training data come from a single domain, while they come from multiple clients (source domains) with different distributions. Overlooking these domain interrelationships can result in suboptimal generalization. Moreover, most TTA algorithms are designed for a specific kind of distribution shift and lack the flexibility to handle multiple kinds of distribution shifts in FL. In this paper, we find that this lack of flexibility partially results from their pre-defining which modules to adapt in the model. To tackle this challenge, we propose a novel algorithm called ATP to adaptively learns the adaptation rates for each module in the model from distribution shifts among source domains. Theoretical analysis proves the strong generalization of ATP. Extensive experiments demonstrate its superiority in handling various distribution shifts including label shift, image corruptions, and domain shift, outperforming existing TTA methods across multiple datasets and model architectures. Our code is available at https://github.com/baowenxuan/ATP .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FLUX: Efficient Descriptor-Driven Clustered Federated Learning under Arbitrary Distribution Shifts cites Personalized Federated Learning with Theoretical Guarantees: A Model-Agnostic Meta-Learning Approach
  • FLUX: Efficient Descriptor-Driven Clustered Federated Learning under Arbitrary Distribution Shifts cites Personalized Federated Learning with Moreau Envelopes
  • Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated Learning cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated Learning cites In Search of Lost Domain Generalization
  • Tent: Fully Test-Time Adaptation by Entropy Minimization cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
  • Dual-Personalizing Adapter for Federated Foundation Models cites Personalized Federated Learning with Theoretical Guarantees: A Model-Agnostic Meta-Learning Approach
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. Dual-Personalizing Adapter for Federated Foundation ModelsYiyuan Yang, Guodong Long, Tao Shen, Jing Jiang et al.NeurIPS 2024 · 84 citations
  2. Towards Unified Multi-Modal Personalization: Large Vision-Language Models for Generative Recommendation and BeyondTianxin Wei, Bowen Jin, Ruirui Li, Hansi Zeng et al.ICLR 2024 · 46 citations
  3. Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated LearningWenxuan Bao, Ruxi Deng, Ruizhong Qiu, Tianxin Wei et al.ICCV 2025 · 13 citations
  4. COALA: A Practical and Vision-Centric Federated Learning PlatformWeiming Zhuang, Jian Xu, Chen Chen, Jingtao Li et al.ICML 2024 · 10 citations
  5. FLUX: Efficient Descriptor-Driven Clustered Federated Learning under Arbitrary Distribution ShiftsDario Fenoglio, Mohan Li, Pietro Barbiero, Nicholas D. Lane et al.NeurIPS 2025 · 8 citations

Builds on31

  1. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  2. Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 citations
  3. Personalized Federated Learning with Moreau EnvelopesCanh T. Dinh, Nguyen Hoang Tran, Tuan Dung NguyenNeurIPS 2020 · 1,542 citations
  4. In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
  5. Personalized Federated Learning with Theoretical Guarantees: A Model-Agnostic Meta-Learning ApproachAlireza Fallah, Aryan Mokhtari, Asuman E. OzdaglarNeurIPS 2020 · 1,354 citations

Related papers

  1. FedPAT: Federated Test-Time Adaptation via Prototype Affinity TopologyShunxin Guo, JIAQI LYU, Zhiqiang Kou, Shuxia Lin et al.ICML 2026
  2. Towards Stable Federated Continual Test-Time Adaptation in Wild WorldLiwen Wang, Xingbo Dong, Iman Yi Liao, Zhe JinCVPR 2026
  3. Test-Time Adaptation via Self-Training with Nearest Neighbor InformationMinguk Jang, Sae-Young Chung, Hye Won ChungICLR 2023 · 12 citations
  4. TTA-FedDG: Leveraging Test-Time Adaptation to Address Federated Domain GeneralizationHaoyuan Liang, Xinyu Zhang, Shilei Cao, Guowen Li et al.AAAI 2025 · 4 citations
  5. BTFL: A Bayesian-based Test-Time Generalization Method for Internal and External Data Distributions in Federated learningYu Zhou, Bingyan LiuKDD 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines