Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

USE: A Unified Self-Ensembling Framework for Test-Time Prompt Tuning

About

Test-time adaptation (TTA) has emerged as a popular paradigm for improving the performance of vision-language models (e.g., CLIP) on downstream tasks. Among existing CLIP-based TTA methods, Test-Time Prompt Tuning (TPT) is a pioneering work that optimizes textual prompts using multiple test-time augmentations and remains a strong baseline to date. In this work, we revisit TPT and reveal that its optimization can be interpreted as implicitly learning from self-generated pseudo labels. Building on this perspective, we propose a unified self-ensembling framework (USE) that ensures consistency between the optimization and inference stages. During optimization, we introduce a simple yet effective self-ensembling (SE) strategy that emphasizes the test image itself over its augmented views adaptively to obtain more reliable pseudo labels. To fully exploit the potential of augmentations, we further apply the same strategy at inference time, unifying the objectives of both stages. Notably, SE can also act as a lightweight optimization-free TTA method. Extensive experiments across multiple datasets demonstrate that SE and USE outperform their counterparts, respectively. Furthermore, SE yields consistent performance gains when integrated with existing TTA methods. The code is available at https://github.com/sirujiang/USE.

Siru Jiang, Jian Liang, Ran He, Tieniu Tan• 2026

Related benchmarks

TaskDatasetResultRank
ClassificationCars
Accuracy58.99
571
Image ClassificationFGVC
Accuracy65.49
140
ClassificationDTD
Accuracy41.84
87
ClassificationFood101--
83
ClassificationEuroSAT
Accuracy25.65
75
ClassificationCaltech101
Accuracy87.95
60
Image ClassificationImageNet OOD Variants
Accuracy (IN)66.33
30
Image ClassificationImageNet and OOD variants
Accuracy (ImageNet)69.72
23
Image ClassificationCombined IN&O and FGVC
Accuracy0.6553
12
Image ClassificationFGVC (Fine-Grained Visual Categorization) (test)
DTD Accuracy47.61
12
Showing 10 of 16 rows

Other info

Follow for update