Lune

CVPR2023Top-tier venue

ActMAD: Activation Matching to Align Distributions for Test-Time-Training

Muhammad Jehanzeb Mirza, Pol Jané-Soneira, Wei Lin, Mateusz Kozinski, Horst Possegger, Horst Bischof

Abstract

Test-Time-Training (TTT) is an approach to cope with out-of-distribution (OOD) data by adapting a trained model to distribution shifts occurring at test-time. We propose to perform this adaptation via Activation Matching (ActMAD): We analyze activations of the model and align activation statistics of the OOD test data to those of the training data. In contrast to existing methods, which model the distribution of entire channels in the ultimate layer of the feature extractor, we model the distribution of each feature in multiple layers across the network. This results in a more fine-grained supervision and makes ActMAD attain state of the art performance on CIFAR-100C and Imagenet-C. ActMAD is also architecture-and task-agnostic, which lets us go beyond image classification, and score 15.4% improvement over previous approaches when evaluating a KITTI-trained object detector on KITTI-Fog. Our experiments highlight that ActMAD can be applied to online adaptation in realistic scenarios, requiring little data to attain its full performance.

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.

23 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Cross-Device Collaborative Test-Time Adaptation cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
  • Cross-Device Collaborative Test-Time Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cross-Device Collaborative Test-Time Adaptation cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Cross-Device Collaborative Test-Time Adaptation cites Test-Time Model Adaptation with Only Forward Passes
  • Cross-Device Collaborative Test-Time Adaptation cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • 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
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
  • What, How, and When Should Object Detectors Update in Continually Changing Test Domains? cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Test-Time Model Adaptation with Only Forward Passes cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Test-Time Model Adaptation with Only Forward Passes cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Test-Time Model Adaptation with Only Forward Passes cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image Collections cites The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image Collections cites Tent: Fully Test-Time Adaptation by Entropy Minimization
  • Tent: Fully Test-Time Adaptation by Entropy Minimization cites Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. 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
  2. Test-Time Model Adaptation with Only Forward PassesShuaicheng Niu, Chunyan Miao, Guohao Chen, Pengcheng Wu et al.ICML 2024 · 77 citations
  3. LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image CollectionsMuhammad Jehanzeb Mirza, Leonid Karlinsky, Wei Lin, Horst Possegger et al.NeurIPS 2023 · 63 citations
  4. Cross-Device Collaborative Test-Time AdaptationGuohao Chen, Shuaicheng Niu, Deyu Chen, Shuhai Zhang et al.NeurIPS 2024 · 18 citations
  5. What, How, and When Should Object Detectors Update in Continually Changing Test Domains?Jayeon Yoo, Dongkwan Lee, Inseop Chung, Donghyun Kim et al.CVPR 2024 · 10 citations

Builds on20

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. 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
  3. 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
  4. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  5. Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 citations

Related papers

  1. 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
  2. MATE: Masked Autoencoders are Online 3D Test-Time LearnersMuhammad Jehanzeb Mirza, Inkyu Shin, Wei Lin, Andreas Schriebl et al.ICCV 2023 · 24 citations
  3. Back to Source: Open-Set Continual Test-Time Adaptation via Domain CompensationYingkai Yang, Chaoqi Chen, Hui HuangCVPR 2026 · 1 citation
  4. Activation Matters: Test-time Activated Negative Labels for OOD Detection with Vision-Language ModelsYabin Zhang, Maya Varma, Yunhe Gao, Jean-Benoit Delbrouck et al.CVPR 2026 · 2 citations
  5. Low-Rank Test-Time Training for Pre-Trained Point Cloud ModelsOuyangzi Ye, Feifei Shao, Kexin Li, Yawei Luo et al.CVPR 2026
Dusk over the sea between two cliffs drawn in fine vertical lines