IT3: Idempotent Test-Time Training
Nikita Durasov, Assaf Shocher, Doruk Öner, Gal Chechik, Alexei A. Efros, Pascal Fua
Abstract
Deep learning models often struggle when deployed in real-world settings due to distribution shifts between training and test data. While existing approaches like domain adaptation and test-time training (TTT) offer partial solutions, they typically require additional data or domainspecific auxiliary tasks. We present Idempotent Test-Time Training (IT 3 ), a novel approach that enables on-the-fly adaptation to distribution shifts using only the current test instance, without any auxiliary task design. Our key insight is that enforcing idempotence-where repeated applications of a function yield the same result-can effectively replace domain-specific auxiliary tasks used in previous TTT methods. We theoretically connect idempotence to prediction confidence and demonstrate that minimizing the distance between successive applications of our model during inference leads to improved out-of-distribution performance. Extensive experiments across diverse domains (including image classification, aerodynamics prediction, and aerial segmentation) and architectures (MLPs, CNNs, GNNs) show that IT 3 consistently outperforms existing approaches while being simpler and more widely applicable. Our results suggest that idempotence provides a universal principle for test-time adaptation that generalizes across domains and architectures. poster / code / video / web
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0522e229-4c28-4511-ae37-b577a699b523Cited by top-tier papers5
- Specialization after Generalization: Towards Understanding Test-Time Training in Foundation ModelsJonas Hübotter, Patrik Wolf, Aleksandr Shevchenko, Dennis Jüni et al.ICLR 2026 · 6 citations
- Multivariate Time Series Anomaly Detection with Idempotent ReconstructionXin Sun, Heng Zhou, Chao LiNeurIPS 2025 · 5 citations
- IDER: IDempotent Experience Replay for Reliable Continual LearningZhanwang Liu, Yuting Li, Haoyuan Gao, Yexin Li et al.ICLR 2026 · 5 citations
- Who Said Neural Networks Aren't Linear?Nimrod Berman, Assaf Hallak, Assaf ShocherICML 2026 · 3 citations
- A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language ModelsMujtaba Hussain Mirza, Antonio D’Orazio, Odelia Melamed, Iacopo MasiCVPR 2026 · 2 citations
Builds on14
- 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
- Efficient Test-Time Model Adaptation without ForgettingShuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Yaofo Chen et al.ICML 2022 · 579 citations
- 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
Related papers
- Improved Test-Time Adaptation for Domain GeneralizationLiang Chen, Yong Zhang, Yibing Song, Ying Shan et al.CVPR 2023
- Synchronizing Task Behavior: Aligning Multiple Tasks During Test-Time TrainingWooseong Jeong, Jegyeong Cho, Youngho Yoon, Kuk-Jin YoonICCV 2025
- ClusT3: Information Invariant Test-Time TrainingGustavo Adolfo Vargas Hakim, David Osowiechi, Mehrdad Noori, Milad Cheraghalikhani et al.ICCV 2023 · 25 citations
- MATE: Masked Autoencoders are Online 3D Test-Time LearnersMuhammad Jehanzeb Mirza, Inkyu Shin, Wei Lin, Andreas Schriebl et al.ICCV 2023 · 24 citations
- Test-Time Classifier Adjustment Module for Model-Agnostic Domain GeneralizationYusuke Iwasawa, Yutaka MatsuoNeurIPS 2021 · 456 citations
