When Adaptation Fails: A Gradient-Based Diagnosis of Collapsed Gating in Vision-Language Prompt Learning

Fang, Yunxuan, Zhang, Ziwei, Wang, Xinhe

–arXiv.org Artificial Intelligence 

Abstract--Adaptive prompting mechanisms have been pro-as a controlled testbed for tracing the path from optimization posed to enhance vision-language models by dynamically tai-dynamics to functional collapse. Across multiple datasets loring prompts to inputs. However, in frozen few-shot prompt (ImageNet [6], Caltech101 [7], EuroSAT [8]) and prompt learning with CLIP-style backbones, we systematically observe learning frameworks (MaPLe [5], CoOp [3], CoCoOp [4]),that adaptive gates and prompt-selection modules often collapse: we identify two recurring failure modes:they produce nearly constant outputs, contribute negligible gradient signals, and frequently fail to outperform fixed prompts. Gradient magnitude imbalance: Gate parameters conTo further explore this issue, we present a systematic diag-sistently receive gradients that are 2-3 orders of magninostic study to uncover the underlying causes and conditions tude smaller than those of prompt parameters, creating anof adaptation failure. Through controlled experiments across optimization barrier that prevents meaningful adaptation.datasets and multiple prompt learning architectures, we identify two recurring failure modes: gradient magnitude imbalance Gate degradation: Both length and depth gates conand gate degradation.