arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.08810cs.CVcs.LG
收藏

面向协变量与标签偏移下测试时适应的标签偏移适配器

Label Shift Adapter for Test-Time Adaptation under Covariate and Label Shifts

Qualcomm AI Research(高通人工智能研究院);KAIST(韩国科学技术院)

Sunghyun Park, Seunghan Yang, Jaegul Choo, Sungrack Yun

AI总结:

针对协变量与标签偏移共存时现有TTA方法失效的问题,提出可嵌入各类TTA方法的标签偏移适配器,通过估计目标标签分布并预测部分模型参数实现高效适应,实验显示性能显著提升。

摘要:

测试时适应(TTA)旨在推理期间以逐批方式使预训练模型适应目标域。尽管标签分布在真实场景中常表现出不平衡,但以往大多数TTA方法通常假设源域和目标域数据集都具有平衡的标签分布。由于某些类别在某些域中出现得更频繁(例如城市中的建筑物、森林中的树木),标签分布随域变化而发生偏移是很自然的。然而,我们发现大多数现有TTA方法无法应对协变量偏移与标签偏移共存的情况。为应对这一挑战,我们提出了一种新颖的标签偏移适配器,它可被纳入现有TTA方法,以在TTA过程中有效处理标签偏移。具体而言,我们估计目标域的标签分布,并将其输入标签偏移适配器。随后,标签偏移适配器为目标标签分布生成最优参数。通过仅预测预训练源模型的一部分参数,我们的方法具有较高的计算效率,并且无论模型架构如何都能轻松应用。通过大量实验,我们证明在标签偏移和协变量偏移共同存在的情况下,将我们的策略与TTA方法相结合可带来显著的性能提升。

英文摘要:

Test-time adaptation (TTA) aims to adapt a pre-trained model to the target domain in a batch-by-batch manner during inference. While label distributions often exhibit imbalances in real-world scenarios, most previous TTA approaches typically assume that both source and target domain datasets have balanced label distribution. Due to the fact that certain classes appear more frequently in certain domains (e.g., buildings in cities, trees in forests), it is natural that the label distribution shifts as the domain changes. However, we discover that the majority of existing TTA methods fail to address the coexistence of covariate and label shifts. To tackle this challenge, we propose a novel label shift adapter that can be incorporated into existing TTA approaches to deal with label shifts during the TTA process effectively. Specifically, we estimate the label distribution of the target domain to feed it into the label shift adapter. Subsequently, the label shift adapter produces optimal parameters for the target label distribution. By predicting only the parameters for a part of the pre-trained source model, our approach is computationally efficient and can be easily applied, regardless of the model architectures. Through extensive experiments, we demonstrate that integrating our strategy with TTA approaches leads to substantial performance improvements under the joint presence of label and covariate shifts.

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

↑