Train/Test-Time Adaptation with Retrieval

03/25/2023
by   Luca Zancato, et al.
0

We introduce Train/Test-Time Adaptation with Retrieval (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, 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 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 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 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

READ FULL TEXT
research
10/10/2022

Visual Prompt Tuning for Test-time Domain Adaptation

Models should have the ability to adapt to unseen data during test-time ...
research
10/17/2022

Learning Less Generalizable Patterns with an Asymmetrically Trained Double Classifier for Better Test-Time Adaptation

Deep neural networks often fail to generalize outside of their training ...
research
10/18/2022

Towards Understanding GD with Hard and Conjugate Pseudo-labels for Test-Time Adaptation

We consider a setting that a model needs to adapt to a new domain under ...
research
03/07/2023

Guiding Pseudo-labels with Uncertainty Estimation for Test-Time Adaptation

Standard Unsupervised Domain Adaptation (UDA) methods assume the availab...
research
03/01/2023

Self-Supervised Convolutional Visual Prompts

Machine learning models often fail on out-of-distribution (OOD) samples....
research
02/22/2023

Distribution Normalization: An "Effortless" Test-Time Augmentation for Contrastively Learned Visual-language Models

Advances in the field of visual-language contrastive learning have made ...
research
08/29/2023

Is it an i or an l: Test-time Adaptation of Text Line Recognition Models

Recognizing text lines from images is a challenging problem, especially ...

Please sign up or login with your details

Forgot password? Click here to reset