Mixture-of-Depths: Dynamically allocating compute in transformers
11–20 of 89 posts
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#12I think more complicated routing is absolutely going to become more common. Specifically, I think at some point we are going to move to recursive routing, ie. pass back through a set of experts again. In the future, 'chain-of-thought' will happen internal to the model recursively
Even more in line with the idea of "experts" there's a paper from last year on Sparse Universal Transformers in which they combine a universal transformer with sparse mixture of experts, so it's up to the gating mechanism to decide which transformer blocks and in which order are to be used in shaping the embeddings.
This really isn't my specialty but from what I gathered these are tricky to train properly, and require more overall compute during inference to reach comparable results to their vanilla transformer counterparts. It's an interesting direction nonetheless, having an upper bound on the number of computation steps per token is, in my opinion, one of the major downsides of the classical transformer architecture.
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#13https://lifeinthesingularity.com/p/googles-breakthroughs-in-...
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#14Are we going to hit bullseye?
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#15I think more complicated routing is absolutely going to become more common. Specifically, I think at some point we are going to move to recursive routing, ie. pass back through a set of experts again. In the future, 'chain-of-thought' will happen internal to the model recursively
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#16I think more complicated routing is absolutely going to become more common. Specifically, I think at some point we are going to move to recursive routing, ie. pass back through a set of experts again. In the future, 'chain-of-thought' will happen internal to the model recursively
Attention is basically routing, these other routing schemes put a less fine-grained choice for the model, which potentially makes it easier to train
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#17I think more complicated routing is absolutely going to become more common. Specifically, I think at some point we are going to move to recursive routing, ie. pass back through a set of experts again. In the future, 'chain-of-thought' will happen internal to the model recursively
And if you pick a random number/try many different levels of recursion, you 'blur' the output. Ie. the output of a layer doesn't know if it should be outputting info important for the final result, or the output that is the best possible input to another round of recursion.
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#18I think more complicated routing is absolutely going to become more common. Specifically, I think at some point we are going to move to recursive routing, ie. pass back through a set of experts again. In the future, 'chain-of-thought' will happen internal to the model recursively
I think the reason this hasn't been done is you have no way to decide how many recursions are necessary at train time. And if you pick a random number/try many different levels of recursion, you 'blur' the output. Ie. the output of a layer doesn't know if it should be outputting info important for the final result, or the output that is the best possible input to another round of recursion.
Re: Mixture-of-Depths: Dynamically allocating compute in transformers
#19Earlier quoted context omitted.
Attention is basically routing, these other routing schemes put a less fine-grained choice for the model, which potentially makes it easier to train
How is attention basically routing?