In Mixture-of-Experts (MoE) models like Mixtral or DeepSeek, every token is "routed" to a specific subset of experts at each layer. Researchers have long observed that similar tokens (like punctuation used in specific ways) follow similar "expert paths." But does the path cause the behavior, or is it just a passive reflection of the model's internal state?
A new paper, "What MoE Routing Controls: Causal Interventions on Expert Trajectories," uses causal interventions to prove that these paths are more than just a side effect—they are a steering wheel for the model’s behavior.
TL;DR
By forcing tokens onto specific "expert paths," researchers found they could radically change the format of a model's output (e.g., turning code into clock times). While "concept" steering (e.g., forcing a religion path) shifts internal probabilities, it rarely changes the final text because, unlike formats, concepts are not self-reinforcing during generation.
What Problem Does This Paper Address?
MoE models are efficient because they only activate a fraction of their parameters for any given token. However, the interpretability community is divided: are these experts "specialists" that handle specific logic, or is routing just a mathematical byproduct of high-dimensional geometry?
The authors wanted to know if routing is causal. If we "hijack" a token and force it to take the path usually reserved for religious text, will the model start talking about religion? This helps us understand if MoE routing is a viable "handle" for controlling and interpreting large language models.
Methods
The researchers developed a technique called Path-Level Steering:
- Building a Target Path: They identify "exemplar" tokens for a concept (e.g., "prayer," "faith" for religion). They track which expert is most commonly chosen at every layer for these tokens to create a "target path."
- Router Logit Biasing: During generation, they don't edit the hidden states (the actual data). Instead, they add a constant bias ($s$) to the router's logit for the target expert. This "nudges" the model to select the target expert without changing the input the expert receives.
- Controls: They compare these steered paths against "random paths" to ensure the effects aren't just due to the noise of changing experts.
Datasets
The study primarily used Qwen3-30B-A3B (a 48-layer MoE). To ensure the findings were robust, they also tested:
- OLMoE-1B-7B
- Qwen1.5-MoE
- DeepSeek-V2-Lite
They used custom word lists for nine concepts (Religion, Money, Law, Medicine, Nature, Food, Travel, Emotion, and Time) and a cross-lingual setup where paths were built using Chinese tokens but tested on English prompts.
Key Insights and Ideas
- Format vs. Concept: This is the paper's most striking finding. Steering a "format" path (like the path a colon takes in a digital clock) is incredibly effective. Steering a "concept" path (like religion) makes religious words much more likely in the model's internal probability distribution, but the model usually continues writing its original, non-religious sentence.
- The Self-Reinforcement Loop: Why does format steering work better? The authors found that formats are self-reinforcing. Once the model writes a single digit because of steering, that digit becomes part of the context, which naturally pulls the model toward writing more digits. Concepts don't "loop" like this.
- Cross-Lingual Universality: A path built from Chinese "religion" tokens successfully steered English prompts. This suggests that expert paths represent high-level semantic concepts that transcend specific languages.
- The "Engine Room" (Middle Layers): Steering is most effective in the middle layers (layers 16–31). Early layers are too focused on low-level token features, and late layers are too close to the final vocabulary projection to change the high-level "trajectory" of the thought.
Key Results
- Format Transformation: Forcing a "type-annotation" colon onto a "clock-time" path increased the "digit fraction" of the output by 44x compared to a random path.
- Probability Shifts: Steering the "religion" path increased the probability of English religion words by 7x on the primary vocabulary and 12x on a held-out vocabulary.
- Concept Strength: Not all concepts are created equal. "Religion" and "Money" were the strongest and most specific concepts to steer, while "Medicine" and "Nature" were much harder to influence.
Limitations and Future Work
- Robustness: While steering a whole path is powerful, removing a single expert during natural use had almost no effect. The model is highly redundant and can "route around" a missing expert.
- The "Why" of Concept Strength: The researchers couldn't fully explain why some concepts (like religion) steer better than others. It wasn't simply down to how rare or "distinctive" the words were in the embedding space.
- Intervention Magnitude: The bias used ($s=8$) is quite strong, often giving the target expert a gate weight of ~0.96. Future work could explore more subtle interventions.
This research suggests that if we want to truly control what an MoE model says, we need to look at the "trajectories" tokens take through the network, rather than just looking at individual experts in isolation.
Summary updated