Summary (Overview)
- DuoMI (Dual Mutual Information Regularization) is a novel training method for looped Mixture-of-Experts (MoE) Transformers that regulates how shared expert parameters are reused across computational rounds.
- The method introduces two complementary mutual information constraints: round-level marginal mutual information to limit dependence of aggregate expert usage on the invocation round, and token-level conditional mutual information to control the average degree of cross-round routing change for individual tokens.
- DuoMI adds no model parameters and leaves sparse Top-k routing unchanged at inference; it computes differentiable penalties from soft routing distributions during training only.
- On a looped OLMoE backbone with shared expert pools across paired adjacent layers, DuoMI improves the average score across 15 downstream tasks from 50.08% to 51.82% (+1.74 percentage points over the looped baseline), exceeding even the unshared OLMoE baseline (51.15%).
- Ablation studies confirm that both constraints contribute independently, and that a two-sided interval constraint on token-level routing change (neither too little nor too much) is essential for optimal performance.
Introduction and Theoretical Foundation
Background and Motivation
The paper addresses a fundamental challenge in combining two architectural innovations for efficient language modeling:
- Mixture-of-Experts (MoE) models expand parameter capacity while controlling per-token computation by activating only a subset of experts (Shazeer et al., 2017; Lepikhin et al., 2021).
- Looped Transformers repeatedly invoke shared parameters at different depths, enabling multiple rounds of representation transformation with fewer independent parameters (Dehghani et al., 2019; Geiping et al., 2025).
When combining these approaches, a central challenge emerges: how should shared experts be used across rounds? Even when the same expert pool is invoked in both rounds, routers may develop different selection preferences. The paper identifies two distinct statistical levels of cross-round routing:
- Round-level: The two rounds may favor different expert subsets, effectively partitioning the shared pool by invocation round.
- Token-level: Even with identical aggregate distributions, individual tokens may retain, partially overlap, or completely change their expert selections across rounds.
Key Theoretical Insight
The paper demonstrates through illustrative examples (Figure 1) that these two levels are statistically independent:
- Figure 1(a): , — identical aggregate distributions, each token retains half its experts
- Figure 1(b): , — identical aggregate distributions, complete retention
- Figure 1(c): , — identical aggregate distributions, complete replacement
- Figure 1(d): , — different aggregate distributions, each token retains half
This motivates the need for dual constraints — controlling aggregate reuse alone does not determine token-level behavior, and vice versa.
Central Research Question
How can we promote aggregate expert reuse across rounds while preserving a moderate degree of expert selection change for individual tokens?
Methodology
Problem Formulation
Consider a Transformer with shared expert pools, each containing experts, invoked at two distinct layers (rounds ). Expert FFN parameters are shared between rounds, while attention, router, and normalization modules remain independently parameterized.
Statistical Framework
For a statistical group with valid token positions, define a uniform distribution over selected experts:
where is the Top- expert set for pool in round . The empirical joint distribution is:
Round-Level Marginal Mutual Information
The average expert usage distribution in round :
The marginal mutual information between round and expert variables:
where is the Jensen–Shannon divergence (base 2 logarithms):
Interpretation: Small indicates similar aggregate expert usage across rounds; large values indicate round-dependent preferences (partitioning of the shared pool).
Token-Level Conditional Mutual Information
Key property: Under uniform Top-k distributions, equals the average fraction of selected experts replaced across rounds:
Theoretical Relationship
The two quantities satisfy:
with the chain rule giving:
Despite this relationship, small does not imply small (e.g., with is possible).
Differentiable Surrogates
Hard Top-k statistics have zero gradients almost everywhere. DuoMI uses softmax-based surrogates with temperature :
with partial derivatives:
Soft statistics:
Regularization Penalty
where and:
- First term: penalizes excessive aggregate usage differences (upper bound on )
- Second term: penalizes insufficient token-level routing change (lower bound on )
- Third term: penalizes excessive token-level routing change (upper bound on )
Training Objective
where:
The base objective (language modeling + load balancing + router z-loss) is unchanged from the baseline. Each mutual information estimate uses groups of 8 training sequences; statistics are computed separately per expert pool with aligned token positions across rounds.
Empirical Validation / Results
Experimental Setup
- Backbone: OLMoE with 16 layers; middle 12 layers arranged into 6 adjacent pairs sharing expert pools ()
- Each pool: experts, selected per token per invocation
- Parameters: ~4.5B trainable (counting shared weights once), ~1.3B active per token
- Training: 50,000 steps, sequence length 4,096, global batch size 512, ~104B token positions
- Data: FineWeb-Edu v1.4.0 (sample-100BT subset)
- Default DuoMI settings: , , ,
Main Results (Table 1)
| Method | Avg. | ARC-C | ARC-E | BBH | BoolQ | COPA | HellaS. | LAMB. | MMLU | OBQA | PIQA | RACE | SciQ | SST-2 | TQA | Wino. |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OLMoE baseline | 51.15 | 40.44 | 69.65 | 6.36 | 62.02 | 78.00 | 64.84 | 50.05 | 25.76 | 41.00 | 75.41 | 35.02 | 86.20 | 52.64 | 21.86 | 58.01 |
| OLMoE-Loop baseline | 50.08 | 39.08 | 69.02 | 6.34 | 56.79 | 75.00 | 62.55 | 48.17 | 24.61 | 43.60 | 75.79 | 35.31 | 86.10 | 51.72 | 20.89 | 56.20 |
| OLMoE-Loop DuoMI | 51.82 | 42.06 | 68.52 | 14.10 | 61.10 | 74.00 | 63.04 | 49.54 | 24.60 | 42.80 | 75.84 | 34.26 | 86.70 | 61.47 | 20.58 | 58.64 |
| ModuleFormer-style MI | 50.01 | 39.33 | 67.47 | 7.66 | 62.02 | 71.00 | 60.95 | 48.24 | 26.58 | 40.40 | 74.43 | 34.93 | 86.20 | 53.10 | 19.97 | 57.93 |
| Path-style shared router | 50.76 | 39.59 | 68.64 | 7.39 | 59.66 | 79.00 | 62.01 | 50.24 | 24.60 | 38.20 | 74.43 | 34.93 | 86.70 | 58.72 | 20.01 | 57.22 |
| RMoE-style recurrent router | 50.75 | 39.16 | 68.27 | 12.10 | 63.18 | 79.00 | 61.67 | 50.40 | 25.99 | 41.00 | 74.97 | 35.79 | 83.80 | 49.31 | 20.08 | 56.59 |
Key findings:
- DuoMI outperforms the looped baseline by 1.74 points and the unshared OLMoE baseline by 0.67 points
- Largest gains: SST-2 (+9.75 points), BBH (+7.76 points)
- DuoMI exceeds the best alternative routing method (Path-style, 50.76) by 1.06 points
Ablation Studies (Table 2)
| Method | Avg. |
|---|---|
| OLMoE-Loop baseline | 50.08 |
| OLMoE-Loop DuoMI | 51.82 |
| G-only | 50.53 |
| D-band only | 51.46 |
| w/o D lower bound | 51.05 |
| w/o D upper bound | 51.35 |
Conclusions:
- Token-level constraint (D-band) provides the larger individual gain (+1.38)
- Adding G constraint further improves by +0.36 points
- Removing either bound of the D interval reduces performance, confirming the need for two-sided control
Cross-Round Routing Analysis
- trajectories: DuoMI crosses the 0.02 threshold midway through training; baseline remains round-dependent longer
- trajectories: Baseline peaks at ~0.70, DuoMI at ~0.47, returning to target band earlier
- Actual Top-8 expert retention: Baseline retains ~10% of experts per token at end of training; DuoMI retains ~29% (≈2.3 of 8 experts per token)
Sensitivity Analysis (Table 3)
| Setting | Avg. |
|---|---|
| Default , | 51.82 |
| , | 51.15 |
| , | 52.03 |
| , | 51.06 |
| , | 51.51 |
| , | 51.23 |
| , , | 51.21 |
Findings: Performance is not monotonic in thresholds; the band yields the best average (52.03). Tightening or increasing does not improve results.
Theoretical and Practical Implications
Theoretical Contributions
-
Unified information-theoretic framework: DuoMI provides a principled way to characterize two distinct statistical dimensions of cross-round expert routing — aggregate usage alignment () and token-level routing change () — within a single framework. The relationship and the chain rule decomposition clarify their mathematical connection while demonstrating their independence.
-
Distinction from load balancing: The paper explicitly shows that cross-round distribution alignment () is not equivalent to uniform expert usage. Figures 1(a)–(c) all have identical uniform hard usage distributions but exhibit different token-level routing behaviors.
-
Two-sided control is essential: The ablation results demonstrate that both insufficient and excessive routing change are suboptimal, validating the interval-based constraint design.
Practical Implications
-
Zero-cost deployment: DuoMI adds no parameters and leaves inference computation unchanged — the gains come entirely from training-time regularization.
-
Alternative to architectural modifications: DuoMI outperforms architectural approaches (shared routers, recurrent routing states) by over 1 point on average, suggesting that training signals can be more effective than architectural changes for expert reuse.
-
Bridging the parameter-sharing gap: The method addresses the distinction between parameter sharing (which reduces storage) and actual expert reuse (which affects computation quality) — two concepts that are often conflated.
Conclusion
Main Takeaways
DuoMI successfully addresses the central challenge of regulating expert reuse in looped MoE Transformers by jointly controlling:
- Round-level aggregate usage through marginal mutual information
- Token-level routing change through conditional mutual information
The method achieves a 1.74 percentage point improvement over the looped baseline (50.08% → 51.82%) on 15 downstream tasks, exceeding even the unshared baseline. Both constraints contribute independently, and the two-sided interval on routing change is crucial.
Limitations
- Evaluation limited to a looped backbone derived from OLMoE-1B-7B due to compute budget constraints
- Generalization to other open-source architectures or larger models remains untested
Future Directions
- (i) Multi-round constraints: Formulating mutual information constraints when a shared pool is used across more than two rounds
- (ii) Architecture co-design: Developing new looped Transformer architectures whose rounds differ by design, better supporting the behaviors targeted by training objectives like DuoMI
Related papers
- Evolve to Learn: Gradient-aligned experience evolution for model self-improvement
Gradient alignment between experience-induced and reference gradients predicts post-distillation gains, while inference-time accuracy shows no correlation, enabling autonomous self-improvement via the E2L framework.
- Looped Models are Fast Multi-Token Predictors
Floodgates achieves up to 7.5x lossless decoding speedup on looped language models by using a single loop with low-rank adapters to draft multiple future tokens in parallel.
- How to build and train your recurrent-depth model: A fixed-point perspective
Input injection in recurrent-depth models is exactly Halpern iteration, enabling depth-independent truncated backpropagation windows and guiding a new Lipschitz-aware optimizer called Sparrow.