Decoupled Mode Connectivity for Base-to-Novel Generalization in Vision-Language Models
Imad Eddine Marouf, Khalid Oublal, Enzo Tartaglione, Stéphane Lathuilière
Abstract
Prompt learning adapts vision-language models such as CLIP by optimizing a short learnable prompt. The cross-entropy objective pulls this prompt toward base-class specialization, whereas generalization to unseen classes benefits from staying close to CLIP's zero-shot feature space. Because both objectives act on the same prompt, their gradients conflict at convergence, and in our experiments no single-prompt loss design clearly improves on the cosine baseline. We propose Decoupled Mode Connectivity (DMC), which gives each objective its own prompt. Starting from a base-trained prompt, DMC trains a specialization prompt and a generalization prompt, and merges their text features with a fixed coefficient at test time, at the inference cost of a single prompt. A linear mode connectivity (LMC) corridor in text-feature space keeps the classification loss low for every classifier interpolated between the two endpoints, and a Visual Anchor KL term preserves CLIP's zero-shot class-similarity distribution of each image during specialization. We further argue that such regularizers should satisfy class-permutation invariance (CPI), and show via Fano's inequality, in an idealized model, that violating CPI lower-bounds the drop in novel accuracy by a term proportional to the mutual information between the prompt and the base-class labels. Across 11 datasets, DMC improves the average harmonic mean of base and novel accuracy over MergeTune for both CoOp and KgCoOp, and its interpolation curves pass beyond the single-prompt operating point, shifting the base-novel frontier rather than trading along it. Code is available at https://github.com/IemProg/DMC.
Create a lesson
Metadata
- Comments
- Accepted at NeurIPS 2026. 46 pages (10 main + references, appendix and checklist), 15 figures. Project page: https://iemprog.github.io/DMC/ Code:https://github.com/IemProg/DMC
Related papers
VISOR: A Vision-Language Selector for Multimodal Time-Series Forecasting
Shared title terminologycs.CVSeunghan Lee, Jun Seo, Junhyeok Kang et al.
Let Vision-Language Models Generate Images through Their Representations
Shared title terminologycs.CVJB Kim, Byungwoo Jeon, Kyungmin Lee et al.
Where Compositionality Hides: Shared-Content Interference in Vision-Language Retrieval
Shared title terminologycs.CVChimata Anudeep, Harsh Vardhan Poddar
LocateAnyMesh: Grounding 3D Mesh Queries in 2D Images with Vision-Language Models
Shared title terminologycs.CVChris Choy, Zhiding Yu, Jan Kautz
Reaching Is Not Finding: Map-Anchored Visual Prompting for the Last Mile of Aerial Vision-Language Navigation
Shared title terminologycs.CVNingbo Li, Kebin Liu, Jingcan Chen et al.
AgentCT: A Vision-Language Agent for Universal CT Imaging
Shared title terminologycs.CVZhihao Chen, Qi Gao, Chuang Niu et al.