Noise is an Efficient Learner for Zero-Shot Vision-Language Models
Raza Imam, Asif Hanif, Jian Zhang, Khaled Waleed Dawoud, Yova Kementchedjhieva, Mohammad Yaqub
TL;DR
This work tackles the problem of distribution shifts in zero-shot vision-language models by introducing Test-Time Noise Tuning (TNT), which optimizes a learnable noise in the visual input space for a single test sample. TNT jointly minimizes an entropy-based loss and an inter-view consistency loss across augmented views, enabling adaptive feature learning without updating the model weights. By selecting top-$K$ confident views and applying temperature scaling during inference, TNT achieves strong out-of-distribution generalization and improved calibration on natural shift and cross-dataset benchmarks, with substantial gains over zero-shot CLIP. The approach offers a lightweight, non-parametric pathway to robust VLMs and opens avenues for extending noise-adaptive strategies to retrieval and medical-imaging tasks while highlighting future work on memory efficiency.
Abstract
Recently, test-time adaptation has garnered attention as a method for tuning models without labeled data. The conventional modus operandi for adapting pre-trained vision-language models (VLMs) during test-time primarily focuses on tuning learnable prompts; however, this approach overlooks potential distribution shifts in the visual representations themselves. In this work, we address this limitation by introducing Test-Time Noise Tuning (TNT), a novel method for handling unpredictable shifts in the visual space. TNT leverages, for the first time, a noise adaptation strategy that optimizes learnable noise directly in the visual input space, enabling adaptive feature learning from a single test sample. We further introduce a novel approach for inter-view representation alignment by explicitly enforcing coherence in embedding distances, ensuring consistent feature representations across views. Combined with scaled logits and confident view selection at inference, TNT substantially enhances VLM generalization and calibration, achieving average gains of +7.38% on natural distributions benchmark and +0.80% on cross-dataset evaluations over zero-shot CLIP. These improvements lay a strong foundation for adaptive out-of-distribution handling.
