CVPR Findings2026
COSTA: Collaborative Open-Set Test-Time Adaptation Through Robust Prototype Learning
Can Zhang, Ruirui Li
Abstract
Test-time adaptation (TTA) aims to continuously adapt models to evolving data distributions, a key requirement for real-world deployment under distribution shifts. In zero-shot TTA with vision-language models such as CLIP, however, most existing approaches operate under a closed-set assumption, rendering them vulnerable to outof-distribution (OOD) samples that can distort the adaptation process and lead to biased model updates. While recent open-set extensions attempt to detect OOD samples, they typically do so post-hoc and thus fail to safeguard the adaptation itself. We argue that the key lies in maintaining reliable class prototypes during adaptation and leveraging these high-fidelity prototypes to guide more accurate OOD detection. We instantiate this principle in Collaborative Open-Set Test-Time Adaptation (COSTA), a unified framework that jointly optimizes adaptation and OOD detection for zero-shot CLIP. COSTA constructs robust class prototypes through a dual-cache mechanism and introduces an OOD detector based on Maximum Prototype Similarity (MPS), which measures the semantic consistency of a sample with in-distribution classes rather than relying on model confidence. This collaborative design ensures that improved detection provides cleaner data for adaptation, which in turn refines the prototypes and further enhances detection. Extensive experiments on 36 datasets demonstrate that COSTA achieves consistent gains over state-ofthe-art TTA and open-set adaptation methods.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models cites BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation cites Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
Builds on13
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and GenerationJunnan Li, Dongxu Li, Caiming Xiong, Steven C. H. HoiICML 2022 · 6,549 citations
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language ModelsManli Shu, Weili Nie, De-An Huang, Zhiding Yu et al.NeurIPS 2022 · 603 citations
Related papers
- CLIPTTA: Robust Contrastive Vision-Language Test-Time AdaptationMarc Lafon, Gustavo Adolfo Vargas Hakim, Clément Rambour, Christian Desrosiers et al.NeurIPS 2025 · 5 citations
- Robustifying Vision-Language Models via Test-Time Prompt AdaptationXingyu Zhu, Huanshen Wu, Shuo Wang, Beier Zhu et al.ICML 2026 · 1 citation
- TTL: Test-time Textual Learning for OOD Detection with Pretrained Vision-Language ModelsJinlun Ye, Jiang Liao, Runhe Lai, Xinhua Lu et al.CVPR 2026 · 2 citations
- Prototype-Based Test-Time Adaptation of Vision-Language ModelsZhaohong Huang, Yuxin Zhang, Wenjing Liu, Fei Chao et al.ICML 2026
- On the Test-Time Zero-Shot Generalization of Vision-Language Models: Do we Really need Prompt Learning?Maxime Zanella, Ismail Ben AyedCVPR 2024 · 21 citations
