Skip to the document
Madhuopen lab
Outcome School · Transformers and architecture14 min read

by Amit Shekhar · 5 September 2026

How do Attention Sinks work?

How attention sinks work in Large Language Models. We will also see why streaming long conversations becomes a problem, why the first tokens become a sink that the naive fix breaks, and how StreamingLLM uses attention sinks in the real world to keep models running.

2,786 words#llm#ai#machine-learning4 recall cards

How do Attention Sinks work?
Read on Outcome School ↗then come back to lock it in
Before you read, guess

How does the model treat previous words when predicting the next token?

Ten seconds, a guess, then read — a wrong guess still makes the answer stick.

Before you go

In one sentence, what was this chapter about?

From memory, without scrolling up. Writing it is what makes it yours; the grade is only to show you what you had.

How sure?