Vibeleaderboard
← All Intel
Intel / video

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.

Terms in this piece · Glossary
  • 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.
Read the source www.youtube.com
More from Stanford Online
Recommended reads
Comments

Checking sign-in…

Loading comments…