Manuscript Offprint

arXiv:2610.22907

COMET: Decoupled Distillation, Routing, and Capacity Control for Task-Agnostic Continual Vision--Language Learning

Seungyoon Woo, Keonhee Park, Gunhee Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Vision–language models (VLMs) such as CLIP retain zero-shot recognition ability, but their open-world use often requires task-agnostic continual learning: tasks arrive sequentially, past data are unavailable, task identity is unknown, and the backbone cannot be retrained. We argue that this setting fails VLMs through three coupled pressures beyond stability–plasticity tradeoff: (1) modal-consistency drift, (2) representation-space interference, and (3) per-task capacity shortfall. We propose COMET (Collaborative Mixture-of-Expert Transfer) to resolve these three issues respectively as follows. A frozen teacher provides only a feature reference on a shared image–text pool; Tri-Affinity Distillation preserves image–image, text–text, and image–text geometry; and Student-Aware Cross-Expert Distillation aligns new experts with compatible prior experts so routing errors degrade gracefully. We design COMET to keep capacity and inference separate: a contextual bandit keeps or merges full per-task experts using post-training signals, while a reconstruction router selects sparse experts at test time without teacher semantics. On the X-TAIL benchmark, we show that each proposed components indeed improves the continual learning performance. COMET shows that continual vision–language adaptation can preserve multimodal geometry, coordinate accumulated experts, and allocate capacity jointly when feature reference, expert shaping, routing, and capacity control are separated by construction.

1 Introduction

Recent Vision–language models [Liu et al., 2023, 2024, Chen et al., 2024, Wang et al., 2024] such as CLIP [Radford et al., 2021b], trained on web-scale image–text pairs, can recognize objects they were never explicitly taught; this capacity is known as zero-shot transfer. However, in open-world deployment, new tasks can arrive sequentially (chest X-rays [Samir et al., 2023], then satellite imagery [Helber et al., 2019], then microscopy [Iwata et al., 2022]), and the model is expected to be continually learned under three desiderata: no access to stored examples from earlier tasks, no knowledge of task identity at inference time, and no budget to retrain the backbone for each new task. Recent task-agnostic image-classification benchmarks such as X-TAIL[Xu et al., 2024] pin down this scenario: during each training phase only the current task's data are available, and at inference the model picks a label from a generalized candidate space containing all classes seen so far and even unseen classes. Because full-backbone updates can be too expensive, the community has focused on parameter-efficient continual learning [Houlsby et al., 2019, Li and Liang, 2021, Park et al., 2024]: only small task-specific modules (adapters [Yu et al., 2024a, Luo et al., 2025], prompts, or expert networks) are updated, leaving the backbone fixed. This lighter paradigm can still fail if the stream becomes long, heterogeneous, and open-ended.

We argue that this failure does not stem from only a stability–plasticity tradeoff [Kirkpatrick et al., 2016, McCloskey and Cohen, 1989], but rather from the simultaneous failure of three axes, each 40th Conference on Neural Information Processing Systems (NeurIPS 2026).

with its own characteristic signature, whereas prior methods typically address only one axis at a time. First, modal-consistency drift is the divergence between a model's pre-training and downstream alignments as adaptation accumulates. A CLIP-style model [Radford et al., 2021b] carries two alignments: one from pre-training (behind zero-shot transfer), the other from downstream adaptation accumulated across the stream. Protecting one could silently damage the other; for example, a model well adapted to microscopy may begin to misrank everyday objects it had previously recognized. Second, representation-space interference is the incompatibility among independently-trained experts under imperfect routing. Since each is trained in isolation, a routing mistakenly sends an ambiguous input into a module that has never been shaped to handle it, and errors concentrate near expert boundaries. Third, per-task capacity shortfall is the inability of a small module to represent feature geometries far from pre-training. A small adapter lacks the representational power for the feature geometry of medical imaging, microscopy, and remote sensing.

