Models · Note

Mixture of Experts: The Experts Aren’t Separate AIs

Inside one model, a router sends each token through a few internal blocks. Follow one token through the machinery and see what “expert” really means.

The name mixture of experts sounds like a team of AIs. You might picture one expert for maths, another for writing and a third for science, with a manager deciding which one should answer your question.

That is not how a typical mixture-of-experts language model works. It is one model. Its “experts” are internal neural-network blocks: groups of learned numbers that transform the information flowing through the model. They do not read your whole prompt, form opinions or produce separate answers.

What happens inside one layer

A language model processes text as tokens, which are small pieces of text. As a token moves through the model, its current representation passes through many layers. In an MoE layer, a small learned component called a router scores the available expert blocks and selects a few of them.

Here is a simplified example for the token water at one Mixtral-style MoE layer. The choice of experts 2 and 6 is hypothetical; it shows the path, not a measured routing decision.

How one token moves through a mixture-of-experts layer ONE TOKEN · ONE MOE LAYER · HYPOTHETICAL token“water” Routerscores 8selects 2 8 expert blocks E1 E2ON E3 E4 E5 E6ON E7 E8 Combineweightedoutputs updated tokencontinues → Green blocks run. The other six do no calculation for this token at this layer. How one token moves through a mixture-of-experts layer ONE TOKEN · ONE MOE LAYER token“water” Routerscores 8 blocks · selects 2 8 internal expert blocks E1 E2ON E3 E4 E5 E6ON E7 E8 Combine outputsweighted from E2 and E6 updated token continues →
A simplified top-two route through one layer. Mixtral uses eight feed-forward expert blocks and selects two for each token at each MoE layer; the selected pair can change later.

The router does not ask an expert to answer. Each selected block performs a mathematical transformation on the token’s current representation. The router gives the selected outputs weights, the model combines them, and the updated representation continues through the network. Shared parts of the model, including attention, still operate outside these expert blocks.

Four tempting pictures—and what is really happening

The word expert invites several mental pictures. This table replaces each one with the mechanism inside the model.

Tempting pictureWhat happens in a token-routed MoE
Several AIs discuss the answerOne model runs selected internal blocks.
Each expert owns a named subjectSpecialisation is learned and may not match human subjects.
The router sends away the whole questionIt makes routing choices for tokens inside each MoE layer.
One expert writes the final responseSelected outputs are combined; generation continues through the model.
“Expert” names a component and “router” names a learned selection mechanism. Neither is a separate assistant.

Do the experts specialise?

They can learn different patterns because different tokens reach them during training. But human labels such as “coding expert” can be misleading. In the Mixtral paper’s routing analysis, the authors found no obvious assignment by topic. At some layers, routing appeared more connected to syntax and token type.

This also means the expert used for one token does not have to be used for the next. The word water in the diagram could take a different route in another sentence because the router sees its current representation, not just the printed word.

Why build a model this way?

Sparse routing lets a model contain more learned capacity without running every expert for every token. The inactive expert blocks still belong to the model, but their calculations are skipped for that token. This is called conditional computation.

You meet the idea in models such as Mixtral 8x7B. Its “8” refers to the available experts in each MoE layer, while two are selected per token. The useful takeaway is simpler than the name: mixture of experts means one model choosing among its own internal blocks as it processes text.

Back to the field notes