by andy_xor_andrew · 3y ago · 0 comments
Or the models are all trained on the same corpus, but just queried with different parameters?
Is this functionally the same as beam search?
Do they select the best output on a token-by-token basis, or do they let each model stream to completion and then pick the best final output?
It's orthogonal to beam search - the benefit of the architecture is that it allows sparse inference.
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
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)
Descendant models = models fine tuned from an ancestor on one particular domain, e.g. by partitioning your training data by subject or source
Democracy = some weighted mix of the descendant models is used to find the next token