Test-Time Ensemble via Linear Mode Connectivity: A Path to Better Adaptation

Abstract

Test-time adaptation updates pretrained models on the fly to handle distribution shifts in test data. While existing research has focused on stable optimization during adaptation, less attention has been given to enhancing model representations for adaptation capability. To address this gap, we propose Test-Time Ensemble (TTE) grounded in the intriguing property of linear mode connectivity. TTE leverages ensemble strategies during adaptation: 1) adaptively averaging the parameter weights of assorted test-time adapted models and 2) incorporating dropout to further promote representation diversity. These strategies encapsulate model diversity into a single model, avoiding computational burden associated with managing multiple models. Besides, we propose a robust knowledge distillation scheme to prevent model collapse, ensuring stable optimization and preserving the ensemble benefits during adaptation. Notably, TTE integrates seamlessly with existing TTA approaches, advancing their adaptation capabilities. In extensive experiments, integration with TTE consistently outperformed baseline models across various challenging scenarios, demonstrating its effectiveness and general applicability.

Cite

Text

Kim et al. "Test-Time Ensemble via Linear Mode Connectivity: A Path to Better Adaptation." International Conference on Learning Representations, 2025.

Markdown

[Kim et al. "Test-Time Ensemble via Linear Mode Connectivity: A Path to Better Adaptation." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/kim2025iclr-testtime/)

BibTeX

@inproceedings{kim2025iclr-testtime,
  title     = {{Test-Time Ensemble via Linear Mode Connectivity: A Path to Better Adaptation}},
  author    = {Kim, Byungjai and Ahn, Chanho and Baddar, Wissam J. and Kim, Kikyung and Lee, Huijin and Ahn, Saehyun and Han, Seungju and Suh, Sungjoo and Yang, Eunho},
  booktitle = {International Conference on Learning Representations},
  year      = {2025},
  url       = {https://mlanthology.org/iclr/2025/kim2025iclr-testtime/}
}