通过分离视觉频谱细节提升提示学习,让模型更精准区分细微差异。
SpecPL: Disentangling Spectral Granularity for Prompt Learning

- 用冻结VAE分解图像为语义低频与细节高频成分
- 高频信号置换训练使模型学会区分细节与语义,准确率达81.51%
- 可即插即用,适配现有文本导向提示方法
现有视觉语言模型的提示学习存在模态不对称问题,主要优化文本词元,却仍依赖冻结的视觉编码器作为整体特征提取器,忽视了细粒度区分所必需的频谱粒度。为此,我们提出谱粒度解耦提示学习(SpecPL),从新频谱视角出发,采用反事实粒度监督。具体地,利用冻结的变分自编码器(VAE)将视觉信号分解为语义低频成分和颗粒化高频细节;冻结的视觉语义库将文本表示锚定于通用低频不变量,缓解过拟合;关键在于,通过置换高频信号进行反事实训练,迫使模型显式区分视觉粒度与语义不变性。独特之处在于,SpecPL作为通用即插即用增强模块,通过视觉侧引导重振以文本为导向的基线方法(如CoOp、MaPLe)。在11个基准测试上实验表明,其性能达到81.51%的调和平均准确率,创下新纪录。结果验证了谱粒度解耦结合反事实监督能有效弥合稳定性与泛化性的权衡缺口。
原文摘要 · Abstract (English)
Existing prompt learning for VLMs exhibits a modality asymmetry, predominantly optimizing text tokens while still relying on frozen visual encoder as holistic extractor and neglecting the spectral granularity essential for fine-grained discrimination. To bridge this, we introduce Disentangling Spectral Granularity for Prompt Learning (SpecPL), which approaches prompt learning from a novel spectral perspective via Counterfactual Granule Supervision. Specifically, we leverage a frozen VAE to decompose visual signals into semantic low-frequency bands and granular high-frequency details. A frozen Visual Semantic Bank anchors text representations to universal low-frequency invariants, mitigating overfitting. Crucially, fine-grained discrimination is driven by counterfactual granule training: by permuting high-frequency signals, we compel the model to explicitly distinguish visual granularity from semantic invariance. Uniquely, SpecPL serves as a universal plug-and-play booster, revitalizing text-oriented baselines like CoOp and MaPLe via visual-side guidance. Experiments on 11 benchmarks demonstrate competitive state-of-the-art performance, achieving a new performance ceiling of 81.51\% harmonic-mean accuracy. These results validate that spectral disentanglement with counterfactual supervision effectively bridges the gap in the stability-generalization trade-off. Code is released at https://github.com/Mlrac1e/SpecPL-Prompt-Learning.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。