Uncertainty-Aware Prototype Learning for Open-Set Test-Time Adaptation
Jinwu Hu, Langyu Bian, Jian Sun, Dongjin Yang, Chao Shuai, Yufeng Wang, Kai Zhou, Bin Xiao, Mingkui Tan, Hongmin Cai, Wei Luo
Abstract
Open-set test-time adaptation (TTA) aims to adapt source-trained models to unlabeled test streams where covariate-shifted in-distribution (csID) samples and covariate-shifted out-of-distribution (csOOD) samples may coexist. Existing TTA methods are typically designed under a closed-set assumption and therefore lack explicit mechanisms for reliably distinguishing csID from csOOD samples. Consequently, csOOD samples may be mistakenly included in confidence-enhancing adaptation, producing harmful gradients that degrade known-class performance. To address this, we propose Uncertainty-Aware Prototype Learning for Open-Set Test-Time Adaptation (UAPA), a plug-and-play method for reliable open-set adaptation. Specifically, we first introduce Uncertainty-Driven ID/OOD Separation, which combines a classifier-prototype score with a mini-batch-normalized evidence-derived uncertainty score to distinguish csID from csOOD samples. We then propose a Dynamic Prototype Refinement strategy that periodically refines class-specific target prototypes using buffered csID features to progressively follow the estimated class directions. Lastly, we introduce Contrastive Prototype Entropy Adaptation, which applies entropy minimization to csID samples and entropy maximization to csOOD samples, while prototype-level contrastive learning aligns csID features with their corresponding target prototypes and reduces the maximum similarity between csOOD features and known-class prototypes. Empirically, UAPA outperforms the strongest baselines on the CIFAR benchmarks and Tiny-ImageNet-C, improving average OSCR by 2.08 and 1.28 percentage points, respectively.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
MUSE: Multi-Task Uncertainty-Aware Self-Supervised Encoder for mmWave ISAC
Shared title terminologycs.LGNabeel Nisar Bhat, Jalees Nehvi, Rafael Berkvens et al.
LowRAM: Low-Rank Keys and Amortised Values for Composable KV Cache Compression at Test-Time
Shared title terminologycs.LGTeresa Delgado, Hugo Hazard, Martin Benfeghoul et al.
From Reconstruction to Imputation: Test-Time Optimization for Missing Time-Series Channels
Shared title terminologycs.LGBjörn Ludwig, Alexander Windmann, René Heesch et al.
Verifier-Guided Self-Consistency: Test-Time Reasoning with Imperfect Generators and Verifiers
Shared title terminologycs.LGEkaterina Fadeeva, Xueyan Li, Mrinmaya Sachan et al.
Give Up to Get More: Priors, Not Policies, Govern Test-Time Compute Allocation
Shared title terminologycs.LGJinhyung Bae
Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time Training
Shared title terminologycs.LGVimal William, Yuanzhe Li, Danella Zhao et al.