Existing method families each make this three-way trade explicit. Weight-interpolation methods (e.g., WiSE-FT [Wortsman et al., 2022], ZSCL [Zheng et al., 2023]) mitigate drift but starve distant domains of capacity, because no convex combination of pre-trained and ask-adapted weights can introduce new feature directions. Mixture-of-experts [Shazeer et al., 2017a] with lightweight adapters (e.g., MoE-Adapters [Yu et al., 2024a], LADA [Luo et al., 2025]) add capacity but never coordinate the experts they accumulate, because each adapter is trained in isolation, leaving no shared geometry Pascanu et al. [2014] for the router to degrade into. Full fine-tuning can recover capacity but lose both alignments, because rewriting the backbone may erase the pre-training geometry itself. Each axis is relieved at the expense of the other two.

We show that the three pressures can be resolved jointly, but only if their mechanisms are kept strictly disjoint. Entangling them is why prior methods [Wortsman et al., 2022, Zheng et al., 2023, Yu et al., 2024b, Xu et al., 2024] trade one failure for another. When the teacher model is also used as the router, its inherent semantic biases can distort capacity allocation: tasks appear similar from its perspective due to pre-training, even if their downstream representation geometries differ substantially. Similarly, a merging rule [Frankle et al., 2020, Neyshabur et al., 2020] that reuses the adaptation loss conflates compatibility with plasticity; it merges two experts whenever they fit the current task equally well, ignoring possible long-term overlap. An adapter that simultaneously absorbs new tasks and corrects past ones eventually fails at both, as its capacity is divided between forward learning and backward retention, with each undermining the other. Across these methods, a common pattern emerges: multiple roles are coupled into a single mechanism, leading to systemic collapse.

COMET (Collaborative Mixture-of-Expert Transfer) which enforces this separation by assigning each role to a dedicated component. A frozen vision-language teacher serves only as a task-invariant feature reference: its affinity structure on a shared pool of image-text pairs anchors distillation, and its frozen image encoder fixes the feature space in which routers operate. Neither the router nor the merging criterion uses its predictions. A lightweight contextual-bandit policy [Beygelzimer et al., 2011] serves only as the capacity controller, deciding at each task boundary whether to allocate a new expert or consolidate into an existing one. Using a bandit [Lattimore and Szepesvári, 2020] (rather than a fixed threshold) allows allocation to track the novelty of the incoming stream. It reads only post-training signals that never enter the adaptation loss, such as accuracy on a held-out subset of the reference pool and weight-space similarity to the nearest prior. Its reward is defined as the post-action accuracy on a held-out reference pool. Distillation [Hinton et al., 2015a,b] shapes only the experts. Since allocation does not inherit teacher semantics and compatibility corrections do not entangle with capacity control, the retained expert count grows sublinearly in the task count whenever cumulative novelty is sublinear or stays within a bounded region of the representation space. Each new task's feature geometry tends to lie close to the span of at least one prior expert on the shared reference pool, so consolidation aligns with novelty. This is an empirical regularity rather than a worst-case guarantee: a stream that keeps entering new regions can still force linear growth, even when each per-task shift is bounded.

Three mechanisms realize this decomposition, one per failure axis, each breaking one coupling. Tri-Affinity Distillation (TAD) addresses modal-consistency drift by matching image–image, text–text, and image–text similarity structures between student and frozen teacher on the shared pool, anchoring the student to pre-training geometry. Student-Aware Cross-Expert Distillation (SACED) addresses routing-induced interference by aligning each new expert with compatible prior experts on the same pool, so a misrouted sample lands in a still-coherent module, not foreign ones. Since the router is imperfect, we design for graceful degradation rather than assuming perfect routing. Full per-task experts with bandit-controlled merging address per-task capacity shortfall: COMET trains a full compact expert per task instead of a shared-backbone adapter [Latif and Zhai, 2024], and the bandit merges when consolidation is justified. The merge operates on already-frozen candidates at task boundaries, avoiding the optimization-time interpolation of weight-ensembling.

Three lines of evidence from X-TAIL experiments validate this decomposition. Axis-wise ablations confirm individual necessity with each mechanism’s removal restores only its own failure mode: drift, interference, or shortfall:

• Modal geometry is preserved. TAD improves Transfer accuracy by 4.7%p over the no-distillation variant, and a 2.6×2.6\times smaller student retains the teacher’s zero-shot ability while improving downstream accuracy.

