Do we need Attention? - Linear RNNs and State Space Models (SSMs) for NLP
What it is
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.
Why Hacker News recommends it
HN commenters recommend it for building intuition about state space models and the tradeoffs between transformer and SSM layers.
- 3 people recommended it
- 3 different months
- 1 strong recommendations
- first 2024, last 2024
What HN commenters said
“I highly recommend Sasha Rush's video on it”
Explains tradeoffs between transformer and state space model layers.
a_wild_dandan, 2024-03 · Strong recommendation · in “Jamba: Production-grade Mamba-based AI model”
“Would recommend Sasha Rush's lecture”
Gives intuition for state space models via linear RNNs.
anomaly72, 2024-01 · Recommendation · in “MoE-Mamba: Efficient Selective State Space Models with Mixture of Experts”
“Here is a video going through this topic as well”
Author points to a video walkthrough of the S4 topic.
srush, 2024-02 · Recommendation · in “The Annotated S4”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: ssm, linear rnn, mamba, attention, s4, nlp
Also recommended by the same people
explainerDrawing Conclusions: Is renting really a waste of money?The Globe and Mail · 2 HN recommenders · 2018–2019
lectureThe spelled-out intro to neural networks and backpropagation: building microgradAndrej Karpathy · 17 HN recommenders · 2022–2025
explainerBut what is a neural network? | Deep learning chapter 13Blue1Brown · 16 HN recommenders · 2017–2025
documentaryAlphaGo - The Movie | Full award-winning documentaryGoogle DeepMind · 10 HN recommenders · 2020–2025
explainerTransformers, the tech behind LLMs | Deep Learning Chapter 53Blue1Brown · 13 HN recommenders · 2024–2026
talkUSENIX Security '18-Q: Why Do Keynote Speakers Keep Suggesting That Improving Security Is Possible?USENIX · 10 HN recommenders · 2018–2026
courseLecture 1 | Machine Learning (Stanford)Stanford · 11 HN recommenders · 2008–2020
demoMarI/O - Machine Learning for Video GamesSethBling · 10 HN recommenders · 2015–2026