SPeaR: Test-Time Adaptation with Steering Primitives for Realigning Representations

Muhammad Sudipto Siam Dip, Ali Etemad
9/21/2026
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Test-time adaptation (TTA) addresses distribution shift using only unlabeled test data. Existing methods typically adapt pretrained models by updating their parameters, limiting both what is adapted and where adaptation can occur within the network.

Show full abstract

We instead keep the pretrained network frozen and steer its intermediate representations. We introduce SPeaR (Steering Primitive for Realigning Representations), which inserts lightweight learnable modules at stage boundaries and optimizes them directly from the test stream, requiring neither source data nor supervised warm-up. Each primitive is optimized using a gated objective that reduces uncertainty only when adaptation is beneficial, along with a diversity regularizer to prevent collapse, and a multi-depth anchor to stabilize adaptation. We show that steering early representations is the most effective strategy, and that the same primitive transfers across convolutional and Transformer architectures. Across CIFAR-10-C, CIFAR-100-C, and ImageNet-C, SPeaR consistently matches or outperforms methods that adapt orders of magnitude more parameters, remains robust across a wide range of batch sizes, and preserves source-domain performance during continual adaptation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dip2026spear,
  title  = {SPeaR: Test-Time Adaptation with Steering Primitives for Realigning Representations},
  author = {Muhammad Sudipto Siam Dip and Ali Etemad},
  year   = {2026},
  eprint = {2609.24111},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.24111v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.24111.svg)](https://codeofpaper.com/paper/2609.24111)

Discussion