betaFeedback

WorksComputer Science

Decoupled Mode Connectivity for Base-to-Novel Generalization in Vision-Language Models

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.

Introduction

Vision-language models such as CLIP [14] acquire broad zero-shot recognition through large-scale pretraining on image-text pairs, and prompt learning [Zhou et al., 2022b,a, Yao et al., 2023, Khattak et al., 2023a,b, Yang et al., 2024] adapts these models to downstream tasks with very few additional parameters. This adaptation comes with a tension between two objectives: supervised training on base classes pushes the learned prompt toward base-class discriminative directions, while generalization to unseen (novel) classes benefits from keeping the prompt close to CLIP’s pretrained feature space. Fine-tuning on base classes thus erodes part of CLIP’s zero-shot ability to recognize the novel classes, which are absent from the fine-tuning data.

Existing methods address this tension with regularizers that anchor the prompt to the zero-shot model. Cosine penalties pull the learned text features toward CLIP’s frozen text features [21, 16]; self-distillation constraints preserve CLIP’s predictions during fine-tuning [10, 15]; and linear mode connectivity (LMC) paths enforce smooth transitions between fine-tuned and zero-shot solutions [16]. These designs differ in form, but share a common structure: a single prompt optimized under a sum of cross-entropy and a regularization term. We argue that this shared structure, not the choice of regularizer, is the bottleneck. At a converged single prompt, the gradients of the two terms point in opposing directions on all eight dataset–baseline pairs we measure (four datasets, CoOp and KgCoOp; Figure 4), so the prompt sits at a compromise where reweighting the terms only moves along a trade-off. Consistently, none of seven single-prompt variants we test, including Fisher-weighted regularization and self-distillation, improves on the cosine baseline by clearly more than retuning its weight (Appendix § 12).

Figure 4. Gradient conflict at convergence. ρ=cos⁡(∇cLCE,∇cR)\rho= \cos(\nabla_c \mathcal{L}_{\mathrm{CE}}, \nabla_c \mathcal{R}) at the converged single-prompt checkpoint, averaged over the full training set. ρ<0\rho< 0 on every dataset-baseline pair; Flowers102 shows the strongest conflict (ρ≈−0.95\rho\approx-0.95 for CoOp).

We propose Decoupled Mode Connectivity (DMC), which changes the parameterization instead of the loss. DMC builds on MERGETUNE [16], a continued-training stage that refines a fine-tuned prompt with cross-entropy, a cosine regularizer toward CLIP’s zero-shot text features, and an LMC path back to the fine-tuned model. DMC replaces this single refined prompt with two: a specialization prompt cspecc_{\mathrm{spec}} trained with cross-entropy and a generalization prompt cgenc_{\mathrm{gen}} trained with the regularizer. Each can then move toward its own optimum, and an LMC corridor in CLIP’s text-feature space makes every mixture of the two a good base-class classifier. At test time, DMC merges the two text features once with a fixed coefficient, so inference costs the same as with a single prompt. Unlike post-hoc interpolation such as WiSE-FT [18] or training-free merging [19, 22], the two prompts are trained jointly so that the path between them has low loss; training-free merging lowers HM in our experiments (§ 4.2). Figure 1 illustrates this geometry on Flowers102.

Figure 1. Decoupled Mode Connectivity on Flowers102 (joint CE loss landscape). The 2D plane in CLIP text-feature space is anchored at fw1f_{w_1} (zero-shot CLIP); the x-axis spans toward f^w2\hat{f}_{w_2} (fine-tuned CoOp checkpoint) and the y-axis is the Gram–Schmidt orthogonal component of fgenf_{\mathrm{gen}} (text features of DMC’s converged generalization prompt) relative to fw1f_{w_1}. Each grid point is re-normalized per class before the joint base+novel CE loss is evaluated; construction details in Appendix § 14. Before DMC (left): the single-prompt baseline traces the linear path; the inset shows the base–novel trade-off, with base and novel accuracies crossing over as α\alpha varies. During DMC (middle): the two prompts start collapsed at f^w2\hat{f}_{w_2} (epoch 0) and separate during training. After DMC (right): the converged DMC corridor lies inside the low-loss valley, with the operating point at α=0.20\alpha= 0.20 marked by the star; the inset confirms base and novel accuracies are both high and stable along the corridor.

Freed from the cosine regularizer, the specialization prompt still needs a way to retain CLIP’s knowledge. We argue that any regularizer used for this should be class-permutation invariant (CPI): it should not depend on which classes happen to be in the base set, because it must transfer to classes it never sees. The cosine regularizer is CPI but would pull cspecc_{\mathrm{spec}} back to the zero-shot features; in an idealized model a CPI violation lower-bounds the drop in novel accuracy. Following this principle, DMC regularizes cspecc_{\mathrm{spec}} with a label-free Visual Anchor (VA), a KL term that preserves CLIP’s zero-shot class-similarity distribution of each image.

Our contributions are:

  1. We introduce Decoupled Mode Connectivity (DMC), which assigns the specialization and generalization objectives to two prompts coupled by an LMC corridor in CLIP’s text-feature space, at the inference cost of a single prompt (Section 3).

  1. We argue that regularizers should satisfy class-permutation invariance (CPI), show in an idealized model that a CPI violation lower-bounds the drop in novel accuracy (Proposition 1), and use this principle to design the Visual Anchor.

  1. Across 11 datasets, DMC improves the average harmonic mean (HM) of base and novel accuracy over MERGETUNE by +0.78 (CoOp) and +0.33 (KgCoOp), with gains on 9 and 8 of the 11 datasets, and its interpolation curves pass beyond the single-prompt operating point (Section 4, Figure 2).

Figure 2. Empirical interpolation curves on Caltech101, SUN397, UCF101, and EuroSAT (CoOp base, 3-seed mean). Each curve traces the family of classifiers from fgenf_{\mathrm{gen}} (α=0\alpha=0, near zero-shot) to fspecf_{\mathrm{spec}} (α=1\alpha=1, fully specialized). Solid: DMC (full method); dashed: DMC w/o VA. Gray dots mark the MERGETUNE baseline; blue stars mark the operating point; the green arrow shows the shift from baseline to operating point. The boxed Δ\DeltaHM value reports the gap (operating point vs. baseline), read off the seed-averaged curves; it can differ from Table 1 by up to 0.23 HM.

The gains require the two prompts to stay distinct. On the adapter-based MMA [20], their text features nearly coincide (cos ≈ 0.99) and the regularizer and VA no longer help, which delimits the scope of DMC (Appendix § 15).

Prompt learning for vision-language models. Prompt learning adapts frozen vision-language models by optimizing continuous prompt vectors instead of discrete templates. CoOp [25] introduced learnable text prompts for CLIP, achieving strong few-shot performance on base classes at the cost of novel-class generalization. CoCoOp [24] addressed this by conditioning prompts on image features, improving transferability but adding inference overhead. MaPLe [9] extended prompting to both vision and language branches, improving cross-modal alignment. PromptSRC [10] introduced self-regularization constraints that preserve pretrained knowledge during adaptation. KgCoOp [21] added a cosine penalty between learned and hand-crafted prompt features. More recently, CoPrompt [15] enforced consistency between trainable and pretrained predictions. All these methods optimize a single set of prompts under a combined loss, and face the trade-off between base specialization and novel generalization that we target.

Regularization for base-to-novel generalization. The base-to-novel setting requires the fine-tuned model to generalize to classes unseen during training. Prior approaches regularize the learned representation toward the pretrained model: PromptSRC [10] constrains prompt, feature, and logit spaces simultaneously. MERGETUNE [16] combines an isotropic cosine score with a linear mode connectivity path to merge zero-shot and fine-tuned solutions. Fisher-based approaches [11] weight regularization by parameter importance but introduce class-specific bias, which we show violates class-permutation invariance; a Fisher-weighted cosine brings no gain beyond retuning the cosine weight (Appendix § 16). A common limitation is that all single-prompt methods enforce competing objectives on the same parameters. Multi-task gradient analysis methods such as PCGrad [23] manage such conflicts by modifying gradient updates, but still optimize a single shared prompt. DMC instead assigns the two objectives to separate prompts.

Model merging and mode connectivity. Garipov et al. [2018] and Draxler et al. [2018] established that independently trained solutions can be connected by low-loss paths in weight space. Practical methods built on this insight: WISE-FT [18] interpolates between zero-shot and fine-tuned weights; model soups [17] average multiple fine-tuned checkpoints; task arithmetic [8] composes task-specific weight vectors through addition and subtraction; TIES-Merging [19] and DARE [22] resolve parameter interference during merging. These methods operate in weight space and merge models after training. By contrast, DMC merges in text-feature space and trains the LMC corridor as an objective, so both endpoints are optimized jointly for corridor quality.

Method

Background and Problem Statement

CLIP prompt learning. CLIP [14] encodes images and text into a shared ℓ2\ell_2-normalized embedding space via frozen visual and text encoders VV and TT. An image xx is classified by computing cosine similarities between its visual feature v=ℓ2(V(x))v = \ell_2(V(x)) and the text features {fk=ℓ2(T(pk))}k=1C\{f_k = \ell_2(T(p_k))\}_{k=1}^{C}, where pkp_k is a text prompt for class kk. Prompt learning [25] replaces hand-crafted templates with a learnable prompt c∈RN×d\mathbf{c} \in\mathbb{R}^{N \times d}, shared across all classes, and optimizes it on base-class data while keeping both encoders frozen. Throughout, we write ℓ2(⋅)\ell_2(\cdot) for row-wise ℓ2\ell_2-normalization, fw1=ℓ2(T(phand))∈RC×Df_{w_1}=\ell_2(T(p_{\mathrm{hand}}))\in\mathbb{R}^{C\times D} for the zero-shot text features obtained from hand-crafted templates, and γ\gamma for CLIP’s learned logit scale. A prompt c\mathbf{c} induces the text features f(c)=ℓ2(T(c))f(\mathbf{c})=\ell_2(T(\mathbf{c})), whose row fkf_k is the feature of class kk; fgenf_{\mathrm{gen}} and fspecf_{\mathrm{spec}} denote the features of the two DMC prompts.

Single-prompt training and MERGETUNE. Let w^2\widehat{\mathbf{w}}_2 denote the prompt of a model (CoOp or KgCoOp) fine-tuned on base classes, with induced features fw^2=ℓ2(T(w^2))f_{\widehat{w}_2}=\ell_2(T(\widehat{\mathbf{w}}_2)). The generalization regularizer R\mathcal{R} anchors the learned features to the zero-shot features fw1f_{w_1} by measuring their mean cosine misalignment:

R(f,fw1)=1−1C∑k=1Ccos⁡(fk,fw1,k).(1)\mathcal{R}(f,f_{w_1})=1-\frac{1}{C}\sum_{k=1}^{C}\cos(f_k,f_{w_1,k}). \tag*{(1)}

R\mathcal{R} is defined on any normalized text-feature matrix f∈RC×Df\in\mathbb{R}^{C\times D}; single-prompt training uses f=f(c)f=f(\mathbf{c}). MERGETUNE [16] continues training from w^2\widehat{\mathbf{w}}_2. It learns a prompt c\mathbf{c} that combines R\mathcal{R} with cross-entropy and a linear mode connectivity (LMC) term:

LMERGETUNE(c)=LCE(f(c))+λR(f(c),fw1)+βEαLCE(ℓ2(fw^2+α(f(c)−fw^2)))(2)\mathcal{L}_{\mathrm{MERGETUNE}}(\mathbf{c})=\mathcal{L}_{\mathrm{CE}}(f(\mathbf{c}))+\lambda\mathcal{R}(f(\mathbf{c}),f_{w_1})+\beta\mathbb{E}_{\alpha}\mathcal{L}_{\mathrm{CE}}\left(\ell_2\left(f_{\widehat{w}_2}+\alpha\left(f(\mathbf{c})-f_{\widehat{w}_2}\right)\right)\right) \tag*{(2)}

where LCE\mathcal{L}_{\mathrm{CE}} is cross-entropy on base-class training data, R\mathcal{R} is the cosine regularizer from Eq. (1), and the third term enforces a low-loss LMC path from fw^2f_{\widehat{w}_2} to f(c)f(\mathbf{c}). The weight λ\lambda balances specialization against generalization and β\beta weights the LMC path; DMC reuses these terms, with the corridor redefined between its two prompts, and writes the regularizer weight as λgen\lambda_{\mathrm{gen}}.

One prompt, two objectives. Specializing for base classes moves the text features away from their zero-shot positions, and R\mathcal{R} pulls them back. With one shared prompt c\mathbf{c}, both gradients act on the same parameters, and they conflict: at the converged MERGETUNE prompt, the cosine ρ\rho between ∇cLCE\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}} and ∇cR\nabla_{\mathbf{c}}\mathcal{R} is negative on all eight dataset–baseline pairs we measure (Figure 4). Every stationary point of LCE+λR\mathcal{L}_{\mathrm{CE}}+\lambda\mathcal{R} satisfies ∇cLCE=−λ∇cR\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}}=-\lambda\nabla_{\mathbf{c}}\mathcal{R}, which gives the following lemma (proof in Appendix § 20).

Lemma 1 (Pareto stationarity of single-prompt solutions). Let LCE\mathcal{L}_{\mathrm{CE}} and R(⋅,fw1)\mathcal{R}(\cdot,f_{w_1}) be continuously differentiable in c\mathbf{c} (we write LCE(c)\mathcal{L}_{\mathrm{CE}}(\mathbf{c}) and R(c,fw1)\mathcal{R}(\mathbf{c},f_{w_1}) for LCE(f(c))\mathcal{L}_{\mathrm{CE}}(f(\mathbf{c})) and R(f(c),fw1)\mathcal{R}(f(\mathbf{c}),f_{w_1})), and let c∗\mathbf{c}^* be a stationary point of L(c)=LCE(c)+λR(c,fw1)\mathcal{L}(\mathbf{c})=\mathcal{L}_{\mathrm{CE}}(\mathbf{c})+\lambda\mathcal{R}(\mathbf{c},f_{w_1}) for some λ>0\lambda>0. Then c∗\mathbf{c}^* is Pareto-stationary for the bi-objective problem (LCE,R)(\mathcal{L}_{\mathrm{CE}},\mathcal{R}): no direction in RN×D\mathbb{R}^{N\times D} simultaneously decreases both objectives to first order. If additionally ∇cLCE(c∗)≠0\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}}(\mathbf{c}^*)\ne0 and ∇cR(c∗)≠0\nabla_{\mathbf{c}}\mathcal{R}(\mathbf{c}^*)\ne0, then neither objective is individually minimized at c∗\mathbf{c}^*.

