Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Muhammad Jehanzeb Mirza, Pol Jan\'e Soneira, Wei Lin, Mateusz Kozinski, Horst Possegger, Horst Bischof• 2022

Related benchmarks

TaskDatasetResultRank
Object DetectionFoggy Cityscapes (test)--
108
Image ClassificationImageNet-C level 5
Avg Top-1 Acc (ImageNet-C L5)66
61
Image ClassificationCIFAR-100C Level 5 (test)
Gaussian Acc39.6
45
Object DetectionCityscapes-C (val)
Defocus15.1
37
Image ClassificationCIFAR-10C level 5 (test)
Mean Error7.7
26
Object DetectionCOCO-C 1.0 (test)
Degradation (Gau)9.1
12
Object DetectionKITTI Continual: Fog → Rain → Snow → Clear (test)
mAP@50 (Fog)53.3
12
Object DetectionSHIFT Discrete
mAP (cloudy)49.8
12
Object DetectionSHIFT Continuous
mAP (clear-fog)15.6
12
Object DetectionKITTI-Rain 200mm/hr rain intensity (test)
AP@50 (Car)94.2
8
Showing 10 of 16 rows

Other info

Code

Follow for update