Does the Same Token Mean the Same State? MoE Routing as Signal for Reasoning Control
This paper introduces RAD (Routing Agreement Decoding), a novel inference strategy that leverages the distinct Mixture-of-Experts routing patterns of identical tokens to select high-quality reasoning trajectories without relying on answer string parsing or voting, thereby enabling effective pass@1 selection for code and agentic tasks where traditional majority voting fails.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Question: Is a "Hello" Always the Same "Hello"?
Imagine you are listening to a choir of 100 different singers (the "Experts" inside a large AI model). When the choir sings the word "Hello," you might assume they are all singing it the exact same way, using the same vocal techniques and emotions.
The paper asks: If the AI outputs the exact same word (token) in two different situations, does it mean the internal "machinery" that produced that word was also the same?
The Answer: No.
Even if the AI writes the exact same word (like "Hello" or "The answer is 42"), the specific group of "singers" (experts) inside the model that produced it can be completely different depending on the context. One "Hello" might be sung by a group of experts thinking about math, while another "Hello" is sung by a group thinking about coding. The word is the same, but the internal state is different.
The Problem: How Do We Pick the Right Answer?
Usually, when we want an AI to solve a hard problem (like a math puzzle or a coding bug), we ask it to try 64 different times (64 "rollouts"). Then, we look at the final answers. If 50 of them say "42" and 14 say "43," we pick "42" because it's the majority vote.
The Catch: This "voting on the final answer" works great for math (where the answer is a clear number). But it breaks down for:
- Code: Two programs can do the exact same thing but look totally different (different variable names, different formatting). You can't just count how many times the word "print" appears.
- Agents: Sometimes the AI is trying to fix a software bug. The "answer" is a patch of code. There is no single "correct string" to vote on; the code is unique to every attempt.
We need a way to pick the best attempt without reading or comparing the final answers.
The Solution: RAD (Routing Agreement Decoding)
The authors discovered a secret signal hidden inside the AI: The Router.
Think of the AI as a massive office building with thousands of specialized workers (experts). Before a worker does any task, a Router (a manager) decides which team of workers gets the job.
- The Discovery: The paper found that when the AI is about to write the start of an answer (like the
\boxed{symbol in math or the triple backticks```in code), the Router's decision pattern reveals a lot about the quality of the answer. - The Analogy: Imagine you are trying to guess which team in a sports tournament will win. Instead of waiting for the final score (which you can't see yet), you look at which players the coach chose to start the game.
- If the coach picks the same "dream team" lineup for 50 different games, those games are likely going to end up with the same result.
- If the coaches pick random, mismatched lineups, the results will be all over the place.
RAD works like this:
- It generates 64 different attempts at a problem.
- It ignores the final answers completely. It doesn't read them.
- It looks at the Router's lineup (which experts were chosen) right at the moment the answer begins.
- It asks: "Which 64 attempts had the most similar lineups?"
- It picks the attempt that belongs to the largest group of similar lineups.
If 50 attempts all used the same "expert team" to start their answer, RAD assumes that group is the most confident and likely to be correct, even without knowing what the answer actually is.
Why This is a Big Deal
- It Works Where Voting Fails: On coding tasks, where you can't just count matching words, RAD still works. It picks the best code patch by looking at the "internal team" that wrote it, not the code itself.
- It's Fast and Simple: It doesn't need to understand the meaning of the code or math. It just looks at the pattern of the internal "switches" being flipped.
- It's Not a Magic Truth Detector: The paper is honest about this. If 50 people all agree on the wrong answer (a "dense wrong basin"), RAD will pick that wrong answer too. It picks the most popular path, not necessarily the true path. It's a "consensus signal," not a "truth verifier."
Summary in One Sentence
The paper shows that even if an AI says the same word twice, the internal "team" that said it might be different; by picking the answer that comes from the most consistent "team lineup" at the start of the response, we can choose the best result without ever needing to read the final answer.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.