We introduce Train/Test-Time Adaptation with Retrieval (${\rm T^3AR}$), a method to adapt models both at train and test time by means of a retrieval module and a searchable pool of external samples. Before inference, ${\rm T^3AR}$ adapts a given model to the downstream task using refined pseudo-labels and a self-supervised contrastive objective function whose noise distribution leverages retrieved real samples to improve feature adaptation on the target data manifold. The retrieval of real images is key to ${\rm T^3AR}$ since it does not rely solely on synthetic data augmentations to compensate for the lack of adaptation data, as typically done by other adaptation algorithms. Furthermore, thanks to the retrieval module, our method gives the user or service provider the possibility to improve model adaptation on the downstream task by incorporating further relevant data or to fully remove samples that may no longer be available due to changes in user preference after deployment. First, we show that ${\rm T^3AR}$ can be used at training time to improve downstream fine-grained classification over standard fine-tuning baselines, and the fewer the adaptation data the higher the relative improvement (up to 13%). Second, we apply ${\rm T^3AR}$ for test-time adaptation and show that exploiting a pool of external images at test-time leads to more robust representations over existing methods on DomainNet-126 and VISDA-C, especially when few adaptation data are available (up to 8%).
UrbanCross: Enhancing Satellite Image-Text Retrieval with Cross-Domain Adaptation
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Northwestern Polytechnical University(西北工业大学);The Hong Kong University of Science and Technology(香港科技大学)
Frame-Difference Guided Dynamic Region Perception for CLIP Adaptation in Text-Video Retrieval
School of Computer Science and Technology, East China Normal University, China(上海师范大学计算机科学与技术学院);School of Information Science and Technology, University of Science and Technology of China(中国科学技术大学信息科学与技术学院)
Nip Rumors in the Bud: Retrieval-Guided Topic-Level Adaptation for Test-Time Fake News Video Detection
University of Electronic Science and Technology of China(电子科技大学);Aiwen Technology Co., Ltd.(爱文科技有限公司);Intelligent Digital Media Technology Key Laboratory of Sichuan Province(四川省智能数字媒体技术重点实验室)
Semantic Library Adaptation: LoRA Retrieval and Fusion for Open-Vocabulary Semantic Segmentation
The Good AI Lab;University of Toronto(多伦多大学);KTH(瑞典皇家理工学院);AMD(超威半导体公司);Silo AI;King;Technical University of Munich(慕尼黑工业大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Google(谷歌公司);ETH Zurich(苏黎世联邦理工学院);University of Bologna(博洛尼亚大学)
UCDR-Adapter: Exploring Adaptation of Pre-Trained Vision-Language Models for Universal Cross-Domain Retrieval
Zhejiang University(浙江大学);Carnegie Mellon University(卡内基梅隆大学);University of Washington(华盛顿大学);Dalian University of Technology(大连理工大学);DAMO Academy, Alibaba Group(阿里巴巴达摩院);Microsoft Research(微软研究院)