Reproduce “TEA: Test-time Energy Adaptation” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yige Yuan, Bingbing Xu, Liang Hou, Fei Sun, Huawei Shen, Xueqi Cheng
Researchers from CAS Key Laboratory of AI Security and Kuaishou Technology propose TEA (Test-time Energy Adaptation), a novel method that reinterprets a pre-trained classifier as an energy-based model to address distribution shifts. This approach directly aligns the model's perception of the data distribution with the incoming test data, leading to state-of-the-art generalization performance and improved confidence calibration across various image corruption and domain generalization benchmarks.
Key insights
- Test samples with lower energy within a model's distribution correlate with higher performance, suggesting that reducing energy for out-of-distribution samples can improve generalizability.
- Reinterpreting a pre-trained classifier as an energy-based model allows for direct manipulation of the model's perception of the data distribution, effectively addressing covariate shift without access to training data.
- Unlike entropy-based methods that can cause overconfidence, defining energy in the data space (via log-sum-exp) inherently introduces a degree of uncertainty per class, leading to improved model calibration.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.