• Routing failures are absorbed, not amplified. SACED raises accuracy on misrouted samples by 10.8%p without exemplar replay, and 52.5% of misrouted samples are still classified correctly.

• Capacity matches distant domains at sublinear storage cost. Full experts under bandit-controlled merging improve Transfer by 18.7%p over the strongest baseline on a four-dataset benchmark spanning medical, microscopy, and histopathology domains. The pool retains roughly 5-8 experts after 10 X-TAIL tasks, illustrating sublinear growth in practice.

These results reframe continual vision–language adaptation: not as a single trade-off to balance, but as three problems to solve jointly: preserving multimodal geometry, coordinating accumulated modules, and allocating sufficient capacity. To the best of our knowledge, this is the first work that establishes training-time role disjointness, across the feature reference, the capacity controller, and the per-expert shaping objective, as the central design principle of a parameter-efficient continual VLM framework. Disjointness is not emergent, it must be enforced by construction.

References (85)

  • Contextual bandit algorithms with supervised learning guarantees
  • Food-101 - mining discriminative components with random forests
  • Retraining-free merging of sparse moe via hierarchical clustering
  • Scaling up vision foundation models and aligning for generic visual-linguistic tasks
  • Describing textures in the wild
  • A continual learning survey: Defying forgetting in classification tasks
  • Learning generative visual models from few training examples: An incremental bayesian approach tested on 101 object categories
  • Linear mode connectivity and the lottery ticket hypothesis
  • Embracing change: Continual learning in deep neural networks
  • Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification
  • Distilling the Knowledge in a Neural Network
  • Parameter-efficient transfer learning for nlp
  • Low-rank adaptation of large language models
  • Classification of scanning electron microscope images of pharmaceutical excipients using deep convolutional neural networks with transfer learning (opens the publisher in a new tab)
  • Scaling up visual and vision-language representation learning with noisy text supervision
  • Multi-class texture analysis in colorectal cancer histology
  • 100,000 histological images of human colorectal cancer and healthy tissue, April 2018
  • Overcoming catastrophic forgetting in neural networks
  • 3d object representations for fine-grained categorization
  • Efficient multi-task inferencing with a shared backbone and lightweight task-specific adapters for automatic scoring (opens arXiv in a new tab)
  • Bandit Algorithms
  • Align before fuse: Vision and language representation learning with momentum distillation
  • Prefix-Tuning: Optimizing Continuous Prompts for Generation
  • Learning without forgetting
  • Visual instruction tuning
  • Improved baselines with visual instruction tuning
  • Decoupled weight decay regularization
  • LADA: scalable label-specific CLIP adapter for continual learning
  • Fine-grained visual classification of aircraft (opens arXiv in a new tab)
  • Catastrophic interference in connectionist networks: The sequential learning problem
  • Automated flower classification over a large number of classes
  • Pre-trained vision and language transformers are few-shot incremental learners
  • Cats and dogs
  • On the saddle point problem for non-convex optimization (opens arXiv in a new tab)
  • Learning transferable visual models from natural language supervision
  • icarl: Incremental classifier and representation learning
  • Deep learning for classification of chest x-ray images (covid 19) (opens arXiv in a new tab)
  • Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning
  • Outrageously large neural networks: The sparsely-gated mixture-of-experts layer
  • Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
  • Robust fine-tuning of zero-shot models
  • Tinyclip: CLIP distillation via affinity mimicking and weight inheritance
  • SUN database: Large-scale scene recognition from abbey to zoo
  • Advancing cross-domain discriminability in continual learning of vision-language models
  • Boosting continual learning of vision-language models via mixture-of-experts adapters
  • Select and distill: Selective dual-teacher knowledge transfer for continual learning on vision-language models
  • Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer
  • Preventing zero-shot transfer degradation in continual learning of vision-language models
  • Let $\{\mathcal{D}_k\}_{k=1}^K$ be a sequence of data chunks arriving online, one per task $\mathcal{T}_k$
  • Valid choices include Euclidean distance on $\ell_2$-normalized embeddings or angular distance $d_{\text{ang}}(u, v) = \arccos(\langle u, v \rangle)$ on the unit sphere
  • A chunk is called $\epsilon$-novel if $\delta_k > \epsilon$
  • If $\mathbb{I}_k = 0$, then the chunk is not $\epsilon$-novel, so (P2) forbids expansion and $M_k = M_{k-1}$
  • Second, if the set of possible chunk summaries has a finite $(\epsilon/2)$-cover under $d$, Proposition A.2 gives a deterministic finite bound on the number of expansions
  • But (P2) says that a new expert can be created only when $\delta_{k_{m'}} > \epsilon$, a contradiction
  • (8) becomes
  • (14) holds, the false-expansion term is sub-linear
  • The pseudocode makes three implementation choices explicit
  • The reference pool $D_{ref}$ contains 10,800 image-text pairs from the Conceptual Captions validation set [Sharma et al., 2018]
  • CentSim measures cosine similarity between image-feature centroids
  • The term $d_{k,c}$ estimates degradation risk, $\kappa_{k}$ increases with the current pool size, and $\ell_{c}$ increases with the number of tasks already absorbed by candidate expert $E_{c}$
  • Each candidate receives
  • Let $c^* = \arg \max_{c \in \mathcal{C}_k} B_k(c)$
  • The exploration bonus decays as $\beta_{k+1} = \gamma \beta_k$
  • The selected experts compute CLIP-style image-text similarity logits over the candidate label set, and their logits are combined by gate-weighted averaging
  • Forgetting
  • All main-text results and appendix measurements are obtained on a single NVIDIA A6000 GPU with 48 GB memory
  • Table 4 summarizes Average, Last, the final number of retained experts $M$, and per-task forgetting
  • On X-TAIL, Average degrades smoothly with size: $1\mathrm{K}\rightarrow 68.4$, $5\mathrm{K}\rightarrow 68.1$, $10.8\mathrm{K}\rightarrow 76.1$, indicating diminishing returns past a few thousand pairs
  • Full COMET
  • Cross-modal affinity $\mathcal{L}_{\mathrm{Cross}}$ is the weakest in isolation but contributes a complementary $+6.6$ pp Average over the two intra-modal losses (no-$\mathcal{L}_{\mathrm{Cross}}$ 68.8 vs. Full TAD 75.4), so all three channels are required for the strongest result
  • We compute $\Delta(x)$ on both (i) raw image features and (ii) their $\ell_2$-normalized embeddings
  • Table 6 compares each criterion in isolation against using all prior experts and against random selection, with all rows trained under the full COMET pipeline so they are directly comparable to full COMET (76.1 Average, 88.1 Last)
  • We plot the distribution of per-image cosine shift 1 – cos(before, after) on the two tasks (SUN397 and Caltech101), shown for both embeddings and features
  • Aggressive thresholds ( $\sigma \in \{0.5, 0.7\}$ ) collapse the pool to one or two experts and lose 26–29 pp Last
  • EuroSAT consistently merges only at the most permissive setting; Flowers102 merges across $\tau \in [0.50, 0.65]$ at a modest cost of $-2.7$ pp on its dedicated-expert score; per-task accuracies vary by less than $2$ pp across $\tau$ on completed tasks
  • On eight of ten X-TAIL tasks, COMET matches or exceeds the CLIP teacher's zero-shot ceiling
  • Table 9 decomposes the predictions of the retained pool into a four-cell route $\times$ predict outcome
  • Route-OK = autoencoder selected the oracle expert; Predict-OK = expert produced the correct label
  • $C_{10}$: fraction of attention in the top decile of 196 patches (uniform 0.10)
  • 45.6 on CIFAR-100, 71.0 on CIFAR-10, and 60.6 on CUB-200
  • Table 12 reports the per-task breakdown across all ten datasets and the three continual-learning metrics
  • "Trainable" counts only parameters that receive gradients
  • The best results are highlighted with bold style
  • Reproducibility is also supported through the public datasets, full algorithmic description, implementation details, hyperparameters, and compute information in Algorithm 1 and Appendix C
  • The planned open-source GitHub repository for the camera-ready version will include the licenses, terms of use, and attribution information for all external assets used in the experiments