[论文解读] Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factors
本文表明熵值在测试时自适应(TTA)上的单独使用因数据因素的解耦而不可靠,并引入 DeYO 及 PLPD 以利用 CPR(形状)因素实现鲁棒自适应。
Test-time adaptation (TTA) fine-tunes pre-trained deep neural networks for unseen test data. The primary challenge of TTA is limited access to the entire test dataset during online updates, causing error accumulation. To mitigate it, TTA methods have utilized the model output's entropy as a confidence metric that aims to determine which samples have a lower likelihood of causing error. Through experimental studies, however, we observed the unreliability of entropy as a confidence metric for TTA under biased scenarios and theoretically revealed that it stems from the neglect of the influence of latent disentangled factors of data on predictions. Building upon these findings, we introduce a novel TTA method named Destroy Your Object (DeYO), which leverages a newly proposed confidence metric named Pseudo-Label Probability Difference (PLPD). PLPD quantifies the influence of the shape of an object on prediction by measuring the difference between predictions before and after applying an object-destructive transformation. DeYO consists of sample selection and sample weighting, which employ entropy and PLPD concurrently. For robust adaptation, DeYO prioritizes samples that dominantly incorporate shape information when making predictions. Our extensive experiments demonstrate the consistent superiority of DeYO over baseline methods across various scenarios, including biased and wild. Project page is publicly available at https://whitesnowdrop.github.io/DeYO/.
研究动机与目标
- 阐明为何在分布偏移下,熵值作为 TTA 的置信度指标不充分,尤其中包含虚假相关。
- 引入解耦因素(CPR 与 TRAP)来解释对 TTA 有害的样本。
- 提出一种新的 TTA 方法 DeYO,将熵与基于形状的置信度度量(PLPD)结合。
- 展示 DeYO 在温和与极端偏移基准(ImageNet-C、ColoredMNIST、WaterBirds)上的优势。
提出的方法
- 基于潜在解耦因素(CPR 与 TRAP)来分析 TTA 预测,定义理论框架。
- 提出伪标签概率差异(PLPD),通过在形状破坏变换(patch-shuffle)后测量预测变化来得到。
- 将 DeYO 发展为两大组件:使用 Entropy 和 PLPD 进行样本选择,以及将熵和 PLPD 信号结合起来的样本加权。
- 使用 patch-shuffling 作为对象破坏性变换,以隔离 CPR(形状)因素。
- 将 DeYO 的损失公式设定为加权熵目标,以强调源自 CPR 因素的样本。
实验结果
研究问题
- RQ1在包括虚假相关的各种分布偏移下,熵是否是可靠的 TTA 置信度指标?
- RQ2解耦因素(CPR 与 TRAP)是否能揭示熵未能发现的对 TTA 有害的样本?
- RQ3将熵与基于形状的 PLPD 指标结合,是否能在温和与极端场景中提升 TTA 的鲁棒性?
- RQ4在具有极端虚假相关和多样化偏移的基准(ImageNet-C、ColoredMNIST、WaterBirds)上,DeYO 的表现如何?
主要发现
- 基于熵的样本选择在存在虚假相关时可能损害 TTA,因为低熵样本可能依赖于 TRAP 因素。
- PLPD 捕捉到 CPR 因素(对象形状)对预测的影响,弥补了熵。
- 在 ImageNet-C 的温和与极端场景下,DeYO 持续优于基线,包括在与 EATA 和 SAR 的对比中具竞争力的表现。
- DeYO 在 ColoredMNIST 和 WaterBirds 上取得显著提升,包括在 ColoredMNIST 最差组准确率上超过随机猜测。
- 在野外基准(混合、标签偏移、batch size 1)上,DeYO 对多种模型和归一化方法相比基线表现出稳健提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。