LAS-CLIP: A Lightweight Adapter Steering Approach for CLIP's Visual Encoder
Anh-Khoa Dinh-Duc, Duc-Tai Dinh, Tam V. Nguyen, Minh-Triet Tran
Abstract
CLIP's visual encoder produces only global image representations, limiting its use in region-level tasks. Existing adaptations rely on visual prompting, input masking, or encoder fine-tuning, each compromising pre-trained representations. We propose LAS-CLIP, a Lightweight Adapter Steering approach that keeps every CLIP parameter frozen. A compact MaskAdapter generates per-head, per-layer attention biases from an input mask and injects them into the frozen self-attention layers, steering attention toward the target region. Crucially, because the backbone remains strictly untouched, LAS-CLIP seamlessly reverts to vanilla CLIP when no mask is provided, preserving its foundational zero-shot capabilities. With approximately 116K to 145K trainable parameters and 100K training samples on two T4 GPUs, LAS-CLIP achieves competitive or superior results compared to Alpha-CLIP on ImageNet-S zero-shot classification and RefCOCO referring expression comprehension, despite the latter fine-tuning its entire encoder on millions of samples. Qualitative analysis further confirms stronger representational fidelity under incorrect masks and in downstream generation.
Create a lesson
Related papers
Concept Generalization in Visual Brain Decoding via Encoder-Generated fMRI
Shared title terminologycs.CVPeter Yongho Kim, Juhyeon Park, Dongsheng Li et al.
Contextual Flow Matching: Adaptive Step Selection in Flow Models for Efficient Visual Generation
Shared title terminologycs.CVDivya Jyoti Bajpai, Arun Verma, Manjesh Kumar Hanawal
WebVibe: Multimodal Interactive Website Generation via Reverse Synthesis and Visual Self-Distillation
Shared title terminologycs.CVTianxiang Jiang, Sheng Xia, Yilin Long et al.
Modality-Shift Contrastive Decoding for Temporally Grounded Audio-Visual Understanding
Shared title terminologycs.CVMinyeong Jeong, Yeonju Kim, Yong Man Ro
HSTTA: Hierarchical Selective Test-Time Adaptation for Label-Free Cross-Subject EEG-to-Image Retrieval
Shared title terminologycs.CVHongzhou Chen, Yuhao Wei, Lianghua He et al.
What Makes a Gavagai? Learning Visual Concepts from One Positive and Few Negatives
Shared title terminologycs.CVKatsuya Ogata, Kazuya Nishimura, Yuta Nakashima