Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Rosetta: Composable Multimodal Pretraining Ends Catastrophic Forgetting in Foundation Models

Tencent Hunyuan and HKUST introduce Rosetta, a composable native multimodal pretraining framework that adds new capabilities like image generation to foundation models without catastrophic forgetting, using unified attention, modality-specific experts, and a zero-overhead gradient projection method (MAOP), achieving stable language performance while improving visual understanding and generation quality.

Problem: Catastrophic Forgetting When Extending Foundation Models

Training a flagship model from scratch for each new version wastes compute. Adding capabilities like image generation to a vision-language model often degrades existing language and reasoning abilities — a classic catastrophic forgetting problem. In native multimodal pretraining (e.g., Transfusion paradigm), language modeling predicts discrete tokens while image generation models continuous visual signals; joint training lets new-task gradients overwrite learned representations.

Existing Approaches and Their Failures

The article examines two mainstream architectures under identical pretraining conditions (same base, frozen encoders, progressive three-stage training: 300B text tokens → ~4M visual understanding samples → ~100M text-to-image samples, no downstream SFT).

Standard Mixture of Experts (MoE)

All modalities share a single router. The high-variance, strong gradients from flow-matching image generation dominate routing, causing routing collapse : language experts get hijacked and overwritten.

Structural Isolation (MoT / Bagel)

Separate QKV projections and FFNs for understanding and generation. Despite physical separation, the authors' controlled experiments show that both MoE and MoT suffer near-total language/code ability loss (MMLU drops from 50+ to ~26, BBH and MBPP fall to 0) when the understanding branch is not frozen during joint pretraining. Two reasons: (1) implicit coupling via shared optimizer state still shifts routing distributions (routing heatmaps confirm text-token routing drift in MoT); (2) hard isolation blocks cross-modal synergy — understanding cannot help generation and vice versa — while inflating total parameters by ~20%.

Rosetta's Solution: Two Core Innovations

1. Architecture: Unified Attention + Compositional FFN

Unified Attention is fully shared across text, visual understanding (ViT), and image generation (VAE) tokens, preserving cross-modal context interaction.

The FFN layer is split into:

Modality-Specific Experts : Each modality (Text, ViT, VAE) gets its own router and expert pool. New modalities (audio, video, 3D, robotics) can be added plug-and-play without retraining.

Global Shared Expert : All tokens pass through a single shared expert acting as a "translator" that lets fine-grained generation signals enrich language/understanding representations.

Total parameter budget matches standard MoE (no ~20% bloat).

2. Optimization: Momentum-Anchored Orthogonal Projection (MAOP)

Even with separated experts, the global shared expert receives gradients from all tasks. Gradient conflicts (negative inner product ⟨g_new, m_old⟩ < 0) cause forgetting. Prior gradient-surgery methods (e.g., PCGrad) require per-task gradient buffers, increasing memory by O(num_tasks) and cutting throughput 3× — infeasible for FSDP clusters.

MAOP exploits the optimizer's existing first-order momentum m = exp_avg (in AdamW) as an implicit anchor of historical knowledge. At each update of the shared expert:

Compute inner product between current mixed gradient g and momentum m.

If ⟨g, m⟩ ≥ 0 (aligned), apply gradient directly.

If ⟨g, m⟩ < 0 (conflict), orthogonally project g onto the subspace orthogonal to m: g_proj = g - (⟨g, m⟩ / ‖m‖²) m, removing only the conflicting component.

Implemented with a local inner-product All-Reduce in distributed training, MAOP adds zero extra memory (peak VRAM unchanged at 58.8 GB/GPU) and zero throughput loss (8,602 tokens/s/GPU maintained).

Experimental Results: Training Dynamics and Final Benchmarks

Training Dynamics (200K iterations of generation extension)

Language/Understanding Loss : MoE and MoT LM Text Loss spikes from ~1.72 to ~2.15 and drifts upward; MMU Text Loss jumps to ~1.0. Rosetta holds LM loss at ~1.75–1.80 and MMU at ~0.80 throughout.

Convergence Depth : Rosetta reaches lower Total Loss (~1.44 vs ~1.53) and deeper T2I Image Loss (~0.766 vs ~0.773/0.771).

Router Health : Capacity Rate (successful routing ratio) stays at 0.955 for Rosetta, vs ~0.94 for MoT and dropping below 0.90 for MoE.

MMBench V-Shaped Recovery : All three models dip initially; MoE/MoT stall at 40–46, while Rosetta recovers within 20K steps and sustains >50, a 5+ point gap.

Routing Heatmaps (MMLU inference, 55K vs 85K steps)

MoE : Text-token expert activation distribution completely reshuffles — language experts overwritten.

MoT : Despite separate expert pools, text-token routing shifts visibly — proving physical isolation alone cannot prevent implicit gradient coupling.

Rosetta : Activation heatmaps nearly identical before/after T2I — cognitive pathways preserved under full joint training.

Final Quantitative Benchmarks (base model, no SFT)

Language & Code : Rosetta MMLU 49.2 (MoE 26.3, MoT 27.1), BBH 46.8 (both 0), MBPP 42.4 (up from 36.2 pre-T2I; both baselines 0).

Visual Understanding : All six benchmarks (MMMU, MMBench-EN/CN, POPE, AI2D, RealWorldQA) improve over the pre-T2I checkpoint — demonstrating generation-enhanced understanding .

Image Generation : FID 14.05 (MoT 15.58, MoE 17.80); T2I-CompBench 45.5 (CLIPScore & HPSv2 also lead). Faster, deeper convergence shows semantic grounding aids generation.

Broader Implication: A General Recipe for Continuous Model Growth

Although validated on text + visual understanding + image generation, Rosetta targets the universal problem: any new capability added atop an existing foundation model — video, 3D, embodied VLA, vertical domains (finance, etc.) — faces the same gradient-conflict/forgetting dilemma. The composable expert + MAOP framework offers a modality-agnostic, zero-overhead solution: new skills plug into dedicated experts; the shared backbone is protected by momentum-anchored gradient projection. This enables Lego-like, compute-reusable model evolution without full retraining.

Open Source Resources

Paper: https://arxiv.org/abs/2607.00293 Project page: https://rosetta-lmm.github.io/ Code: https://github.com/Lxiangyue/Rosetta Model weights: https://huggingface.co/tencent/Rosetta-inference Poster session: NeurIPS 2026, Sydney, Dec 8, 17:00–20:00 (Hall 1-4, #S3807).

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

Mixture of Expertsopen sourceMultimodal PretrainingFoundation ModelsCatastrophic ForgettingComposable ArchitectureNeurIPS 2026Gradient Projection

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion