Modular Model Surgery in Sparse Mixture-of-Experts via Surgical Expert Grafting and Contrastive Router Re-anchoring (SEGR)

Sparse Mixture-of-Experts (MoE) architectures achieve unprecedented parameter scaling while maintaining constant FLOP efficiency during inference. However, continually adapting pre-trained MoEs to downstream specialized domains remains fundamentally bottlenecked by Catastrophic Forgetting and the Router Blindness Phenomenon. In this work, we introduce SEGR (Surgical Expert Grafting & Contrastive Router Re-anchoring), a zero-retraining framework for modular MoE model surgery. SEGR operates via four unified mathematical innovations: (1) Target expert excision and activation-manifold adaptation via orthogonal low-rank residual adapters, isolating domain knowledge without perturbing base weights; (2) Contrastive Router Re-anchoring (CRR), a strictly convex contrastive loss equipped with a projected gradient mask, which steers domain tokens to the grafted expert while leaving non-target expert routing boundaries mathematically invariant; (3) Multi-Layer Cascading Re-anchoring (MCR), establishing an unbroken Domain Highway with bounded cumulative routing error; (4) Contextual Polysemantic Routing (CPR), resolving polysemantic bleed and hard-suppressing punctuation leakage to <= 0.02%; and (5) Capacity-Bounded Elastic Fallback (CBEF), eliminating 100% of token drops (0.00% drop rate) under burst overloads. Validated on open frontier foundation MoEs (allenai/OLMoE-1B-7B-0924 and Qwen1.5-MoE) on authentic Bengali corpora, SEGR achieves state-of-the-art domain routing (98.37%) with virtually zero generalist degradation (+0.08% English PPL drift) on an NVIDIA Tesla T4 GPU.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-10-31
DOI
https://doi.org/10.5281/zenodo.23841929
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Modular Model Surgery in Sparse Mixture-of-Experts via Surgical Expert Grafting and Contrastive Router Re-anchoring (SEGR)

MD Mushfiqur Rahim
Zenodo (CERN European Organization for Nuclear Research)
Domain Adaptation and Few-Shot Learning
preprint

Modular Model Surgery in Sparse Mixture-of-Experts via Surgical Expert Grafting and Contrastive Router Re-anchoring (SEGR)

MD Mushfiqur Rahim
preprint en

Abstract

Sparse Mixture-of-Experts (MoE) architectures achieve unprecedented parameter scaling while maintaining constant FLOP efficiency during inference. However, continually adapting pre-trained MoEs to downstream specialized domains remains fundamentally bottlenecked by Catastrophic Forgetting and the Router Blindness Phenomenon. In this work, we introduce SEGR (Surgical Expert Grafting & Contrastive Router Re-anchoring), a zero-retraining framework for modular MoE model surgery. SEGR operates via four unified mathematical innovations: (1) Target expert excision and activation-manifold adaptation via orthogonal low-rank residual adapters, isolating domain knowledge without perturbing base weights; (2) Contrastive Router Re-anchoring (CRR), a strictly convex contrastive loss equipped with a projected gradient mask, which steers domain tokens to the grafted expert while leaving non-target expert routing boundaries mathematically invariant; (3) Multi-Layer Cascading Re-anchoring (MCR), establishing an unbroken Domain Highway with bounded cumulative routing error; (4) Contextual Polysemantic Routing (CPR), resolving polysemantic bleed and hard-suppressing punctuation leakage to <= 0.02%; and (5) Capacity-Bounded Elastic Fallback (CBEF), eliminating 100% of token drops (0.00% drop rate) under burst overloads. Validated on open frontier foundation MoEs (allenai/OLMoE-1B-7B-0924 and Qwen1.5-MoE) on authentic Bengali corpora, SEGR achieves state-of-the-art domain routing (98.37%) with virtually zero generalist degradation (+0.08% English PPL drift) on an NVIDIA Tesla T4 GPU.

Zenodo (CERN European Organization for Nuclear Research)
Domain Adaptation and Few-Shot Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon