FIELD NOTES / HIGH SCHOOL
Choose the paths
A router selects a few expert transformations from a larger set of available weights.
Listen to this reading.
Local Kokoro Heart narration · high school. Covers the essay, worked example, and practice explanations. Quiz choices and source URLs are not read aloud. The text below is the transcript.
Four experts exist in this toy. Only two participate in the illustrated mixture.
- Token representation
- Router selection
- Experts A + C
- Weighted combination
Token representation
Listen to this experiment
Highschool · locally generated Kokoro Heart narration. The transcript follows the audio. Optional guided snapshots show the main example from each paragraph; they do not claim word-level timing.
Read the complete narration transcript
One token. Which experts? An expert is a learned transformation, not a person or a separate conversational model. A router chooses which transformations participate for a token representation.
In the default example, the router scores are three for A, zero for B, one for C, and minus one for D. The two highest scores select A and C. Predict that pair, then reveal the route. Our selected score softmax gives about eighty eight point one percent to A and eleven point nine percent to C.
Expert A has the toy output two, zero. Expert C has zero, four. Weighting and adding them gives approximately one point seven six two, zero point four seven seven. These vectors and scores are teaching choices, not measurements of a deployed model.
Change a score to explore another route. Equal scores use alphabetical order here. Choosing one expert gives it all the mixture weight in this convention. Unselected expert weights still need to be available. Resetting this experiment does not clear your study coach or lesson progress.
An interactive field experiment / 01
One token.
Which experts?
Predict the path before you reveal it. A router chooses which transformations participate; it does not send the token to a team of people.
Static example: scores A = 3, B = 0, C = 1, D = −1 select A and C for top-2 routing. Softmax over these selected scores gives about 88.1% to A and 11.9% to C. Their toy outputs [2, 0] and [0, 4] combine to approximately [1.762, 0.477]. Enable JavaScript to change the example.
Move each router score from −3 to 3. Larger scores rank first. Equal scores use alphabetical order in this demonstration.
Inside the calculation · college extension
In this defined toy, S = TopK(z), gᵢ = exp(zᵢ) / Σⱼ∈S exp(zⱼ) for i ∈ S, and y = Σᵢ∈S gᵢ Eᵢ(x). Unselected experts receive zero mixture weight. Selecting only one expert gives it weight 1 in this convention.
Expert outputs are fixed two-dimensional example vectors, not trained networks. Real expert outputs depend on x. Real models may use other gates, normalization conventions, shared experts, capacity limits and load-balancing objectives. Changing k here is not a performance benchmark.
This experiment is original explanatory code. Sparse gating and weighted expert outputs follow Shazeer et al., sections 2–2.1, equations 1–3. The four scores, vectors, tie rule and controls are explicitly chosen teaching examples, not DeepSeek architecture specifications. The dedicated scene recording explains this experiment; the original reading narration is also retained.
An expert is a learned transformation
In a mixture-of-experts layer, several alternative neural transformations are available. A router uses the current token representation to determine which paths should contribute. The term expert is convenient, but it should not be taken literally: an expert is not necessarily a separate conversational agent, a named profession, or a complete language model. Its role emerges from training and may be difficult to summarize in ordinary words.
Imagine a toy layer with four experts. For one token representation, the router selects experts A and C. For the next token, it may select B and C. This is conditional computation: different inputs can use different subsets of parameters. The illustration should show an input choosing computational paths, not four people debating an answer. Human committee metaphors can obscure the fact that these are numerical operations inside one model.
Worked example
Combine two outputs.
Expert A returns [2, 0]. Expert C returns [0, 4]. Their mixing weights are 0.75 and 0.25.
Trace the calculation
0.75 × [2, 0] + 0.25 × [0, 4] = [1.5, 1]. These are expert output vectors, not votes for final words.
Combining selected outputs
Suppose expert A produces the two-number vector [2, 0], while expert C produces [0, 4]. In a simplified weighted combination with coefficients 0.75 and 0.25, the output is [1.5, 1]. This example explains weighted mixing. It is not a claim that every implementation normalizes its selected router scores in the same way or that real experts have only two outputs. The architecture specifies the actual routing and combination rules.
After this layer, later operations continue transforming the representation. A routed expert does not normally produce the final human-readable answer by itself. A model may also have shared components that always participate. Attention, embeddings, normalization, and output projections can contribute computation outside the routed experts. Therefore, counting selected experts alone is not sufficient to calculate total work per token.
Active parameters are not the whole model
Total parameters count the available learned capacity. Active parameters describe the portion used in a particular forward computation, according to the counting convention. A sparse model can have a large total count while using a smaller subset for each token. This can make additional capacity more computationally affordable, but it does not imply that all inactive parameters disappear from storage.
Across many tokens, different experts can become active. Their weights must be available wherever the runtime expects to execute them. Keeping them in device memory, distributing them across devices, or transferring them from another memory tier creates different costs. A claim that a model has only a small active parameter count therefore cannot establish that the whole model fits on a small GPU. Model storage, active arithmetic, and communication are separate parts of the budget.
Routing creates a systems problem too
If many tokens choose the same experts, those experts can become busy while others are underused. Training methods and serving systems address this balance in different ways. When experts reside on different devices, token representations may need to travel to the selected devices and their outputs must return. The cost of communication can become important even when the arithmetic is efficient. This is one reason a model design and an inference framework need to be understood together.
In Signal Room, follow one token through the highlighted paths, then consider a batch containing many tokens. The picture changes from a single route into a distribution of demand. As a thought experiment, compare two situations with the same number of selected experts: evenly distributed requests and requests concentrated on one expert. The arithmetic count may look similar while waiting and communication differ. A strong explanation of MoE therefore asks three questions: how much capacity exists, how much work each token activates, and how efficiently the system moves and schedules that work.
Reason through the practice.
Use these short explanations alongside the main reading. Each coach question links to the relevant explanation.
Meaning
An expert is a learned transformation. Its specialization emerges from training and may not correspond to a simple human profession.
Router
The router uses the current representation to choose expert paths. Different token representations can produce different selections.
Conditional
Conditional computation allows different inputs to activate different subsets of available parameters.
Mix
Multiply each expert vector by its routing coefficient, then add coordinatewise: [1.5,0] + [0,1] = [1.5,1].
Output
Expert outputs are intermediate numerical representations. Later operations, including an output projection, determine final vocabulary scores.
Capacity
Total parameters count available weights; active count describes a portion used in a forward computation under a stated counting convention.
Storage
Across inputs, other experts may be selected. Their weights must remain accessible, whether resident, distributed or transferred from another memory tier.
Balance
Imbalanced demand can create waiting while other experts are underused. Arithmetic count alone does not describe scheduling and communication costs.
Read · recall · revisit
Make the idea your own.
High school · 8 questions per practice set, drawn from 16 authored questions. Each set covers every concept once. Read the supporting passages whenever you need them.
Progress stays in this browser on this site. It is not sent to a server or shared between devices. High school and college have separate records. Clearing browser data removes it.
8 questions per set. Enable JavaScript for rotating practice; the complete bank is listed below without it.
These checks cover the selected answers, not your overall understanding. A correct answer suggests a review tomorrow; a missed answer suggests reviewing its passage now. This simple reminder is not a validated learning schedule.
Clear this level’s current set and all coach attempts? Lesson progress and the other level will stay unchanged.
Sources and further investigation
Source review: October 28, 2026. Model-release claims are attributed to their publishers.