English

SpecPL: Disentangling Spectral Granularity for Prompt Learning

Computer Vision and Pattern Recognition 2026-05-07 v1 Artificial Intelligence Computation and Language Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2605.04504,
  title  = {SpecPL: Disentangling Spectral Granularity for Prompt Learning},
  author = {Jingtao Zhou and Xirui Kang and Feiyang Huang and Lai-Man Po},
  journal= {arXiv preprint arXiv:2605.04504},
  year   = {2026}
}
R2 v1 2026-07-01T12:52:10.156Z