自适应去偏Tsallis熵用于测试时适应
Adaptive Debiasing Tsallis Entropy for Test-Time Adaptation
AI总结:
本文提出自适应去偏Tsallis熵用于测试时适应,通过引入非广延参数q来缓解预训练数据偏差,提升模型适应性能。
摘要:
主流的测试时适应(TTA)方法,如CLIP,通常在测试时依赖香农熵(SE)来测量预测不确定性与不一致性。然而,由于CLIP在预训练时使用高度不平衡的网络爬取数据,SE不可避免地会导致不确定性熵的估计出现偏差。为了解决这个问题,我们发现并证明Tsallis熵(TE),作为SE的广义形式,通过引入非广延参数q,自然适合表征有偏分布,其中SE的性能作为TE的下界。在此基础上,我们将TE推广为自适应去偏Tsallis熵(ADTE)用于TTA,为每个类别定制一个类特定参数q^l,该参数通过归一化连续到来的测试实例估计的标签偏差来获得。这种自适应方法使ADTE能够准确选择高置信度的视图,并无缝整合到标签调整策略中以增强适应性,而无需引入分布特定的超参数调优。此外,我们的研究发现,TE和ADTE都可以作为直接的、先进的SE替代品用于TTA,无需其他修改。实验结果表明,ADTE在ImageNet及其五个变体上优于最先进的方法,并在10个跨领域基准测试中取得最高平均性能,无论模型架构或文本提示如何。我们的代码可在https://github.com/Jinx630/ADTE上获得。
英文摘要:
Mainstream Test-Time Adaptation (TTA) methods for adapting vision-language models, e.g., CLIP, typically rely on Shannon Entropy (SE) at test time to measure prediction uncertainty and inconsistency. However, since CLIP has a built-in bias from pretraining on highly imbalanced web-crawled data, SE inevitably results in producing biased estimates of uncertainty entropy. To address this issue, we notably find and demonstrate that Tsallis Entropy (TE), a generalized form of SE, is naturally suited for characterizing biased distributions by introducing a non-extensive parameter q, with the performance of SE serving as a lower bound for TE. Building upon this, we generalize TE into Adaptive Debiasing Tsallis Entropy (ADTE) for TTA, customizing a class-specific parameter q^l derived by normalizing the estimated label bias from continuously incoming test instances, for each category. This adaptive approach allows ADTE to accurately select high-confidence views and seamlessly integrate with a label adjustment strategy to enhance adaptation, without introducing distribution-specific hyperparameter tuning. Besides, our investigation reveals that both TE and ADTE can serve as direct, advanced alternatives to SE in TTA, without any other modifications. Experimental results show that ADTE outperforms state-of-the-art methods on ImageNet and its five variants, and achieves the highest average performance on 10 cross-domain benchmarks, regardless of the model architecture or text prompts used. Our code is available at https://github.com/Jinx630/ADTE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。