Neutralizing Token Aggregation via Information Augmentation for Efficient Test-Time Adaptation

Yizhe Xiong, Zihan Zhou, Yiwen Liang, Hui Chen, Zijia Lin, Tianxiang Hao, Fan Zhang, Jungong Han, Guiguang DingarXiv 2025 · DOI

Introduction

Vision Transformers (ViTs) have demonstrated remarkable performance across various computer vision tasks. However, their deployment in real-world scenarios is often hindered by two primary challenges: high computational costs and sensitivity to distribution shifts (e.g., changes in lighting, weather, or image quality). While Test-Time Adaptation (TTA) allows models to update themselves on-the-fly to handle out-of-distribution (OOD) data, the process typically introduces significant latency due to the need for multiple forward and backward passes.

To address the efficiency bottleneck, researchers often employ token aggregation—merging redundant image patches to reduce the workload. However, this leads to a permanent loss of information. Standard TTA methods, which primarily tune normalization layers, are mathematically incapable of recovering this lost information, resulting in a "performance cliff." This paper introduces NAVIA (Neutralizing Token Aggregation via Information Augmentation), a method designed to achieve efficient test-time adaptation (ETTA) by neutralizing the damage caused by token merging through targeted information augmentation.

Methodology: Information Augmentation

NAVIA addresses the information loss inherent in token aggregation by "augmenting" the information within the model, specifically focusing on the [CLS] token.

Extracted figure from page 4 of Neutralizing Token Aggregation via Information Augmentation for Efficient Test-Time Adaptation

The core components of NAVIA include:

  1. Theoretical Foundation: Utilizing mutual information theory, the authors demonstrate that token aggregation strictly decreases the information available about the image label.
  2. [CLS] Embedding Augmentation: Instead of solely tuning normalization layers, NAVIA fine-tunes the initial [CLS] token embedding during adaptation.
  3. Shallow Layer Bias Augmentation: Recognizing that information loss accumulates early, NAVIA introduces learnable bias vectors for the [CLS] token in the first few (shallow) layers of the ViT.
  4. Optimization: These parameters are optimized using entropy minimization to increase model confidence and a feature statistics discrepancy loss to align OOD data features with the original training distribution.

Experimental Setup

The method was evaluated using a ViT-B/16 backbone across four major OOD benchmarks:

  • ImageNet-C: Synthetic corruptions (blur, noise, weather).
  • ImageNet-R: Renditions (art, cartoons, sketches).
  • ImageNet-V2: A robust version of the ImageNet test set.
  • ImageNet-Sketch: Hand-drawn sketches.

Key Insights

  • The "Shallow" Advantage: Tuning the first 4–6 layers is significantly more effective than tuning deeper layers. Addressing information loss early allows the benefits to propagate throughout the network.
  • Information Recovery: The paper provides mathematical proof that optimizing a bias vector via entropy minimization can recover mutual information lost during token aggregation.
  • Efficiency via Proxy: Focusing on the [CLS] token—the primary driver for classification—is a highly efficient way to inject missing information without the overhead of modifying every image token.

Results and Discussion

NAVIA establishes a new state-of-the-art for the trade-off between speed and accuracy in test-time adaptation.

Figure 1: Accuracy vs. Inference Time per batch. NAVIA (red triangles) occupies the Pareto frontier, providing superior accuracy with significantly lower latency compared to existing methods like DeYO, SAR, and CoTTA.
  • Pareto Frontier: NAVIA reduces inference latency by over 20% while maintaining higher accuracy than models that do not use token merging.
  • Superior Accuracy: On ImageNet-C, NAVIA outperformed existing methods like Tent, SAR, and DeYO by approximately 2.5% to 5% across various compression levels.
  • Robustness: While other methods experience performance collapses at high compression rates (e.g., merging 8 tokens per layer), NAVIA's accuracy remains stable, with drops of less than 1%.

Conclusion and Future Work

NAVIA demonstrates that information augmentation in shallow layers can effectively neutralize the negative impacts of token aggregation. While highly effective, the method exhibits some sensitivity to the learning rates of [CLS] biases. Future work may explore the applicability of this approach to deeper or hierarchical Transformer architectures like Swin or DeiT, and further optimize the computational requirements for deployment on extremely low-power edge devices.

Summary updated

BibTeX
@misc{xiong2025neutralizing,
  author = {Yizhe Xiong and Zihan Zhou and Yiwen Liang and Hui Chen and Zijia Lin and Tianxiang Hao and Fan Zhang and Jungong Han and Guiguang Ding},
  title = {{Neutralizing Token Aggregation via Information Augmentation for Efficient Test-Time Adaptation}},
  year = {2025},
  eprint = {2508.03388},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03388},
}
Figure