| ISSUE 379/456 · COMPUTER SCIENCE |
~4 MIN |
FOUNDATION / MODEL ARCHITECTURE · READING DATE 2027-10-15 · OCTOBER 2027 — LANGUAGE MODELS AND MEASUREMENT
Why a big AI model may not use every part at once
START HERE
A sorting desk can send different items to different processing stations. A mixture of experts is a computer prediction system containing alternative calculation blocks and a rule selecting which blocks handle each input. Only some blocks may run for a given text piece, although all their stored settings still exist.
|
/ WHY NOW
A headline parameter count, meaning the total number of stored numerical settings, can therefore differ greatly from the amount of calculation used for one piece of text. The design also creates a less obvious problem: many inputs may choose the same block at once.
|
/ THE IDEA
An expert is a learned calculation block, not necessarily a human-labelled specialist such as a lawyer or translator. A router scores the blocks for each token, meaning a numbered text piece, and selects one or several. Its learned preferences need not divide neatly into topics. Some implementations reserve a fixed number of token-processing slots for each expert in a batch, a group processed together. If routing is uneven, one expert can overflow while others have unused slots. Extra capacity and training rules encouraging balanced use can reduce this mismatch, but they have resource costs.
THE FORMAL IDEA
capacity per expert = (tokens in batch / experts) × capacity factor
| Capacity counts processing slots; capacity factor is a multiplier with no units. | | The formula is a simplified Switch-style allocation. Practical implementations round slot counts and use architecture-specific rules for overflow. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
A batch contains 8 tokens and 2 experts; capacity factor = 1. Each expert gets 8/2 = 4 slots; routing sends 6 tokens to A and 2 to B. A overflows by 2 while B leaves 2 slots unused. Change only capacity factor to 1.5: each gets 6 slots, so all these routed tokens fit.
|
The model did not gain more experts. It reserved more room for unequal demand. Total reserved slots increased from eight to twelve, including four unused slots at B, so avoiding overflow was not free.
/ SO WHAT?
This helps interpret two separate promises: more stored model capacity and less calculation per token. Neither alone tells you the final latency or memory requirement. Moving routed data between devices, keeping expert weights available and balancing batches all matter. A lightly activated model can still be challenging to fit into a machine’s memory.
ONE CAVEAT |
| This is one historical routing design, not a specification for every expert model. Some systems do not drop overflowed tokens or use fixed capacities. Experts are numerical blocks, not independent agents discussing an answer. |
KEEP THIS
Selective activation saves some arithmetic, while uneven routing can create capacity and communication bottlenecks.
|
NEXT: How squeezing a sensor produces an electrical signal
|