Lune

KDD2024Top-tier venue

Enabling Collaborative Test-Time Adaptation in Dynamic Environment via Federated Learning

Jiayuan Zhang, Xuefeng Liu, Yukang Zhang, Guogang Zhu, Jianwei Niu, Shaojie Tang

Abstract

Deep learning models often suffer performance degradation when test data diverges from training data. Test-Time Adaptation (TTA) aims to adapt a trained model to the test data distribution using unlabeled test data streams. In many real-world applications, it is quite common for the trained model to be deployed across multiple devices simultaneously. Although each device can execute TTA independently, it fails to leverage information from the test data of other devices. To address this problem, we introduce Federated Learning (FL) to TTA to facilitate on-the-fly collaboration among devices during test time. The workflow involves clients (i.e., the devices) executing TTA locally, uploading their updated models to a central server for aggregation, and downloading the aggregated model for inference. However, implementing FL in TTA presents many challenges, especially in establishing inter-client collaboration in dynamic environment, where the test data distribution on different clients changes over time in different manners. To tackle these challenges, we propose a server-side Temporal-Spatial Aggregation (TSA) method. TSA utilizes a temporal-spatial attention module to capture intra-client temporal correlations and inter-client spatial correlations. To further improve robustness against temporal-spatial heterogeneity, we propose a heterogeneity-aware augmentation method and optimize the module using a self-supervised approach. More importantly, TSA can be implemented as a plug-in to TTA methods in distributed environments. Experiments on multiple datasets demonstrate that TSA outperforms existing methods and exhibits robustness across various levels of heterogeneity. The code is available at https://github.com/ZhangJiayuan-BUAA/FedTSA.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

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

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Global Prompt Refinement with Non-Interfering Attention Masking for One-Shot Federated Learning cites Causality Inspired Federated Learning for OOD Generalization
  • Causality Inspired Federated Learning for OOD Generalization cites Enhancing Visual Representation with Textual Semantics: Textual Semantics-Powered Prototypes for Heterogeneous Federated Learning
  • Enhancing Visual Representation with Textual Semantics: Textual Semantics-Powered Prototypes for Heterogeneous Federated Learning cites Causality Inspired Federated Learning for OOD Generalization
  • FedPAT: Federated Test-Time Adaptation via Prototype Affinity Topology cites Latte: Collaborative Test-Time Adaptation of Vision-Language Models in Federated Learning
  • Enhancing Visual Representation with Textual Semantics: Textual Semantics-Powered Prototypes for Heterogeneous Federated Learning cites Global Prompt Refinement with Non-Interfering Attention Masking for One-Shot Federated Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. 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
  2. Global Prompt Refinement with Non-Interfering Attention Masking for One-Shot Federated LearningZhuang Qi, Pan Yu, Lei Meng, Sijin Zhou et al.NeurIPS 2025 · 4 citations
  3. Enhancing Visual Representation with Textual Semantics: Textual Semantics-Powered Prototypes for Heterogeneous Federated LearningXinghao Wu, Jianwei Niu, Xuefeng Liu, Guogang Zhu et al.CVPR 2026 · 4 citations
  4. Causality Inspired Federated Learning for OOD GeneralizationJiayuan Zhang, Xuefeng Liu, Jianwei Niu, Shaojie Tang et al.ICML 2025
  5. FedPAT: Federated Test-Time Adaptation via Prototype Affinity TopologyShunxin Guo, JIAQI LYU, Zhiqiang Kou, Shuxia Lin et al.ICML 2026

Related papers

  1. Towards Stable Federated Continual Test-Time Adaptation in Wild WorldLiwen Wang, Xingbo Dong, Iman Yi Liao, Zhe JinCVPR 2026
  2. Adaptive Test-Time Personalization for Federated LearningWenxuan Bao, Tianxin Wei, Haohan Wang, Jingrui HeNeurIPS 2023 · 41 citations
  3. Enhancing Federated Class-Incremental Learning via Spatial-Temporal Statistics AggregationZenghao Guan, Guojun Zhu, Yucan Zhou, Wu Liu et al.WWW 2026
  4. CAFA: Class-Aware Feature Alignment for Test-Time AdaptationSanghun Jung, Jungsoo Lee, Nanhee Kim, Amirreza Shaban et al.ICCV 2023 · 23 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