Position Aware Layer Queries for Test Time Training in Vision Language Models
Abstract
Test-Time Training (TTT) adapts models to incoming test samples (e.g. out-of-distribution, (OOD)) when conventional fine-tuning is infeasible. Existing TTT methods for Vision-Language Models (VLMs) create supervision from several augmented views, each requiring forward (and often backward) passes through the entire VLM, incurring substantial computational cost. We observe that one forward pass with all the intermediate layer outputs already yields far more signal than the final embedding from all augmentations. We introduce Layer Query Network (LQN), a lightweight approach that can adapt a frozen VLM (teacher) in a single forward pass of the VLM via a small model (student). LQN uses Position-Aware Distillation (PAD) to mimic the teacher VLM's intermediate-layer spatial tokens by querying spatial coordinates of intermediate tokens. LQN additionally relies on Location Consistency Regularization (LCR), a self-supervision technique, replacing expensive O(H x W) image augmentation with O(1) coordinate sampling. Integrating these, LQN i) adapts and improves zero-shot CLIP ViT-B/16 by 9.8% Top-1 on OOD ImageNet, ii) outperforms the previous best GS-Bias on fine-grained classification by 3.9% Top-1, iii) achieves faster convergence than TPS for CLIP ResNet-50 (47 mins vs 55 mins), iv) generalizes adaptation to VLMs like SigLIP, EVA-CLIP, and CoCa, and lightweight students like MLP, ResNet, VGG, and v) extends to panoptic, instance, and semantic segmentation.
Create a lesson
Related papers
TTRSD: Test-Time Reinforcement Learning with Self-Distillation for Vision-Language Models
Shared title terminologycs.CVShuning Wang, Zhiheng Wu, Xun Zhou et al.
Query, Align, and Distill: Navigation-Aware Cross-Modal Interaction for Efficient Vision-and-Language Navigation
Shared title terminologycs.CVZhihao Chen, Yiyuan Ge, Ziyang Wang et al.
Beyond Reconstruction Loss in Post-Training Quantization: Balanced Fitting for Large Vision-Language Models
Shared title terminologycs.CVMinchan Kang, Kyeonghye Park, Seungyeon Sa et al.
Revitalizing Medical Time Series with Vision-Informed Retrieval: A Vision-Language Perspective
Shared title terminologycs.CVGuoqi Yu, Juncheng Wang, Shujun Wang
VL-AcneSeg: A Vision-Language Framework for Region-Aware Acne Lesion Segmentation
Shared title terminologycs.CVSukju Oh, Soo Ick Cho, Dae Hun Suh et al.
Clinical Trajectory Alignment for Medical Vision-Language Pre-training
Shared title terminologycs.CVHuimin Yan, Xian Yang, Zhi Wang et al.