It's orthogonal to beam search - the benefit of the architecture is that it allows sparse inference.
It's orthogonal to beam search - the benefit of the architecture is that it allows sparse inference.
The output isn't just the best of the 8 experts - it is a blend of the opinions of the experts. Another (usually smaller) neural net decides how to blend together the outputs of the networks, probably on a per-token basis (ie. for each individual word (ie. token), the outputs of all the experts is consulted, and then blended together, and a word picked (sampled), before moving onto the next word)
There isn't a lot of public interpretability work on mixture-of-expert transformer models, but I'd suspect the way they specialize in tasks is going to be pretty alien to us. I would be surprised if we find that one of the expert networks is used for math, another for programming, another for poetry etc. It's more likely we'll see a lot of overlap between the networks going off of Anthropic's work on superposition [1], but who really knows?
[1] https://transformer-circuits.pub/2022/toy_model/index.html
[1] https://www.youtube.com/watch?v=VMj-3S1tku0&list=PLAqhIrjkxb...