B2-F2 · Blog 2 Figure 2 · preview in article context

At the entrance to an MoE block, the router receives a hidden state that already contains contextual information about the token. It uses that state to choose experts. Each selected expert transforms the token representation, and the weighted outputs return to the shared model computation.

Inside one MoE blockOne schematic MoE block routes a contextual hidden state to eight of 32 experts, then combines their outputs. The weighted combination continues through the rest of the encoder. Positions and selections are illustrative.selected expertexpert not selectedrouter / combinationIllustrative selection in one MoE block; not recorded router telemetry.Inside one MoE blockA router selects 8 of 32 experts for one contextual token state; their outputs are weighted and combined.contextualtoken stateRouterselects 8 of 3232 routed experts8 selected for this tokenweightedcombinationrest ofencoderInput is a contextual hidden state, not a raw word. The output continues through the encoder; it is not yet the 512-dimensional text embedding. Inside one MoE blockOne schematic MoE block routes a contextual hidden state to eight of 32 experts, then combines their outputs. The weighted combination continues through the rest of the encoder. Positions and selections are illustrative.selected expertnot selectedrouter / combinationIllustrative selection in one MoE block;not recorded router telemetry.Inside one MoE blockA router selects 8 of 32 experts for onetoken state; outputs are weighted and combined.contextual token stateRouter · selects 8 of 32weighted combinationrest of the encoderInput is a contextual hidden state, not a rawword. The output continues through the encoder;it is not yet the 512-dimensional embedding.

Figure 2

A router selects eight of 32 experts for a contextual token representation. Selected outputs are weighted and combined before computation continues. Positions and selections are illustrative.