arXiv:2610.03370cs.CVOct 2026

Manuscript Offprint

arXiv:2610.03370

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

Anh-Khoa Dinh-Duc 1^{1} ID^{ID}, Duc-Tai Dinh 1^{1} ID^{ID}, Tam V. Nguyen 2^{2} ID^{ID}, and Minh-Triet Tran 1^{1} ID^{ID}

1^{1} University of Science, Viet Nam National University, Ho Chi Minh City, Vietnam

ddakhoa@selab.hcmus.edu.vn, 23122013@student.hcmus.edu.vn,

tmtriet@fit.hcmus.edu.vn

2^{2} University of Dayton, USA

tamnguyen@udayton.edu

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. Our project page is link to https://github.com/AnhKhoa585/lasclip

Keywords: CLIP, Parameter-Efficient Fine-Tuning, Region-Aware Visual Grounding, Attention Bias Adaptation

1 Introduction

Contrastive Language-Image Pre-training (CLIP) [19] has become a foundational building block for vision-language understanding. By training on hundreds of millions of image-text pairs, CLIP acquires a shared embedding space that enables strong zero-shot transfer across diverse visual recognition tasks. Subsequent work has scaled this paradigm further through larger datasets [2, 10], improved loss formulations [29], and stronger visual backbones [23], solidifying contrastive vision-language models as a core component of modern visual pipelines.

Despite this progress, a fundamental limitation remains: CLIP’s visual encoder produces a single global representation for the entire image. Many practical

Dinh-Duc et al.

applications, including referring expression comprehension, open-vocabulary detection, and subject-driven image generation, require the model to focus on a specific region rather than the whole scene. Bridging this gap between image-level representations and region-level understanding is therefore an important research challenge.

Existing approaches to equip CLIP with region awareness can be broadly grouped into three strategies detailed in Section 2.2, each carrying notable drawbacks. For instance, visual prompting [20,26] introduces a distribution gap by altering pixel content, input masking [14,22] destroys contextual cues, and encoder modification [24] permanently alters the pre-trained weights while demanding large-scale data and substantial computational resources.

In this paper, we propose LAS-CLIP, a Lightweight Adapter Steering approach that adapts CLIP to region-level understanding while keeping every pre-trained parameter frozen. The core idea is a compact MaskAdapter module that takes a binary mask as input and generates per-head, per-layer attention biases. These biases are injected directly into the multi-head self-attention layers of the frozen visual encoder, steering the model's focus toward the mask-specified region without modifying any original weight. Because the backbone remains untouched, LAS-CLIP seamlessly reverts to vanilla CLIP behavior when no mask is provided, a property that encoder modification methods cannot offer. An identity regularization term further controls the drift from CLIP's original representations.

Our contributions are as follows:

– We introduce LAS-CLIP, a parameter-efficient adapter that steers CLIP's visual attention toward user-specified regions through learned attention biases, requiring as few as ∼\sim116K trainable parameters while keeping the entire backbone frozen.

– We design a gated token-mask interaction mechanism that produces attention biases dynamically conditioned on both the spatial mask and current visual tokens. Unlike static or uniform biases that force all attention heads to behave identically, our dynamic gating selectively modulates each head based on its specific semantic role, preserving CLIP's diverse feature representations while achieving precise spatial grounding.

– We demonstrate that LAS-CLIP achieves competitive or superior performance compared to Alpha-CLIP [24] on zero-shot classification and referring expression comprehension benchmarks, despite using only 100K training samples and two T4 GPUs. Qualitative analysis on attention visualization and subject-driven image generation further confirms that the frozen backbone retains stronger representational fidelity.

The remainder of this paper is organized as follows. Section 2 reviews related work on CLIP adaptation and parameter-efficient fine-tuning. Section 3 presents the proposed LAS-CLIP framework, including the MaskAdapter architecture, gated token-mask interaction, training objective, and data preparation pipeline. Section 4 reports experimental results on zero-shot classification, referring expression comprehension, ablation studies, and qualitative analysis. Sec-tion 5 concludes the paper and discusses current limitations and future research directions.

References (34)