Test-Time Training with Masked Autoencoders
Yossi Gandelsman, Yu Sun, Xinlei Chen, Alexei A. Efros
Abstract
Test-time training adapts to a new test distribution on the fly by optimizing a model for each test input using self-supervision. In this paper, we use masked autoencoders for this one-sample learning problem. Empirically, our simple method improves generalization on many visual benchmarks for distribution shifts. Theoretically, we characterize this improvement in terms of the bias-variance trade-off.
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.
119 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
- Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
- BEiT: BERT Pre-Training of Image Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Test Time Adaptation via Conjugate Pseudo-labels cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Test Time Adaptation via Conjugate Pseudo-labels cites Tent: Fully Test-Time Adaptation by Entropy Minimization
- Test Time Adaptation via Conjugate Pseudo-labels cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
- Self-Adapting Language Models cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
- ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization cites Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
Cited by top-tier papers119
- Titans: Learning to Memorize at Test TimeAli Behrouz, Peilin Zhong, Vahab MirrokniNeurIPS 2025 · 368 citations
- Test Time Adaptation via Conjugate Pseudo-labelsSachin Goyal, Mingjie Sun, Aditi Raghunathan, J. Zico KolterNeurIPS 2022 · 152 citations
- Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot GeneralizationJameel Abdul Samadh, Hanan Gani, Noor Hussein, Muhammad Uzair Khattak et al.NeurIPS 2023 · 147 citations
- ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise OptimizationLuca Eyring, Shyamgopal Karthik, Karsten Roth, Alexey Dosovitskiy et al.NeurIPS 2024 · 131 citations
- Self-Adapting Language ModelsAdam Zweiger, Jyothish Pari, Han Guo, Yoon Kim et al.NeurIPS 2025 · 78 citations
Builds on13
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 citations
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath et al.ICCV 2021 · 2,294 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations
Related papers
- Protected Test-Time Adaptation via Online Entropy Matching: A Betting ApproachYarin Bar, Shalev Shaer, Yaniv RomanoNeurIPS 2024 · 27 citations
- Continual-MAE: Adaptive Distribution Masked Autoencoders for Continual Test-Time AdaptationJiaming Liu, Ran Xu, Senqiao Yang, Renrui Zhang et al.CVPR 2024 · 15 citations
- MEMO: Test Time Robustness via Adaptation and AugmentationMarvin Zhang, Sergey Levine, Chelsea FinnNeurIPS 2022 · 595 citations
- Learning to Generalize across Domains on Single Test SamplesZehao Xiao, Xiantong Zhen, Ling Shao, Cees G. M. SnoekICLR 2022 · 40 citations
- MATE: Masked Autoencoders are Online 3D Test-Time LearnersMuhammad Jehanzeb Mirza, Inkyu Shin, Wei Lin, Andreas Schriebl et al.ICCV 2023 · 24 citations
