TL;DR
This paper introduces Gated-LPI, a novel neuron-level attribution metric designed to track how Mixture-of-Experts (MoE) models acquire knowledge during pre-training compared to traditional dense models. The authors discover that MoE architectures naturally form a highly stable, low-entropy computational backbone early in training, which makes them significantly more structurally robust and resilient to component ablation than their dense counterparts.
What Problem Does This Paper Address?
Mixture-of-Experts (MoE) architectures have become the go-to strategy for scaling large language models (LLMs) efficiently. By activating only a sparse subset of "experts" for any given token, MoEs decouple a model's total parameter capacity from its per-token computational cost.
However, how this internal sparsity shapes the actual dynamics of learning during pre-training has remained a black box. Most mechanistic interpretability research is post-hoc (analyzing fully trained models) and almost exclusively focused on traditional dense Transformers. This paper addresses this gap by conducting a time-resolved, neuron-level comparison of knowledge acquisition between MoE and dense models throughout their entire pre-training runs.
Methods
To peer inside the training process, the authors extended the Log-Probability Increase (LPI) metric to handle conditional routing, creating Gated-LPI.
- Neuron Attribution: Gated-LPI measures how much a specific internal component—either an FFN expert neuron or an attention head neuron—contributes to a model's correct prediction by calculating the change in log-probability of a target token when that neuron's output is added to the residual stream.
- Time-Resolved Tracking: The authors analyzed intermediate training checkpoints of two open-source models from the same lab: OLMoE-1B-7B (sparse MoE, tracked over 1.2M steps / ~5.0T tokens) and OLMo-7B (dense, tracked over 600K steps / ~2.5T tokens).
- Stability Metrics: They introduced quantitative metrics like Top-1% Set Stability ($J_{stab}$, using Jaccard overlap to see if the same neurons remain important across checkpoints) and Positive-Gain Concentration ($R_t$, measuring if training updates continue to reinforce the same top neurons).
Datasets
To evaluate factual and relational knowledge attribution, the authors utilized a balanced relational facts dataset adapted from Hernandez et al. (2023). It consists of 906 subject-object pairs across 12 distinct relations divided into four categories:
- Linguistic (e.g., adjective antonyms)
- Commonsense (e.g., fruit inside color)
- Factual (e.g., country capital city)
- Bias (e.g., occupation gender associations)
Models were evaluated on these facts using a cloze-style prompt template (e.g., "The capital of [Subject] is the city of [Object]").
Key Insights and Ideas
- The Low-Entropy MoE Backbone: MoE models concentrate their learning. A tiny sliver (~1%) of MoE neurons forms a "high-utility core," capturing over 45% of all positive updates throughout training. In dense models, this core is completely absent; the most important neurons constantly shift and churn.
- Early Consolidation: MoE models "lock in" their internal structure remarkably early. Within the first 100K training steps, the layer-wise and neuron-level importance profiles stabilize. Dense models, by contrast, remain highly volatile, continuously reconfiguring their internal hierarchies.
- Sparsity Fosters Distributed Robustness: You might expect a model with a highly concentrated "core" of important neurons to be brittle. Surprisingly, the opposite is true. The MoE architecture forces knowledge to be stored redundantly and distributively across its sparse structure, making it highly resilient to targeted damage. Dense models suffer from high knowledge concentration in transient, brittle components.
Key Results
- Neuron and Layer Stability: As shown in the Jaccard overlap trajectories, OLMoE's top-performing neurons rapidly stabilize after an initial "explore-refine" phase, whereas the dense OLMo model's overlap steadily decays toward the end of training.
- Update Concentration: Quantitative tracking shows that OLMoE maintains a massive positive-gain concentration ($R_t$) of 48.9% compared to just 26.4% for the dense model, proving that MoE training consistently reinforces its established backbone.
- Causal Interventions (Ablation): To test robustness, the authors forcefully masked the most critical components during inference:
- Ablating the top 1% FFN neurons caused a moderate 35.5% performance drop in the MoE model, but completely collapsed the dense model (a catastrophic 96.2% drop).
- Ablating the top 10 attention heads led to a minor <10% drop for the MoE model, compared to a massive 50.4% drop for the dense baseline.
Limitations and Future Work
The authors note a potential data confound: while both models share similar training pipelines, OLMoE-1B-7B was trained on the OLMoE-MIX corpus (which has a higher proportion of code and mathematics), whereas OLMo-7B was trained purely on the Dolma corpus.
For future work, the authors suggest that understanding this early consolidation behavior opens up exciting possibilities for training diagnostics. Specifically, these insights could inspire stability-aware expert pruning methods or new explore-then-stabilize routing strategies that optimize MoE training early in the pre-training lifecycle.
Summary updated