atlas

Research map / Label-efficient and robust learning / Test-time adaptation

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

AAAI 2025 · Label-efficient and robust learning › Test-time adaptation · approach: Realistic and stable test-time adaptation · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes MGTTA, which learns a meta gradient generator (MGG) with a gradient memory layer (a test-time-training-style layer) to refine noisy TTA gradients on ViT-Base, achieving SOTA on ImageNet-C/R/Sketch/A with fewer updates.

Problem

Test-time adaptation with unsupervised objectives such as entropy minimization yields noisy, unreliable gradients that slow convergence and destabilize online adaptation.

Approach

Replace the hand-designed SGD update in TTA with a learned optimizer (MGG) that uses a gradient memory layer, trained via a self-supervised reconstruction loss, to compress historical gradients into parameters and output refined gradients for the current step.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use MGTTA instead of DeYOViT-Base test-time adaptation · ImageNet-C severity 5accuracy: 68.2% vs. 71.3%Helped
use MGTTA instead of DeYOViT-Base test-time adaptation · ImageNet-Raccuracy: 66.1 -> 70.2Helped
use MGTTA instead of DeYOViT-Base test-time adaptation · ImageNet-Sketchaccuracy: 52.2 -> 53.3Helped
use MGTTA instead of DeYOViT-Base test-time adaptation · ImageNet-Aaccuracy: 54.1 -> 56.7Helped
add MGG gradient optimization (ablation)MGTTA · ImageNet-C severity 5accuracy: 70.0 -> 71.3Helped
add MGG gradient optimization (ablation)MGTTA · ImageNet-Raccuracy: 67.2 -> 70.2Helped
add MGG gradient optimization (ablation)MGTTA · ImageNet-Sketchaccuracy: 51.9 -> 53.3Helped
add MGG gradient optimization (ablation)MGTTA · ImageNet-Aaccuracy: 55.1 -> 56.7Helped
replace LSTM with GML (ablation)MGTTA · ImageNet-C severity 5accuracy: 71.3 vs. 71.3No clear effect
replace LSTM with GML (ablation)MGTTA · ImageNet-Raccuracy: 69.4 -> 70.2Helped
replace LSTM with GML (ablation)MGTTA · ImageNet-Sketchaccuracy: 50.3 -> 53.3Helped
replace LSTM with GML (ablation)MGTTA · ImageNet-Aaccuracy: 56.8 -> 56.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-C validation set (128 unlabeled samples) ImageNet-C test set ImageNet-R ImageNet-Sketch ImageNet-A

Benchmarks: ImageNet-C ImageNet-R ImageNet-Sketch ImageNet-A

Metrics: accuracy wall-clock runtime GPU memory

Baselines: NoAdapt LAME T3A TENT CoTTA SAR FOA EATA DeYO

Builds on: FOA test-time training layers learning to optimize Adam

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy