Goodbye Task IDs: A Multimodal Mixture-of-Experts Framework for Robust Continual Learning

New framework replaces shared parameters and task-ID predictors with multimodal foundation model priors for replay-free continual learning.
This article addresses catastrophic forgetting in Mixture-of-Experts continual learning. Existing methods rely on a shared parameter space and task-ID predictor, but the shared space becomes a forgetting bottleneck as tasks grow, while independent experts require an explicit router. The study proposes a framework that removes both, using the open-set capabilities of multimodal foundation models like CLIP to provide expert priors, guide calibrated inter-task posteriors, and promote complementary specialization via a multivariate Gaussian. It outperforms existing methods on multimodal benchmarks without reference datasets or replay memory.
Continual learning's core challenge is catastrophic forgetting—models forget old knowledge when learning new tasks. Mixture-of-Experts (MoE) frameworks are widely used to mitigate this, but traditional methods rely on a shared parameter space across tasks and a task-ID predictor. As the number of tasks grows, the shared space becomes a bottleneck and forgetting resurfaces, while fully independent experts require an explicit task-ID router, adding complexity. A recent study proposes a new framework that achieves knowledge sharing among experts through the open-set capabilities of multimodal foundation models, completely removing the need for a shared parameter space and a task-ID predictor.

The Bottleneck of Traditional MoE Continual Learning
Existing MoE continual learning methods typically split parameters into two parts: a small shared space across tasks and a large number of independent expert parameters. The shared space is intended to facilitate knowledge transfer, but as the number of tasks grows, this small space is forced to carry too much information and becomes a new source of forgetting. Meanwhile, to avoid interference among experts, the model needs a router to predict task IDs, which requires clear inter-class boundaries—hard to satisfy in multimodal and open-set scenarios.
The core contradiction the study highlights is: the larger the shared space, the higher the forgetting risk; the smaller the shared space, the weaker the inter-task collaboration. And while fully independent experts avoid forgetting, they require explicit task-ID prediction, which is very fragile when task boundaries are blurred.
Catastrophic Forgetting refers to the phenomenon where, when a neural network learns multiple tasks sequentially, gradient updates from the new task overwrite the parameters that the old tasks relied on, causing a sharp drop in performance on old tasks. Its root lies in the parameter-sharing nature of neural networks: the same set of weights serves all tasks simultaneously, and when the new task's data distribution differs greatly from the old tasks', the optimization process deviates from the old tasks' optimal solution. In continual learning scenarios, the model cannot access all tasks' data at once (otherwise it degenerates into multitask learning), so it must balance parameter updates against preserving old knowledge. Common mitigation strategies include regularization methods (such as EWC constraining changes to important parameters), replay methods (storing or generating old samples), and architectural methods (such as allocating independent parameters to different tasks). The MoE methods discussed in this article belong to the architectural category, while the new framework attempts to bypass the dilemma of parameter sharing versus replay through foundation model priors.
Replacing Shared Parameters with "Expert Priors"
The core idea of the new method is to eliminate the shared parameter space across tasks and instead let experts communicate dynamically. Specifically, the researchers leverage the open-set learning capabilities of multimodal foundation models (such as CLIP) to provide "expert priors" for each expert. These priors come from the foundation model's understanding of the open world and can enhance each expert's learning of task-specific representations.
Guided by these priors, experts learn calibrated inter-task posterior probabilities. This means each expert not only knows what it is good at but can also estimate the likelihood of other tasks, enabling knowledge sharing without task IDs. The research team also imposes a multivariate Gaussian distribution on the learned posterior distributions to promote complementary specialization among experts—different experts tend to cover different task regions rather than redundantly learning.

CLIP (Contrastive Language-Image Pretraining) is a multimodal foundation model proposed by OpenAI that maps images and text into the same embedding space through contrastive learning on large-scale image-text pairs. Its training objective is to maximize the similarity of matching image-text pairs and minimize that of non-matching pairs, giving CLIP zero-shot classification ability: given a class name, the model can determine whether an image belongs to that class without fine-tuning on that class. This open-set capability means CLIP can handle classes and concepts unseen during training, and its embedding space has broad semantic coverage. In the method presented here, CLIP's open-set understanding serves as the source of "expert priors"—the foundation model's general representations of the open world provide each expert with task-relevant semantic anchors, enabling experts to infer which task region an input belongs to without task IDs, thereby replacing the traditional router's function of predicting task IDs.
Empirical Performance on Multimodal Benchmarks
The researchers propose new evaluation benchmarks to simulate more realistic continual learning scenarios, including multimodal inputs and blurred task boundaries. On these benchmarks, the prior-conditioned strategy consistently outperforms existing methods across multiple settings. Crucially, the method does not rely on reference datasets or replay memory, meaning it does not need to store old task samples, lowering privacy and storage costs.
Compared with MoE methods that rely on task-ID predictors, the new framework maintains coordination among experts even after removing the router, demonstrating that the open-set capabilities of multimodal foundation models are sufficient to provide task-discrimination signals. This offers a new path for continual learning: using the general knowledge of foundation models to guide expert specialization rather than relying on explicit task identifiers or replay mechanisms.
Replay Memory is the core component of a classic class of continual learning methods: the model maintains a fixed-size buffer storing a small number of samples from old tasks (or generated pseudo-samples), which are mixed with current data during new task learning to constrain parameter updates from deviating from old tasks. Replay methods can effectively mitigate forgetting but have notable limitations: storing raw samples poses privacy risks (especially with user data), buffer size is limited by storage cost, and when the number of tasks is very large, a few replay samples struggle to cover the full distribution of old tasks. The method in this article explicitly does not rely on reference datasets or replay memory, meaning it completely avoids the need to store old samples, offering advantages in privacy-sensitive and storage-constrained scenarios. This differs from regularization-based methods—although the latter do not require storing samples, they typically need to estimate parameter importance, and computational overhead accumulates over long task sequences.
Implications for Multimodal Continual Learning
The value of this work lies in reexamining the trade-off between "sharing" and "independence" in MoE continual learning. By introducing multimodal foundation models as a bridge for knowledge sharing, the researchers shift inter-task communication from the parameter level to the prior level, avoiding both the bottleneck of shared space and the complexity of task-ID prediction.
For practical applications, this means the model can continue learning in scenarios where task sequences are unpredictable and task boundaries are blurred, without storing historical data or relying on clear task labels. The open-set capabilities of multimodal foundation models become a stable anchor for continual learning, and this approach may extend to more scenarios requiring online adaptation.
However, the method's dependence on the quality of foundation model priors is also worth noting; future work needs to verify robustness across different foundation models and more complex task streams.
One-line Summary
A new framework replaces shared parameters and task-ID predictors with multimodal foundation model priors, enabling replay-free continual learning.
Paragraph Summary
This article addresses catastrophic forgetting in Mixture-of-Experts (MoE) continual learning, pointing out that existing methods rely on a shared parameter space across tasks and a task-ID predictor; as tasks increase, the shared space becomes a forgetting bottleneck, while fully independent experts require an explicit router. The study proposes a new framework that completely removes the shared parameter space and task-ID predictor, instead leveraging the open-set capabilities of multimodal foundation models (such as CLIP) to provide "expert priors" for each expert, guiding experts to learn calibrated inter-task posterior probabilities and promoting complementary specialization through a multivariate Gaussian distribution. On newly constructed multimodal benchmarks with blurred task boundaries, the method consistently outperforms existing approaches and requires no reference datasets or replay memory. The conclusion shows that the open-set capabilities of foundation models can replace explicit task identifiers, offering a new path for continual learning.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.