flâneur — a map of the web's best reading

State Space Duality (Mamba-2) Part II - The Theory | Tri Dao

tridao.me · 3,148 words · saved by 1 readers

In Part I of this series, we defined the state space dual (SSD) model. In isolation, this model is relatively simple to define, and we claimed that it can be computed either as an SSM recurrence or with an attention-like pattern. If you just want to use the model, feel free to skip this post! In this post, we’ll dive into the theory behind the model. We’ll derive the SSD “duality” in two completely separate ways, one starting from the SSM perspective and one from the attention perspective. Each method is actually much more broad than the SSD model itself, and the union of these two strong generalizations is what we call the SSD framework. This framework provides a rich body of connections between state space models, attention, and structured matrices. While the SSD model can be viewed as a specific instantiation of each prong of the framework, the SSD framework is much more general opens up many directions for future work. For each of the two parts of this framework, we’ll Note that th

State Space Duality (Mamba-2) Part II - The Theory | Tri Dao State Space Duality (Mamba-2) Part II - The Theory Part I - The Model Part II - The Theory Part III - The Algorithm Part IV - The Systems In Part I of this series, we defined the state space dual (SSD) model . In isolation, this model is relatively simple to define, and we claimed that it can be computed either as an SSM recurrence or with an attention-like pattern. If you just want to use the model, feel free to skip this post! In this post, we’ll dive into the theory behind the model. We’ll derive the SSD “duality” in two completel

Explore this link on the map →

related reading