Changing λ\lambda, or replacing R\mathcal{R} by another regularizer, therefore only selects another compromise inside the same prompt. The lemma does not show that two prompts do better; we show this empirically: none of seven single-prompt variants improves on the baseline by clearly more than retuning $\lambda ({xref}Appendix E), while DMC does on CoOp and KgCoOp ({xref}Section 4`).

A scalar model shows what decoupling changes (Appendix § 10). With one parameter and two quadratic objectives minimized at a≠ba\ne b, every weighting gives a point between aa and bb that minimizes neither objective. With one parameter per objective, each reaches its own minimum, and interpolating between the two recovers every single-parameter compromise, so the trade-off becomes a choice of an interpolation coefficient at test time instead of a choice of λ\lambda at training time. In the high-dimensional prompt space, the interpolation path between two prompts need not follow the single-prompt path, so it can also reach points that no single prompt reaches; Figure 2 measures this.

Decoupled Mode Connectivity

DMC replaces the continued training of one prompt in MERGETUNE with two prompts, one per objective, both initialized from w^2\widehat{\mathbf{w}}_2:

  • Specialization prompt cspec\mathbf{c}_{\mathrm{spec}}: trained by cross-entropy on base-class data, without the cosine pull toward fw1f_{w_1}, and regularized only by the label-free Visual Anchor (below).

  • Generalization prompt cgen\mathbf{c}_{\mathrm{gen}}: trained by R\mathcal{R} to stay close to fw1f_{w_1}. It is learned rather than fixed to fw1f_{w_1}, because the learned endpoint keeps discriminative structure that the zero-shot features lack (§ 4.3).

Neither prompt receives both endpoint losses, so each can move toward its own optimum. For the adapter-based MMA [20], the two endpoints are two copies of its adapters; only their text features are interpolated, and images are encoded once with the specialization adapters.

Coupling the prompts: the LMC corridor. Two independently trained prompts give two unrelated classifiers. DMC couples them with an LMC corridor that requires low classification loss at every re-normalized convex combination of their text features. Because classification scores are v⊤fkv^\top f_k and TT is nonlinear, a linear path between prompts is not a linear path between classifiers, so the corridor operates in text-feature space:

f~(α)=ℓ2(fgen+α(fspec−fgen)),α∈[0,1].(3)\tilde{f}(\alpha) = \ell_2\left(f_{\mathrm{gen}} + \alpha\left(f_{\mathrm{spec}} - f_{\mathrm{gen}}\right)\right), \qquad\alpha\in[0,1]. \tag*{(3)}

The full DMC objective is

LDMC=LCE(fspec)+λVALVA+λgenR(fgen,fw1)+βEα∼U[0,1]LCE(f~(α)),(4)\mathcal{L}_{\mathrm{DMC}} = \mathcal{L}_{\mathrm{CE}}(f_{\mathrm{spec}}) + \lambda_{\mathrm{VA}}\mathcal{L}_{\mathrm{VA}} + \lambda_{\mathrm{gen}}\mathcal{R}(f_{\mathrm{gen}}, f_{w_1}) + \beta\mathbb{E}_{\alpha\sim U[0,1]}\mathcal{L}_{\mathrm{CE}}(\tilde{f}(\alpha)), \tag*{(4)}

where LVA\mathcal{L}_{\mathrm{VA}} is defined in Eq. (5) below. The corridor term (LLMC\mathcal{L}_{\mathrm{LMC}} in Algorithm 1) is the only coupling: it passes gradients, including cross-entropy gradients, to both prompts, while the endpoint losses act on one prompt each. Sampling α\alpha over the whole interval trains every point of the corridor to classify base data well, so the classifier deployed at test time was itself optimized during training. At inference, α\alpha is fixed to αfix=0.20\alpha_{\mathrm{fix}} = 0.20, selected on two development datasets (§ 4.1); a small value keeps the classifier close to fgenf_{\mathrm{gen}}, which favors novel classes. The merged features f~(αfix)\tilde{f}(\alpha_{\mathrm{fix}}) are computed once, so inference costs the same as with a single prompt. Figure 1 shows this geometry on Flowers102: fgenf_{\mathrm{gen}} and fspecf_{\mathrm{spec}} separate during training, and the converged corridor lies inside a low-loss region of the cross-entropy landscape that the path from zero-shot to the fine-tuned CoOp checkpoint does not reach.

Regularizing cspecc_{\mathrm{spec}}: class-permutation invariance. Without R\mathcal{R}, cross-entropy alone tends to widen the angles between classes to maximize the base-class margin, which discards the smaller similarities that fw1f_{w_1} encodes between related classes. Which regularizer should replace R\mathcal{R} on cspecc_{\mathrm{spec}}? It must transfer to classes it never sees, so it should not depend on which classes are in the base set. We formalize this as class-permutation invariance (CPI).

Definition 1 (Class-permutation invariance). A regularizer R(f,fw1)\mathcal{R}(f, f_{w_1}) is class-permutation invariant (CPI) if

R(Πf,Πfw1)=R(f,fw1)\mathcal{R}(\Pi f, \Pi f_{w_1}) = \mathcal{R}(f, f_{w_1})

for every C×CC \times C permutation matrix Π\Pi, where f∈RC×Df \in\mathbb{R}^{C\times D} is the text-feature matrix with rows indexed by class.

Proposition 1 (CPI violation lower-bounds the novel-accuracy drop; informal). Let cc be the learned prompt of a training procedure that uses a regularizer R\mathcal{R}, and c⋆c^\star the learned prompt of the same procedure with R\mathcal{R} replaced by a CPI regularizer. Under four idealized assumptions, if R\mathcal{R} violates CPI, the novel-class accuracy of cc is lower than that of c⋆c^\star by at least I(c;Ybase)/log⁡∣Ynovel∣>0I(c;Y_{\mathrm{base}})/\log|Y_{\mathrm{novel}}| > 0, where I(c;Ybase)I(c;Y_{\mathrm{base}}) is the mutual information between the prompt and a uniformly drawn base label.

Appendix § 20.2 gives the formal statement and proof (where the prompt is written θ\theta), and Appendix § 16.5 discusses when the assumptions fail. Empirically, the non-CPI regularizers we measure violate the symmetry by orders of magnitude more than the CPI ones, the one we trained (Fisher-weighted cosine) gives no gain beyond retuning λ\lambda, and CPI alone does not guarantee transfer (Appendix § 16). The cosine regularizer weights all classes equally:

Corollary 1 (Cosine regularizer satisfies CPI). The cosine regularizer R\mathcal{R} in Eq. (1) satisfies Definition 1. It uses no image labels, so R\mathcal{R} itself adds no base-label information to the prompt it regularizes.

Visual Anchor. We regularize cspecc_{\mathrm{spec}} with the Visual Anchor (VA), a CPI regularizer that preserves CLIP’s zero-shot class-similarity distribution of each image without using its label. For each training image xx, let va=ℓ2(V(aug⁡(x)))v_a = \ell_2(\mathrm{V}(\operatorname{aug}(x))) and vb=ℓ2(V(aug⁡′(x)))v_b = \ell_2(\mathrm{V}(\operatorname{aug}'(x))) denote frozen visual features of two

Algorithm 1 Decoupled Mode Connectivity (DMC)

Require: Base-class data Dbase\mathcal{D}_{\mathrm{base}}, frozen CLIP encoders VV, TT, zero-shot features fw1f_{w_1}, fine-tuned checkpoint w^2\hat{w}_2, hyperparameters λgen\lambda_{\mathrm{gen}}, λVA\lambda_{\mathrm{VA}}, β\beta, τ\tau, inference coefficient αfix\alpha_{\mathrm{fix}} (we use λgen=8\lambda_{\mathrm{gen}}=8, λVA=0.5\lambda_{\mathrm{VA}}=0.5, β=4\beta=4, τ=2\tau=2, αfix=0.20\alpha_{\mathrm{fix}}=0.20)

Ensure: Test-time classifier

INITIALIZATION

1: cspec←w^2c_{\mathrm{spec}} \leftarrow\hat{w}_2, cgen←w^2c_{\mathrm{gen}} \leftarrow\hat{w}_2 ▷ Both initialized from the fine-tuned checkpoint 2: Freeze VV, TT, w^2\hat{w}_2; mark only cspecc_{\mathrm{spec}}, cgenc_{\mathrm{gen}} as learnable

TRAINING

3: for each mini-batch (x,y)∼Dbase(x,y) \sim\mathcal{D}_{\mathrm{base}} do 4: fspec←ℓ2(T(cspec))f_{\mathrm{spec}} \leftarrow\ell_2(T(c_{\mathrm{spec}})), fgen←ℓ2(T(cgen))f_{\mathrm{gen}} \leftarrow\ell_2(T(c_{\mathrm{gen}})), va←ℓ2(V(aug⁡(x)))v_a \leftarrow\ell_2(V(\operatorname{aug}(x))), vb←ℓ2(V(aug⁡′(x)))v_b \leftarrow\ell_2(V(\operatorname{aug}^{\prime}(x))) 5: Compute LCE\mathcal{L}_{\mathrm{CE}} and LVA\mathcal{L}_{\mathrm{VA}} from fspecf_{\mathrm{spec}} (VA also uses fw1f_{w_1}, vav_a, vbv_b) ▷ Eqs. (4), (5) 6: Compute R\mathcal{R} from fgenf_{\mathrm{gen}} ▷ Eq. (1) 7: Sample α∼U[0,1]\alpha\sim U[0,1]; compute LLMC\mathcal{L}_{\mathrm{LMC}} from f~(α)\tilde{f}(\alpha) via Eq. (3) ▷ Eq. (4), couples both 8: LDMC←LCE+λVALVA+λgenR+βLLMC\mathcal{L}_{\mathrm{DMC}} \leftarrow\mathcal{L}_{\mathrm{CE}}+\lambda_{\mathrm{VA}}\mathcal{L}_{\mathrm{VA}}+\lambda_{\mathrm{gen}}\mathcal{R}+\beta\mathcal{L}_{\mathrm{LMC}} ▷ Eq. (4) 9: Update cspecc_{\mathrm{spec}}, cgenc_{\mathrm{gen}} via ∇LDMC\nabla\mathcal{L}_{\mathrm{DMC}} 10: end for

INFERENCE (test image xx)

11: fspec←ℓ2(T(cspec))f_{\mathrm{spec}} \leftarrow\ell_2(T(c_{\mathrm{spec}})), fgen←ℓ2(T(cgen))f_{\mathrm{gen}} \leftarrow\ell_2(T(c_{\mathrm{gen}})) ▷ Recompute from final trained prompts 12: f~←ℓ2(fgen+αfix(fspec−fgen))\tilde{f} \leftarrow\ell_2(f_{\mathrm{gen}}+\alpha_{\mathrm{fix}}(f_{\mathrm{spec}}-f_{\mathrm{gen}})) ▷ Merge endpoints once; αfix=0.20\alpha_{\mathrm{fix}}=0.20 13: return y^=arg⁡max⁡kγf~kTℓ2(V(x))\hat{y}=\arg\max_k \gamma\tilde{f}_k^{\mathsf{T}}\ell_2(V(x))

independently augmented views. VA penalizes the KL divergence between the class-similarity distributions induced by fw1f_{w_1} (zero-shot) and fspecf_{\mathrm{spec}}:

LVA=ExKL⁡(σ(γfw1vaτ) ∥ σ(γfspecvbτ))(5)\mathcal{L}_{\mathrm{VA}}=\mathbb{E}_x\operatorname{KL}\left(\sigma\left(\frac{\gamma f_{w_1}v_a}{\tau}\right)\,\middle\|\,\sigma\left(\frac{\gamma f_{\mathrm{spec}}v_b}{\tau}\right)\right) \tag*{(5)}

where fw1va∈RCf_{w_1}v_a \in\mathbb{R}^{C} denotes the vector of inner products [fw1,kTva]k=1C[f_{w_1,k}^{\mathsf{T}}v_a]_{k=1}^{C} (likewise for fspecvbf_{\mathrm{spec}}v_b), σ(⋅)\sigma(\cdot) is the softmax function, γ\gamma puts both logit vectors on CLIP’s zero-shot scale, and τ\tau is a distillation temperature that softens both distributions. Permuting the classes permutes both distributions in the same way and leaves the KL unchanged, so VA satisfies CPI. Proposition 2 (Appendix § 20.4) relates this two-view loss to the single-view case va=vbv_a=v_b. Algorithm 1 summarizes the full procedure.

Experiments

Setup

Datasets and protocol. We follow the base-to-novel generalization protocol of Zhou et al. [ [25]. Each dataset’s classes are split into base (seen) and novel (unseen) halves. Models are trained on 16-shot base-class data and evaluated on both base and novel test sets. We report Base accuracy, Novel accuracy, and their Harmonic Mean (HM), HM=2 Base⋅Novel/(Base+Novel)\mathrm{HM}=2\ \mathrm{Base}\cdot\mathrm{Novel}/(\mathrm{Base}+\mathrm{Novel}), which is high only when both accuracies are high. MERGETUNE and DMC rows are means over 3 seeds (DMC at α=0.20\alpha=0.20 and its best base-validation checkpoint; MERGETUNE evaluates its final prompt) (std in Table 4); prior-work rows are the published numbers. We evaluate on 11 benchmarks: ImageNet, Caltech101, OxfordPets, StanfordCars, Flowers102, Food101, FGVCAircraft, SUN397, DTD, EuroSAT, and UCF101.

Table 4: Seed variability for every row we trained ourselves: HM mean ±\pm sample standard deviation over 3 seeds (DMC at α=0.20\alpha= 0.20; MERGETUNE at its final prompt). Per-cell companion to Table 1, which reports the same runs as means. Cells with σHM>1\sigma_{\mathrm{HM}} > 1 are bold and flagged as seed-fragile.

DatasetCoOp +MERGETUNECoOp +DMCKgCoOp +MERGETUNEKgCoOp +DMCMMA +MERGETUNEMMA +DMC
ImageNet72.89 ±\pm 0.1872.90 ±\pm 0.1872.82 ±\pm 0.1073.09 ±\pm 0.2673.15 ±\pm 0.1072.90 ±\pm 0.01
Caltech10196.27 ±\pm 0.2696.41 ±\pm 0.1595.94 ±\pm 0.0396.11 ±\pm 0.0895.75 ±\pm 0.1695.74 ±\pm 0.16
OxfordPets96.13 ±\pm 0.6696.04 ±\pm 0.2996.28 ±\pm 0.1096.23 ±\pm 0.3593.22 ±\pm 0.1193.38 ±\pm 0.01
StanfordCars73.38 ±\pm 0.3775.21 ±\pm 0.1074.90 ±\pm 0.2975.38 ±\pm 0.2470.16 ±\pm 0.2470.51 ±\pm 0.04
Flowers10283.92 ±\pm 0.5784.47 ±\pm 0.5883.39 ±\pm 0.2783.67 ±\pm 0.3375.22 ±\pm 0.4076.37 ±\pm 0.23
Food10191.05 ±\pm 0.1191.13 ±\pm 0.1591.08 ±\pm 0.1191.19 ±\pm 0.1090.18 ±\pm 0.0690.33 ±\pm 0.09
FGVCAircraft33.33 ±\pm 0.4235.23 ±\pm 1.3734.10 ±\pm 1.3533.17 ±\pm 0.9032.72 ±\pm 0.1033.10 ±\pm 0.04
SUN39777.85 ±\pm 0.3578.75 ±\pm 0.5478.03 ±\pm 0.5378.85 ±\pm 0.0376.70 ±\pm 0.1777.12 ±\pm 0.12
DTD64.26 ±\pm 1.9363.53 ±\pm 1.3762.66 ±\pm 2.8364.34 ±\pm 1.1358.07 ±\pm 0.6859.62 ±\pm 0.13
EuroSAT73.45 ±\pm 3.8175.75 ±\pm 3.6573.44 ±\pm 4.0373.38 ±\pm 3.1659.57 ±\pm 0.4860.57 ±\pm 0.45
UCF10178.42 ±\pm 1.1380.07 ±\pm 1.4778.08 ±\pm 0.9078.90 ±\pm 0.9473.59 ±\pm 0.2175.11 ±\pm 0.45
Average76.4577.2376.4376.7672.5873.16

Table 4.

Baselines. We compare against prompt learning methods: CoOp [25], Co-CoOp [24], KgCoOp [21], MaPLe [9], PromptSRC [10], MMA [20]; methods using external knowledge: Co-Prompt [15], ATPrompt [12]; and model merging baselines: TIES [Yadav et al., 2023], DARE [22]. MERGETUNE [16] is a continued fine-tuning stage applied post hoc to existing parameter-efficient fine-tuning (PEFT) methods. DMC replaces this stage: it starts from the same fine-tuned checkpoint and trains two prompts instead of one.

Implementation details. All methods use a CLIP ViT-B/16 backbone. DMC trains two prompts initialized from a fine-tuned CoOp, KgCoOp, or MMA checkpoint, with 4×5124 \times512 parameters per prompt on the prompt-tuning baselines (∼2\sim2K parameters per prompt). Training hyperparameters: λgen=8.0\lambda_{\mathrm{gen}} = 8.0, β=4.0\beta= 4.0, λVA=0.5\lambda_{\mathrm{VA}} = 0.5, τ=2.0\tau= 2.0; learning rate and epochs follow MERGETUNE’s defaults; batch size in Appendix J. The interpolation coefficient α\alpha is sampled uniformly from [0,1][0,1] at every training step. At inference we use a single fixed α=0.20\alpha= 0.20, selected on Flowers102 and Caltech101, which are also included in all reported averages. On the eight held-out datasets (ImageNet excluded), α=0.20\alpha= 0.20 is on average 0.18 HM below the per-dataset oracle (Appendices J and K). The choice is not specific to this pair: over all 55 two-dataset development pairs, 47 select an α\alpha in [0.15,0.25][0.15, 0.25], and 54 stay within 0.50 HM of the oracle on their held-out datasets (Table 18). Only the interpolated text feature f~(α)\tilde{f}(\alpha) is used, so DMC adds no per-image inference cost over a single-prompt method. Training adds only the second prompt (4,096 trainable parameters in total): one run on Flowers102 (100 epochs, batch size 128, as in the ablations; the main runs use 32) takes 15 min 34 s and 5.9 GB of peak memory on a single A100 (Appendix J). The β\beta sweep is in Appendix L.1.

Table 18: Dev-set reshuffle robustness for CoOp+DMC. For each of the (112)=55\binom{11}{2}=55 ways to pick a 2-dataset dev subset, we choose the fixed α\alpha that minimizes the mean gap-to-oracle on the dev pair, then measure the mean gap-to-oracle on the remaining 9 held-out datasets. The paper’s dev pair is Flowers102+Caltech101. Gaps are to the oracle of the seed-averaged α\alpha-curve (Table 17).

Statistic over 55 dev pairsValue
Pairs that pick α⋆∈[0.15,0.25]\alpha^\star\in[0.15, 0.25]47/55 (85%)
Pairs that pick α⋆≤0.10\alpha^\star\le0.10 or ≥0.35\ge0.352/55 (4%)
Pairs with held-out mean gap ≤0.30\le0.30 HM47/55 (85%)
Pairs with held-out mean gap ≤0.50\le0.50 HM54/55 (98%)
Mean held-out gap across 55 pairs0.17 HM
Median held-out gap across 55 pairs0.15 HM
Best pair: EuroSAT+SUN397 (α⋆=0.20\alpha^\star=0.20)0.08 HM
Worst pair: Food101+ImageNet (α⋆=0.45\alpha^\star=0.45)1.19 HM

Table 18.

Base-to-novel generalization

We apply DMC to three fine-tuning baselines (CoOp, KgCoOp, MMA) and compare it with the MERGETUNE continued-training stage and with two training-free merging methods (TIES, DARE). Table 1 reports HM on 11 datasets; Base and Novel accuracies are in Appendix A. In Table 3 (best-of-3-seed rows, Appendix A), DMC raises Base and Novel together over MERGETUNE on 9 of 11 datasets for CoOp, so the CoOp HM gains mostly come from a Pareto shift. For KgCoOp this holds on only 4 of 11 datasets, and the gain comes mainly from Base. MMA also raises both on 8 of 11, but its two DMC endpoints collapse (see below). For MMA, both MERGETUNE and DMC remain below the published MMA; for KgCoOp, DMC roughly matches the published KgCoOp (+0.05 HM when both are averaged over per-dataset HMs), while MERGETUNE stays below it. Figure 2 shows DMC’s interpolation curves on four datasets.

MethodAvgINCalPetsCarsFloFoodAirSUNDTDEuroUCF
CLIP (ICML 21)71.7070.2295.4094.1268.6574.8390.6631.0972.2356.3760.0373.85
CoOp (IJCV 22)71.6671.9293.7394.4768.1374.0685.1928.7572.5154.2468.6967.46
KgCoOp (CVPR 23)77.0172.7896.0396.1873.3683.6591.1034.8378.3664.3573.4879.66
MaPLe (CVPR 23)78.5573.4796.0296.5873.4782.5691.3836.5079.7568.1682.3580.77
PromptSRC (ICCV 23)79.9774.0196.0296.3076.5885.9591.1040.1580.5271.7582.3282.74
MMA (CVPR 24)79.8774.0296.1596.7275.7085.4890.7138.3380.3873.3883.8782.20
CoPrompt† (ICLR 24)80.4874.3396.5596.8775.6685.7191.4039.7681.3072.7985.8483.07
CoOp + ATPrompt† (ICCV 25)74.6573.3395.7495.6771.5879.7788.0932.5274.2458.2271.9673.45
CoOp + TIES (NeurIPS 23)66.3265.6092.5092.5660.5669.2788.0229.5462.7048.4058.4058.30
CoOp + DARE (ICML 24)70.5968.9393.6794.8464.5774.9287.5031.0366.4757.0467.3966.28
CoOp + MERGETUNE (ICLR 26)76.4572.8996.2796.1373.3883.9291.0533.3377.8564.2673.4578.42
CoOp + DMC (Ours)77.2372.9096.4196.0475.2184.4791.1335.2378.7563.5375.7580.07
KgCoOp + TIES (NeurIPS 23)72.5670.9395.8395.2369.7373.3990.9129.8673.4656.9367.0274.18
KgCoOp + DARE (ICML 24)75.1771.7895.9794.7370.3379.3391.0231.8576.1262.0172.1978.71
KgCoOp + MERGETUNE (ICLR 26)76.4372.8295.9496.2874.9083.3991.0834.1078.0362.6673.4478.08
KgCoOp + DMC (Ours)76.7673.0996.1196.2375.3883.6791.1933.1778.8564.3473.3878.90
MMA + TIES (NeurIPS 23)69.4169.6693.7792.1765.0872.0789.3128.6567.5651.6366.8065.60
MMA + DARE (ICML 24)71.8170.2793.7092.9668.0173.9288.7229.2572.0257.7470.1770.78
MMA + MERGETUNE (ICLR 26)72.5873.1595.7593.2270.1675.2290.1832.7276.7058.0759.5773.59
MMA + DMC (Ours)73.1672.9095.7493.3870.5176.3790.3333.1077.1259.6260.5775.11

Table 1. Base-to-novel HM on 11 datasets. MERGETUNE and DMC: mean over 3 seeds (α=0.20\alpha= 0.20). Bold: better of MERGETUNE and DMC within each base method. Avg: mean of the 11 per-dataset HMs for our runs; for published, TIES and DARE rows, HM of the average Base and Novel, as in Table 3. †: uses LLM or teacher-model knowledge.

Table 3. Base, Novel and HM on 11 datasets. For the MERGETUNE and DMC rows we report the best of 3 seeds, so these numbers are higher than, and not directly comparable with, the 3-seed means of Table 1, which are the headline results; prior-work rows are published numbers. Parentheses: average-HM change relative to the base method. †: Using large language model or teacher model’s knowledge.

MethodAverage BaseAverage NovelAverage HMImageNet BaseImageNet NovelImageNet HMCaltech101 BaseCaltech101 NovelCaltech101 HMOxfordPets BaseOxfordPets NovelOxfordPets HM
CLIP (ICML 21)69.3474.2271.7072.4368.1470.2296.8494.0095.4091.1797.2694.12
CoOp (IJCV 22)82.6963.2271.6676.4767.8871.9298.0089.8193.7393.6795.2994.47
KgCoOp (CVPR 23)80.7373.6177.0175.8369.9672.7897.7294.3996.0394.6597.7696.18
MaPLe (CVPR 23)82.2875.1478.5576.6670.5473.4797.7494.3696.0295.4397.7696.58
PromptSRC (ICCV 23)84.2676.1079.9777.6070.7374.0198.1094.0396.0295.3397.3096.30
MMA (CVPR 24)83.2076.8079.8777.3171.0074.0298.4094.0096.1595.4098.0796.72
CoPrompt† (ICLR 24)84.0077.2380.4877.6771.2774.3398.2794.9096.5595.6798.1096.87
CoOp + ATPrompt† (ICCV 25)82.6868.0474.65 (+2.99)76.2770.6073.3397.9593.6395.7494.7796.5995.67
CoOp + TIES (NeurIPS 23)66.9565.7166.32 (-5.34)70.0961.6565.6093.6391.3492.5090.1295.1392.56
CoOp + DARE (ICML 24)75.9165.9770.59 (-1.07)74.2564.3268.9396.3691.1293.6793.4196.3394.84
CoOp + MERGETUNE (ICLR 26)80.8273.9777.24 (+5.58)75.9669.9172.8197.9194.6596.2595.0997.7596.40
CoOp + DMC (Ours)83.6774.8979.04 (+7.38)76.1369.9372.9098.3295.4196.8495.3798.3296.82
KgCoOp + TIES (NeurIPS 23)73.0372.0972.56 (-4.45)74.0668.0670.9397.2794.4395.8393.9996.5195.23
KgCoOp + DARE (ICML 24)78.1572.4175.17 (-1.84)75.1068.7371.7897.5394.4795.9792.2297.3794.73
KgCoOp + MERGETUNE (ICLR 26)81.8574.4677.98 (+0.97)76.4969.3572.7597.8794.9196.3795.3297.7696.53
KgCoOp + DMC (Ours)83.5874.1978.61 (+1.60)76.3270.1273.0998.1994.9896.5695.4397.8296.61
MMA + TIES (NeurIPS 23)70.3968.4669.41 (-10.46)73.1666.4869.6695.3692.2393.7791.2493.1192.17
MMA + DARE (ICML 24)74.2569.5271.81 (-8.06)74.1766.7670.2794.9592.4993.7090.5295.5392.96
MMA + MERGETUNE (ICLR 26)70.5975.0772.76 (-7.11)73.6869.0271.2797.4894.4395.9390.0196.9293.34
MMA + DMC (Ours)72.1475.5273.79 (-6.08)76.4171.0673.6497.4894.4395.9390.0697.2093.49

Training-free merging. On average, TIES and DARE reduce HM relative to the fine-tuned baseline: CoOp loses 5.34 and 1.07 HM, KgCoOp 4.45 and 1.84, and MMA 10.46 and 8.06. Training-free merging therefore cannot replace the trained corridor.

Comparison with MERGETUNE. In the same pipeline, DMC improves HM over MERGETUNE on 9 of 11 datasets for CoOp and 8 of 11 for KgCoOp. The largest gains are on EuroSAT (+2.30), FGVC-Aircraft (+1.90) and StanfordCars (+1.83) for CoOp. Every CoOp and KgCoOp regression is within seed variance. Averaged over the 11 datasets, the gain is +0.78 HM (CoOp), +0.33 (KgCoOp) and +0.58 (MMA).

Dependence on the base method. The average gain is smallest on KgCoOp, whose built-in cosine regularization already anchors the prompt to zero-shot features, and largest on CoOp, which has no such anchor. This is a method-level pattern only: per dataset, the magnitude of the gradient conflict does not predict the gain (Pearson r=−0.05r = -0.05, Appendix § 11). StanfordCars, where zero-shot CLIP is weak, improves for all three baselines.

When does DMC help? DMC helps only if the two endpoints stay apart. If fgen≈fspecf_{\mathrm{gen}} \approx f_{\mathrm{spec}}, every f~(α)\tilde{f}(\alpha) is the same classifier. In the runs of Table 1, cos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) averages 0.628 (CoOp) and 0.704 (KgCoOp) over 10 datasets (ImageNet not measured). On MMA, an adapter-based method, it averages 0.996 and exceeds 0.99 on 9 of 10 datasets (Table 10). The two endpoints collapse, so the corridor has almost no effect on MMA. MMA+DMC still gains 0.58 HM over MMA+MERGETUNE, but these gains do not track the remaining separation. Both stay below published+MMA on every dataset, and the component ablation on MMA removes or reverses every gain of R\mathcal{R} and VA seen on CoOp (Appendix § 15).

DatasetCoOp + DMCKgCoOp + DMCMMA + DMC
Caltech1010.608 ± 0.0650.919 ± 0.0341.000 ± 0.000
OxfordPets0.785 ± 0.0540.971 ± 0.0221.000 ± 0.000
StanfordCars0.673 ± 0.0380.701 ± 0.0090.999 ± 0.000
Flowers1020.542 ± 0.0300.606 ± 0.0270.997 ± 0.002
Food1010.741 ± 0.0070.987 ± 0.0140.999 ± 0.000
FGVCAircraft0.514 ± 0.0580.521 ± 0.0051.000 ± 0.000
SUN3970.720 ± 0.0300.888 ± 0.0400.940 ± 0.009
DTD0.377 ± 0.1420.348 ± 0.0431.000 ± 0.000
EuroSAT0.490 ± 0.1470.684 ± 0.1061.000 ± 0.000
UCF1010.550 ± 0.0700.561 ± 0.0361.000 ± 0.000
Average0.6000.7190.993

Table 10. Endpoint-collapse diagnostic for DMC. We report cos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}), the cosine similarity between the two DMC endpoints (class text features, averaged over classes) at the evaluated best-validation checkpoint, as 3-seed mean ± sample std. Runs: λgen=8\lambda_{\mathrm{gen}} = 8, β=4\beta= 4, without VA; with VA (the runs of Table 1) the averages are 0.628, 0.704 and 0.996, with SUN397 again the only MMA dataset below 0.99 (0.964). Values close to 1.0 mean the two endpoints have collapsed to the same solution, so the linear connector degenerates and the α\alpha-sweep is flat. CoOp and KgCoOp endpoints remain distinct on every dataset (maximum 0.987). MMA endpoints exceed 0.99 on 9 of 10 datasets (all but SUN397, at 0.940); this collapse delimits DMC’s scope: on MMA it cannot close the gap to published MMA (Section 4).

Interpolation curves. DMC’s interpolation curve passes northeast of the single-prompt operating point on every panel of Figure 2. The single-prompt MERGETUNE point does not reach these (Base, Novel) points, consistent with Lemma 1: rescaling λ\lambda only moves a shared prompt along its Pareto-stationary set.

Ablation study

DMC component analysis. Table 2 toggles one component per row on four datasets. The anchor R\mathcal{R} is what makes decoupling work: without it, both prompts collapse to the same base-specialized solution (Appendix § 19.2) and DMC falls below MERGETUNE on every dataset, so a second prompt alone does not explain the gain. With R\mathcal{R}, DMC beats single-prompt MERGETUNE on three of four datasets (+1.47 on Flowers102); the EuroSAT gap (−0.40-0.40) is within its seed spread (±4\pm4). VA is a small refinement, positive on two of four datasets. HM plateaus for λgen≥4\lambda_{\mathrm{gen}} \ge4 (Appendix § 19.2).

MethodCER\mathcal{R}LMCVAFlowers102 HMΔ\DeltaCaltech101 HMΔ\DeltaStanfordCars HMΔ\DeltaEuroSAT HMΔ\DeltaAverage HMΔ\Delta
CoOp✓80.51±1.5480.51\pm1.54—94.42±0.6094.42\pm0.60—71.98±0.7071.98\pm0.70—71.18±5.7571.18\pm5.75—79.52—
MERGETUNE w/o R\mathcal{R}✓✓78.19±2.4078.19\pm2.40−2.3294.43±1.8994.43\pm1.89+0.0171.04±1.2171.04\pm1.21−0.9473.39±4.9373.39\pm4.93+2.2179.26−0.26
MERGETUNE✓✓✓82.86±0.1782.86\pm0.17+4.6796.03±0.2196.03\pm0.21+1.6073.60±0.0273.60\pm0.02+2.5673.45±3.4873.45\pm3.48+0.0681.48+2.22
DMC w/o R\mathcal{R}✓✓78.66±1.4378.66\pm1.43−4.2094.60±0.4194.60\pm0.41−1.4370.23±1.8970.23\pm1.89−3.3768.79±3.7268.79\pm3.72−4.6678.07−3.42
DMC w/o VA✓✓✓83.91±0.4683.91\pm0.46+5.2596.25±0.0496.25\pm0.04+1.6573.97±0.4473.97\pm0.44+3.7473.24±0.9673.24\pm0.96+4.4581.84+3.77
DMC (Ours)✓✓✓✓84.33±0.8484.33\pm0.84+0.4296.15±0.3896.15\pm0.38−0.1074.28±0.5274.28\pm0.52+0.3173.05±4.0273.05\pm4.02−0.1981.95+0.11

Table 2. Component ablation (HM, 3 seeds, β=4\beta= 4 for all rows; batch size 128, whereas Table 1 uses 32, so values differ from it). Δ\Delta: change from the row above; bold: best per column. Rows without R\mathcal{R} omit VA.

Capacity and view controls. DMC uses two 2K-parameter prompts; a single CoOp prompt with Nctx=16N_{\mathrm{ctx}} = 16 (8K parameters) still trails CoOp+DMC on all four datasets, by 1.07 to 5.07 HM (Table 7).

MethodFlowers102Caltech101StanfordCarsEuroSAT
CoOp (nctx=4n_{\mathrm{ctx}} = 4, from Table 1)74.0693.7368.1368.69
CoOp (nctx=8n_{\mathrm{ctx}} = 8)77.84 ±0.36\pm0.3692.19 ±3.20\pm3.2068.35 ±1.23\pm1.2369.95 ±4.91\pm4.91
CoOp (nctx=16n_{\mathrm{ctx}} = 16)79.40 ±1.50\pm1.5095.34 ±0.64\pm0.6470.21 ±1.05\pm1.0572.29 ±9.52\pm9.52
CoOp + DMC (Ours)84.47 ±0.58\pm0.5896.41 ±0.15\pm0.1575.21 ±0.10\pm0.1075.75 ±3.65\pm3.65

Table 7. Extra single-prompt capacity does not match CoOp+DMC. Base-to-novel harmonic mean (HM) on four datasets. We train CoOp with enlarged context length nctx∈{8,16}n_{\mathrm{ctx}} \in\{8, 16\} using the same protocol as the standard nctx=4n_{\mathrm{ctx}} = 4 CoOp; nctx=16n_{\mathrm{ctx}} = 16 gives a single prompt with 16×512=819216 \times512 = 8192 tunable parameters, strictly larger than the 2×4×512=40962 \times4 \times512 = 4096 parameters of CoOp+DMC. Values are mean ±\pm sample standard deviation over 3 seeds; the nctx=4n_{\mathrm{ctx}} = 4 row is the single number reported in the main paper. CoOp+DMC still leads on every dataset; on EuroSAT the margin is within the seed spread.

For VA, neither the second augmented view nor the augmentation policy matters much: all variants lie within about 1 HM of each other, mostly within one seed standard deviation (Table 8 and Table 9).

ConfigurationFlowers102Caltech101
HMΔ\DeltaHMΔ\Delta
No VA83.91 ±0.46\pm0.46—96.25 ±0.04\pm0.04—
Single-view VA84.23 ±0.16\pm0.16+0.3296.26 ±0.25\pm0.25+0.01
Two-view VA (default)84.17 ±0.84\pm0.84−0.0696.41 ±0.15\pm0.15+0.15

Table 8. Decomposing the Visual Anchor (VA) benefit into KL anchoring vs. augmentation consistency. No VA disables the term entirely. Single-view VA: the student branch sees the raw image and the teacher branch one train-transform view; this is the closest variant to the single-view case of Proposition 2, which it matches exactly only without augmentation (preset none in Table 9). Two-view VA is the default used in all reported experiments: both branches see independent train-transform views. Δ\Delta is the HM change relative to the row above. All cells at α=0.20\alpha= 0.20, β=4.0\beta= 4.0, 3 seeds. Trainer: CoOp + DMC. No VA is from the component-ablation runs (batch size 128); the VA rows use batch size 32, so the first Δ\Delta also includes the batch-size change.

PresetFlowers102Caltech101
BaseNovelHMBaseNovelHM
none96.65 ±0.64\pm0.6473.88 ±0.74\pm0.7483.74 ±0.70\pm0.7097.89 ±0.32\pm0.3294.36 ±0.33\pm0.3396.09 ±0.30\pm0.30
weak96.68 ±0.17\pm0.1775.44 ±0.27\pm0.2784.75 ±0.14\pm0.1497.96 ±0.38\pm0.3894.58 ±0.71\pm0.7196.24 ±0.24\pm0.24
default97.02 ±0.79\pm0.7974.32 ±1.10\pm1.1084.17 ±0.84\pm0.8498.13 ±0.30\pm0.3094.76 ±0.55\pm0.5596.41 ±0.15\pm0.15
strong97.12 ±0.24\pm0.2474.73 ±0.84\pm0.8484.46 ±0.53\pm0.5398.23 ±0.20\pm0.2094.58 ±0.28\pm0.2896.37 ±0.13\pm0.13

Table 9. Sensitivity of CoOp + DMC to the visual-anchor augmentation preset. Presets are: none (raw image, no augmentation), weak (mild crop and jitter, no grayscale), default (the paper setting: RandomResizedCrop 0.7–1.0, HorizontalFlip 0.5, ColorJitter 0.4/0.4/0.2/0.1, RandomGrayscale 0.1), and strong (aggressive crop 0.2–1.0, strong jitter, RandomGrayscale 0.2). All cells are evaluated at α=0.20\alpha= 0.20 and reported as mean ±\pm sample standard deviation over 3 seeds. Trainer: CoOp + DMC.

Is the learnable generalization prompt necessary? As discussed in § 3.2, fgenf_{\mathrm{gen}} retains task-discriminative structure from the CoOp initialization while recovering zero-shot geometry, making it a stronger interpolation endpoint than the fixed zero-shot features fw1f_{w_1}. We verify this empirically by removing cgenc_{\mathrm{gen}} and replacing the generalization endpoint with the fixed fw1f_{w_1}, while retraining cspecc_{\mathrm{spec}} with the same loss (CE + VA + LMC). The corridor is now anchored to fw1f_{w_1}:

f~(α)=ℓ2(fw1+α(fspec−fw1)).\tilde{f}(\alpha) = \ell_2\left(f_{w_1} + \alpha\left(f_{\mathrm{spec}} - f_{w_1}\right)\right).

Note that this configuration makes the LMC corridor structurally identical to MERGETUNE’s: a path from a fixed reference to a single learned prompt. Figure 3 compares the HM curves. At α=0.20\alpha= 0.20, the learned fgenf_{\mathrm{gen}} gives a higher HM on all four datasets. The gap is +2.5 HM on Flowers102, +1.8 on StanfordCars, +7.4 on EuroSAT, and smaller on Caltech101. It is largest on EuroSAT, where zero-shot CLIP is weakest among the four datasets (Table 1).

Figure 3. Ablation: learned fgenf_{\mathrm{gen}} vs. fixed fw1f_{w_1}. Both variants retrain cspecc_{\mathrm{spec}} with the same loss (CE + VA + LMC), differing only in the generalization endpoint. At small α\alpha, including α=0.20\alpha= 0.20, the learned fgenf_{\mathrm{gen}} (solid) gives a higher HM than the fixed fw1f_{w_1} (dashed).

Gradient conflict at convergence. At the converged MERGETUNE checkpoint c∗\mathbf{c}^{*}, we accumulate ∇cLCE\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}} and ∇cR\nabla_{\mathbf{c}}\mathcal{R} over the full training set and report ρ=cos⁡(∇cLCE,∇cR)\rho= \cos(\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}}, \nabla_{\mathbf{c}}\mathcal{R}), following Yu et al. [2020]; ρ<0\rho< 0 means that the two steepest-descent directions are locally opposed. All eight values in Figure 4 are negative (per-dataset values in Appendix D), with the strongest conflict on Flowers102 (ρ≈−0.95\rho\approx-0.95). KgCoOp’s conflict is weaker than CoOp’s on three of four datasets, consistent with its built-in anchor, and the magnitude of ρ\rho does not predict DMC’s gain. DMC removes the direct conflict: R\mathcal{R} acts only on cgenc_{\mathrm{gen}}, the endpoint cross-entropy only on cspecc_{\mathrm{spec}}, and the prompts interact only through the corridor.

Decoupling dynamics. Figure 5 shows the training dynamics of DMC on four datasets (one run, seed 1). Both prompts start at w^2\hat{\mathbf{w}}_{2}. fgenf_{\mathrm{gen}} returns quickly to the zero-shot geometry (cos⁡(fgen,fw1)\cos(f_{\mathrm{gen}}, f_{w_1}) reaches 0.95–0.98 within 10 epochs), so R\mathcal{R} dominates early training, while fspecf_{\mathrm{spec}} moves away from fw1f_{w_1}, with oscillations from the LMC coupling. The final separation is largest on Flowers102 and smallest on the near-ceiling OxfordPets.

Figure 5. DMC decoupling dynamics during training. Both prompts are initialized from w^2\hat{w}_2. Blue: cos⁡(fgen,fw1)\cos(f_{\mathrm{gen}}, f_{w_1}) rises sharply within 10 epochs and saturates near 0.97–0.99, confirming rapid convergence toward zero-shot geometry. Orange: cos⁡(fspec,fw1)\cos(f_{\mathrm{spec}}, f_{w_1}) decreases overall under CE supervision, with oscillations from the LMC coupling. Final values range from ∼0.45\sim0.45 (Flowers102, strongest separation) to ∼0.65\sim0.65 (OxfordPets, weakest). Purple dashed: cos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) reflects the feature separation, decreasing from ∼1.0\sim1.0 to 0.50–0.67. The shaded region visualizes the decoupling gap. Single seed, with VA; Table 10 reports the 3-seed endpoint cosines (without VA; with-VA averages in its caption).

Single-prompt loss modifications. Seven single-prompt loss modifications, evaluated on Caltech101 and Flowers102, produce no meaningful improvement over the cosine baseline: gains are at most +0.40 HM, similar to retuning λ\lambda, and never clear on both datasets. For the same Flowers102 setup (seed 1, β=1\beta= 1, best α\alpha, matching the best-over-sweep protocol), DMC reaches +0.86 HM over the cosine baseline (Table 22), more than twice the best single-prompt gain on this dataset (+0.36). Full results are in Appendix § 12.

λgen\lambda_{\mathrm{gen}}\multicolumn{4}{c}{Flowers102}\multicolumn{4}{c}{Caltech101}
α∗\alpha^{*}BaseNovelHMα∗\alpha^{*}BaseNovelHM
0.00.1597.7265.3278.301.0098.1392.9095.44
1.00.1097.2570.9982.070.4097.4293.4595.39
2.00.2597.1573.1283.440.4097.6893.5695.58
4.00.3096.7774.9684.480.2597.8793.6795.72
8.00.3095.7375.8984.660.1597.9394.4396.15
10.00.3094.9776.0384.450.2097.8194.4396.09
Baseline—94.2175.4683.80—97.9394.2196.03

Table 22. Effect of λgen\lambda_{\mathrm{gen}} (cosine regularizer weight) in DMC training (seed 1, β=1.0\beta= 1.0; HM at the best α∗\alpha^{*} of each run). At λgen=0\lambda_{\mathrm{gen}} = 0 the anchor is removed and decoupling collapses. Selected configuration is highlighted; the bottom row reports the single-prompt baseline.

Conclusion

Single-prompt methods for base-to-novel generalization settle at a Pareto-stationary compromise between the two objectives: the two objectives send opposing gradients to one shared prompt, and none of the single-prompt loss modifications we test escapes this constraint. DMC resolves this by assigning each objective to a dedicated prompt connected via an LMC corridor in text-feature space. A Visual Anchor KL term keeps CLIP’s zero-shot class-similarity distribution of each image, and in an idealized information-theoretic model, violating class-permutation invariance lower-bounds the drop in novel accuracy. On CoOp and KgCoOp, DMC improves HM over MERGETUNE on most datasets. On MMA, the two endpoints converge to nearly the same features and DMC’s regularizers no longer help.

Limitations. DMC adds one prompt (∼\sim2K parameters) over the single-prompt baseline. The coefficient α\alpha is chosen offline and fixed at 0.20 across datasets, since the HM-optimal α\alpha cannot be identified from base classes alone. On the eight datasets not used to select it (ImageNet excluded), the fixed value is on average 0.18 HM below the per-dataset oracle (Appendix § 18). DMC also needs the two prompts to stay distinct. On near-ceiling datasets they converge to similar features and the HM gain is small, and on MMA they collapse. Proposition 1 holds only under idealized assumptions (Appendix § 16.5).

Acknowledgments and Disclosure of Funding

This work benefited from Hi! PARIS and State funding managed by the French National Research Agency (ANR) under the France 2030 program, reference ANR-23-IACL-0005.

Appendix Overview

The appendix follows the order of the main argument: extended results first, then the evidence for the single-prompt ceiling, the ablations of DMC, its scope, the regularizer theory, the design choices, and finally the proofs. Unless stated otherwise, numbers for the rows we trained are means over seeds 1–3 (DMC at the fixed α=0.20\alpha= 0.20, MERGETUNE at its final prompt), and prior-work numbers are as published.

Extended results

A. Full Base-to-Novel Results (Appendix § 8). Base, Novel and HM for every method on all 11 datasets, per-cell seed variability, and an analysis of the weak cases.

B. Extended Interpolation Curves (Appendix § 9). The α\alpha-sweep curves on the datasets not shown in Figure 2, including ImageNet.

Why a single prompt hits a ceiling

C. Quadratic Model of the Single-Prompt Ceiling (Appendix § 10). A scalar model of the ceiling and Lemma 1.

D. Gradient Conflict per Dataset (Appendix § 11). Measured gradient cosines at convergence for CoOp and KgCoOp.

E. Single-Prompt Loss Modifications (Appendix § 12). Seven alternative losses on Caltech101 and Flowers102.

Ablations of DMC

F. Supporting Tables for the Ablations (Appendix § 13). The larger single-prompt control and the two Visual Anchor studies.

G. HM Landscape (Appendix § 14). Harmonic-mean landscapes on Flowers102 and Caltech101, complementing Figure 1.

Scope

H. When Does DMC Compose? (Appendix § 15). The endpoint-separation condition, the MMA analysis, and a falsification test.

Regularizer theory

I. Class-Permutation Invariance (Appendix § 16). Numerical CPI test, informal justification, the ZSDD case, and the applicability of the bound.

Design choices and reproducibility

J. Training and Inference Protocol (Appendix § 17).

K. Interpolation Coefficient Selection (Appendix § 18). Eight base-only selection criteria, the oracle α\alpha per dataset, and robustness of the fixed α=0.20\alpha= 0.20.

L. Hyperparameter Sensitivity (Appendix § 19). Sweeps over β\beta and λgen\lambda_{\mathrm{gen}}.

Proofs

M. Proofs (Appendix § 20). Lemma 1, Proposition 1, Corollary 1, Proposition 2, and a summary of all assumptions.

Full Base-to-Novel Results

This section asks whether DMC’s HM gains come from Base, Novel or both, how stable they are across seeds, and where they fail. Table 3 reports Base, Novel, and HM for every method across all 11 datasets. The main paper (Table 1) shows HM only; this table provides the full breakdown for readers who wish to verify the Base and Novel trends independently. For the MERGETUNE and DMC rows it reports the best of three seeds, so that each Base/Novel pair comes from a single run, as in the prior-work rows. These numbers are therefore higher than the 3-seed means of Table 1 (e.g., CoOp+DMC average HM 79.04 here versus 77.23 there) and should not be compared with them; all headline numbers in the paper are the seed means.

Table 4 gives the seed-resolved view: HM mean ±\pm sample standard deviation for every row we trained. Of the 33 DMC cells, 23 have σHM≤0.5\sigma_{\mathrm{HM}} \le0.5 and 27 have σHM≤1.0\sigma_{\mathrm{HM}} \le1.0. The seed-fragile cells are concentrated on EuroSAT, DTD, FGVCAircraft and UCF101, where the corresponding MERGETUNE runs are equally noisy (e.g., σHM=3.81\sigma_{\mathrm{HM}} = 3.81 and 4.03 on EuroSAT), so DMC inherits this variance rather than introducing it. MMA+DMC is markedly seed-stable (maximum σHM=0.45\sigma_{\mathrm{HM}} = 0.45), consistent with the endpoint collapse of Appendix § 15: a degenerate corridor leaves little to vary.

Failure and weak-case analysis

DMC does not gain uniformly across datasets or baselines. We list the cases where the gain over MERGETUNE shrinks, disappears, or reverses (Table 4), and explain each.

Small regressions. Seven of the 33 cells are below MERGETUNE: CoOp on OxfordPets (−0.09-0.09) and DTD (−0.73-0.73); KgCoOp on OxfordPets (−0.05-0.05), FGVCAircraft (−0.93-0.93) and EuroSAT (−0.06-0.06); MMA on ImageNet (−0.25-0.25) and Caltech101 (−0.01-0.01). All but the MMA ImageNet cell lie within one combined seed standard deviation of the two cells. The two largest prompt-tuning regressions (CoOp DTD, KgCoOp FGVCAircraft) occur on datasets whose MERGETUNE runs are themselves seed-fragile (σHM=1.93\sigma_{\mathrm{HM}} = 1.93 and 1.35).

Near-ceiling regime: Caltech101 and OxfordPets. Both datasets have zero-shot HM already close to 95. The interpolation frontier is flat there: base and novel accuracy move together across α\alpha, so the gap between the single-prompt operating point and the DMC corridor is small and DMC’s margin shrinks to at most 0.17 HM in either direction. We attribute this to the ceiling rather than to a failure of the method.

MMA endpoint collapse. On MMA the two learned endpoints converge to nearly identical text features (cos⁡(fgen,fspec)>0.99\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) > 0.99 on 9 of 10 datasets), and the interpolation curve carries little of DMC’s effect. It is the clearest failure case in our study and is analyzed in full in Appendix § 15.

Seed-fragile cells. Six DMC cells have σHM>1\sigma_{\mathrm{HM}} > 1: EuroSAT (CoOp 3.65, KgCoOp 3.16), DTD (CoOp 1.37, KgCoOp 1.13), FGVCAircraft (CoOp 1.37) and UCF101 (CoOp 1.47). Four have positive mean gains over MERGETUNE (CoOp on EuroSAT, FGVCAircraft and UCF101; KgCoOp on DTD) and two are slightly negative (CoOp on DTD, KgCoOp on EuroSAT), but in all but one case the seed spread overlaps zero (CoOp on FGVCAircraft, +1.90, is just outside one combined standard deviation), so we do not claim a reliable effect on these cells individually. EuroSAT is the extreme case: with five classes per split, a single class changing its predictions moves HM by several points.

MethodStanfordCars BaseStanfordCars NovelStanfordCars HMFlowers102 BaseFlowers102 NovelFlowers102 HMFood101 BaseFood101 NovelFood101 HMFGVCAircraft BaseFGVCAircraft NovelFGVCAircraft HM
CLIP (ICML 21)63.3774.8968.6572.0877.8074.8390.1091.2290.6627.1936.2931.09
CoOp (IJCV 22)78.1260.4068.1397.6059.6774.0688.3382.2685.1940.4422.3028.75
KgCoOp (CVPR 23)71.7675.0473.3695.0074.7383.6590.5091.7091.1036.2133.5534.83
MaPLe (CVPR 23)72.9474.0073.4795.9272.4682.5690.7192.0591.3837.4435.6136.50
PromptSRC (ICCV 23)78.2774.9776.5898.0776.5085.9590.6791.5391.1042.7337.8740.15
MMA (CVPR 24)78.5073.1075.7097.7775.9385.4890.1391.3090.7140.5736.3338.33
CoPrompt† (ICLR 24)76.9774.4075.6697.2776.6085.7190.7392.0791.4040.2039.3339.76
CoOp + ATPrompt† (ICCV 25)77.4366.5571.5897.4467.5279.7788.7487.4488.0940.3827.2232.52
CoOp + TIES (NeurIPS 23)57.9463.4260.5673.6065.5169.2788.4287.6488.0230.2928.8329.54
CoOp + DARE (ICML 24)67.8261.6264.5790.8863.7374.9287.7887.2287.5034.4128.2531.03
CoOp + MERGETUNE (ICLR 26)71.9475.1273.4995.3273.4083.5190.5691.7591.1536.1734.3535.24
CoOp + DMC (Ours)79.1974.7076.8897.9176.3885.8290.8492.0191.4240.9435.0337.76
KgCoOp + TIES (NeurIPS 23)65.7974.1769.7374.2672.5373.3990.2591.5890.9130.8128.9729.86
KgCoOp + DARE (ICML 24)67.8473.0270.3387.0272.8879.3390.4491.6091.0233.4930.3731.85
KgCoOp + MERGETUNE (ICLR 26)73.2175.1474.1796.4974.6884.2090.5191.8391.1737.0935.1136.07
KgCoOp + DMC (Ours)76.6874.7576.6698.0174.6184.7290.8691.8991.3739.4432.2135.46
MMA + TIES (NeurIPS 23)60.7270.1265.0873.4670.7472.0788.7989.8389.3129.2728.0628.65
MMA + DARE (ICML 24)64.8271.5268.0177.1570.9573.9289.8587.6188.7230.3528.2329.25
MMA + MERGETUNE (ICLR 26)65.7475.6170.3373.0378.2375.5589.6790.7790.2231.5734.1332.80
MMA + DMC (Ours)66.6275.4670.7676.5477.9477.2389.9190.9590.4332.1135.0333.51

Table 23.

MethodSUN397 BaseSUN397 NovelSUN397 HMDTD BaseDTD NovelDTD HMEuroSAT BaseEuroSAT NovelEuroSAT HMUCF101 BaseUCF101 NovelUCF101 HM
CLIP (ICML 21)69.3675.3572.2353.2459.9056.3756.4864.0560.0370.5377.5073.85
CoOp (IJCV 22)60.6065.8962.5179.4441.1854.2492.1954.7468.6984.6956.0567.46
KgCoOp (CVPR 23)80.2976.5378.3677.5554.9964.3585.6464.3473.4882.8976.6779.66
MaPLe (CVPR 23)80.8278.7079.7580.3659.1868.1694.0773.2382.3583.0078.6680.77
PromptSRC (ICCV 23)82.6778.4780.5283.3762.9771.7592.9073.9082.3287.1078.8082.74
MMA (CVPR 24)82.2778.5780.3883.2065.6373.3885.4682.3483.8786.2380.0382.20
CoPrompt† (ICLR 24)82.6380.0381.3083.1364.7372.7994.6078.5785.8486.9079.5783.07
CoOp + ATPrompt† (ICCV 25)80.8468.6474.2480.8345.4958.2290.3459.7971.9684.4964.9673.45
CoOp + TIES (NeurIPS 23)62.4162.9962.7057.3341.8748.4050.1769.8558.4062.4554.6858.30
CoOp + DARE (ICML 24)70.3363.0166.4772.4947.0257.0469.7165.2267.3977.6157.8466.28
CoOp + MERGETUNE (ICLR 26)80.3776.1978.2278.5156.8465.9385.1564.5173.4082.0478.3380.14
CoOp + DMC (Ours)82.1477.2579.6282.2955.0765.9890.8170.3179.2686.4579.3482.74
KgCoOp + TIES (NeurIPS 23)73.0573.8873.4660.7753.5456.9368.6665.4567.0274.4673.9174.18
KgCoOp + DARE (ICML 24)77.4774.8176.1272.4654.1962.0184.4863.0372.1981.6375.9978.71
KgCoOp + MERGETUNE (ICLR 26)80.5377.2878.8779.9057.3366.7589.5667.8977.2283.3577.7680.45
KgCoOp + DMC (Ours)82.0676.4779.1781.2556.5266.6793.0571.0380.5686.1475.6680.56
MMA + TIES (NeurIPS 23)69.4665.7767.5655.3848.3651.6365.6967.9566.8071.7460.4265.60
MMA + DARE (ICML 24)71.4372.6172.0267.6550.3757.7477.4264.1670.1778.4664.4770.78
MMA + MERGETUNE (ICLR 26)75.2078.6476.8857.0660.7558.8552.1070.5959.9570.9976.7973.73
MMA + DMC (Ours)76.9578.8777.9059.0361.2360.1153.6971.2161.2274.7777.2976.01

Table 24.

Extended Interpolation Curves

This section shows whether the operating-point shift of Figure 2 holds on the remaining datasets. Each figure shows the interpolation curves traced by DMC (solid blue) and DMC W/O VA (dashed vermilion) across α∈[0,1]\alpha\in[0, 1], with the MERGETUNE baseline (gray dot), the shift to the operating point (green arrow) and the operating point (blue star), on the CoOp base. The boxed Δ\DeltaHM value reports the gap between the operating point and the MERGETUNE baseline, read off the plotted seed-averaged curves; it differs from the corresponding entry of Table 4 by at most 0.18 HM (OxfordPets: +0.09 here, −0.09-0.09 in the table).

Figure 6. Flowers102 and OxfordPets. Flowers102 shows a shift toward higher base accuracy at nearly unchanged novel accuracy (+0.67 HM). OxfordPets has a near-ceiling baseline; DMC is within 0.1 HM of it (+0.09 on the plotted curves, −0.09-0.09 in Table 4).

Figure 7. StanfordCars and FGVCAircraft. Both fine-grained datasets show clear operating-point shifts: +1.96+1.96 HM on StanfordCars and +1.89+1.89 on FGVCAircraft.

Figure 8. Food101 and DTD. Food101 has a flat frontier; DMC shifts the operating point slightly (+0.08+0.08 HM). DTD is the only dataset in these figures where DMC is slightly below the baseline (−0.77-0.77 HM).

Figure 9. EuroSAT and UCF101. EuroSAT shows the largest improvement among these datasets (+2.43+2.43 HM). UCF101 achieves +1.80+1.80 HM. (Both datasets are also shown in the main paper, Figure 2.)

Figure 10. ImageNet — CoOp+DMC, KgCoOp+DMC, MMA+DMC. Interpolation curves on ImageNet (seed mean of the 21-point α\alpha sweep). The blue star marks the operating point at the fixed α=0.20\alpha= 0.20 (the same value used for all held-out datasets, selected on Flowers102+Caltech101). At the operating point, DMC yields +0.01 HM on CoOp+DMC (72.89 → 72.90), +0.27 HM on KgCoOp+DMC (72.82 → 73.09), and −0.25 HM on MMA+DMC (73.15 → 72.90; the MMA panel shows an earlier single run, whose boxed value differs) over MergeTune. The operating-point shift on ImageNet is small relative to the specialized datasets (Figure 2); this is consistent with ImageNet’s high-diversity 1000-class set, where the single-prompt envelope already covers most of the achievable operating points and decoupling has less headroom than on specialized tasks like EuroSAT or StanfordCars. Unlike the other interpolation-curve figures in this appendix, only the DMC (with VA) curve is shown: a DMC-without-VA ablation was not run on ImageNet.

Quadratic Model of the Single-Prompt Ceiling

This section asks why a single prompt trained on a weighted sum of two objectives must settle for a compromise. To build intuition for the structural bottleneck in Section 3, consider a minimal scalar model with two competing objectives:

L1(θ)=(θ−a)2(specialization, minimized at a),L2(θ)=(θ−b)2(generalization, minimized at b≠a).L_1(\theta) = (\theta-a)^2 \quad\text{(specialization, minimized at }a\text{)}, \\ L_2(\theta) = (\theta-b)^2 \quad\text{(generalization, minimized at }b \ne a\text{)}.

Single-prompt scalarization. The weighted objective (1−λ)L1(θ)+λL2(θ)(1-\lambda)L_1(\theta)+\lambda L_2(\theta) has the unique stationary point θ∗(λ)=(1−λ)a+λb\theta^*(\lambda)=(1-\lambda)a+\lambda b for λ∈(0,1)\lambda\in(0,1). By Lemma 1 below, θ∗(λ)\theta^*(\lambda) is Pareto-stationary, and neither objective is individually minimized:

L1(θ∗(λ))=λ2(b−a)2>0,L2(θ∗(λ))=(1−λ)2(b−a)2>0.L_1(\theta^*(\lambda))=\lambda^2(b-a)^2>0,\qquad L_2(\theta^*(\lambda))=(1-\lambda)^2(b-a)^2>0.

As λ\lambda varies over (0,1)(0,1), the pair (L1(θ∗(λ)),L2(θ∗(λ)))(L_1(\theta^*(\lambda)),L_2(\theta^*(\lambda))) traces a quadratic arc that never reaches either axis of the (L1,L2)(L_1,L_2) plane. The individual optima (0,(b−a)2)(0,(b-a)^2) and ((b−a)2,0)((b-a)^2,0) are unreachable by any single-prompt scalarization.

Decoupled two-parameter model. With two independent parameters (θ1,θ2)(\theta_1,\theta_2), decoupled optimization of L1(θ1)+L2(θ2)L_1(\theta_1)+L_2(\theta_2) gives θ1∗=a\theta_1^*=a and θ2∗=b\theta_2^*=b. Each objective is then exactly minimized by its own parameter, so the joint objective reaches 0, whereas any single θ\theta incurs L1(θ)+L2(θ)≥(b−a)2/2L_1(\theta)+L_2(\theta)\ge(b-a)^2/2. The interpolated predictor θ~(α)=(1−α)θ2∗+αθ1∗\tilde{\theta}(\alpha)=(1-\alpha)\theta_2^*+\alpha\theta_1^* (as in Eq. (3), α=0\alpha=0 is the generalization end) recovers every single-parameter compromise (θ~(1−λ)=θ∗(λ))(\tilde{\theta}(1-\lambda)=\theta^*(\lambda)), so decoupling loses nothing and turns the trade-off into a post-hoc choice of α\alpha instead of a training-time choice of λ\lambda. In one dimension the interpolation path and the single-parameter path coincide, so this model explains why a single prompt must compromise, not how far a decoupled corridor can move beyond the single-prompt operating point; the latter is an empirical property of the high-dimensional prompt space, which Figure 2 and Appendix B measure.

The same picture holds for the prompt (Lemma 1, Section 3.1).

The proof is in Appendix M. The lemma is the high-dimensional analogue of the scalar picture: whenever both gradients are nonzero at convergence, the single prompt is a compromise that minimizes neither objective. Appendix D checks the nonzero-and-opposed gradient condition empirically.

Gradient Conflict: Per-dataset Measurements

This section asks whether the two single-prompt gradients actually conflict at convergence, and whether the size of the conflict predicts DMC’s gain. Figure 4 in the main paper reports the gradient conflict statistic ρ=cos⁡(∇cLCE,∇cR)\rho= \cos(\nabla_c \mathcal{L}_{\mathrm{CE}}, \nabla_c \mathcal{R}) at the converged MERGETUNE checkpoint. Table 5 provides the exact per-dataset values alongside the corresponding DMC HM gain.

Datasetρ\rhoDMC gain
CoOp baseline
Flowers102−0.955-0.955+0.23+0.23
Caltech101−0.716-0.716+0.36+0.36
Food101−0.776-0.776+0.08+0.08
OxfordPets−0.211-0.211+0.22+0.22
KgCoOp baseline
Flowers102−0.923-0.923+0.33+0.33
Caltech101−0.289-0.289+0.32+0.32
Food101−0.528-0.528+0.11+0.11
OxfordPets−0.580-0.580+0.04+0.04
Pearson rr (ρ\rho vs gain)−0.05-0.05

Table 5. Gradient conflict ρ=cos⁡(∇cLCE,∇cR)\rho= \cos(\nabla_c \mathcal{L}_{\mathrm{CE}}, \nabla_c \mathcal{R}) at convergence, grouped by baseline. ρ<0\rho< 0 on all eight dataset–baseline pairs. The DMC gain is the HM gain over MERGETUNE in the runs where ρ\rho was measured; it can differ from the seed means of Table 1.

The conflict is present everywhere, but its magnitude does not predict DMC’s gain: Caltech101 gains +0.36+0.36 HM at ρ=−0.72\rho= -0.72, while Food101 gains only +0.08+0.08 at ρ=−0.78\rho= -0.78, and across the eight pairs the correlation is negligible (Pearson r=−0.05r = -0.05). A negative ρ\rho indicates that the single prompt sits at a first-order trade-off (Lemma 1; at an exact stationary point of LCE+λR\mathcal{L}_{\mathrm{CE}} + \lambda\mathcal{R} alone, ρ=−1\rho= -1, and values above −1-1 reflect approximate convergence and the additional terms of the MERGETUNE objective); how much DMC gains depends on the shape of the interpolation curve beyond that operating point, which ρ\rho does not measure. We therefore use ρ\rho as evidence that the ceiling exists, not as a predictor of where decoupling helps most.

Single-Prompt Loss Modifications

This section asks whether a better single-prompt loss, rather than a second prompt, could deliver DMC’s gain. We test whether targeted single-prompt loss modifications can match the DMC frontier. Seven variants are evaluated on Caltech101 and Flowers102 as drop-in replacements or additions to the cosine score regularizer in MERGETUNE’s objective:

  1. Fisher-weighted cosine. Replace isotropic cosine distance with Fisher-diagonal-weighted cosine distance, with two normalizations (max, per-class) and λ∈{4,8,10,16}\lambda\in\{4, 8, 10, 16\}. 2. Prompt-space EWC. Add a Fisher-weighted ℓ2\ell_2 penalty on prompt parameters toward w^2\hat{w}_2, swept over λpf∈{0.01,0.05,0.1,0.5,1.0}\lambda_{\mathrm{pf}} \in\{0.01, 0.05, 0.1, 0.5, 1.0\}. 3. KL path. Enforce KL-divergence preservation along the fw1→f(c)f_{w_1} \to f(c) path, swept over λkl∈{0.1,0.3,0.5,1.0}\lambda_{\mathrm{kl}} \in\{0.1, 0.3, 0.5, 1.0\}. 4. ZSDD. Distill the zero-shot prediction distribution at temperature τ\tau, swept over λzsdd∈{0.5,1,2,4}\lambda_{\mathrm{zsdd}} \in\{0.5, 1, 2, 4\} and τ∈{2,4}\tau\in\{2, 4\}. 5. Weight scheduling. Anneal the cosine weight λ\lambda over training, with linear or cosine schedules and final λmin⁡∈{0,2,5}\lambda_{\min} \in\{0, 2, 5\}. 6. Visual Anchor (single-prompt). Apply VA on the same prompt that receives CE, instead of the decoupled placement used in DMC. 7. TAI. Test-time adaptive interpolation with per-image α\alpha predicted from visual features.

Table 6 reports the best HM achieved by each modification on each dataset (best across the swept hyperparameters, seed 1, β=1.0\beta= 1.0, the MERGETUNE trainer with a CoOp initialization, ViT-B/16). The cosine-score baseline at λ=8\lambda= 8 achieves 96.03 HM on Caltech101 and 83.80 HM on Flowers102; as single-seed numbers, they differ from the seed means of Table 1.

ModificationCaltech101 BaseCaltech101 NovelCaltech101 HMCaltech101 Δ\DeltaFlowers102 BaseFlowers102 NovelFlowers102 HMFlowers102 Δ\Delta
Cosine score, λ=8\lambda= 8 (MERGETUNE)97.9394.2196.03—94.2175.4683.80—
Fisher-weighted cosine97.4295.0996.24+0.2194.1175.8984.02+0.22
Prompt-space EWC97.8794.3296.06+0.0394.5975.2583.82+0.02
KL path97.8794.1095.95−0.0894.0275.6083.81+0.01
ZSDD97.4895.4196.43+0.4087.4676.1781.43−2.37
Weight scheduling98.1392.7995.39−0.6494.6872.8482.34−1.46
Visual Anchor (single-prompt)97.6194.4395.99−0.0495.2575.3984.16+0.36
TTAI97.9394.4396.15+0.1290.9876.4583.08−0.72

Table 6. Single-prompt loss modifications on Caltech101 and Flowers102. For each modification we report the best HM across the hyperparameter sweep; Δ\Delta HM is the gap to the cosine-score baseline at λ=8\lambda= 8. No modification improves on the baseline by clearly more than retuning λ\lambda does, and modifications that gain on one dataset typically regress on the other.

The largest single-dataset gain is +0.40+0.40 HM (ZSDD on Caltech101), and the largest gain on Flowers102 is +0.36+0.36 HM (single-prompt Visual Anchor). Both are within seed-variance scale and of the same order as what cosine-weight tuning alone achieves: sweeping λ∈{4,8,10,16}\lambda\in\{4, 8, 10, 16\} moves the cosine baseline by +0.22 HM on Caltech101 and +0.26 HM on Flowers102; they exceed it by only 0.18 and 0.10 HM, respectively. Modifications that gain on one dataset typically regress on the other: ZSDD (+0.40 Caltech101, −2.37 Flowers102), single-prompt VA (−0.04 Caltech101, +0.36 Flowers102), TTAI (+0.12 Caltech101, −0.72 Flowers102). Fisher-weighted cosine is the only variant that gains noticeably on both datasets, by +0.21 and +0.22 HM, i.e., by about as much as retuning λ\lambda. Fisher-weighted cosine, which violates CPI, also fails to break the ceiling, consistent with Appendix § 16. The CPI test there measures a feature-space EWC variant, which is distinct from the prompt-space EWC evaluated here.

For comparison, on the same Flowers102 setup (seed 1, β=1.0\beta= 1.0, best α\alpha, matching the best-over-sweep protocol above), DMC reaches HM 84.66 (Table 22), a +0.86 HM gain over the cosine baseline that is two to three times larger than the best single-prompt modification on this dataset. The pattern supports the structural-bottleneck claim: with the parameterization fixed to a single prompt, none of the seven regularizers we tested produces gains comparable to architectural decoupling.

Supporting Tables for the Ablations

This section collects the tables behind two ablation questions of § 4.3: does extra single-prompt capacity explain DMC’s gain, and how much does the Visual Anchor contribute? (The four-dataset component ablation is Table 2 in the main text.)

Larger single prompt. Table 7 trains CoOp with nctx∈{8,16}n_{\mathrm{ctx}} \in\{8, 16\}. At nctx=16n_{\mathrm{ctx}} = 16 the single prompt has twice DMC’s parameter count, yet CoOp+DMC leads by 5.07, 1.07 and 5.00 HM on Flowers102, Caltech101 and StanfordCars; on EuroSAT the 3.46 HM lead is within the seed spread. Parameter count alone does not account for the gain.

Visual Anchor. Table 8 and Table 9 vary the VA views and augmentation. The configurations span about 1.0 HM on Flowers102 and 0.32 HM on Caltech101, and most differences between them are within one seed standard deviation, consistent with the main-text finding that VA is a small refinement rather than the source of DMC’s gain. The exact single-view case of Proposition 2 (va=vbv_a = v_b, preset none) is slightly below the two-view default on both datasets. These runs retrain the configuration of Table 1 (batch size 32): Caltech101 reproduces exactly (96.41), while Flowers102 gives 84.17 versus 84.47, within the seed spread. The No VA row comes from the component-ablation runs (batch size 128; Table 2).

HM Landscape: Complementary View

This section asks whether the loss-landscape picture of Figure 1 carries over to the metric we report, the harmonic mean.

Plane construction. The 2D plane shared by Figure 1 (joint CE loss) and the HM landscapes below is anchored at the zero-shot CLIP features fw1f_{w_1} in concatenated base∪\cupnovel text-feature space (RC×512\mathbb{R}^{C \times512}, flattened). Two basis directions are derived from a trained DMC checkpoint: d1d_1 is the unit vector toward fw^2f_{\hat{w}_2} (single-prompt CoOp baseline), and d2d_2 is the Gram–Schmidt orthogonalization of fgen−fw1f_{\mathrm{gen}} - f_{w_1} against d1d_1. Each grid point (x,y)(x,y) corresponds to a per-class feature matrix f(x,y)=ℓ2(fw1+xd1+yd2)f(x,y) = \ell_2(f_{w_1} + x d_1 + y d_2), ℓ2\ell_2-normalized per class, where xx is in units of ∥fw^2−fw1∥\lVert f_{\hat{w}_2} - f_{w_1} \rVert and yy is in units of ∥(fgen−fw1)⊥∥\lVert(f_{\mathrm{gen}} - f_{w_1})_{\perp} \rVert. At each grid point we recompute the classification logits with the frozen CLIP image encoder over the held-out base and novel splits and report (i) the joint base+novel cross-entropy (Figure 1) or (ii) the harmonic mean of base and novel accuracies (Figure 11, Figure 12). By construction, fw1f_{w_1} sits at the origin, fw^2f_{\hat{w}_2} on the xx-axis at (1,0)(1, 0), and fgenf_{\mathrm{gen}} in the upper half-plane; fspecf_{\mathrm{spec}}, the operating point at α=0.20\alpha= 0.20, and the DMC corridor are projected onto the same plane and overlaid on top of the heatmap. The single-prompt linear path corresponds to varying x∈[0,1]x \in[0, 1] at y=0y = 0.

Figure 11. HM landscape on Flowers102. Same 2D plane and overlays as the main-paper Figure 1, with the heatmap recolored by harmonic mean of base and novel accuracy (high HM in blue). The DMC corridor lies on the high-HM peak; the operating point at α=0.20\alpha= 0.20 sits near the corridor’s HM maximum ≈84\approx84. The single-prompt linear path along the bottom of the plane traverses an HM ridge that peaks below ≈80\approx80 at every mixing weight, consistent with the single-prompt ceiling of Lemma 1 along this path.

Figure 12. HM landscape on Caltech101. Caltech101 is a near-ceiling task (zero-shot CLIP attains HM ≈95\approx95), so the landscape varies over a much narrower range, [92.8,96.9][92.8, 96.9], than Flowers102 ([64.9,84.6][64.9, 84.6]). Despite the compressed dynamic range, the same geometry is visible: the DMC corridor lies on a high-HM ridge offset from the linear single-prompt path, and the operating point at α=0.20\alpha= 0.20 sits near the ridge maximum. Flat-but-shifted performance is the expected near-ceiling behavior of decoupling: when single-prompt HM is already close to the achievable upper bound, DMC’s gain shrinks (CoOp+DMC gains +0.14+0.14 HM over MERGETUNE on Caltech101, Table 1).

HM and CE views agree. The CE landscape (main-paper Figure 1) and the HM landscape share the same plane and overlays; only the heatmap value differs (CE loss vs. HM accuracy). Where the CE landscape shows a low-loss valley, the HM landscape shows a high-HM peak. Two structural observations transfer cleanly between the two views: (i) the high-HM region is offset from the single-prompt linear path, so moving the single-prompt solution toward (or away from) fw1f_{w_1} does not reach it; (ii) the DMC corridor sits inside the high-HM region, as the LMC term encourages by keeping classification loss low along the interpolation. Figure 11 (Flowers102) and Figure 12 (Caltech101) display these effects on two datasets with very different dynamic ranges.

Flowers102: large dynamic range. The HM on Flowers102 spans roughly 20 points over the plotted plane ([64.9, 84.6]), with the DMC operating point at ≈84\approx84, so the offset between the high-HM peak and the linear single-prompt path is visually dramatic. The DMC corridor traces the rim of this peak, and the fixed operating point at α=0.20\alpha= 0.20 sits near its HM maximum.

Caltech101: near-ceiling regime, same geometry. Caltech101 covers an HM range of ∼4\sim4 points because zero-shot accuracy is already high. The compressed dynamic range obscures the visual offset, yet the same geometry holds: the DMC corridor sits on a high-HM ridge that the single-prompt linear path never reaches. The corridor’s offset thus scales with the dataset’s HM range, which mirrors the dataset-level pattern in Table 1: large gains on fine-grained tasks, small gains on near-ceiling tasks. Both figures support the same conclusion as the loss landscape: DMC’s benefit comes from reaching regions of this plane that the single-prompt linear path does not visit, rather than from a different choice along the same curve.

When Does DMC Compose? The Endpoint-Separation Condition

This section asks when DMC can help a given base method. DMC interpolates between two learned endpoints; if they coincide, every f~(α)\tilde{f}(\alpha) is the same classifier and the corridor carries no information. We make this condition measurable, use it to explain the MMA result, test its predictions, and check it on a third parameterization.

The diagnostic

We measure cos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) at the evaluated (best-validation) checkpoint on 10 datasets (Table 10). The three base methods separate cleanly. CoOp averages 0.600 and KgCoOp 0.719, with no dataset above 0.99. MMA averages 0.993 and exceeds 0.99 on 9 of 10 datasets (all but SUN397, at 0.940); on Caltech101 its α\alpha-sweep is flat to within 0.02 HM (Table 17). The ordering CoOp < KgCoOp < MMA matches the ordering of DMC’s average HM change relative to the published base method (+6.40+6.40, +0.05+0.05 and −6.56-6.56, averaging the per-dataset HMs for every row; Table 1), and the diagnostic is measurable at training time without any novel-class data.

Table 17: Per-dataset oracle-best α⋆\alpha^\star for DMC across three baselines. HM is averaged over 3 seeds. Δ\Delta is HM(α⋆\alpha^\star) − HM(0.20). Bottom rows: median α⋆\alpha^\star across the 11 datasets and range [min, max]. For CoOp and KgCoOp the median oracle α⋆\alpha^\star lies one grid step from the fixed α=0.20\alpha= 0.20; for MMA the corridor is degenerate (Appendix H), so α⋆\alpha^\star is poorly determined.

DatasetCoOp+DMCKgCoOp+DMCMMA+DMC
α⋆\alpha^\starHM⋆^\starHM.20_{.20}Δ\Deltaα⋆\alpha^\starHM⋆^\starHM.20_{.20}Δ\Deltaα⋆\alpha^\starHM⋆^\starHM.20_{.20}Δ\Delta
Caltech1010.1596.5296.41+0.110.0096.2696.11+0.150.0095.7695.74+0.02
DTD0.2063.5463.54+0.000.2564.5164.37+0.140.6559.6859.62+0.06
EuroSAT0.1075.9875.84+0.140.0074.1273.39+0.730.9560.7760.57+0.20
FGVCAircraft0.2035.2435.24+0.000.0533.3333.22+0.111.0033.2133.10+0.10
Food1010.4591.2291.13+0.090.4591.2091.19+0.010.1590.3390.33+0.00
ImageNet0.3073.0672.90+0.170.4573.3273.09+0.231.0073.5672.90+0.66
Flowers1020.2584.4984.47+0.020.1083.7283.67+0.050.9577.0176.37+0.64
OxfordPets0.2596.0996.04+0.050.3096.3396.23+0.091.0093.4493.38+0.06
StanfordCars0.2575.3475.21+0.130.2575.4875.39+0.100.9070.7070.51+0.19
SUN3970.2578.8178.75+0.060.2578.9478.85+0.080.8077.7077.12+0.58
UCF1010.1580.2380.08+0.150.1579.0678.91+0.150.9575.4875.11+0.36
Median α⋆\alpha^\star0.25–––0.25–––0.95–––
Range α⋆\alpha^\star[0.10,0.45]–––[0.00,0.45]–––[0.00,1.00]–––
Mean Δ\Delta–––+0.08–––+0.17–––+0.26

Table 17.

Gains within the collapsed regime

MMA+DMC still improves on MMA+MERGETUNE (by 0.58 HM on average over 11 datasets). If these gains came from the corridor, the datasets that retain some separation should gain most. Table 11 does not bear this out: SUN397, the only dataset below 0.99, gains +0.42 HM, while the three largest gains (DTD +1.55, UCF101 +1.52, Flowers102 +1.15) occur at cos⁡≥0.997\cos\ge0.997, and cos and gain are essentially uncorrelated (Pearson r=0.14r = 0.14). Because interpolation cannot change the classifier when the endpoints coincide, we attribute these gains to the different training objective of the (shared) endpoint rather than to the corridor. The collapse accounts for the scope limit, not for these residual gains: on every dataset MMA+DMC stays below published MMA (Table 1).

Datasetcos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}})MMA + MERGETUNE HMMMA + DMC HMGain
Caltech1011.00095.7595.74−0.01
OxfordPets1.00093.2293.38+0.16
StanfordCars0.99970.1670.51+0.35
Flowers1020.99775.2276.37+1.15
Food1010.99990.1890.33+0.15
FGVCAircraft1.00032.7233.10+0.38
SUN3970.94076.7077.12+0.42
DTD1.00058.0759.62+1.55
EuroSAT1.00059.5760.57+1.00
UCF1011.00073.5975.11+1.52
Average (10 datasets)0.99372.5273.19+0.67

Table 11. Per-dataset gap decomposition for MMA + DMC: endpoint cosine cos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) (Table 10) and HM of MMA + MERGETUNE and MMA + DMC (mean over 3 seeds, Table 1). ImageNet has no entry in Table 10 and is omitted; the average is over the 10 datasets shown (the 11-dataset averages are 72.58 and 73.16). The gain does not track the residual separation (Pearson r=0.14r = 0.14 between cos and gain): the largest gains occur on DTD, UCF101 and Flowers102, where cos⁡≥0.997\cos\ge0.997.

Intervening on capacity

The condition predicts that giving the generalization endpoint more capacity should break the collapse. We re-ran MMA+DMC on Flowers102 and DTD with a larger generalization-adapter scale (10−210^{-2} and 10−110^{-1}, up from 10−310^{-3}) and with a fresh Kaiming initialization of that adapter (Table 12). Capacity does govern whether the endpoints can diverge: cos falls to 0.95 at scale 10−210^{-2} and to 0.78 at 10−110^{-1}. Moderate separation helps where it is achieved without overfitting (Flowers102 HM +2.81 at scale 10−210^{-2}; DTD unchanged within noise), but more separation is not better: at scale 10−110^{-1} the enlarged endpoint overfits the base classes (Flowers102 Base 93.16, Novel 61.09) and DTD loses 11.3% relative HM. Fresh initialization does not break the collapse at all, and no configuration we tested recovers MMA-alone. Endpoint separation is therefore necessary but not sufficient: the endpoints must be distinct and each must remain a good solution to its own objective.

MethodFlowers102 HMFlowers102 cosDTD HMDTD cos
MMA-alone (published)85.48—73.38—
MMA + MERGETUNE75.22—58.07—
MMA + DMC (canonical)76.37 ± 0.230.997 ± 0.00259.62 ± 0.131.000 ± 0.000
Config A: enlarge generalization-adapter scale
scale = 10−210^{-2}79.18 ± 1.450.951 ± 0.00459.92 ± 1.500.980 ± 0.002
scale = 10−110^{-1}73.78 ± 1.750.780 ± 0.01752.90 ± 1.310.795 ± 0.017
Config B: fresh Kaiming init for generalization adapter
fresh init73.71 ± 0.160.999 ± 0.00057.49 ± 0.121.000 ± 0.000

Table 12. MMA adapter-capacity ablation for DMC. We test two interventions against the canonical MMA+DMC endpoint collapse (cos⁡(fgen,fspec)≈1.00\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) \approx1.00): Config A enlarges the generalization-adapter scale from 10−310^{-3} to 10−210^{-2} or 10−110^{-1}; Config B re-initializes the generalization adapter with a fresh Kaiming draw instead of copying the base adapter. HM is base-to-novel harmonic mean at α=0.20\alpha= 0.20; cos is cos⁡(fgen,fspec)\cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}) at end of training; both reported as mean ± sample std over 3 seeds. cos⁡≈1\cos\approx1 marks endpoint collapse. MMA-alone is the published number; MMA + MERGETUNE is the mean over 3 seeds from Table 1. A scale of 10−210^{-2} partly separates the endpoints (cos⁡≈0.95\cos\approx0.95) and raises Flowers102 HM by 2.81; a scale of 10−110^{-1} separates them further (cos⁡≈0.78\cos\approx0.78) but the enlarged endpoint overfits the base classes and HM drops. Fresh initialization does not break the collapse. No intervention closes the gap to MMA-alone.

A falsification test

A stronger prediction is that on a collapsed base the DMC components should be inert or harmful, reversing the pattern of Table 2. We repeated that component ablation with MMA as the base method, with the same seeds and code paths (Table 13; the two MERGETUNE rows use β=1\beta= 1). The outcome matches the prediction: every Δ\Delta of R\mathcal{R} or VA that is positive on CoOp is zero or negative on MMA. Adding R\mathcal{R} lowers HM in seven of eight cases (from −0.04 to −3.25 HM; 0.00 for MERGETUNE on Caltech101), and VA changes HM by at most 0.06. The best MMA row on all four datasets is DMC without R\mathcal{R}, and that row still sits 6.75 HM below published MMA on Flowers102. Because the deltas reverse sign rather than merely shrink, the result favors the endpoint-separation explanation over a generic “MMA is harder to improve” explanation.

MethodFlowers102Caltech101StanfordCarsEuroSAT
MMA+MERGETUNE w/o R\mathcal{R}76.63 ±\pm 0.6495.75 ±\pm 0.1670.71 ±\pm 0.1661.32 ±\pm 0.28
MMA+MERGETUNE75.22 ±\pm 0.4095.75 ±\pm 0.1670.16 ±\pm 0.2459.57 ±\pm 0.48
MMA+DMC w/o R\mathcal{R}78.73 ±\pm 0.4695.77 ±\pm 0.1571.62 ±\pm 0.2563.78 ±\pm 0.34
MMA+DMC w/o VA76.38 ±\pm 0.1395.73 ±\pm 0.1770.57 ±\pm 0.1360.53 ±\pm 0.49
MMA+DMC (full)76.37 ±\pm 0.2395.74 ±\pm 0.1670.51 ±\pm 0.0460.57 ±\pm 0.45
MMA (published)85.4896.1575.7083.87

Table 13. Component ablation with MMA as the base method (HM, mean ±\pm sample std over 3 seeds; DMC rows at α=0.20\alpha= 0.20). Same components as Table 2; the two MERGETUNE rows use β=1\beta= 1, the DMC rows β=4\beta= 4. Bottom row: published MMA (Table 1).

Beyond prompts and adapters

To check that the condition concerns separation rather than prompts specifically, we implemented LoRA on the text encoder (QQ, KK, VV projections, all 12 layers, ranks 8 and 16) as a third parameterization, on two datasets (Table 14). On Flowers102, cos⁡=0.45\cos= 0.45 at both ranks and LoRA+DMC gains +10.3 to +11.3 HM over LoRA alone; on Caltech101, cos⁡=0.86\cos= 0.86–0.91 and DMC adds only +0.3 to +0.4. Ordering all measurements by cos: LoRA Flowers102 0.45 (+10–11), CoOp 0.60 (+6.40), KgCoOp 0.72 (+7.05), LoRA Caltech101 0.86–0.91 (+1.0–0.3), and MMA 0.99 (−6.56), where the prompt and adapter numbers are 11-dataset average changes relative to the published base method. Clear separation goes with large gains and near-total collapse with the one large loss; in between (KgCoOp, LoRA Caltech101) the gains are small and not strictly ordered. We therefore use cos⁡<0.95\cos< 0.95 at convergence as a coarse screening heuristic, not as a predictor of the gain. Three caveats apply: the LoRA evidence covers two datasets; our LoRA baseline is under-tuned, so the LoRA Δ\Delta values overstate what a well-tuned LoRA would leave on the table (the cos measurement is unaffected); and the condition is symmetric between the two encoders, so vision-side LoRA or adapters of comparable capacity should also satisfy it, which we have not verified.

DatasetRankLoRALoRA+DMCΔ\Deltacos⁡\cos
Flowers102873.03 ±\pm 0.0384.37 ±\pm 0.33+11.340.454 ±\pm 0.010
Flowers1021673.18 ±\pm 0.1183.51 ±\pm 0.41+10.330.454 ±\pm 0.015
Caltech101895.69 ±\pm 0.0096.01 ±\pm 0.48+0.320.861 ±\pm 0.146
Caltech1011695.68 ±\pm 0.0596.06 ±\pm 0.30+0.380.908 ±\pm 0.092

Table 14. LoRA on the text encoder (QQ, KK, VV, all 12 layers) with and without DMC (λgen=8\lambda_{\mathrm{gen}} = 8, β=4\beta= 4, no VA, 50 epochs). HM mean ±\pm sample std over 3 seeds; DMC at α=0.20\alpha= 0.20; cos⁡=cos⁡(fgen,fspec)\cos= \cos(f_{\mathrm{gen}}, f_{\mathrm{spec}}). The LoRA baseline is under-tuned (Flowers102 base accuracy 69.5).

Class-Permutation Invariance: Extended Analysis

This section tests which candidate regularizers satisfy class-permutation invariance (CPI) and whether the size of a violation relates to how the regularizer behaves. Table 15 reports δmax⁡\delta_{\max} computed over 10,000 random class permutations on Caltech101 (C=50C = 50). CPI terms (cosine score, Visual Anchor, ZSDD, and the Drift-Penalty criterion) return δmax⁡≤2.4×10−7\delta_{\max} \le2.4 \times10^{-7} (float32 round-off), consistent with exact floating-point invariance. Non-CPI regularizers return values orders of magnitude larger: Fisher-weighted cosine yields δmax⁡=0.014\delta_{\max} = 0.014 and EWC yields δmax⁡=1.07\delta_{\max} = 1.07. Fisher-weighted cosine does not break the single-prompt ceiling (Appendix § 12). We did not train feature-space EWC as a regularizer, so we make no claim about its accuracy; the δ\delta values only show that both non-CPI regularizers violate the symmetry by orders of magnitude more than the CPI ones. ZSDD is CPI (δmax⁡=2.4×10−7\delta_{\max} = 2.4 \times10^{-7}) but works only when the zero-shot teacher is accurate; CPI is a desirable symmetry property, not a sufficient one.

RegularizerCPIδmax⁡\delta_{\max}δmean\delta_{\mathrm{mean}}Δ\DeltaHM (Cal / Flo)
Cosine score [16]✓1.2×10−71.2 \times10^{-7}4×10−84 \times10^{-8}baseline
Visual Anchor (ours)✓6×10−86 \times10^{-8}2×10−82 \times10^{-8}−0.04/+0.36-0.04 / +0.36
Drift-Penalty (ours)‡✓1.2×10−71.2 \times10^{-7}4×10−84 \times10^{-8}—
ZSDD✓2.4×10−72.4 \times10^{-7}7×10−87 \times10^{-8}+0.40/−2.37+0.40 / -2.37
Fisher-weighted cosine×1.4×10−21.4 \times10^{-2}3.3×10−33.3 \times10^{-3}+0.21/+0.22+0.21 / +0.22
EWC (feature space)×1.070.297—

Table 15. Class-permutation invariance (CPI) over 10,000 random permutations on Caltech101 (C=50C = 50). Δ\DeltaHM: change of the best single-prompt configuration over the cosine baseline on Caltech101 / Flowers102 (Table 6); —, symmetry test only, not trained. ‡Drift-Penalty is an α\alpha-selection criterion (Appendix § 18), not a training regularizer.

Informal justification

The formal statement is Proposition 1; here we give the intuition.

A regularizer R(f,fw1)\mathcal{R}(f, f_{w_1}) is estimated on base classes Ybase\mathcal{Y}_{\mathrm{base}} and must benefit generalization to novel classes Ynovel\mathcal{Y}_{\mathrm{novel}}, with Ybase∩Ynovel=∅\mathcal{Y}_{\mathrm{base}} \cap\mathcal{Y}_{\mathrm{novel}} = \varnothing.

If R\mathcal{R} is not CPI, it assigns asymmetric importance to specific base-class directions. This asymmetry depends on base-class statistics (curvature, frequency, confidence) that have no defined value for novel-class directions. The regularizer therefore preserves a property specific to Ybase\mathcal{Y}_{\mathrm{base}} that may conflict with novel-class preservation.

If R\mathcal{R} is CPI, it preserves a property that holds for any permutation of the class set, and therefore any subset of the same size. Since ∣Ynovel∣≈∣Ybase∣|\mathcal{Y}_{\mathrm{novel}}| \approx|\mathcal{Y}_{\mathrm{base}}| (equal, or differing by one class) in standard protocols, a CPI regularizer preserves a property equally valid for Ynovel\mathcal{Y}_{\mathrm{novel}}.

Interpreting the magnitude of δ\delta

The δmax⁡\delta_{\max} value measures how much the regularizer changes under class relabeling. A large δmax⁡\delta_{\max} indicates strong class-specific encoding. When applied to novel classes, this class-specific information acts as noise: the regularizer pulls the prompt toward geometry optimal for specific base classes, away from the geometry needed for novel classes. This is a heuristic account; we have not tested whether larger δ\delta predicts a larger accuracy loss.

EWC (δmax⁡=1.07\delta_{\max} = 1.07) computes its penalty from the full gradient of the classification loss, encoding the specific direction each base class contributes. Fisher-weighted cosine (δmax⁡=0.014\delta_{\max} = 0.014) uses only the Fisher diagonal as a per-class weight, less specific but still asymmetric. The cosine score (δmax⁡=1.2×10−7\delta_{\max} = 1.2 \times10^{-7}) uses a uniform weight of 1/C1/C for every class, achieving exact CPI.

The ZSDD special case

ZSDD is CPI (δmax⁡=2.4×10−7\delta_{\max} = 2.4 \times10^{-7}) because its softmax treats all class features symmetrically. However, ZSDD fails on fine-grained datasets where zero-shot CLIP has low accuracy. On Flowers102 (zero-shot base ≈72%\approx72\%), the teacher distribution has high entropy, teaching the student to be similarly uncertain and capping base-class confidence. On Caltech101 (zero-shot base ≈97%\approx97\%), the teacher is sharp and ZSDD produces a small gain.

CPI is therefore not sufficient on its own. The cosine score avoids the teacher-quality issue by anchoring to geometric structure rather than output predictions. Visual Anchor is also a distillation-style term and shares this caveat in principle; in DMC it acts only on cspecc_{\mathrm{spec}}, alongside CE, and its measured effect is small (Appendix F).

Reproducibility

The CPI test requires no training. Given a text encoder TT and zero-shot features fw1∈RC×Df_{w_1} \in\mathbb{R}^{C \times D}, compute:

δmax⁡(R)=max⁡Π∈S∣R(Πf,Πfw1)−R(f,fw1)∣,(6)\delta_{\max}(\mathcal{R}) = \max_{\Pi\in S} \left|\mathcal{R}(\Pi f, \Pi f_{w_1}) - \mathcal{R}(f, f_{w_1})\right|, \tag*{(6)}

where SS is a random sample of 10,000 permutation matrices from the symmetric group of degree CC, and f=ℓ2(T(c))f = \ell_2(T(c)) is the current text-feature matrix. For C=50C = 50 classes, this takes under one second.

Applicability and limitations of the CPI bound

Proposition 1 is a capacity-allocation argument that holds under four assumptions (Appendix M.2): distinct minimizers (0), equal prompt entropy (i), conditional label independence (ii) and baseline efficiency (iii). Each is a modeling choice that can fail in practice. We state what each failure does to the bound and what the evidence still supports.

(0) Distinct minimizers. A CPI-violating penalty changes the objective under relabeling, but two different objectives can share a minimizer; if they do, I(θ;Ybase)I(\theta; \mathcal{Y}_{\mathrm{base}}) can be zero and the bound is vacuous rather than wrong.

(i) Equal prompt entropy H(θ)=H(θ∗)=κH(\theta) = H(\theta^*) = \kappa. This normalizes the comparison so that an accuracy gap reflects how capacity is spent rather than how much. It fails when the two algorithms use different regularization strengths. When entropies differ, the per-prompt inequality I(θ;Ynovel)≤I(\theta; \mathcal{Y}_{\mathrm{novel}}) \le H(θ)−I(θ;Ybase)H(\theta)-I(\theta;Y_{\mathrm{base}}) still holds, but Eq. (8) acquires the correction term H(θ)−H(θ∗)H(\theta)-H(\theta^{*}) on its right-hand side.

(ii) Conditional independence Ybase⊥Ynovel∣θY_{\mathrm{base}} \perp Y_{\mathrm{novel}} \mid\theta. Natural when base and novel labels share no fine-grained attributes. It fails on splits where both halves draw from the same higher-level taxa, since capacity that helps novel classes then also helps base classes and the additive decomposition underlying the capacity bound becomes approximate.

(iii) Baseline efficiency. We assume the CPI-satisfying baseline converts its capacity into novel-class information at the Fano ceiling. Real algorithms fall short of it; then Eq. (11) is no longer guaranteed and can overstate the gap, and the proposition indicates the direction of the effect rather than bounding its size.

Uniform label priors. Uniform priors are part of the setup rather than an assumption on AA; they give the cleanest Fano expression. Long-tailed splits reduce the effective label entropy and loosen the bound by the entropy gap log⁡∣Y∣−H(Y)\log\lvert\mathcal{Y}\rvert-H(Y).

What survives. Empirically, the non-CPI regularizers violate the symmetry by orders of magnitude more than the CPI ones (Appendix § 16), but the one we trained (Fisher-weighted cosine) is not clearly harmful in its best configuration (Table 6), so the evidence supports the direction of the proposition, not a measured gap. We therefore present Proposition 1 as an idealized bound that motivates the choice of CPI regularizers and predicts the direction of failure, and we do not rely on its constant.

Training and Inference Protocol

This section specifies how DMC is trained and evaluated and what it costs. The LMC corridor is a degree-1 (linear) path in ℓ2\ell_2-normalized text-feature space; no polynomial or Bézier basis is used.

Training-time α\alpha sampling. DMC is evaluated at the checkpoint with the best base-class validation accuracy; MERGETUNE is evaluated at its final prompt. At each gradient step, the LMC path term is evaluated at a single α\alpha sampled uniformly from [0,1][0,1], with the endpoints α∈{0,1}\alpha\in\{0,1\} included in the sampling support. The expectation over α\alpha enforces low classification loss across the full interpolation range, rather than at any fixed mixing weight.

Inference cost. The two prompts are needed only to compute the text features fgenf_{\mathrm{gen}} and fspecf_{\mathrm{spec}}, which is performed once per dataset. At per-image inference, only the precomputed interpolated feature f~(α)=ℓ2(fgen+α(fspec−fgen))\tilde{f}(\alpha)=\ell_2(f_{\mathrm{gen}}+\alpha(f_{\mathrm{spec}}-f_{\mathrm{gen}})) is used. Per-image cost is therefore identical to that of a single-prompt method.

Compute cost. We profiled one full DMC training cell (CoOp+DMC, Flowers102, seed 1, 51 base classes, 100 epochs, batch 128) with /usr/bin/time -v and a 2 s nvidia-smi sampler on a single NVIDIA A100-PCIE-40GB. Wall-clock is 15 min 34 s (9.34 s per epoch, 0.75 s per iteration), peak GPU memory is 5949 MiB (14.5% of the card), and the trainable parameter count is 4096 (two prompts of N=4N=4 tokens at d=512d=512). Extrapolating this cell to all 11 datasets, 3 baselines and 3 seeds gives roughly 26 A100-hours, an underestimate for larger datasets such as ImageNet. At test time the two prompts are collapsed into one interpolated text feature per class, so per-image inference matches single-prompt CoOp, KgCoOp and MMA exactly. DMC also inherits MERGETUNE’s optimizer, schedule and epoch count unchanged, so the only added cost is the second prompt. The profiled cell uses batch size 128, as in the component ablation; the DMC runs of Table 1 use batch size 32, except CoOp and KgCoOp on ImageNet (128).

α\alpha selection on the development set. The fixed inference coefficient α=0.20\alpha=0.20 was selected on a two-dataset development set (Flowers102 and Caltech101) and evaluated on the remaining eight held-out datasets (ImageNet excluded). On the held-out set, α=0.20\alpha=0.20 achieves a mean HM gap to the per-dataset oracle of −0.18-0.18 (worst case −0.28-0.28). The method is robust to this choice: every α∈[0.15,0.25]\alpha\in[0.15,0.25] yields a mean oracle gap of at most 0.26 HM. A per-criterion comparison against eight alternative selection rules is in Appendix § 18.

Interpolation Coefficient Selection

DMC produces a family of classifiers parameterized by α∈[0,1]\alpha\in[0,1]. This section asks how to pick α\alpha without novel-class data, and how much the fixed α=0.20\alpha= 0.20, chosen on Flowers102 and Caltech101, costs elsewhere. Here we analyze the α\alpha selection problem and evaluate eight automatic criteria.

Problem statement. We seek α∗\alpha^* maximizing HM =2⋅Base⋅Novel/(Base+Novel)= 2 \cdot\mathrm{Base} \cdot\mathrm{Novel}/(\mathrm{Base} + \mathrm{Novel}), but novel-class data is unavailable at selection time. Any criterion evaluated on base classes tends to favor high α\alpha (more specialization), even when the HM-optimal α\alpha is low.

Criteria evaluated. We evaluate eight criteria on up to four datasets (Flowers102, Caltech101, StanfordCars, EuroSAT), using CoOp + DMC + VA checkpoints; the five criteria with large gaps on the two development datasets were evaluated only there.

  • Val-Acc. Selects α\alpha with highest base-class validation accuracy. Fails because val accuracy increases monotonically with α\alpha, selecting α≈1.0\alpha\approx1.0.

  • Proxy-HM. Splits base classes into two random halves (10 splits, averaged), treating one as proxy novel classes. Selects α\alpha maximizing the proxy HM. Fails identically to Val-Acc: both halves were seen during training, so the proxy does not simulate the base-novel boundary.

  • Drift-Penalty. Balances validation accuracy against cosine drift from fw1f_{w_1}: α∗=arg⁡max⁡α[Accval(α)−μ⋅dcos⁡(α)]\alpha^* = \arg\max_{\alpha}[\mathrm{Acc}_{\mathrm{val}}(\alpha) - \mu\cdot d_{\cos}(\alpha)], with both terms min-max normalized to [0,1][0,1]. Requires tuning μ\mu per dataset.

  • Gram-Align. Selects α\alpha maximizing Pearson correlation between the class-prototype Gram matrices at α\alpha and at fw1f_{w_1}.

  • Effective Rank. Computes the effective rank of the prototype matrix F(α)∈RC×d\mathbf{F}(\alpha) \in\mathbb{R}^{C \times d} via erank⁡=exp⁡(−∑ipilog⁡pi)\operatorname{erank} = \exp(-\sum_i p_i \log p_i). Fails: effective rank increases with α\alpha because CE spreads prototypes apart, always selecting α=1.0\alpha= 1.0.

  • Neighborhood Preservation. For each class, measures the fraction of KK-nearest neighbors (in fw1f_{w_1} space) preserved at α\alpha. Selects highest α\alpha with NP above a threshold. Fails: NP starts below 1.0 at α=0\alpha= 0, so threshold criteria select α=0\alpha= 0.

  • KL Divergence. α∗=arg⁡max⁡α[−CEval(α)−ν⋅KL(qα∥qw1)]\alpha^* = \arg\max_{\alpha}[-\mathrm{CE}_{\mathrm{val}}(\alpha) - \nu\cdot\mathrm{KL}(q_{\alpha}\Vert q_{w_1})], with temperature τ\tau for the softmax. Both terms in nats. KL grows much faster than CE, making the balance sensitive to ν\nu and τ\tau.

  • Pareto Knee. Plots the Pareto front (−CEval(α),cos⁡(f(α),fw1))(-\mathrm{CE}_{\mathrm{val}}(\alpha), \cos(f(\alpha), f_{w_1})) and selects the point of maximum curvature. Hyperparameter-free, but overshoots on gentle fronts.

Results. Table 16 compares all criteria. Among adaptive criteria, Drift-Penalty (μ=4\mu=4) performs best (−0.22-0.22 avg) but requires dataset-dependent μ\mu. KL-based selection is principled but sensitive to ν/τ\nu/\tau. No adaptive criterion beats the fixed α=0.20\alpha= 0.20 (−0.19-0.19 avg). The Pareto knee overshoots on gentle fronts (StanfordCars −1.16-1.16, EuroSAT −2.07-2.07).

Table 16: α\alpha selection comparison (mean Δ\Delta to oracle HM, 3 seeds). Fixed α=0.20\alpha= 0.20 achieves the best average gap. —: not evaluated (large gap already on the development datasets).

CriterionFlowers102Caltech101StanfordCarsEuroSATAvg
Val-Acc−3.50−0.95———
Proxy-HM−5.29−1.05———
Gram-Align−2.29−0.24———
EffRank-Max−9.26−1.54———
NP≥\geq0.90−2.29−0.28———
Drift-Pen (μ=4\mu=4)−0.25−0.30−0.18−0.14−0.22
KL (τ=2\tau=2, ν=0.5\nu=0.5)−0.33−0.09−0.87−0.39−0.42
Pareto Knee−0.27−0.38−1.16−2.07−0.97
Fixed α=0.10\alpha=0.10−1.01−0.19−0.30−0.14−0.41
Fixed α=0.15\alpha=0.15−0.44−0.08−0.20−0.18−0.22
Fixed α=0.20\alpha=0.20−0.17−0.19−0.14−0.28−0.19

Table 16.

Robustness of the fixed α\alpha across datasets and dev-set choices

The analysis above evaluates α\alpha on four datasets. Two further experiments extend it to all 33 (baseline ×\times dataset) cells and, for CoOp+DMC, to every alternative two-dataset development set.

Per-dataset oracle α∗\alpha^*. We swept α\alpha on a 21-point grid and computed the oracle of the seed-averaged curve per cell (Table 17). The median oracle is α∗=0.25\alpha^* = 0.25 on both prompt-tuning bases, one grid step from the fixed 0.20, and the mean HM sacrificed by using 0.20 instead of the per-dataset oracle is 0.08 (CoOp) and 0.17 (KgCoOp). MMA’s median α∗=0.95\alpha^* = 0.95 is a symptom of the endpoint collapse of Appendix H — on a degenerate corridor the choice of α∗\alpha^* is poorly determined (mean gap 0.26 HM, up to 0.66 on ImageNet) — not of a failure of the fixed choice.

Dev-set reshuffle. Our fixed α\alpha was chosen on Flowers102 and Caltech101, which raises the question of how much that particular pair matters. We repeated the selection for all (112)=55\binom{11}{2} = 55 two-dataset development pairs and measured the held-out loss on the remaining 9 datasets (Table 18).

The selected α⋆\alpha^\star lands in [0.15, 0.25] for 47 of 55 pairs (85%), 47 pairs keep the held-out mean gap below 0.30 HM, and 54 of 55 stay below 0.50 HM. The median held-out gap is 0.15 HM. The paper’s own pair sits inside this dominant mode with a gap of 0.09 HM (measured against the seed-averaged oracle and on 9 held-out datasets, so not directly comparable with the 0.18 of Table 20), so the choice of development set does not drive the results. The worst pair, Food101 with ImageNet, selects α⋆=0.45\alpha^\star= 0.45 and costs 1.19 HM.

Drift-Penalty μ\mu sweep on the development set

Table 19 sweeps the drift-penalty weight μ\mu on the two development datasets (Flowers102, Caltech101; 3 seeds each, λgen=8.0\lambda_{\mathrm{gen}}=8.0, β=4.0\beta=4.0), reporting both mean and worst-case oracle gap; these runs are separate from those of Table 16, so the numbers differ. Accuracy-based criteria fail: validation accuracy selects α=1.0\alpha=1.0 on Flowers102 (pure specialization), losing −7.19-7.19 HM versus oracle, because base-class validation accuracy increases monotonically with α\alpha. Proxy-HM (random base-class splits used as proxy novel classes) selects the same α\alpha as Val-Acc in every case, indicating that base-class splits cannot simulate the base-novel boundary. The drift-penalty criterion balances validation accuracy against cosine drift from fw1f_{w_1}; with μ=4\mu=4, the gap shrinks to −0.13-0.13 on Flowers102 and −0.02-0.02 on Caltech101. The fixed α=0.20\alpha=0.20 achieves comparable performance with no hyperparameters.

Table 19: Drift-Penalty μ\mu sweep on the development set (Flowers102, Caltech101; 3 seeds, λgen=8.0\lambda_{\mathrm{gen}}=8.0, β=4.0\beta=4.0). Mean and worst-case HM gap to oracle.

CriterionFlowers102 Mean Δ\DeltaFlowers102 Worst Δ\DeltaCaltech101 Mean Δ\DeltaCaltech101 Worst Δ\Delta
Val-Acc−7.19-7.19−12.69-12.69−0.29-0.29−0.48-0.48
Proxy-HM−7.19-7.19−12.69-12.69−0.29-0.29−0.48-0.48
Gram-Align−1.47-1.47−1.91-1.91−0.24-0.24−0.45-0.45
ValAcc×\timesGram−0.78-0.78−1.22-1.22——
Drift-Pen (μ=1\mu=1)−0.78-0.78−1.22-1.22−0.16-0.16−0.48-0.48
Drift-Pen (μ=2\mu=2)−0.16-0.16−0.36-0.36−0.16-0.16−0.48-0.48
Drift-Pen (μ=4\mu=4)−0.13-0.13−0.29-0.29−0.02-0.02−0.06-0.06

Table 19.

Cross-validated fixed α\alpha

We select α\alpha on two development datasets (Flowers102, Caltech101) and evaluate on 8 held-out datasets. On the dev set, α∈{0.20,0.25}\alpha\in\{0.20, 0.25\} are tied (mean HM =90.44=90.44); we choose α=0.20\alpha=0.20 as the more conservative candidate. Table 20 reports the oracle gap on held-out datasets.

Table 20: Generalization of fixed α=0.20\alpha=0.20 (selected on dev set) to 8 held-out datasets. Mean Δ\Delta to oracle HM.

α\alphaPetsFoodCarsAircraftSUNDTDEuroSATUCFAvg
0.10−0.20-0.20−0.30-0.30−0.30-0.30−0.66-0.66−0.26-0.26−1.33-1.33−0.14-0.14−0.33-0.33−0.44-0.44
0.15−0.19-0.19−0.22-0.22−0.20-0.20−0.42-0.42−0.18-0.18−0.46-0.46−0.18-0.18−0.06-0.06−0.24-0.24
0.20−0.17-0.17−0.13-0.13−0.14-0.14−0.22-0.22−0.07-0.07−0.23-0.23−0.28-0.28−0.21-0.21−0.18-0.18
0.25−0.12-0.12−0.09-0.09−0.01-0.01−0.44-0.44−0.01-0.01−0.43-0.43−0.53-0.53−0.41-0.41−0.26-0.26
0.30−0.15-0.15−0.08-0.08−0.15-0.15−0.93-0.93−0.02-0.02−0.54-0.54−0.77-0.77−0.86-0.86−0.44-0.44

Table 20.

Fixed α=0.20\alpha= 0.20 achieves the best average gap (−0.18-0.18) on the eight held-out datasets. Any α∈[0.15,0.25]\alpha\in[0.15, 0.25] yields an average gap of at most 0.26 HM. This stability is consistent with the consistently shaped interpolation curves of DMC, whose HM peak lies in a narrow band across datasets (Figure 14).

Figure 14. HM, Base accuracy, and Novel accuracy vs α\alpha on four datasets. Each row is one dataset; columns show HM, Base, and Novel accuracy. The dashed red line marks α=0.20\alpha= 0.20. Base accuracy increases monotonically with α\alpha (the specialization prompt dominates), while Novel accuracy decreases (generalization degrades). The HM peak reflects the trade-off between these opposing trends and lies in α∈[0.10,0.35]\alpha\in[0.10, 0.35] across all datasets.

Figure 13. Pareto fronts for α\alpha selection on four datasets. Stars mark Pareto knee points. As α\alpha increases, features move right (better base fit) and down (more drift from fw1f_{w_1}).

Hyperparameter Sensitivity

DMC’s two main scalar weights are the LMC path weight β\beta and the cosine regularizer weight λgen\lambda_{\mathrm{gen}}, the counterparts of MERGETUNE’s β\beta and λ\lambda. Both are selected on the two development datasets (Flowers102, Caltech101; 3 seeds each) and held fixed for all reported experiments. This section asks how sensitive DMC is to these two weights; the sweeps show broad plateaus around the selected values.

LMC Path Weight (beta)

The training objective contains an LMC path term whose weight β\beta controls how strongly the corridor between fspecf_{\mathrm{spec}} and fgenf_{\mathrm{gen}} is regularized. Table 21 evaluates β\beta on Flowers102 and Caltech101 with λgen=8.0\lambda_{\mathrm{gen}} = 8.0 across three seeds, using DMC without VA (λVA=0\lambda_{\mathrm{VA}} = 0). At each run’s oracle α∗\alpha^{*}, higher β\beta reduces cross-seed variance: on Flowers102, β=4\beta= 4 reduces the sample standard deviation from ±1.50\pm1.50 to ±0.37\pm0.37, stabilizing an outlier seed, at the cost of a lower mean (84.15 versus 84.44 at β=1\beta= 1, within noise); its mean is also within noise of, and slightly below, the single-prompt baseline row (84.24 ±\pm 0.25). On Caltech101, β=4\beta= 4 improves both mean and stability. At the fixed inference coefficient α=0.20\alpha= 0.20 used everywhere else, β=4\beta= 4 has the smallest standard deviation on both datasets, the best Caltech101 mean (96.31 ±\pm 0.10 versus 95.84 ±\pm 0.32 at β=1\beta= 1), and a Flowers102 mean within noise of the best (83.91 ±\pm 0.46, versus 84.00 ±\pm 0.91 at β=2\beta= 2 and 82.78 ±\pm 0.72 at β=1\beta= 1). The case for β=4\beta= 4 is therefore lower variance, not a higher mean. We therefore use β=4.0\beta= 4.0 throughout.

Flowers102Caltech101
β\betaS1S2S3Mean ±\pm StdS1S2S3Mean ±\pm Std
1.084.6682.8485.8284.44 ±\pm 1.5096.1596.3795.7696.09 ±\pm 0.31
2.084.3883.0685.6384.36 ±\pm 1.2996.2096.3995.7696.12 ±\pm 0.32
4.084.2683.7384.4584.15 ±\pm 0.3796.2796.4296.5596.41 ±\pm 0.14
Baseline84.0684.1284.5384.24 ±\pm 0.2596.0096.2495.9296.05 ±\pm 0.17

Table 21. β\beta (LMC path weight) sweep (λgen=8.0\lambda_{\mathrm{gen}} = 8.0, 3 seeds, DMC without VA). Per-seed HM at each run’s oracle α∗\alpha^{*}; mean ±\pm sample standard deviation. Baseline: single-prompt MERGETUNE objective (λ=10\lambda= 10, β=1\beta= 1), same seeds. Higher β\beta stabilizes performance; the selected β=4.0\beta= 4.0 achieves the lowest cross-seed variance among the DMC rows on both datasets.

Cosine Regularizer Weight (lambda-gen)

Table 22 reports HM as a function of λgen\lambda_{\mathrm{gen}}, the weight on the cosine regularizer R\mathcal{R} that anchors cgen\mathbf{c}_{\mathrm{gen}} to fw1\mathbf{f}_{w1} (Eq. (1)). On Flowers102 and Caltech101 with β=1.0\beta= 1.0 (seed 1), performance plateaus for λgen≥4\lambda_{\mathrm{gen}} \ge4 (Flowers102 HM 84.45–84.66; Caltech101 95.72–96.15). Below this threshold, cosine (fgen,fw1)(f_{\mathrm{gen}}, f_{w1}) drops from 0.98 to 0.92 and novel accuracy degrades. At λgen=0\lambda_{\mathrm{gen}} = 0 the cosine anchor is removed and decoupling collapses: both prompts converge to the same base-specialized solution. We select λgen=8.0\lambda_{\mathrm{gen}} = 8.0.

Proofs

Proof of Lemma 1

Proof. At any stationary point c∗\mathbf{c}^{*} of L(c)=LCE(c)+λR(c,fw1)\mathcal{L}(\mathbf{c}) = \mathcal{L}_{\mathrm{CE}}(\mathbf{c}) + \lambda\mathcal{R}(\mathbf{c}, f_{w_1}) with λ>0\lambda> 0, the first-order condition gives:

∇cLCE(c∗)+λ∇cR(c∗)=0.\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}}(\mathbf{c}^{*}) + \lambda\nabla_{\mathbf{c}}\mathcal{R}(\mathbf{c}^{*}) = 0.

Setting μ1=1/(1+λ)>0\mu_1 = 1/(1 + \lambda) > 0 and μ2=λ/(1+λ)>0\mu_2 = \lambda/(1 + \lambda) > 0 (so μ1+μ2=1\mu_1 + \mu_2 = 1), we obtain

μ1∇cLCE(c∗)+μ2∇cR(c∗)=0.\mu_1 \nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}}(\mathbf{c}^{*}) + \mu_2 \nabla_{\mathbf{c}}\mathcal{R}(\mathbf{c}^{*}) = 0.

This is precisely the Pareto-stationarity condition [13]: a point is Pareto-stationary for (LCE,R)(\mathcal{L}_{\mathrm{CE}}, \mathcal{R}) if and only if there exist non-negative weights summing to one such that the weighted gradient vanishes. Since μ1,μ2>0\mu_1, \mu_2 > 0, the condition holds and c∗\mathbf{c}^{*} is Pareto-stationary, meaning no direction in RN×D\mathbb{R}^{N \times D} simultaneously decreases both objectives to first order.

If ∇cLCE(c∗)≠0\nabla_{\mathbf{c}}\mathcal{L}_{\mathrm{CE}}(\mathbf{c}^{*}) \ne0, then c∗\mathbf{c}^{*} is not a critical point of LCE\mathcal{L}_{\mathrm{CE}} alone; in particular, c∗\mathbf{c}^{*} does not minimize LCE\mathcal{L}_{\mathrm{CE}}. The analogous argument applies to R\mathcal{R} when its gradient is nonzero.

Proof of Proposition 1

Proposition 1 (CPI violation lower-bounds the novel-accuracy drop). Let θ=A(Dbase)\theta= A(\mathcal{D}_{\mathrm{base}}) be the prompt produced by a training algorithm AA that uses a regularizer R\mathcal{R}, and let θ∗=A∗(Dbase)\theta^{*} = A^{*}(\mathcal{D}_{\mathrm{base}}) be the prompt from an otherwise identical algorithm using a CPI-satisfying regularizer. Let Ybase∼Unif⁡(Ybase)Y_{\mathrm{base}} \sim\operatorname{Unif}(\mathcal{Y}_{\mathrm{base}}) and Ynovel∼Unif⁡(Ynovel)Y_{\mathrm{novel}} \sim\operatorname{Unif}(\mathcal{Y}_{\mathrm{novel}}). Under assumptions (i)–(iii) below (equal prompt entropy, conditional label independence, and baseline efficiency), the following capacity bound holds:

I(θ;Ynovel)≤I(θ∗;Ynovel)−I(θ;Ybase).I(\theta; Y_{\mathrm{novel}}) \le I(\theta^{*}; Y_{\mathrm{novel}}) - I(\theta; Y_{\mathrm{base}}).

If R\mathcal{R} violates CPI, then, under assumption (0), I(θ;Ybase)>0I(\theta; Y_{\mathrm{base}}) > 0 and

Anovel(θ∗)−Anovel(θ)≥I(θ;Ybase)log⁡∣Ynovel∣>0.A_{\mathrm{novel}}(\theta^{*}) - A_{\mathrm{novel}}(\theta) \ge\frac{I(\theta; Y_{\mathrm{base}})}{\log|\mathcal{Y}_{\mathrm{novel}}|} > 0.

Setup. Let Dbase∼pbasen\mathcal{D}_{\mathrm{base}} \sim p_{\mathrm{base}}^{n} denote the training set, and write θ=A(Dbase)\theta= A(\mathcal{D}_{\mathrm{base}}) for the converged prompt produced by training algorithm AA. The prompt θ∈RN×D\theta\in\mathbb{R}^{N \times D} is a random variable whose randomness is inherited entirely from the draw of Dbase\mathcal{D}_{\mathrm{base}}. Let Ybase∼Unif⁡(Ybase)Y_{\mathrm{base}} \sim\operatorname{Unif}(\mathcal{Y}_{\mathrm{base}}) and Ynovel∼Unif⁡(Ynovel)Y_{\mathrm{novel}} \sim\operatorname{Unif}(\mathcal{Y}_{\mathrm{novel}}) be the marginal label random variables, and let M=∣Ynovel∣M = |\mathcal{Y}_{\mathrm{novel}}|. Since Ybase∩Ynovel=∅\mathcal{Y}_{\mathrm{base}} \cap\mathcal{Y}_{\mathrm{novel}} = \emptyset, marginal independence holds: Ybase⊥YnovelY_{\mathrm{base}} \perp Y_{\mathrm{novel}}. In this idealized model, the joint law of (θ,Ybase,Ynovel)(\theta, Y_{\mathrm{base}}, Y_{\mathrm{novel}}) is induced by the random draw of the training data (and of which classes are labeled as base), so θ\theta may carry information about the base labels. We treat θ\theta as a discrete random variable (finite-precision parameters), so that H(θ)H(\theta) and all mutual informations below are Shannon quantities.

Part 1: CPI violation implies I(θ;Ybase)>0I(\theta; Y_{\mathrm{base}}) > 0. We impose the following regularity condition on AA:

(0) Distinct minimizers. For any C×CC \times C permutation matrix Π0\Pi_0 such that R(Π0f,Π0fw1)≠R(f,fw1)\mathcal{R}(\Pi_0 f, \Pi_0 f_{w_1}) \ne\mathcal{R}(f, f_{w_1}), the algorithm AA produces outputs that differ in distribution on Dbase\mathcal{D}_{\mathrm{base}} and on the relabeled dataset Dbase(Π0)\mathcal{D}_{\mathrm{base}}^{(\Pi_0)}: A(Dbase)≠dA(Dbase(Π0))A(\mathcal{D}_{\mathrm{base}}) \ne_d A(\mathcal{D}_{\mathrm{base}}^{(\Pi_0)}). This holds whenever the loss landscape is not symmetric under Π0\Pi_0. CPI violation guarantees this asymmetry: since R\mathcal{R} assigns different penalties to the two datasets, their optimization landscapes differ, and their minimizers differ generically.

The condition I(θ;Ybase)=0I(\theta; Y_{\mathrm{base}}) = 0 would require A(Dbase)=dA(Dbase(Π))A(\mathcal{D}_{\mathrm{base}}) =_d A(\mathcal{D}_{\mathrm{base}}^{(\Pi)}) for every permutation Π\Pi: the output distribution must be invariant to relabeling. Since R\mathcal{R} violates CPI (Definition 1), there exists Π0\Pi_0 such that R(Π0f,Π0fw1)≠R(f,fw1)\mathcal{R}(\Pi_0 f, \Pi_0 f_{w_1}) \ne\mathcal{R}(f, f_{w_1}). By assumption (0), A(Dbase)≠dA(Dbase(Π0))A(\mathcal{D}_{\mathrm{base}}) \ne_d A(\mathcal{D}_{\mathrm{base}}^{(\Pi_0)}), contradicting invariance. Therefore I(θ;Ybase)>0I(\theta; Y_{\mathrm{base}}) > 0.

Part 2: The Fano bound. We invoke three assumptions:

(i) Equal prompt entropy. H(θ)=H(θ∗)=κH(\theta) = H(\theta^*) = \kappa for some κ>0\kappa> 0. Both prompts have the same entropy, so differences in novel accuracy are attributable to what the capacity encodes, not how much.

(ii) Conditional label independence. Ybase⊥Ynovel∣θY_{\mathrm{base}} \perp Y_{\mathrm{novel}} \mid\theta and Ybase⊥Ynovel∣θ∗Y_{\mathrm{base}} \perp Y_{\mathrm{novel}} \mid\theta^*. Given the prompt, novel and base class labels are independent. We treat this as an assumption; it is natural when the two label sets are semantically disjoint, so no specific base-class label helps predict which novel class an image belongs to.

(iii) Baseline efficiency. I(θ∗;Ynovel)=H(θ∗)=κI(\theta^*; Y_{\mathrm{novel}}) = H(\theta^*) = \kappa and Anovel∗=(I(θ∗;Ynovel)+IX+1)/log⁡MA^*_{\mathrm{novel}} = (I(\theta^*; Y_{\mathrm{novel}}) + I_X + 1)/\log M, where IX=I(Ynovel;X)I_X = I(Y_{\mathrm{novel}}; X) is the image-side mutual information (identical for both prompts, since test images are drawn from the same distribution). This is a best-case assumption: we suppose the CPI-satisfying baseline fully converts its freed capacity into novel-class information so that the Fano upper bound is tight. If the baseline falls short of this ceiling, the lower bound on the accuracy gap is no longer guaranteed and can overstate the gap (Appendix § 16.5).

Capacity bound. Applying the chain rule and using marginal independence (Ybase⊥Ynovel)(Y_{\mathrm{base}} \perp Y_{\mathrm{novel}}) and assumption (ii):

I(θ;Ynovel∣Ybase)=H(Ynovel∣Ybase)−H(Ynovel∣θ,Ybase)=H(Ynovel)−H(Ynovel∣θ)=I(θ;Ynovel).I(\theta; Y_{\mathrm{novel}} \mid Y_{\mathrm{base}}) = H(Y_{\mathrm{novel}} \mid Y_{\mathrm{base}}) - H(Y_{\mathrm{novel}} \mid\theta, Y_{\mathrm{base}}) = H(Y_{\mathrm{novel}}) - H(Y_{\mathrm{novel}} \mid\theta) = I(\theta; Y_{\mathrm{novel}).}

Therefore:

I(θ;Ybase,Ynovel)=I(θ;Ybase)+I(θ;Ynovel).I(\theta; Y_{\mathrm{base}}, Y_{\mathrm{novel}}) = I(\theta; Y_{\mathrm{base}}) + I(\theta; Y_{\mathrm{novel}}).

Since I(U;V)≤H(U)I(U; V) \le H(U) for any random variables U,VU, V:

I(θ;Ybase)+I(θ;Ynovel)≤H(θ)=κ(by assumption (i)).I(\theta; Y_{\mathrm{base}}) + I(\theta; Y_{\mathrm{novel}}) \le H(\theta) = \kappa\quad\text{(by assumption (i)).}

This yields the capacity bound:

I(θ;Ynovel)≤κ−I(θ;Ybase).(7)I(\theta; Y_{\mathrm{novel}}) \le\kappa- I(\theta; Y_{\mathrm{base}}). \tag*{(7)}

By assumption (iii), I(θ∗;Ynovel)=κI(\theta^*; Y_{\mathrm{novel}}) = \kappa; applied to θ∗\theta^*, the same capacity bound then forces I(θ∗;Ybase)=0I(\theta^*; Y_{\mathrm{base}}) = 0. This is an idealization: it ignores the base-label information that the cross-entropy term injects into both prompts, and only isolates the contribution of the regularizer. Substituting into (7):

I(θ;Ynovel)≤I(θ∗;Ynovel)−I(θ;Ybase).(8)I(\theta; Y_{\mathrm{novel}}) \le I(\theta^*; Y_{\mathrm{novel}}) - I(\theta; Y_{\mathrm{base}}). \tag*{(8)}

This is the capacity bound behind Proposition 1.

Fano inequality. We assume that, given the prompt, the image carries the same information about its novel label as it does marginally, i.e. the prompt does not change what the image itself reveals:

I(Ynovel;X∣θ)=I(Ynovel;X)=:IX.(9)I(Y_{\mathrm{novel}}; X \mid\theta) = I(Y_{\mathrm{novel}}; X) =: I_X. \tag*{(9)}

Under (9), the chain rule gives:

I(Ynovel;θ,X)=I(Ynovel;θ)+I(Ynovel;X∣θ)=I(Ynovel;θ)+I(Ynovel;X)=I(θ;Ynovel)+IX,I(Y_{\mathrm{novel}};\theta, X)=I(Y_{\mathrm{novel}};\theta)+I(Y_{\mathrm{novel}};X\mid\theta) =I(Y_{\mathrm{novel}};\theta)+I(Y_{\mathrm{novel}};X)=I(\theta;Y_{\mathrm{novel})}+I_X,

where the second equality uses (9). For any classifier Y^novel=g(θ,X)\hat{Y}_{\mathrm{novel}}=g(\theta,X), Fano’s inequality [3] (Theorem 2.10.1) applied to the channel Ynovel→(θ,X)→Y^novelY_{\mathrm{novel}}\to(\theta,X)\to\hat{Y}_{\mathrm{novel}} gives (logarithms are base 2):

Anovel≤I(Ynovel;Y^novel)+1log⁡M.A_{\mathrm{novel}}\le\frac{I(Y_{\mathrm{novel}};\hat{Y}_{\mathrm{novel}})+1}{\log M}.

Since Y^novel\hat{Y}_{\mathrm{novel}} is a deterministic function of (θ,X)(\theta,X), the data-processing inequality yields I(Ynovel;Y^novel)≤I(Ynovel;θ,X)I(Y_{\mathrm{novel}};\hat{Y}_{\mathrm{novel}})\le I(Y_{\mathrm{novel}};\theta,X), and therefore:

Anovel≤I(θ;Ynovel)+IX+1log⁡M.(10)A_{\mathrm{novel}}\le\frac{I(\theta;Y_{\mathrm{novel}})+I_X+1}{\log M}. \tag*{(10)}

Completing the bound. Substituting (8) into (10):

Anovel≤I(θ∗;Ynovel)−I(θ;Ybase)+IX+1log⁡M=Anovel∗−I(θ;Ybase)log⁡M,A_{\mathrm{novel}}\le\frac{I(\theta^*;Y_{\mathrm{novel}})-I(\theta;Y_{\mathrm{base}})+I_X+1}{\log M}=A^*_{\mathrm{novel}}-\frac{I(\theta;Y_{\mathrm{base}})}{\log M},

where the last equality uses assumption (iii) and IXI_X cancels because test images are drawn from the same distribution for both prompts. Rearranging:

ΔAnovel=Anovel∗−Anovel≥I(θ;Ybase)log⁡∣Ynovel∣.(11)\Delta A_{\mathrm{novel}}=A^*_{\mathrm{novel}}-A_{\mathrm{novel}}\ge\frac{I(\theta;Y_{\mathrm{base}})}{\log\lvert Y_{\mathrm{novel}}\rvert}. \tag*{(11)}

If R\mathcal{R} violates CPI, Part 1 gives I(θ;Ybase)>0I(\theta;Y_{\mathrm{base}})>0, so ΔAnovel>0\Delta A_{\mathrm{novel}}>0. This is the bound stated informally in Proposition 1.

Proof of Corollary 1

Corollary 1 (Cosine regularizer satisfies CPI). The cosine regularizer R\mathcal{R} in Eq. (1) satisfies Definition 1: it uses no image labels, so R\mathcal{R} itself adds no base-label information to the prompt it regularizes.

Proof. For any permutation matrix Π\Pi and feature matrices f,fw1∈RC×Df,f_{w_1}\in\mathbb{R}^{C\times D}, permuting the rows of both simultaneously re-indexes the classes in the sum. Each cosine term satisfies cos⁡((Πf)k,(Πfw1)k)=cos⁡(fΠ−1(k),fw1,Π−1(k))\cos((\Pi f)_k,(\Pi f_{w_1})_k)=\cos(f_{\Pi^{-1}(k)},f_{w_1,\Pi^{-1}(k)}), so summing over all kk is equivalent to summing over the re-indexed classes. Since the sum in Eq. (1) runs uniformly over all CC classes, R(Πf,Πfw1)=R(f,fw1)\mathcal{R}(\Pi f,\Pi f_{w_1})=\mathcal{R}(f,f_{w_1}) for every Π\Pi, confirming CPI (Definition 1).

Scope. In DMC, cgenc_{\mathrm{gen}} also receives label-dependent cross-entropy gradients through the LMC corridor term of Eq. (4) (for every sampled α<1\alpha<1), so the trained cgenc_{\mathrm{gen}} can carry base-label information. The corollary therefore states that the cosine regularizer itself introduces no base-label dependence; it does not claim that cgenc_{\mathrm{gen}} is independent of the base labels under the full DMC objective.

Remark 1 (CPI violation and the Hellstrom generalization bound). By Theorem 2.2 of Hellström and Durisi [ [7], for θ\theta trained on DbaseD_{\mathrm{base}} and a loss bounded in [0,1][0,1]:

E[Abase,train(θ)−Abase(θ)]≤2I(θ;Dbase)n,\mathbb{E}\left[A_{\mathrm{base,train}}(\theta)-A_{\mathrm{base}}(\theta)\right]\le\sqrt{\frac{2I(\theta;D_{\mathrm{base}})}{n}},

where Abase,train(θ)A_{\mathrm{base,train}}(\theta) is the training accuracy on base classes, Abase(θ)A_{\mathrm{base}}(\theta) its population counterpart, and the expectation is over DbaseD_{\mathrm{base}} and the training algorithm. When CPI is violated, I(θ;Dbase)≥I(θ;Ybase)>0I(\theta;D_{\mathrm{base}})\ge I(\theta;Y_{\mathrm{base}})>0, so the bound is strictly positive: a larger mutual information between the prompt and base training data permits a larger generalization gap. The bound concerns the base-class distribution; it does not by itself bound novel-class accuracy, and a positive upper bound permits but does not imply a gap. We include it as a complementary view, not as a second proof of Proposition 1.

Proof of Proposition 2

Proposition 2 (Visual Anchor as KL regularization). Define the Gibbs class-similarity distributions pK0(k∣x)∝exp⁡(γfw1,kTV(x)/τ)p_{K_0}(k \mid x) \propto\exp(\gamma f_{w_{1,k}}^{\mathsf{T}}V(x)/\tau) and pKθ(k∣x)∝exp⁡(γfspec,kTV(x)/τ)p_{K_\theta}(k \mid x) \propto\exp(\gamma f_{\mathrm{spec},k}^{\mathsf{T}}V(x)/\tau), where fspec=ℓ2(T(cspec))f_{\mathrm{spec}} = \ell_2(T(c_{\mathrm{spec}})), γ\gamma is CLIP’s logit scale, and V(x)V(x) is shorthand for the ℓ2\ell_2-normalized visual feature ℓ2(V(x))\ell_2(V(x)). In the single-view case (va=vb=V(x))(v_a=v_b=V(x)), the VA loss (Eq. (5)) reduces exactly to:

LVA(cspec)=Ex KL⁡(pK0(⋅∣x)∥pKθ(⋅∣x)).(12)\mathcal{L}_{\mathrm{VA}}(c_{\mathrm{spec}})=\mathbb{E}_x\,\operatorname{KL}\left(p_{K_0}(\cdot\mid x)\mathbin{\|}p_{K_\theta}(\cdot\mid x)\right). \tag*{(12)}

Minimizing LVA\mathcal{L}_{\mathrm{VA}} is thus equivalent to minimizing KL divergence from CLIP’s pretrained class-similarity distribution. The two-view formulation in Eq. (5) additionally enforces augmentation consistency; for it, the proof establishes only that the loss converges to Eq. (12) as the augmentation variance vanishes.

Exact equality in the single-view case. Define the Gibbs class-similarity distributions:

pK0(k∣x)=exp⁡(γfw1,kTV(x)/τ)∑k′exp⁡(γfw1,k′TV(x)/τ),pKθ(k∣x)=exp⁡(γfspec,kTV(x)/τ)∑k′exp⁡(γfspec,k′TV(x)/τ).p_{K_0}(k\mid x)=\frac{\exp(\gamma f_{w_{1,k}}^{\mathsf{T}}V(x)/\tau)}{\sum_{k'}\exp(\gamma f_{w_{1,k'}}^{\mathsf{T}}V(x)/\tau)},\qquad p_{K_\theta}(k\mid x)=\frac{\exp(\gamma f_{\mathrm{spec},k}^{\mathsf{T}}V(x)/\tau)}{\sum_{k'}\exp(\gamma f_{\mathrm{spec},k'}^{\mathsf{T}}V(x)/\tau)}.

In the single-view case (va=vb=V(x))(v_a=v_b=V(x)), the VA loss (Eq. (5)) reduces to:

LVA(cspec)=Ex∑kpK0(k∣x)log⁡pK0(k∣x)pKθ(k∣x)=Ex KL⁡(pK0(⋅∣x)∥pKθ(⋅∣x)).\mathcal{L}_{\mathrm{VA}}(c_{\mathrm{spec}})=\mathbb{E}_x\sum_k p_{K_0}(k\mid x)\log\frac{p_{K_0}(k\mid x)}{p_{K_\theta}(k\mid x)}=\mathbb{E}_x\,\operatorname{KL}\left(p_{K_0}(\cdot\mid x)\mathbin{\|}p_{K_\theta}(\cdot\mid x)\right).

This is an exact equality: since pK0p_{K_0} and pKθp_{K_\theta} are both proper normalized distributions, the KL divergence is well-defined and no additive constant appears. This establishes Eq. (12). □

KL direction. The direction KL⁡(pK0∥pKθ)\operatorname{KL}(p_{K_0}\mathbin{\|}p_{K_\theta}) (teacher ∥\mathbin{\|} student) penalizes fspecf_{\mathrm{spec}} for assigning low probability where the pretrained model fw1f_{w_1} is confident, which regularizes fspecf_{\mathrm{spec}} toward the zero-shot geometry. The reverse direction KL⁡(pKθ∥pK0)\operatorname{KL}(p_{K_\theta}\mathbin{\|}p_{K_0}) would instead penalize the student for assigning high probability to classes where the pretrained model is not confident; this mode-seeking behavior does not enforce coverage of all teacher-confident classes and is therefore a weaker regularizer toward the zero-shot distribution [1].

Two-view approximation. In practice (Eq. (5)), teacher and student use independently augmented views va=V(aug⁡(x))v_a=V(\operatorname{aug}(x)) and vb=V(aug⁡′(x))v_b=V(\operatorname{aug}'(x)), yielding the cross-view loss

LVA(2)=Ex,va,vbKL⁡(pK0(⋅∣x,va)∥pKθ(⋅∣x,vb)),\mathcal{L}_{\mathrm{VA}}^{(2)}=\mathbb{E}_{x,v_a,v_b}\operatorname{KL}\left(p_{K_0}(\cdot\mid x,v_a)\mathbin{\|}p_{K_\theta}(\cdot\mid x,v_b)\right),

which differs from the single-view expression. As augmentation variance vanishes, i.e., E∥V(aug⁡(x))−V(x)∥2→0\mathbb{E}\lVert V(\operatorname{aug}(x))-V(x)\rVert^2\to0, both vav_a and vbv_b converge in distribution to V(x)V(x); by continuity of the KL divergence and dominated convergence (the logits are bounded because all features are ℓ2\ell_2-normalized), LVA(2)\mathcal{L}_{\mathrm{VA}}^{(2)} converges to the single-view expression. The independent views serve a different purpose: by using distinct random crops va≠vbv_a\ne v_b of the same image, minimizing the cross-view KL requires fspecf_{\mathrm{spec}} to match the teacher’s class-similarity structure across the augmentation distribution, not just for the specific views seen at each step. This is analogous to the cross-view consistency used in DINO [2] and MoCo [6]. For nonzero augmentation, LVA(2)\mathcal{L}_{\mathrm{VA}}^{(2)} is still a KL divergence from CLIP’s pretrained class-similarity distribution, but one evaluated on a different view than the student’s; it equals Eq. (12) only in the zero-augmentation limit, and we make no exactness claim beyond that limit. □

Assumptions summary

For completeness, we list all assumptions used in the proofs above. Items 2–5 are the four assumptions of Proposition 1; Appendix I.5 discusses when each fails.

  1. Smoothness (Lemma 1). LCE\mathcal{L}_{\mathrm{CE}} and R\mathcal{R} are continuously differentiable in cc. If the gradient of each is nonzero at c∗c^*, the conclusion that neither objective is individually minimized follows immediately.

  1. Distinct minimizers (Proposition 1, assumption (0)). CPI violation changes the optimization landscape, producing distinct minimizers under different class relabelings. We expect this to hold generically, but it is not guaranteed: two different objectives can share a minimizer.

  1. Equal prompt entropy (Proposition 1, assumption (i)). H(θ)=H(θ∗)=κH(\theta) = H(\theta^*) = \kappa. This normalizes the comparison so that differences in novel accuracy are attributed to allocation, not amount, of capacity.

  1. Conditional label independence (Proposition 1, assumption (ii)). Ybase⊥Ynovel∣θY_{\mathrm{base}} \perp Y_{\mathrm{novel}} \mid\theta and given θ∗\theta^*. This is an assumption, not a consequence of label-set disjointness alone. It is natural when the two class sets are semantically disjoint and no base-class label provides information about which novel class an image belongs to.

  1. Baseline efficiency (Proposition 1, assumption (iii)). The CPI-satisfying baseline fully converts its freed capacity into novel-class information. If the baseline is sub-optimal, the bound (11) is no longer guaranteed and can overstate the accuracy gap.

  1. Single-view case (Proposition 2). Eq. (12) holds exactly when va=vbv_a = v_b. The two-view formulation (5) is not covered exactly; it converges to the single-view expression as augmentation variance vanishes.

NeurIPS Paper Checklist

Claims

Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?

Answer: [Yes]

Justification: The abstract and introduction state three claims: (1) a single prompt settles at a Pareto-stationary compromise between the two objectives, and the single-prompt variants we test do not clearly improve on it; (2) DMC shifts the base–novel frontier for prompt-tuning baselines via a two-prompt architecture with a feature-space LMC corridor; (3) regularizers should satisfy CPI to transfer across the base-novel boundary, motivated by an idealized bound. Claim (1) is motivated by Lemma 1 and supported empirically (Figure 4, Appendix § 12); claim (3) is motivated by Proposition 1, an idealized bound, and claim (2) is supported by experiments on 11 datasets across three baselines (Section 4); the MMA scope limitation and the idealized nature of the CPI bound are stated where the claims are made.

Guidelines:

  • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.

  • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.

  • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.

  • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.

Limitations

Question: Does the paper discuss the limitations of the work performed by the authors?

Answer: [Yes]

Justification: A dedicated Limitations paragraph in Section 5 discusses: (1) an additional inference hyperparameter α\alpha with no base-only selection criterion that recovers the HM-optimal point without novel-class signal; (2) reduced Pareto shift on near-ceiling datasets where the two prompts converge to similar representations; (3) the theoretical assumptions underlying Proposition 1 (stated in Appendix § 20, with their failure modes in Appendix § 16.5); and (4) the requirement that the two endpoints stay separated, which fails on the adapter-based MMA (Appendix § 15).

Guidelines:

  • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.

  • The authors are encouraged to create a separate “Limitations” section in their paper.

  • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.

  • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.

  • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.

  • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.

  • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.

  • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.

Theory assumptions and proofs

Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?

Answer: [Yes]

Justification: All assumptions are stated in the formal statement (Appendix § 20.2) and listed in full in Appendix § 20.5. Proofs are given in Appendix § 20 for Lemma 1 (Pareto stationarity), Proposition 1 (CPI–Fano lower bound), Corollary 1 (cosine satisfies CPI), Proposition 2 (Visual Anchor as a KL divergence), and Remark 1 (base-class generalization gap, a complementary view). Proposition 1 holds in an idealized model; Appendix § 16.5 discusses when its assumptions fail. Each result in the main text is cross-referenced to its appendix proof.

Guidelines:

  • The answer [N/A] means that the paper does not include theoretical results.

  • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.

  • All assumptions should be clearly stated or referenced in the statement of any theorems.

  • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.

  • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.

  • Theorems and Lemmas that the proof relies upon should be properly referenced.

Experimental result reproducibility

Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?

Answer: [Yes]

Justification: Algorithm 1 gives the complete training and inference procedure. Section 4 specifies the backbone (CLIP ViT-B/16), all hyperparameters (λreg=8.0\lambda_{\mathrm{reg}} = 8.0, β=4.0\beta= 4.0, λVA=0.5\lambda_{\mathrm{VA}} = 0.5, τ=2.0\tau= 2.0, α=0.20\alpha= 0.20), the 16-shot base-to-novel protocol, the α\alpha selection procedure (dev set: Flowers102 and Caltech101, 3 seeds), and the datasets. All other settings follow MergeTune [16] defaults, which are publicly available.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.

  • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.

  • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general, releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed

instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.

  • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.

Open access to data and code

Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?

Answer: [Yes]

Justification: Code is publicly available at https://github.com/IemProg/DMC. All 11 evaluation datasets are publicly available benchmarks following the standard CoOp protocol [25]. Full implementation details are provided in Section 4, Algorithm 1 and Appendix J.

Guidelines:

  • The answer [N/A] means that paper does not include experiments requiring code.

  • Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).

  • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.

  • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.

  • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.

  • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).

  • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.

Experimental setting/details

Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?

Answer: [Yes]

Justification: Section 4 specifies the base-to-novel split protocol (16-shot training, separate base and novel test sets), all DMC hyperparameters, and how β\beta, λgen\lambda_{\mathrm{gen}} and α\alpha were selected (dev-set sweeps on Flowers102 and Caltech101; λVA\lambda_{\mathrm{VA}} and τ\tau are fixed, and we report no sweep for them), the CLIP ViT-B/16 backbone, and the baselines. Optimizer and remaining training settings (learning rate, epochs) follow MERGETUNE defaults; batch sizes are given in Appendix § 17. The α\alpha selection analysis is in § 4.1 and Appendix § 18.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.

  • The full details can be provided either with the code, in appendix, or as supplemental material.

Experiment statistical significance

Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?

Answer: [Yes]

Justification: Every configuration behind the main results and ablation tables is run with 3 seeds; the single-prompt loss sweep, the λgen\lambda_{\mathrm{gen}} sweep and the training-dynamics figure use one seed and are labelled as such.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.

  • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).

  • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)

  • The assumptions made should be given (e.g., Normally distributed errors).

  • It should be clear whether the error bar is the standard deviation or the standard error of the mean.

  • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.

  • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).

  • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.

Experiments compute resources

Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?

Answer: [Yes]

Justification: Appendix J (Compute cost) reports the GPU type (one NVIDIA A100-PCIE-40GB), peak memory (5949 MiB), and wall-clock time of a full training cell (15 min 34 s), and estimates roughly 26 A100-hours for all 11 datasets, 3 baselines and 3 seeds. This covers the main-table DMC runs only; ablations, sweeps and preliminary experiments required additional compute of the same order per run. DMC trains approximately 2K parameters per prompt on top of a frozen CLIP ViT-B/16; training follows MERGETUNE’s schedule.

Guidelines:

  • The answer [N/A] means that the paper does not include experiments.

  • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.

  • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.

  • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).

Code of ethics

Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?

Answer: [Yes]

Justification: The paper proposes a prompt learning method for image classification using publicly available datasets and models. No human subjects, sensitive data, or dual-use risks are involved.

Guidelines:

  • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.

  • If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.

  • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).

Broader impacts

Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?

Answer: [N/A]

Justification: This paper presents a foundational method for adapting vision-language models to downstream classification tasks. It does not target a specific application domain and has no direct path to high-risk societal harms such as surveillance, disinformation, or biased decision-making systems.

Guidelines:

  • The answer [N/A] means that there is no societal impact of the work performed.

  • If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.

  • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.

  • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.

  • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.

  • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).

Safeguards

Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)? Answer: [N/A]

Justification: No new datasets or high-risk pre-trained models are released. The method fine-tunes a small prompt context on top of publicly available CLIP checkpoints.

Guidelines:

  • The answer [N/A] means that the paper poses no such risks.

  • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.

  • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.

  • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.

Licenses for existing assets

Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?

Answer: [Yes]

Justification: All datasets (ImageNet, Caltech101, OxfordPets, StanfordCars, Flowers102, Food101, FGVCAircraft, SUN397, DTD, EuroSAT, UCF101) and all baseline methods are cited. The evaluation protocol follows Zhou et al. [2022b], and the CLIP backbone is used under its publicly released terms. CLIP is released under the MIT license; the datasets are standard academic benchmarks used under their original research terms of use, and we redistribute none of them.

Guidelines:

  • The answer [N/A] means that the paper does not use existing assets.

  • The authors should cite the original paper that produced the code package or dataset.

  • The authors should state which version of the asset is used and, if possible, include a URL.

  • The name of the license (e.g., CC-BY 4.0) should be included for each asset.

  • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.

  • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.

  • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.

  • If this information is not available online, the authors are encouraged to reach out to the asset’s creators.

New assets

Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?

Answer: [Yes]

Justification: The only new asset is the code, released at https://github.com/IemProg/DMC; the method, hyperparameters and protocol it implements are documented in Section 3, Section 4, Algorithm 1 and Appendix J. No new dataset or model checkpoint is released.

Guidelines:

  • The answer [N/A] means that the paper does not release new assets.

  • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.

  • The paper should discuss whether and how consent was obtained from people whose asset is used.

  • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.

14. Crowdsourcing and research with human subjects

Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?

Answer: [N/A]

Justification: The paper involves no crowdsourcing or human subjects.

Guidelines:

  • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.

  • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.

  • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.

15. Institutional review board (IRB) approvals or equivalent for research with human subjects

Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?

Answer: [N/A]

Justification: The paper involves no human subjects and requires no IRB approval.

Guidelines:

  • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.

  • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.

  • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.

  • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.

16. Declaration of LLM usage

Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.

Answer: [N/A]

Justification: LLMs are not part of the core methodology. CLIP’s text encoder is used as a frozen feature extractor, which is standard in the prompt learning literature.

Guidelines:

  • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.

  • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.

References

  1. [1]Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, 2024.arxiv.org/abs/2306.13649
  2. [2]Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 9650–9660, 2021.arxiv.org/abs/2104.14294
  3. [3]Thomas M. Cover and Joy A. Thomas. Elements of Information Theory. Wiley-Interscience, 2nd edition, 2006.
  4. [6]Kaiming He, Haoqing Fan, Yuxin Wu, Saining Xie, and Ross Girshick. Momentum contrast for unsupervised visual representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9729–9738, 2020.arxiv.org/abs/1911.05722
  5. [7]Fredrik Hellström and Giuseppe Durisi. Generalization bounds via information density and conditional information density. IEEE Journal on Selected Areas in Information Theory, 1(3):824–839, Nov 2020. doi: 10.1109/JSAIT.2020.3040992.DOI
  6. [8]Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hanneke Hajishirzi, and Ali Farhadi. Editing models with task arithmetic. In International Conference on Learning Representations, 2023.arxiv.org/abs/2212.04089
  7. [9]Muhammad Uzair Khattak, Hanoona Rasheed, Muhammad Maaz, Salman Khan, and Fahad Shahbaz Khan. MaPLe: Multi-modal prompt learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 19113–19122, 2023a.arxiv.org/abs/2210.03117
  8. [10]Muhammad Uzair Khattak, Syed Talal Wasim, Muzammal Naseer, Salman Khan, Ming-Hsuan Yang, and Fahad Shahbaz Khan. Self-regulating prompts: Foundational model adaptation without forgetting. In IEEE/CVF International Conference on Computer Vision, pages 15190–15200, 2023b.arxiv.org/abs/2307.06948
  9. [11]James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114 (13):3521–3526, 2017.DOI
  10. [12]Zheng Li, Yibing Song, Ming-Ming Cheng, Xiang Li, and Jian Yang. Advancing textual prompt learning with anchored attributes. In IEEE/CVF International Conference on Computer Vision, 2025.arxiv.org/abs/2412.09442
  11. [13]Michinari Momma, Chaos heng Dong, and Jia Liu. A multi-objective / multi-task learning framework induced by pareto stationarity. In International Conference on Machine Learning, pages 15895–15907, 2022.
  12. [14]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, pages 8748–8763, 2021.arxiv.org/abs/2103.00020
  13. [15]Shuvendu Roy and Ali Etemad. Consistency-guided prompt learning for vision-language models. In International Conference on Learning Representations, 2024.arxiv.org/abs/2306.01195
  14. [16]Wenqing Wang, Da Li, Xiatian Zhu, and Josef Kittler. MergeTune: Continued fine-tuning of vision-language models. In International Conference on Learning Representations, 2026.arxiv.org/abs/2601.10497
  15. [17]Mitchell Wortsman, Gabriel Ilharco, Samir Ya Gadre, Rebecca Roelofs, Raphael Gontijo-Lopes, Ari S. Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In International Conference on Machine Learning, pages 23965–23998, 2022a.arxiv.org/abs/2203.05482
  16. [18]Mitchell Wortsman, Gabriel Ilharco, Jong Wook Kim, Mike Li, Simon Kornblith, Rebecca Roelofs, Raphael Gontijo Lopes, Hannaher Hajishirzi, Ali Farhadi, Hongseok Namkoong, and Ludwig Schmidt. Robust fine-tuning of zero-shot models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7959–7971, 2022b.arxiv.org/abs/2109.01903
  17. [19]Prateek Yadav, Derek Tam, Leshem Choshen, Colin Raffel, and Mohit Bansal. TIES-merging: Resolving interference when merging models. In Advances in Neural Information Processing Systems, volume 36, 2023.arxiv.org/abs/2306.01708
  18. [20]Lingxiao Yang, Ru-Yuan Zhang, Yanchen Wang, and Xiaohua Xie. MMA: Multi-modal adapter for vision-language models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 23826–23837, 2024.DOI
  19. [21]Hantao Yao, Rui Zhang, and Changsheng Xu. Visual-language prompt tuning with knowledge-guided context optimization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6757–6767, 2023.arxiv.org/abs/2303.13283
  20. [22]Le Yu, Bowen Yu, Haiyang Yu, Fei Huang, and Yongbin Li. Language models are super mario: Absorbing abilities from homologous models as a free lunch. In International Conference on Machine Learning, 2024.arxiv.org/abs/2311.03099
  21. [23]Tianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine, Karol Hausman, and Chelsea Finn. Gradient surgery for multi-task learning. In Advances in Neural Information Processing Systems, volume 33, pages 5824–5836, 2020.arxiv.org/abs/2001.06782
  22. [24]Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Conditional prompt learning for vision-language models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 16816–16825, 2022a.arxiv.org/abs/2203.05557
  23. [25]Kaiyang Zhou, Jingkang Yang, Chen Change Loy, and Ziwei Liu. Learning to prompt for vision-language models. International Journal of Computer Vision, 130(9):2337–2348, 2022b.DOI

Paper details

vlnc:W_2yes64zd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 13

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents