Path-Constrained Mixture-of-Experts
Organizations: Apple · †Google
Abstract
Sparse Mixture-of-Experts (MoE) architectures route each token through a subset of experts at each layer independently. We propose viewing MoE computation through the lens of expert paths -- the sequence of expert selections a token makes across all layers. This perspective reveals that, despite possible paths for experts across layers, tokens in practice cluster into a small fraction of paths that align with linguistic function, yet the vast majority of paths remain unexplored, representing a statistical inefficiency. This motivates architectures that constrain the effective path space to amplify this natural concentration. As one instantiation, we introduce \pathmoe{}, which shares router parameters across blocks of consecutive layers. Analysis confirms that \pathmoe{} amplifies the emergent path structure: it produces more concentrated path clusters, better cross-layer consistency, and greater robustness to routing perturbations. Experiments on 0.9B and 16B parameter \pathmoe{} models demonstrate consistent improvements on perplexity and downstream tasks over independent routing, while eliminating the need for auxiliary losses. These results establish expert paths as a useful design axis for MoE architectures, complementary to existing work on independent routing mechanisms.
Figures & tables
| Routing | ARC-E | BoolQ | HSwag | LAMBADA | OBQA | PIQA | SocIQA | WinoGr. | Avg. | Perplexity | Throughput | Memory |
| (k tok/s/GPU) | (GiB) | |||||||||||
| Independent Routing | ||||||||||||
| Indep-MoE | 44.57 | 56.45 | 45.99 | 46.19 | 29.80 | 66.87 | 38.84 | 51.54 | 47.53 | 12.91 | 55.21 | 66.94 |
| Rand-MoE | 40.49 | 61.10 | 37.95 | 38.83 | 28.20 | 64.47 | 38.89 | 50.99 | 45.12 | 16.14 | 75.17 | 47.49 |
| X-MoE | 43.27 | 60.55 | 46.26 | 45.22 | 32.20 | 67.63 | 39.61 | 52.80 | 48.44 | 13.21 | 56.37 | 67.06 |
| Recurrent Routing | ||||||||||||
| Task | Indep | Path | ||
| Comm. | WinoGr. | 56.12 | 57.93 | +1.81 |
| PIQA | 68.99 | 71.38 | +2.39 | |
| SocIQA | 40.58 | 40.07 | –0.51 | |
| CSQA | 43.00 | 48.73 | +5.73 | |
| Lang. | LAMBADA | 51.97 | 53.64 | +1.67 |
| HSwag | 63.22 | 63.32 | +0.10 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Empirical Metric | PathB4-MoE | Indep-MoE |
| Routing entropy | 21.14 bits | 22.20 bits |
| Routing decisions correlation for consecutive layers | 85.6% | 62% |
| Unique paths observed | 5,109,282 | 6,263,708 |
| Effective path space |
| Hyperparameter | 0.9B Model | 16B Model |
| Model Architecture | ||
| Total parameters | 0.9B | 16.2B |
| Active parameters | 0.37B | 2.13B |
| Model dimension | 1280 | 2048 |
| FFN hidden dimension | 768 | 2112 |
| Layers | 24 | 28 |
| Routing | LBL | ARC-E | BoolQ | HSwag | LAMBADA | OBQA | PIQA | SocIQA | WinoGr. | Avg. |
| Indep-MoE | 0.01 | 44.57 | 56.45 | 45.99 | 46.19 | 29.80 | 66.87 | 38.84 | 51.54 | 47.53 |
| Indep-MoE | 0 | 43.18 | 58.29 | 47.05 | 47.55 | 28.80 | 65.94 | 39.36 | 53.67 | 47.98 |
| PathB4-MoE | 0.01 | 44.15 | 57.06 | 46.07 | 46.61 | 32.60 | 66.49 | 40.23 | 51.93 | 48.14 |
| PathB4-MoE | 0 | 44.70 | 60.40 | 47.95 | 49.45 | 31.60 | 66.32 | 40.94 | 55.64 | 49.62 |
| Routing | ARC-E | BoolQ | HSwag | LAMBADA | OBQA | PIQA | SocIQA | WinoGr. | Avg. |
| Indep-MoE | 55.18 | 56.27 | 48.19 | 40.73 | 35.80 | 66.70 | 39.46 | 55.96 | 49.79 |
| LowRank-MoE | 58.84 | 59.42 | 48.26 | 40.68 | 33.00 | 66.54 | 40.69 | 54.38 | 50.22 |
| PathMoE | 57.49 | 60.06 | 48.30 | 40.69 | 34.40 | 67.25 | 39.87 | 56.99 | 50.63 |
| PathB8-MoE | 58.16 | 58.20 | 48.26 | 40.35 | 34.40 | 66.65 | 40.33 | 54.38 | 50.09 |
| Routing | ARC-E | BoolQ | HSwag | LAMB. | OBQA | PIQA | SocIQA | WinoGr. | Avg. |
| X-MoE | 43.27 | 60.55 | 46.26 | 45.22 | 32.20 | 67.63 | 39.61 | 52.80 | 48.44 |
| PathB4X-MoE | 44.07 | 61.07 | 47.29 | 48.30 | 30.80 | 66.43 | 39.97 | 52.96 | 48.86 |
| # Paths | ARC-E | BoolQ | HSwag | LAMBADA | OBQA | PIQA | SocIQA | WinoGr. | Avg. |
| 10 | 40.45 | 59.54 | 39.34 | 40.87 | 30.40 | 66.81 | 37.82 | 54.54 | 46.22 |
| 100 | 43.81 | 56.79 | 47.04 | 45.10 | 30.80 | 67.46 | 40.23 | 54.22 | 48.18 |
| 500 | 44.74 | 59.42 | 48.24 | 47.58 | 31.20 | 66.00 | 39.97 | 53.75 | 48.86 |
| All | 44.82 | 56.48 | 47.76 | 46.42 | 31.60 | 66.76 | 39.41 | 56.43 | 48.71 |
| Category | Type | Examples |
| person_names | Lexical | Andrea, Richard, Oprah, Mary, John, Elizabeth |
| titles_roles | Lexical | secretary, minister, commander, winner, professor, CEO |
| speech_verbs | Lexical | said, explained, told, asked, claimed, announced |
| adverbs_discourse | Lexical | especially, actually, particularly, however, therefore |
| adverbs_manner | Lexical | quickly, carefully, successfully, directly, properly |
| adverbs_time | Lexical | now, today, recently, always, sometimes, currently |