The feed forward layer is essentially a differentiable key-value store.
Similar to the attention layer, actually.
So it just uses an attention mechanism like pre-selector to attend to only some experts.
During inference, this cutoff is made a hard cutoff.