Do we need Attention? - Linear RNNs and State Space Models (SSMs) for NLP

Sasha Rush3 HN recommenders · 2024–2024
35K views · lecture · dated · Uploaded 2023-07-05

Sasha Rush surveys linear RNNs and state space models as replacements for attention in transformer-style models, in a talk for MLSys. It covers the foundational preliminaries and predates Mamba.

HN commenters recommend it for building intuition about state space models and the tradeoffs between transformer and SSM layers.

Watch on YouTube

3 comments from Hacker News

@anomaly722024 · in “MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts”

Would recommend Sasha Rush's lecture [VIDEO] , it provides the intuition for state space models via linear RNNs

RecommendsView on HN
@srush2024 · in “The Annotated S4”

Hi! Blog author. This was an attempt a couple years ago to understand and write about this paper in a detailed way. Here is a video going through this topic as well: [VIDEO] Section 2 of the blog post is no longer very relevant. A lot of advances (DSS, S4D) simplified that part of the process. Arguably also this all should be updated for Mamba (same authors).

RecommendsView on HN
@a_wild_dandan2024 · in “Jamba: Production-grade Mamba-based AI model”

To those curious about the tradeoffs between transformer and state space model layers, I highly recommend Sasha Rush's video on it: [VIDEO]

Strongly recommendsView on HN