arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.14333cs.CVcs.AI
收藏

带检索的训练/测试时自适应

Train/Test-Time Adaptation with Retrieval

AWS AI Labs(AWS人工智能实验室)

Luca Zancato, Alessandro Achille, Tian Yu Liu, Matthew Trager, Pramuditha Perera, Stefano Soatto

摘要:

我们介绍了训练/测试时自适应检索(${\rm T^3AR}$),一种方法来适应模型在训练和测试时间的检索模块和可搜索的外部样本池。在推理之前,${\rm T^3AR}$使用改进的伪标签和自监督对比目标函数来使给定模型适应下游任务,该自监督对比目标函数的噪声分布利用检索到的真实样本来改善目标数据流形上的特征适应。真实图像的检索是${\rm T^3AR}$的关键,因为它不像通常由其他自适应算法所做的那样仅仅依赖于合成数据增强来补偿自适应数据的缺乏。此外,由于检索模块,我们的方法使用户或服务提供商有可能通过合并进一步的相关数据或完全删除由于部署后用户偏好的变化而可能不再可用的样本来改进下游任务的模型适应。首先,我们证明了${\rm T^3AR}$可以在训练时使用,以提高下游细粒度分类超过标准的微调基线,适应数据越少,相对改善越高(高达13%)。其次,我们应用${\rm T^3AR}$进行测试时自适应,并表明在测试时利用外部图像池会导致比DomainNet-126和VISDA-C上的现有方法更鲁棒的表示,特别是当适应数据很少时(高达8%)。

英文摘要:

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%).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