We investigate whether Mixture-of-Experts (MoE) language models develop linguistically structured expert routing during bilingual language acquisition. Inspired by the Declarative-Procedural framework, we analyze lexical, grammatical, and syntactic processing in a decoder-only English-German MoE Transformer trained under sequential language exposure. We construct a probe-based validation set and extract token-level routing distributions to quantify category-dependent specialisation using mutual information, routing entropy, and Jensen-Shannon distance. The curriculum-trained model exhibits a peak mutual information of 0.1148 at layer 5, indicating category-dependent differences in routing distributions across linguistic categories. Surprisingly, a no-curriculum baseline trained on mixed English-German data shows stronger aggregate specialisation, reaching a peak mutual information of 0.2599 at the same layer. These results suggest that interpretable linguistic organization emerges within MoE routing patterns even without sequential language exposure. A replication at a second training seed shows that the no-curriculum condition's specialisation concentrates on a single language whose identity is seed-dependent, whereas the curriculum consistently yields a stable, language-balanced routing profile; rather than uniformly increasing specialisation, staged bilingual exposure reduces single-language dominance. The official Github repository: https://github.com/Amrit828/DP-Theory-MOE-Interpretability-Research
Figures & tables
Language
Lexical
Grammatical
Syntactic
English
460,250
650,000
650,000
German
138,127
175,000
175,000
Table 1: Dataset size by language and linguistic category.
Condition
Perplexity
Accuracy (%)
Forward Curriculum
111.19
28.99
No Curriculum
117.01
29.65
Table 2: Validation performance on the held-out diagnostic probe set.
Figure 1: Layer-wise mutual information between expert-routing distributions and linguistic categories.
Layer
Observed MI
Null Mean
Null Std
p -value
1
0.0520
0.0004
0.0002
0.000999
3
0.0384
0.0003
0.0001
0.000999
5
0.1148
0.0003
0.0001
0.000999
7
0.0207
0.0001
0.0000
0.000999
Table 3: Permutation test results for routing-category mutual information. All routed layers exhibit statistically significant routing-category associations. All reported p-values correspond to the minimum attainable empirical value under 1000 permutations, indicating that no permuted sample exceeded the observed MI.
Table 9: Routing-control and sparsity ablations evaluated on the held-out validation set (MI@L5). Random routing collapses routing-category dependence toward near-null values, indicating that specialisation does not arise from architectural sparsity alone. Freezing router parameters preserves weaker but non-zero specialisation. Lower load balancing increases routing-category dependence, while the routing-sparsity ablations show that top- k=2 yields a similar but slightly lower pooled MI than the main model, whereas top- k=4 produces substantially stronger category-conditioned routing, especially for English probes.
Forward
No-Curr
MI@L5
seed 42
seed 50
seed 42
seed 50
Combined
0.115
0.089
0.260
0.113
English
0.103
0.148
0.646
0.078
German
0.144
0.063
0.112
0.213
∣ EN − DE ∣
0.042
0.084
0.534
0.135
Appendix
Table 10: Layer-5 routing-category MI at both training seeds.
Frequency Bin
Forward MI@L5
No-Curr MI@L5
Frequent
0.0149
0.0055
Medium
0.0206
0.0976
Rare
0.2261
0.2494
Appendix
Table 11: English lexical irregular-versus-regular routing mutual information at layer 5 after binning probe lemmas by curriculum-weighted frequency.
Layer
Forward I(R;C∣L)
No-Curr I(R;C∣L)
1
0.0935
0.2584
3
0.0639
0.1084
5
0.1235
0.3787
7
0.0312
0.0895
Appendix
Table 12: Conditional mutual information between routing and linguistic category given language, I(R;C∣L) , across routed layers. In both the forward-curriculum and no-curriculum conditions, conditional MI remains clearly non-zero and permutation-significant at all routed layers ( p=0.000999 ), indicating that category-sensitive routing is not reducible to language separation alone.
Figure 5: Evolution of routing-category mutual information across training epochs for the routed layers.
Figure 6: Evolution of routing entropy across training epochs for the routed layers.
Mixture-of-Experts language models use input-dependent routing to activate a small subset of expert networks, increasing capacity without proportional compute.