arXiv:2610.36870cs.LGOct 2026

Manuscript Offprint

arXiv:2610.36870

Tail Cues, Principal Corrections: Plug-and-Play Rectification for Open-Set Test-Time Adaptation

Yingkai Yang, Chaoqi Chen, Hui Huang

Abstract

Open-Set Test-Time Adaptation (OSTTA) operates on non-stationary target streams where covariate and semantic shifts coexist. Existing TTA methods often obtain adaptation signals by updating model parameters or maintaining mutable memories, which can be costly and vulnerable to unknown samples. We present TALOR, a lightweight, backward-free rectification module that uses the source linear head as a geometric anchor. The head-induced basis decomposes each normalized feature into high-gain principal coordinates and low-gain tail coordinates. TALOR estimates a soft-routed affine correction in the principal subspace, combining a regime-level principal bias with a tail-conditioned slope that captures sample-level tail-to-principal coupling. Using weighted ridge regression, it subtracts this drift estimate from the principal coordinates, reconstructs the feature and feeds it into the source head. On the ImageNet-C benchmark with six csOOD datasets, TALOR outperforms the next-best UniEnt by 2.2% H-score while running 2.5×2.5 \times faster and using only 12% of its GPU memory; as a post-correction plug-in, it further boosts COME to 68.4% H-score with only 2% additional memory overhead. Code is available at https://github.com/ekyle0522/TALOR.

1 Introduction

Modern recognition systems are increasingly deployed in non-stationary environments, where test inputs may drift away from the source distribution and may also contain previously unseen semantics. Test-Time Adaptation (TTA) [6, 39, 51, 22, 3, 35, 13, 42, 24, 12] aims to improve robustness using unlabeled test data at deployment time. Open-Set TTA further requires adapting to covariate-shifted in-distribution (csID) samples while simultaneously rejecting covariate-shifted out-of-distribution (csOOD) samples [11]. This setting is challenging for common TTA strategies: gradient updates and cache-based modules rely on online adaptation signals that can be distorted by unknown samples, while their additional optimization or memory overhead can be undesirable in real-time deployment. These limitations motivate a lightweight alternative that corrects the test-time representation itself without updating model parameters.

A domain shift is expressed not only in the input space but also in the latent space. When the feature direction deviates from the source geometry, even a small displacement can damage predictions if it lies along directions that the classifier amplifies. This suggests that feature correction should not be treated as an unconstrained high-dimensional update: the linear head already identifies latent space directions to which its outputs are most sensitive. This observation raises a feature-level question:

Can the response of latent features to domain shift be approximated from the unlabeled non-stationary stream and then removed without updating the model?

∗^{*}Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Runtime–performance–memory comparison of TALOR and representative baselines. Circle size denotes GPU usage. The dashed line marks Source+TALOR: even as a standalone plug-in, it surpasses existing methods while using the least runtime and memory. When attached to other TTA methods, TALOR substantially improves their performance with only marginal additional budgets.

Most classification models end with a linear head h(v)=Wv+bh(v) = Wv + b, which is usually kept fixed during test-time adaptation to preserve the source semantic decision boundary. We observe that this fixed head is not merely a readout layer. It induces a task-aligned coordinate system over penultimate features, and we use its singular spectrum to partition the axes into high-gain and low-gain components. Concretely, the dominant right-singular vectors of W form a principal subspace: changes along these axes are magnified by large singular values and therefore can strongly affect logits, margins, and confidence. The remaining basis vectors form a tail subspace: they have lower direct gain under the classifier, but remain sensitive to target shifts. In online batches, the principal coordinates can contain a removable domain response: a shared principal mean together with sample-specific deviations that are statistically predictable from tail coordinates. We call the latter coupling tail-to-principal leakage. This leads to a latent view of adaptation: domain shift displaces features relative to the geometry assumed by the fixed source head, and adaptation should restore their compatibility with this geometry.

Building on this motivation, we propose TALOR (Test-time Adaptation via Linear Online Rectification), a plug-and-play rectification module inserted between the backbone feature and the linear head. TALOR uses the head to decompose normalized features into high-gain principal coordinates and low-gain tail coordinates. It then treats the principal coordinates as correction targets and the tail coordinates as shift-sensitive cues, estimating an affine principal drift online in mixed csID/csOOD streams. The rectified feature is then evaluated by the unchanged source head. TALOR is lightweight because it avoids backward passes, augmentation loops, and long-horizon caches. It is also composable: since it only post-corrects features, it can be applied to a frozen source model or stacked on top of backbone-updating TTA methods as a stabilizing post-correction (Fig. 1).

Our contributions are summarized as follows:

• We identify a head-induced feature structure for OSTTA: domain shift induces a removable response in classifier-amplified principal coordinates, while low-gain tail coordinates provide shift-sensitive cues for estimating this response.

• We propose TALOR, a plug-and-play, backward-free rectification module that couples this classifier-head-induced sensor–target decomposition with soft-routed, tail-conditioned estimation of affine principal drift, removing the drift before the unchanged source head without source data or source statistics.

• TALOR is lightweight and broadly effective: it surpasses next-best UniEnt as a standalone method by 2.2% H-score, boosts COME by 4.7% with only 2% memory overhead, and generalizes beyond open-set adaptation to closed-set and dynamic continual protocols.

References (54)