Class-Invariant Test-Time Augmentation for Domain Generalization

Zhicheng Lin, Xiaolin Wu, Xi Zhang
9/17/2025
cs.CVcs.LG

No confident code implementation found for this paper. 8 possible matches can be shown below.

Abstract

Deep models often suffer significant performance degradation under distribution shifts. Domain generalization (DG) seeks to mitigate this challenge by enabling models to generalize to unseen domains. Most prior approaches rely on multi-domain training or computationally intensive test-time adaptation. In contrast, we propose a complementary strategy: lightweight test-time augmentation. Specifically, we develop a novel Class-Invariant Test-Time Augmentation (CI-TTA) technique. The idea is to generate multiple variants of each input image through elastic and grid deformations that nevertheless belong to the same class as the original input. Their predictions are aggregated through a confidence-guided filtering scheme that remove unreliable outputs, ensuring the final decision relies on consistent and trustworthy cues. Extensive Experiments on PACS and Office-Home datasets demonstrate consistent gains across different DG algorithms and backbones, highlighting the effectiveness and generality of our approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 8 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{lin2025classinvariant,
  title  = {Class-Invariant Test-Time Augmentation for Domain Generalization},
  author = {Zhicheng Lin and Xiaolin Wu and Xi Zhang},
  year   = {2025},
  eprint = {2509.14420},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.14420v2}
}

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

Discussion