Stanford CS25: Transformers United V6 I On the Tradeoffs of State Space Models and Transformers
- Source
- youtube.com
- Author
- Stanford Online
- Date
Context
Albert Gu, an assistant professor at Carnegie Mellon and chief scientist of Cartesia AI, explains the trade-off between transformers and space models by what each remembers while generating text. In a Stanford CS25 talk, he says a keeps a cache of every past token and compares each new token with all of them, so its compute over a sequence grows quadratically. A state space model squeezes everything seen so far into a fixed-size state, so each step takes constant time and a whole sequence takes linear time.
The compression is also the limit. Because the state holds all the , a larger state can remember more, which he says matters for information-dense text, and the update rule must be expressive enough to choose what to keep. In Mamba, those parameters depend on the input. He cites hybrid models that mix such layers with , including the latest Qwen models, which he says are based on gated DeltaNet. This is a researcher's framing, and the excerpt reports no head-to-head benchmarks.
- State — Information describing a system at a particular moment, such as its current text, settings or saved records.
- transformer — The neural network architecture behind modern AI models, built on attention — letting every word directly consider every other word in parallel.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
videoStanford Webinar - Building Trustworthy AI: Navigating Security in the Agentic Era
videoStanford CS547 HCI Seminar | Autumn 2025 | HCI Systems in the Age of AI Code Generation
videoStanford CS25: Transformers United V6 I Advancing Science and Medicine with Collaborative AI Agents
videoStanford CS153 Frontier Systems | Andreas Blattmann from Black Forest Labs on Visual Intelligence
videoStanford CS25: Transformers United V6 I From Language Models to Native Multimodal IntelligenceStanford Online
videoStanford CS25: Transformers United V6 I From Next-Token Prediction to Next-Generation IntelligenceStanford Online
video2024 in Post-Transformer Architectures: State Space Models, RWKV [Latent Space LIVE! @ NeurIPS 2024]Latent Space
Checking sign-in…
Loading comments…