Pretrained vision-language models such as CLIP exhibit strong zero-shot generalization but remain sensitive to distribution shifts. Test-time adaptation adapts models during inference without access to source data or target labels, offering a practical way to handle such shifts. However, existing methods typically assume that test samples come from a single, consistent domain, while in practice, test data often include samples from mixed domains with distinct characteristics. Consequently, their performance degrades under mixed-domain settings. To address this, we present Ramen, a framework for robust test-time adaptation through active sample selection. For each incoming test sample, Ramen retrieves a customized batch of relevant samples from previously seen data based on two criteria: domain consistency, which ensures that adaptation focuses on data from similar domains, and prediction balance, which mitigates adaptation bias caused by skewed predictions. To improve efficiency, Ramen employs an embedding-gradient cache that stores the embeddings and sample-level gradients of past test images. The stored embeddings are used to retrieve relevant samples, and the corresponding gradients are aggregated for model updates, eliminating the need for any additional forward or backward passes. Our theoretical analysis provides insight into why the proposed adaptation mechanism is effective under mixed-domain shifts. Experiments on multiple image corruption and domain-shift benchmarks demonstrate that Ramen achieves strong and consistent performance, offering robust and efficient adaptation in complex mixed-domain scenarios. Our code is available at https://github.com/baowenxuan/Ramen .
To Adapt or Not to Adapt? Selective Adaptation for Vision-Language Models
School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学先进交叉科学学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Nanjing University(南京大学)
Training-Free Test-Time Adaptation with Brownian Distance Covariance in Vision-Language Models
College of Computer Science and Software Engineering, Shenzhen University, China(深圳大学计算机科学与软件工程学院);University of Cambridge, Cambridge, UK(剑桥大学);Yau Mathematical Sciences Center, Tsinghua University, Beijing, China(清华大学尤里伊数学科学中心);Southern University of Science and Technology, Shenzhen, China(南方科技大学)
Safe Self-Refinement for Transformer-based Domain Adaptation
Stony Brook University(石溪大学);XPeng Motors(小鹏汽车)
无监督的领域自适应(UDA)旨在利用标签丰富的源域来解决相关未标记目标域上的任务。这是一个具有挑战性的问题,特别是当一个大的域之间的差距位于源和目标域。本文提出了一种新的解决方案SSRT(Safe Self-Refinement for Transformer-based领域自适应),从两个方面进行了改进。首先,由于视觉Transformer在各种视觉任务中的成功,我们为SSRT配备了一个Transformer骨干。我们发现,视觉Transformer与简单的对抗性适应的组合超过了最好的报告卷积神经网络(CNN)的结果,基于具有挑战性的DomainNet基准,显示其强大的可转移特征表示。其次,为了降低模型崩溃的风险,提高知识转移的有效性与大差距的领域之间,我们提出了一个安全的自我完善策略。具体而言,SSRT利用扰动的目标域数据的预测来细化模型。由于视觉Transformer的模型容量很大,并且在这种具有挑战性的任务中的预测可能是有噪声的,因此设计了一种安全的训练机制来自适应地调整学习配置。在几个广泛测试的UDA基准上进行了广泛的评估,SSRT始终获得最佳性能,包括在Bull-Home上的85.43%,在VisDA-2017上的88.76%和在DomainNet上的45.2%。
Weight Copy and Low-Rank Adaptation for Few-Shot Distillation of Vision Transformers
University of Bucharest(布加勒斯特大学);Norwegian University of Science and Technology(挪威科技大学);University of Medicine and Pharmacy “Carol Davila”(卡罗尔·达维拉医药大学)
PCaM: A Progressive Focus Attention-Based Information Fusion Method for Improving Vision Transformer Domain Adaptation
Westlake Institute for Advanced Studies(西湖研究学院);Centre for Artificial Intelligence(人工智能中心);State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS)(多模态人工智能系统国家重点实验室);Institute of Automation(自动化研究所);Chinese Academy of Sciences (CASIA)(中国科学院);School of Artificial Intelligence(人工智能学院);University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Alibaba Group(阿里巴巴集团);School of Computer Science(计算机学院);Engineering, the Faculty of Innovation Engineering, Macau University of Science(工程学院,创新工程 faculty,澳门科学大学);Microsoft(微软公司)
RADC: Risk-Aware Dual Caching for Vision-Language Test-Time Adaptation
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Pengcheng Laboratory(鹏城实验室);School of Intelligent Systems Engineering, Sun Yat-sen University(中山大学智能工程学院)
Efficient Test-Time Adaptation of Vision-Language Models
Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Nanyang Technological University(南洋理工大学);University of Ottawa(渥太华大学);Carnegie Mellon University(卡内基梅隆大学)