arXiv:2610.06147cs.CVOct 2026

Manuscript Offprint

arXiv:2610.06147

Efficient Test-time Adaptation through Candidate Verification and Divergence Shifts

Seungmin Oh, Seunghun Kang, Jongbin Ryu

Abstract

Vision-language models (VLMs) achieve strong zero-shot transferability but remain vulnerable to target-domain shifts at inference time. Test-time adaptation (TTA) offers a practical remedy, yet most existing VLM-TTA methods follow a prediction-side adaptation paradigm. They use test samples to adjust logits, prototypes, caches, priors, or feature statistics, often incurring additional computational overhead. In this paper, we take a different perspective and reframe VLM-TTA as candidate verification rather than prediction adjustment. We propose Test-Time Correction (TTC), a hypothesis-based correction framework guided by a simple principle: hypothesize, reconstruct, correct. Given a test feature and its top-k candidate labels, TTC treats each candidate label as a hypothesis, reconstructs the feature within the corresponding latent subspace stored in a memory bank, and measures the resulting divergence shift. This shift quantifies how much the candidate subspace and its relations to other candidates change after the hypothetical insertion of the test feature. A correct candidate hypothesis induces only a small shift, whereas an incorrect one perturbs the subspace more strongly. TTC therefore corrects the prediction by selecting the candidate with the minimum aggregated divergence shift. This training-free candidate-verification mechanism avoids iterative optimization and provides a favorable accuracy-efficiency trade-off. Across five TTA settings and 15 benchmark datasets, including zero-shot classification, domain generalization, few-shot classification, base-to-novel generalization, and cross-dataset evaluation, TTC consistently improves accuracy over state-of-the-art VLM-TTA methods while achieving up to 2× speedup, over 3× lower CPU memory usage, and up to 1.4× lower GPU memory usage than the lowest-memory training-free baseline. 2^{2}

1 Introduction

Vision-language models (VLMs) [2, 16, 21, 29, 33, 40] have shown strong zero-shot transferability across diverse visual recognition tasks by aligning image and text representations in a shared embedding space. However, they remain vulnerable to target-domain shifts, including changes in style, texture, viewpoint, and data distribution. Test-time adaptation (TTA) has therefore emerged as a practical strategy for improving VLM predictions at inference time using only unlabeled test samples.

Existing VLM-based TTA methods adapt different components of the prediction pipeline. Early approaches [1, 11, 22, 23, 31, 32, 38, 44–46] optimize learnable prompts or feature representations, often using multiple augmented views of each test sample. Recent training-free methods [12, 17, 49] reduce this overhead through cache retrieval, prototype refinement, or distribution modeling. Despite their differences, most methods share the same principle. They use test samples to adjust logits, prototypes, or feature statistics, mainly adapting on the prediction side.

∗^{*}Corresponding author.

2^{2}Our code is available at https://github.com/mmai-laboratory/ttc

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

In this work, we take a different perspective. Rather than using test samples to adjust predictions, we verify whether the test sample is geometrically compatible with each candidate class. Given a test feature and its top-k candidate labels, we treat each candidate as a hypothesis and examine whether its class subspace can accommodate the test feature with minimal perturbation. This reframes TTA as candidate verification rather than prediction adjustment. To instantiate this idea, we propose Test-Time Correction (TTC), a hypothesis-based correction framework for VLM-TTA. TTC follows a simple principle: hypothesize, reconstruct, correct. It first selects the top-k candidates from the original VLM prediction. For each candidate hypothesis, TTC reconstructs the test feature within the corresponding latent subspace stored in a memory bank and measures the resulting divergence shift. This shift quantifies how much the candidate subspace and its relations to other candidate subspaces change after the hypothetical insertion. If the hypothesis is correct, the insertion should induce only a small shift; otherwise, it should perturb the subspace more strongly. TTC then corrects the prediction by selecting the candidate with the minimum aggregated divergence shift.

This candidate-verification view distinguishes TTC from prior VLM-TTA methods. Unlike confidence-based approaches, TTC does not assume that high logits remain reliable under domain shift. It explicitly tests whether each candidate class subspace can accommodate the test feature with minimal structural perturbation. The divergence-shift criterion is motivated by subspace perturbation analysis [8, 18, 41]. Adding an in-class sample should preserve the corresponding class subspace, whereas adding an out-of-class sample should cause a larger perturbation. Since TTC operates only over a small top-k candidate set and avoids iterative optimization or heavy test-time processing, it offers a favorable accuracy-efficiency trade-off, achieving up to 2×2\times speedup and over 3×3\times lower CPU memory usage than prior VLM-TTA methods while retaining a distinctive candidate-verification mechanism. Across five TTA settings and 15 benchmark datasets, TTC consistently improves accuracy while maintaining competitive inference efficiency and low memory usage. These results show that candidate verification is an effective alternative to conventional prediction-side adaptation. Our contributions are as follows:

• We propose Test-Time Correction (TTC), a hypothesis-based correction framework that reframes VLM-TTA as candidate verification rather than prediction-side adaptation.

• We introduce divergence shift, a perturbation-based criterion that verifies each candidate label by measuring how stably the test feature can be reconstructed within the corresponding candidate subspace after its hypothetical insertion into that subspace.

• We demonstrate that TTC achieves a favorable accuracy-efficiency trade-off, attaining state-of-the-art performance with up to 2×2\times speedup, over 3×3\times lower CPU memory, and up to 1.4×1.4\times lower GPU memory than the most efficient training-free baselines.

References (45)