Skip to main content
QUICK REVIEW

[Paper Review] Entropy is not Enough for Test-Time Adaptation: From the Perspective of Disentangled Factors

Jonghyun Lee, Dahuin Jung|arXiv (Cornell University)|Mar 12, 2024
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

The paper shows entropy alone is unreliable for test-time adaptation (TTA) due to disentangled data factors, and introduces DeYO with PLPD to leverage CPR (shape) factors for robust adaptation.

ABSTRACT

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/.

Motivation & Objective

  • Motivate why entropy is insufficient as a confidence metric for TTA under distribution shifts, especially spurious correlations.
  • Introduce disentangled factors (CPR vs TRAP) to explain harmful samples for TTA.
  • Propose a new TTA method DeYO that combines entropy with a shape-based confidence metric (PLPD).
  • Demonstrate DeYO’s superiority across mild and wild benchmarks (ImageNet-C, ColoredMNIST, WaterBirds) and extreme shifts.

Proposed method

  • Define a theoretical framework based on latent disentangled factors (CPR and TRAP) to analyze TTA predictions.
  • Propose Pseudo-Label Probability Difference (PLPD) by measuring prediction change after a shape-destructive transformation (patch-shuffle).
  • Develop DeYO with two components: sample selection using Entropy and PLPD, and sample weighting that combines entropy and PLPD signals.
  • Use patch-shuffling as the object-destructive transformation to isolate CPR (shape) factors.
  • Formulate DeYO’s loss as a weighted entropy objective to emphasize samples rooted in CPR factors.

Experimental results

Research questions

  • RQ1Is entropy a reliable confidence metric for TTA under various distribution shifts, including spurious correlations?
  • RQ2Can disentangled factors (CPR vs TRAP) reveal harmful samples for TTA that entropy misses?
  • RQ3Does combining entropy with a shape-based PLPD metric improve TTA robustness across mild and wild scenarios?
  • RQ4How does DeYO perform on benchmarks with extreme spurious correlations and diverse shifts (ImageNet-C, ColoredMNIST, WaterBirds)?

Key findings

  • Entropy-based sample selection can hurt TTA under spurious correlations, as low-entropy samples may rely on TRAP factors.
  • PLPD captures the influence of CPR factors (object shape) on predictions, complementing entropy.
  • DeYO consistently outperforms baselines on ImageNet-C across mild and wild scenarios, including competitive performance vs EATA and SAR.
  • DeYO achieves strong gains on ColoredMNIST and WaterBirds, including surpassing random guessing on ColoredMNIST worst-group accuracy.
  • On wild benchmarks (mixed, label shifts, batch size 1), DeYO shows robust improvements over baselines across multiple models and normalizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.