{
 "slug": "Attention_sink",
 "title": "Attention sink",
 "type": "concept",
 "short_desc": "The tendency of autoregressive transformers to concentrate attention mass on initial tokens; exploited by StreamingLLM and built into gpt-oss as learned biases.",
 "categories": [
  "Architectures",
  "Concepts",
  "Inference"
 ],
 "infobox": {
  "Introduced": "Named by Xiao et al., September 2023 (StreamingLLM)",
  "Field": "Attention mechanisms, efficient inference",
  "Used in": "StreamingLLM-style streaming inference; learned sinks in gpt-oss",
  "Key papers": "arXiv:2309.17453, arXiv:2402.17762, arXiv:2508.10925"
 },
 "infobox_links": {
  "Used in": [
   "gpt-oss"
  ]
 },
 "aliases": [],
 "family": "",
 "org": "",
 "registry_status": "complete",
 "words": 1579,
 "references": 5,
 "outbound": [
  "Large_language_model",
  "Llama_2",
  "OpenAI",
  "PagedAttention",
  "Pretraining",
  "Pythia",
  "Self-attention",
  "Sliding-window_attention",
  "Softmax",
  "Transformer_(architecture)",
  "gpt-oss"
 ],
 "inbound": [
  "Circuits_(interpretability)",
  "FlashAttention",
  "Hybrid_architecture_(LLM)",
  "Mechanistic_interpretability",
  "Multi-head_attention",
  "PagedAttention",
  "Self-attention",
  "Sliding-window_attention",
  "Softmax",
  "Sparse_attention",
  "State-space_model",
  "Transformer_(architecture)",
  "Vision_Transformer"
 ],
 "url": "wiki/Attention_sink.html",
 "built": "2026-07-24"
}
