Skip to content

Dynamic Duos for Reliable Test-Time Adaptation: Two Models are Better than One

Alexandre St-Aubin, Evan Shelhamer

cs.LG

Abstract

Test-time adaptation (TTA) updates a model on unlabeled test data to improve accuracy under distribution shift. However, a major obstacle to deploying TTA is that it can also reduce accuracy, and most TTA methods give no signal of failure. We show how to adapt Asymmetric Duos, which pair a larger model with a smaller model, for more reliable adaptation with minimal overhead. We find that a Duo is already more robust than its members even without adaptation. Adapting both members of the Duo can raise accuracy further, but one model can collapse while the other stays accurate, and the Duo's fixed combination keeps trusting both. We propose Dynamic Duos, which replace the Duo's fixed combination with a gate that re-weights the members on every batch using a label-free reliability estimate. We extend gating to resetting by using the same estimate to restore a collapsed member to its source weights while its partner keeps adapting. Dynamic Duos are compatible with any TTA update rule. On ImageNet-C with Tent, Dynamic Duos help most where adaptation fails: they gain 5.55.5 points over a fixed combination for a Duo whose small member collapses. Where adaptation succeeds, Independent Dynamic Duos stay within 0.20.2 points of the fixed combination on every corruption. On continual ImageNet-C, Dynamic Duos that Reset outperform or match scheduled resets and other baselines on all settings we evaluate.

Create a lesson

Metadata

Categories
cs.LG, cs.CV