Hydra Part II - The Model | Goomba Lab
In our previous post, we systematically compared various sequence models with different mixer matrices, and the quasiseparable SAM mixer emerged as the top performer. So, what exactly is it? Before diving into the details of quasiseparable SAM mixers, let’s briefly revisit some key findings from Mamba-2. Recently, Mamba-2 has shown that the mixer matrices of SSMs are inherently parametrized to one of the fundamental structured matrix classes – semiseparable matrices. Defintion of Semiseparable Matrices A lower triangular matrix is -semiseparable iff any submatrix from the lower triangle (on or below the diagonal) has a rank of at most . See (a) in the figure below. So why are SSMs semiseparable matrix mixers? Using our previously defined matrix mixer framework, we can represent SSMs as follows: where each matrix and vector . This decomposition shows that SSMs are indeed semiseparable mixers. [If you are not familiar with this concept, we recommend checking out this blog post for a gr
Hydra Part II - The Model | Goomba Lab Hydra Part II - The Model [ Paper ] [ Code ] Part I - Matrix Mixer Framework Part II - Hydra: The Model In our previous post, we systematically compared various sequence models with different mixer matrices, and the quasiseparable SAM mixer emerged as the top performer. So, what exactly is it? Recap: SSMs Are Semiseparable Matrix Mixers Before diving into the details of quasiseparable SAM mixers, let’s briefly revisit some key findings from Mamba-2 . Recently, Mamba-2 has shown that the mixer matrices of SSMs are inherently parametrized to one of the fund
related reading
- Hydra Part I - Matrix Mixer Framework | Goomba Labgoombalab.github.io
- 2405.21060-Transformers are SSMs (Mamba2)arxiv.org
- A Mathematical Framework for Transformer Circuitstransformer-circuits.pub
- State Space Duality (Mamba-2) Part II - The Theory | Goomba Labgoombalab.github.io
- 2312.00752arxiv.org
- Mamba No. 5 (A Little Bit Of…) | Sparse Notesjameschen.io
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- A Visual Guide to Mamba and State Space Modelsnewsletter.maartengrootendorst.com
- Mamba: The Easy Wayjackcook.com
- On the Tradeoffs of SSMs and Transformers | Goomba Labgoombalab.github.io
- State Space Duality (Mamba-2) Part II - The Theory | Tri Daotridao.me
- Transformers from Scratche2eml.school