Layer-Specific Prompt Fusion Discovery via Differentiable Search in Vision Foundation Models
For researchers in parameter-efficient fine-tuning of vision models, this work provides a novel perspective that hybrid fusion schemes can better leverage layer semantics, though the gains are incremental over existing methods.
This paper investigates whether a single fusion scheme for visual prompts in Vision Transformers is optimal, and proposes a differentiable search method to discover layer-specific hybrid fusion schemes. The method achieves consistent gains over prompt-tuning baselines across 34 datasets, with favorable accuracy-latency-parameter trade-offs.
Visual prompt tuning has emerged as a parameter-efficient fine-tuning approach for adapting large-scale Vision Transformers (ViTs) to downstream tasks. As its learnable prompts are applied in input and feature spaces, prior to jointly going through attention in transformer layers, the most commonly used scheme for fusing image and prompt tokens is concatenation or addition. In this paper, we aim to study a fundamental yet essential problem in visual prompt tuning: whether a single fusion scheme tends to yield better results, and whether that would be beneficial to develop a hybrid fusion scheme. To this end, we formulate the task as a bi-level optimization problem, and solve it leveraging differentiable architecture search. In this context, the learnable prompts and their fusion schemes are jointly optimized. To enrich the search space in the architecture search, we propose two additional fusion schemes, namely, affine transformation and cross-attention, in addition to concatenation and addition. Extensive experiments on 34 datasets spanning VTAB-1k, FGVC, and HTA show consistent gains over prompt-tuning baselines. With a frozen ViT backbone, our method delivers a favorable accuracy--latency--parameter trade-off compared with VPT-Deep and recent variants. Our findings reveal that how prompts fuse with image tokens plays a significant role in visual prompt tuning, and a hybrid fusion fashion can more effectively leverage layer semantics of ViTs, contributing a novel perspective for visual prompt-tuning research.