Try Pro free

Latent Space · 4 min · Feb 12, 2026

Long context needs more than larger attention windows

Jeff Dean says simple needle-in-a-haystack tests saturate and quadratic attention cannot scale to trillions of tokens.

In this episode

Full analysis
  1. 3:46Distillation can make Flash outperform the previous ProPro pick 3 min
  2. 24:02Putting Google’s search index in memory changed query quality3 min
  3. 31:53Data movement explains why accelerators need batching2 min
  4. 1:06:51A memo proposed unifying Google's AI teams3 min
  5. 59:20Sparse models cut compute cost at a given quality4 min
  6. 35:21TPU design requires predicting ML workloads years ahead4 min
  7. 12:53Long context needs more than larger attention windows4 min
  8. 26:56Design for 5–10× growth, then rethink at 100×3 min
“what you would really want is can i attend to the internet while i answer my question”
Jeff Deanat 15:11 · Latent Space
15:11

Takeaways

  1. Use realistic multi-needle tasks once simple retrieval tests saturate.
  2. Quadratic attention will not scale to internet-sized contexts.
  3. Aim for useful access to trillions of tokens across modalities.

About this segment

Jeff Dean says simple needle-in-a-haystack tests saturate and quadratic attention cannot scale to trillions of tokens. The goal is useful access to vast personal, web and video data—not just a bigger context window.

Jeff Dean

Jeff Dean is Chief AI Scientist at Google.

Co-founded AI startup Discovery Loop; previously Google chief scientist and co-creator of MapReduce, Bigtable.

  • Shawn Wang (swyx), Host · Co-founder, AI Engineer

    Wrote “The Rise of the AI Engineer” and founded Smol AI, maker of AI News.

  • Alessio Fanelli, Host · Founder, Kernel Labs

    Partner at Decibel, backing technical founders who build developer tools.

From “The AI Frontier: from Gemini 3 Deep Think distilling to Flash — Jeff Dean”, Feb 12, 2026. Watch the full episode

Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

  1. 12:59

    I'm just kind of jumping on that because you just... I mean, I think some of the long context capabilities of the Gemini models that came, I guess, first in 1.5 really were about looking at, okay, we want to have... Immediately, everyone jumped to completely green charts. I was like, how did everyone crack this at the same time? Right, yeah, yeah, yeah. I mean, I think, and once you're set, I mean, as you say, that single needle in a haystack benchmark is really saturated for at least context lengths up to 128K or something.

  2. 13:35

    I think most people don't actually have, you know, much larger than 128K these days or 256 or something. You know, we're trying to push the frontier of 1 million or 2 million context lengths. I think Google's still the leader, 2 million. Yeah, which is good because I think there are a lot of use cases where, you know, putting a thousand pages of text or putting, you know, multiple, you know, hour long videos in the context and then actually being able to make use of that is useful.

  3. 14:00

    but the the single needle in a haystack benchmark is sort of saturated um so you really want more complicated uh sort of multi-needle or more realistic take all this content and produce this kind of answer from uh a long context that sort of better assesses what it is people really want to do with long context which is not just you know can you tell me the product number for this particular thing yeah it's retrieval it's it's uh retrieval within machine learning uh yeah it's it's interesting because like i think that the more meta level i'm trying to operate at here is uh you have a benchmark you're like okay i see the architectural thing i need to do in order to go fix that but like should you do it because sometimes you know that's an inductive bias basically that you're in and it's what jason way who used to work at google would say like

  4. 14:53

    exactly kind of thing like yeah you're going to win short term longer term i don't know if that's going to scale you might have to undo that i mean i i like to sort of not focus on exactly what solution we should drive but what capability would you want and i think we're very convinced that you know long context is useful but it's way too short today right yeah like i think what you would really want is can i attend to the internet while i answer my question okay right but that's not going to be solved by purely scaling the existing solutions which are quadratic so a million tokens kind of pushes uh what you can do you're not going to do that to a trillion tokens let alone you know a billion tokens let alone a trillion um but i think if you could give the illusion that you can attend to trillions of tokens that would be amazing you'd be find all kinds of uses for

  5. 15:45

    that you would have um attend to the internet you could attend to the pixels of youtube and the sort of deeper representations that we can form for a single video but across many videos you know uh A personal Gemini level, you could attend to all of your personal state with your permission. So like your emails, your photos, your docs, your plane tickets you have. I think that would be really, really useful.

  6. 16:14

    And the question is, how do you get algorithmic improvements and system level improvements that get you to something where you actually can attend to trillions of tokens in some meaningful way? yeah but by the way i think i did some math and if like if you spoke all day every day for eight