cs.CVMar 1, 2026

DeAR: Fine-Grained VLM Adaptation by Decomposing Attention Head Roles

Authors: Yiming Ma, Hongkun Yang, Lionel Z. Wang, Bin Chen, Weizhi Xian, Jianzhi Teng

Organizations: Chongqing Research Institute of Harbin Institute of Technology, China · Ocean University of China, China · The Hong Kong Polytechnic University, Hong Kong SAR · Harbin Institute of Technology (Shenzhen), China

Abstract

Prompt learning is a dominant paradigm for adapting pre-trained Vision-Language Models (VLMs) to downstream tasks. However, existing methods often rely on a simplistic, layer-centric view, assuming shallow layers capture general features while deep layers handle task-specific knowledge. This assumption results in uncontrolled interactions between learnable tokens and original tokens. Task-specific knowledge could degrades the model's core generalization and creates a trade-off between task adaptation and the preservation of zero-shot generalization. To address this, we challenge the layer-centric view and propose DeAR, a framework that achieves fine-grained VLM adaptation by Decomposing Attention head Roles. We posit that the functional specialization within VLMs occurs not between layers, but at the finer-grained level of individual attention heads in the deeper layers. Based on this insight, we introduce a novel metric, Concept Entropy, to systematically classify attention heads into distinct functional roles: Attribute, Generalization, and Mixed. Guided by these roles, we introduce specialized attribute tokens and a Role-Based Attention Mask mechanism to precisely control information flow, ensuring generalization heads remain isolated from task-specific knowledge. We further incorporate a Task-Adaptive Fusion Strategy for inference. Extensive experiments on fifteen datasets show that DeAR achieves a strong balance between task adaptation and generalization, outperforming previous methods across various tasks.

Figures & tables

Explore similar work

CardsList
  1. Rethinking Fine-Tuning: Unlocking Hidden Capabilities in Vision-Language Models

    Dec 28, 2025Mingyuan Zhang, Yue Bai, Yifan Wang +2Fine-TuningVLM Adaptation

  2. Towards Fine-Grained Robustness: Attention-Guided Test-Time Prompt Tuning for Vision-Language Models

    May 19, 2026Jia-Wei Hai, Yijun Wang, Xiu-Shen WeiVLM RobustnessAdversarial Attacks on VLMs

  3. From Inference to Adaptation: A Unified Optimal Transport View of Vision Language Model

    Aug 18, 2026Qi Yu, Zhichen Zeng, Katherine Tieu +8VLM AdaptationTest-Time Adaptation of VLMs