explainx.ainewsletter3.5k
TrendingNewsPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsagentsllmsdesignsdictionaryagi trackerranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

  1. Home
  2. /
  3. Dictionary
  4. /
  5. Attention Sink
Model Architecturesaka attention sinksaka StreamingLLM sink tokens

Attention Sink

A small set of early tokens that attention mechanisms keep assigning disproportionate weight to, which can be deliberately preserved to stabilize windowed attention.

Ask Melo about this← all terms

An attention sink is a token — often one of the first few in a sequence — that soft-max attention consistently assigns unusually high weight to, regardless of its actual semantic relevance, because softmax requires attention scores to sum to 1 and the model needs somewhere to route 'unneeded' attention mass. StreamingLLM (Xiao et al., 2023) showed that dropping early tokens from a fixed-size sliding-window cache causes attention to collapse, but keeping just a handful of sink tokens permanently in the window restores stability, enabling long streaming generation on a fixed memory budget. A 2026 paper from Microsoft researcher Alexia Jolicoeur-Martineau found that sliding-window attention with sinks, applied at inference with no retraining, outperforms models retrofitted to linear attention during post-training.

Related terms

Sliding Window AttentionSelf-AttentionContext WindowFlash AttentionU-NetEncoder-Only Model