TL;DR
When you build a compact language model by forcing consecutive layers to share a pool of specialized sub-networks ("experts"), the model often cheats by splitting the pool in half—defeating the point of sharing. DuoMI introduces a clever information-theoretic training nudge that forces layers to genuinely share the overall pool while encouraging individual words to keep a few familiar experts and swap out the rest as their meaning evolves. Best of all, it adds zero parameters and zero inference overhead, yet boosts performance enough to beat a larger, unshared model.
What Problem Does This Paper Address?
Modern AI faces a constant tug-of-war between brainpower and memory limits. Two popular tricks help manage this: Mixture-of-Experts (MoE), which houses dozens of sub-networks ("experts") per layer but only activates a few per token, and Looped Transformers, which reuse the exact same parameters across multiple layers ("rounds" of computation) to save memory.
Combine them, and you get a looped MoE where adjacent layers share a single pool of experts, steered by independent traffic controllers ("routers"). Ideally, Round 1 and Round 2 reuse the same experts in nuanced ways. In practice, routers get territorial. Round 1 might exclusively favor experts 1–32 while Round 2 claims 33–64, effectively chopping your shared pool into two smaller, isolated ones.
Even if overall pool usage looks balanced across rounds, token-level behavior can go haywire: a token might stubbornly cling to the exact same experts in both rounds (failing to adapt as its representation deepens) or swap its experts out completely (losing continuity). Standard MoE "load-balancing" losses only ensure experts get equal traffic within a layer; they are completely blind to how routing changes across shared layers.
Methods
To choreograph this cross-round dance, the authors introduce Dual Mutual Information Regularization (DuoMI). Using information theory (specifically Jensen–Shannon divergence), DuoMI tracks two distinct statistical levels across paired layers that share experts:
- Round-Level Marginal Mutual Information ($G$): Measures how much overall expert popularity depends on whether we are in Round 1 or Round 2. DuoMI puts an upper bound on $G$, penalizing the routers if they try to partition the shared pool into round-specific turf.
- Token-Level Conditional Mutual Information ($D$): Measures the average fraction of experts a single token replaces between Round 1 and Round 2. DuoMI places a two-sided target band (both a lower and upper bound) on $D$. This "Goldilocks" constraint prevents tokens from both total stagnation and chaotic, 100% expert turnover.
Because discrete Top-$k$ expert selection produces flat, unusable zero-gradients during backpropagation, DuoMI computes differentiable surrogates ($\widetilde{G}$ and $\widetilde{D}$) using smooth softmax probabilities over all experts, applying squared hinge penalties only when values drift outside the target thresholds. Crucially, DuoMI lives purely in the training loss—standard sparse Top-$k$ routing, parameter counts, and inference speed remain completely untouched.
Datasets
- Training: All models were trained from scratch on over 104 billion tokens from the
sample-100BTEnglish subset of FineWeb-Edu v1.4.0. - Evaluation: Models were tested across 15 standard downstream benchmarks: ARC-Challenge, ARC-Easy, BIG-Bench Hard (BBH), BoolQ, COPA, HellaSwag, LAMBADA, MMLU, OpenBookQA, PIQA, RACE, SciQ, SST-2, TriviaQA, and WinoGrande. No new datasets were introduced.
Key Insights and Ideas
- Aggregate reuse and token-level adaptation aren't mutually exclusive: Mathematically, $0 \le G \le D \le 1$. You can have $G = 0$ (both rounds use the exact same overall distribution of experts) while $D = 0.5$ (every token swaps out half its experts). Recognizing these as separate knobs is the core breakthrough.
- Reusing an expert isn't redundant computation: Because Attention happens between Round 1 and Round 2, a token's hidden state changes. Sending it back to the same expert in Round 2 yields a brand-new computation. Left alone, the baseline looped model panicked and replaced ~90% of a token's experts in Round 2; DuoMI calmed it down to retain ~29% (~2.3 out of 8 experts), noticeably improving learning.
- Early guardrails matter long-term: The lower-bound penalty on token routing change only actively fired during the first ~100 steps of a 50,000-step training run. Yet removing that tiny early nudge caused the final model's average benchmark score to drop by 0.77 percentage points—showing how critical early routing trajectories are in MoEs.
Key Results
Tested on a 16-layer OLMoE backbone where the middle 12 layers form 6 shared expert pools (4.5B total parameters, 1.3B active per token):
- Beating the Looped Baseline: DuoMI lifted the 15-task average score from 50.08% to 51.82% (+1.74 percentage points), with standout jumps on BBH (6.34% $\rightarrow$ 14.10%) and SST-2 (51.72% $\rightarrow$ 61.47%). Tuning the upper threshold slightly pushed the average even higher to 52.03%.
- Punching Above Its Weight: DuoMI outperformed the standard, unshared OLMoE baseline (51.15%) by 0.67 points, despite having significantly fewer unique parameters due to weight tying.
- Outperforming Routing Alternatives: DuoMI beat recurrent routers (50.75%), shared-parameter routers (50.76%), and single-round mutual information losses (50.01%) built on the exact same backbone.
Limitations and Future Work
Due to compute budgets, experiments were limited to a single 4.5B-parameter looped OLMoE architecture where pools are shared across just two adjacent rounds. Whether these gains hold up at massive scale or across different open-source MoE designs remains an open question. For future work, the authors point toward generalizing mutual information constraints to loops of three or more rounds, and co-designing new looped architectures whose layers are structurally built to complement cross-round routing objectives.
Summary updated