Lune

AAAI2025顶会

Learning to Generate Gradients for Test-Time Adaptation via Test-Time Training Layers

Qi Deng, Shuaicheng Niu, Ronghao Zhang, Yaofo Chen, Runhao Zeng, Jian Chen, Xiping Hu

摘要

Test-time adaptation (TTA) aims to fine-tune a trained model online using unlabeled testing data to adapt to new environments or out-of-distribution data, demonstrating broad application potential in real-world scenarios. However, in this optimization process, unsupervised learning objectives like entropy minimization frequently encounter noisy learning signals. These signals produce unreliable gradients, which hinder the model's ability to converge to an optimal solution quickly and introduce significant instability into the optimization process. In this paper, we seek to resolve these issues from the perspective of optimizer design. Unlike prior TTA using manually designed optimizers like SGD, we employ a learning-to-optimize approach to automatically learn an optimizer, called Meta Gradient Generator (MGG). Specifically, we aim for MGG to effectively utilize historical gradient information during the online optimization process to optimize the current model. To this end, in MGG, we design a lightweight and efficient sequence modeling layer -gradient memory layer. It exploits a self-supervised reconstruction loss to compress historical gradient information into network parameters, thereby enabling better memorization ability over a long-term adaptation process. We only need a small number of unlabeled samples to pre-train MGG, and then the trained MGG can be deployed to process unseen samples. Promising results on ImageNet-C/R/Sketch/A indicate that our method surpasses current state-of-the-art methods with fewer updates, less data, and significantly shorter adaptation times. Compared with a previous SOTA SAR, we achieve 7.4% accuracy improvement and 4.2× faster adaptation speed on ImageNet-C. Code: https://github.com/keikeiqi/MGTTA .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • PTTA: Purifying Malicious Samples for Test-Time Model Adaptation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Efficient Test-Time Model Adaptation without Forgetting 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Efficient Test-Time Model Adaptation without Forgetting 引用了 Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
  • MEMO: Test Time Robustness via Adaptation and Augmentation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MEMO: Test Time Robustness via Adaptation and Augmentation 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
  • MEMO: Test Time Robustness via Adaptation and Augmentation 引用了 Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
  • CONGA:Confidence-and-Gradient-Aware Learning Rate Schedule for Test Time Adaptation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CONGA:Confidence-and-Gradient-Aware Learning Rate Schedule for Test Time Adaptation 引用了 Efficient Test-Time Model Adaptation without Forgetting
  • CONGA:Confidence-and-Gradient-Aware Learning Rate Schedule for Test Time Adaptation 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
  • CONGA:Confidence-and-Gradient-Aware Learning Rate Schedule for Test Time Adaptation 引用了 Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
  • MoETTA: Test-Time Adaptation Under Mixed Distribution Shifts with MoE-LayerNorm 引用了 Efficient Test-Time Model Adaptation without Forgetting
  • MoETTA: Test-Time Adaptation Under Mixed Distribution Shifts with MoE-LayerNorm 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. PTTA: Purifying Malicious Samples for Test-Time Model AdaptationJing Ma, Hanlin Li, Xiang XiangICML 2025
  2. CONGA:Confidence-and-Gradient-Aware Learning Rate Schedule for Test Time AdaptationShaoran Lv, Xinyao Li, Jingjing LiICML 2026
  3. MoETTA: Test-Time Adaptation Under Mixed Distribution Shifts with MoE-LayerNormXiao Fan, Jingyan Jiang, Zhaoru Chen, Fanding Huang 等AAAI 2026

它引用的 Paper18

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen 等ICLR 2021 · 1,731 次引用
  3. Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller 等ICML 2020 · 1,220 次引用
  4. MEMO: Test Time Robustness via Adaptation and AugmentationMarvin Zhang, Sergey Levine, Chelsea FinnNeurIPS 2022 · 595 次引用
  5. Efficient Test-Time Model Adaptation without ForgettingShuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Yaofo Chen 等ICML 2022 · 579 次引用

相关 Paper

  1. Test Time Adaptation via Conjugate Pseudo-labelsSachin Goyal, Mingjie Sun, Aditi Raghunathan, J. Zico KolterNeurIPS 2022 · 152 次引用
  2. M-L2O: Towards Generalizable Learning-to-Optimize by Test-Time Fast Self-AdaptationJunjie Yang, Xuxi Chen, Tianlong Chen, Zhangyang Wang 等ICLR 2023
  3. Unified Entropy Optimization for Open-Set Test-Time AdaptationZhengqing Gao, Xu-Yao Zhang, Cheng-Lin LiuCVPR 2024
  4. MECTA: Memory-Economic Continual Test-Time Model AdaptationJunyuan Hong, Lingjuan Lyu, Jiayu Zhou, Michael SprangerICLR 2023
  5. Point-TTA: Test-Time Adaptation for Point Cloud Registration Using Multitask Meta-Auxiliary LearningAhmed Hatem, Yiming Qian, Yang WangICCV 2023 · 28 次引用
黄昏的海面,两侧是细线勾勒的悬崖