Limitations of Post-Hoc Feature Alignment for Robustness
Collin Burns, Jacob Steinhardt
Abstract
Feature alignment is an approach to improving robustness to distribution shift that matches the distribution of feature activations between the training distribution and test distribution. A particularly simple but effective approach to feature alignment involves aligning the batch normalization statistics between the two distributions in a trained neural network. This technique has received renewed interest lately because of its impressive performance on robustness benchmarks. However, when and why this method works is not well understood. We investigate the approach in more detail and identify several limitations. We show that it only significantly helps with a narrow set of distribution shifts and we identify several settings in which it even degrades performance. We also explain why these limitations arise by pinpointing why this approach can be so effective in the first place. Our findings call into question the utility of this approach and Unsupervised Domain Adaptation more broadly for improving robustness in practice.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive? cites Improving robustness against common corruptions by covariate shift adaptation
- Editing a classifier by rewriting its prediction rules cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- Parameter-free Online Test-time Adaptation cites Improving robustness against common corruptions by covariate shift adaptation
- Improving robustness against common corruptions by covariate shift adaptation cites Natural Adversarial Examples
- Improving robustness against common corruptions by covariate shift adaptation cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- Decorate the Newcomers: Visual Domain Prompt for Continual Test Time Adaptation cites Improving robustness against common corruptions by covariate shift adaptation
- On Pitfalls of Test-Time Adaptation cites TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive?
- On Pitfalls of Test-Time Adaptation cites AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty
- On Pitfalls of Test-Time Adaptation cites Parameter-free Online Test-time Adaptation
- On Pitfalls of Test-Time Adaptation cites Improving robustness against common corruptions by covariate shift adaptation
Cited by top-tier papers12
- TTT++: When Does Self-Supervised Test-Time Training Fail or Thrive?Yuejiang Liu, Parth Kothari, Bastien van Delft, Baptiste Bellot-Gurlet et al.NeurIPS 2021 · 469 citations
- Decorate the Newcomers: Visual Domain Prompt for Continual Test Time AdaptationYulu Gan, Yan Bai, Yihang Lou, Xianzheng Ma et al.AAAI 2023 · 145 citations
- Parameter-free Online Test-time AdaptationMalik Boudiaf, Romain Müller, Ismail Ben Ayed, Luca BertinettoCVPR 2022 · 116 citations
- Editing a classifier by rewriting its prediction rulesShibani Santurkar, Dimitris Tsipras, Mahalaxmi Elango, David Bau et al.NeurIPS 2021 · 105 citations
- On Pitfalls of Test-Time AdaptationHao Zhao, Yuejiang Liu, Alexandre Alahi, Tao LinICML 2023 · 72 citations
Builds on4
- AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
- Improving robustness against common corruptions by covariate shift adaptationSteffen Schneider, Evgenia Rusak, Luisa Eck, Oliver Bringmann et al.NeurIPS 2020 · 688 citations
- Cluster Alignment With a Teacher for Unsupervised Domain AdaptationZhijie Deng, Yucen Luo, Jun ZhuICCV 2019 · 241 citations
- Natural Adversarial ExamplesDan Hendrycks, Kevin Zhao, Steven Basart, Jacob Steinhardt et al.CVPR 2021
Related papers
- Encoding Robustness to Image Style via Adversarial Feature PerturbationsManli Shu, Zuxuan Wu, Micah Goldblum, Tom GoldsteinNeurIPS 2021 · 23 citations
- CrossNorm and SelfNorm for Generalization under Distribution ShiftsZhiqiang Tang, Yunhe Gao, Yi Zhu, Zhi Zhang et al.ICCV 2021 · 70 citations
- Reducing Divergence in Batch Normalization for Domain AdaptationEllen Yi-Ge, Mingjing Wu, Zhenghan ChenAAAI 2025 · 3 citations
- Certifying Better Robust Generalization for Unsupervised Domain AdaptationZhiqiang Gao, Shufei Zhang, Kaizhu Huang, Qiufeng Wang et al.ACM MM 2022 · 4 citations
- Cross-Domain Collaborative Normalization via Structural KnowledgeHaifeng Xia, Zhengming DingAAAI 2022 · 5 citations
