Uncertainty-Aware Prototype Learning for Open-Set Test-Time Adaptation

Jinwu Hu, Langyu Bian, Jian Sun, Dongjin Yang, Chao Shuai +6 more
11/3/2026
cs.LGcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

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. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

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

Similar Papers

Cite this paper

@article{hu2026uncertaintyaware,
  title  = {Uncertainty-Aware Prototype Learning for Open-Set Test-Time Adaptation},
  author = {Jinwu Hu and Langyu Bian and Jian Sun and Dongjin Yang and Chao Shuai and Yufeng Wang and Kai Zhou and Bin Xiao and Mingkui Tan and Hongmin Cai and Wei Luo},
  year   = {2026},
  eprint = {2611.04689},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.04689v1}
}

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

Discussion