HackerTube

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

Sasha Rush3 HN recommenders · recommended in 3 months, 2024–2024
YouTube
lecture · advanced · 2024–2024 on HN

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.

3 comments from Hacker News

@a_wild_dandan2024-03 · 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: ▶ this video

Strongly recommends View on HN
@srush2024-02 · 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: ▶ this 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).

Recommends View on HN
@anomaly722024-01 · in “MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts”

Would recommend Sasha Rush's lecture ▶ this video , it provides the intuition for state space models via linear RNNs

Recommends View on HN