Skip to reading
Macalinao StudioLEARNReading room

FIELD NOTES / COLLEGE

Choose the paths

A router selects a few expert transformations from a larger set of available weights.

About 4 minutes · reading supplement · Read the high-school path

Listen to this reading.

Local Kokoro Heart narration · college. Covers the essay, worked example, college extension, and practice explanations. Quiz choices and source URLs are not read aloud. The text below is the transcript.

One token, selected experts

Four experts exist in this toy. Only two participate in the illustrated mixture.

  1. Token representation
  2. Router selection
  3. Experts A + C
  4. Weighted combination

Token representation

Listen to this experiment

College · 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.

For the college extension, select the highest k logits, exponentiate those selected scores, and divide by their sum. The mixture is the sum of each selected expert vector times its coefficient. This is one explicitly defined routing convention. Actual models can have shared experts, different normalization rules, capacity limits, and balancing objectives. Active parameter count alone does not determine total storage or execution time.

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.

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.

Understand

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.

Combine two outputs.

Expert A returns [2, 0]. Expert C returns [0, 4]. Their mixing weights are 0.75 and 0.25.

[1.5, 1]
Trace the calculation

0.75 × [2, 0] + 0.25 × [0, 4] = [1.5, 1]. These are expert output vectors, not votes for final words.

Follow

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.

Distinguish

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.

Connect

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.

College extension · make the assumptions explicit

A generic sparse mixture can be written y(x) = Σᵢ∈S(x) gᵢ(x)Eᵢ(x), where S(x) is the selected expert set, gᵢ a routing coefficient and Eᵢ an expert transformation. Shared paths, residual connections, and implementation-specific normalization may add terms or change details. Top-k selection introduces discrete choices; training and load balancing require architecture-specific treatment. Do not infer expert specialization solely from a few routed examples, and do not equate an MoE layer’s sparse activation with sparse attention over token positions.

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.

Set

S(x) identifies selected expert indices. Eᵢ transforms the representation and gᵢ supplies its routing coefficient.

Coefficient

Routing coefficients weight expert outputs. Their normalization and additional shared paths depend on the specific architecture.

Normalization

The simple weighted mixture illustrates a mechanism. Shared terms and implementation-specific normalization can change details.

Other Work

Routed experts are part of a larger network. Other operations and shared paths may still execute for each token.

Communication

Distributed execution can move token representations to experts and return their outputs. Communication and synchronization affect end-to-end performance.

Sparsity

MoE selects transformations or expert paths. Sparse attention limits interactions among token positions. One does not imply the other.

Specialization

Specialization claims need broader evidence. A handful of routed examples does not define all behavior of a learned transformation.

Make the idea your own.

College · 15 questions per practice set, drawn from 30 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.

15 questions per set. Enable JavaScript for rotating practice; the complete bank is listed below without it.

Question 1 / 30What is an expert in a typical MoE layer?
Read the supporting passage: Meaning →

Question 2 / 30Should you picture each expert as a separate person debating an answer?
Read the supporting passage: Meaning →

Question 3 / 30What selects the expert paths for a token representation?
Read the supporting passage: Router →

Question 4 / 30Which component determines which available experts contribute?
Read the supporting passage: Router →

Question 5 / 30Why is MoE called conditional computation?
Read the supporting passage: Conditional →

Question 6 / 30One token uses A and C; another uses B and C. What changed?
Read the supporting passage: Conditional →

Question 7 / 30A returns [2,0], C returns [0,4], with weights 0.75 and 0.25. What is the mixture?
Read the supporting passage: Mix →

Question 8 / 30Compute 0.75[2,0] + 0.25[0,4].
Read the supporting passage: Mix →

Question 9 / 30What does the toy expert mixture represent?
Read the supporting passage: Output →

Question 10 / 30Is [1.5,1] a vote count for two final words?
Read the supporting passage: Output →

Question 11 / 30What does total parameter count describe?
Read the supporting passage: Capacity →

Question 12 / 30Why can a sparse model have more total than active parameters?
Read the supporting passage: Capacity →

Question 13 / 30Do inactive expert weights stop needing storage?
Read the supporting passage: Storage →

Question 14 / 30Only two experts run for one token. Can you ignore the other weights in the deployment budget?
Read the supporting passage: Storage →

Question 15 / 30Many tokens choose one expert. What problem can appear?
Read the supporting passage: Balance →

Question 16 / 30Two batches use the same number of experts per token, but one concentrates demand. Why might latency differ?
Read the supporting passage: Balance →

Question 17 / 30In y(x)=Σ over i in S(x) of gᵢ(x)Eᵢ(x), what is S(x)?
Read the supporting passage: Set →

Question 18 / 30Which part of the mixture expression identifies the active experts?
Read the supporting passage: Set →

Question 19 / 30What does gᵢ(x) represent in the generic mixture?
Read the supporting passage: Coefficient →

Question 20 / 30Which term weights an expert output before combination?
Read the supporting passage: Coefficient →

Question 21 / 30Must every architecture normalize selected router scores identically?
Read the supporting passage: Normalization →

Question 22 / 30Can one toy mixture specify all implementations’ coefficient rules?
Read the supporting passage: Normalization →

Question 23 / 30Why is selected-expert arithmetic not total model computation?
Read the supporting passage: Other Work →

Question 24 / 30Which operations can remain outside routed experts?
Read the supporting passage: Other Work →

Question 25 / 30What happens when selected experts live on other devices?
Read the supporting passage: Communication →

Question 26 / 30Why can distribution add cost despite sparse arithmetic?
Read the supporting passage: Communication →

Question 27 / 30Is sparse expert activation the same as sparse attention?
Read the supporting passage: Sparsity →

Question 28 / 30One method selects expert networks; another selects token-position interactions. How are they related?
Read the supporting passage: Sparsity →

Question 29 / 30Can a few observed routes prove an expert has a stable human-readable specialty?
Read the supporting passage: Specialization →

Question 30 / 30You see an expert selected for three medical sentences. What can you responsibly conclude?
Read the supporting passage: Specialization →

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.

Sources and further investigation

Source review: October 28, 2026. Model-release claims are attributed to their publishers.