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