{
  "id": 564,
  "kind": "paper",
  "title": "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention",
  "summary": "Infini-attention keeps local softmax attention plus a compressive associative memory updated from the same QKV (linear or delta rule) and a learned gate β. 114× smaller memory than a 65k Memorizing Transformer; PG19 PPL 9.65 vs 11.37. A 1B model solves 1M passkey after 5k-length FT; 8B BookSum 500k SOTA Rouge overall 18.5. No official code on abs.",
  "body": "",
  "notes": "Primary: arxiv abs (cs.CL; also cs.AI, cs.LG, cs.NE). License: arXiv.org perpetual non-exclusive on HTML at check. Comment: 9 pages, 4 figures, 4 tables (v2 adds background, implementation details, recent citations and acknowledgments). Google; correspondence tsendsuren@google.com. No official code on abs. HF paper page 111 upvotes; unofficial linked model mustafaaljadery/gemma-2B-10M not copied into hf_* fields. Discord posted HTML. Uses public PG19/Arxiv-math/BookSum rather than a new hosted corpus, so no datasets_local row. License field left blank per catalog convention.",
  "url": "https://arxiv.org/abs/2404.07143",
  "links": [],
  "authors": [
    "Tsendsuren Munkhdalai",
    "Manaal Faruqui",
    "Siddharth Gopal"
  ],
  "tags": [
    "infini-attention",
    "long-context",
    "compressive-memory",
    "google",
    "passkey",
    "booksum"
  ],
  "topics": "long context, compressive memory, linear attention",
  "venue": "arXiv / Google",
  "publisher": "",
  "source": "",
  "language": "",
  "access": "",
  "license": "",
  "published_year": 2024,
  "added_at": "2026-10-01T16:45:06.278Z",
  "verified_at": null,
  "attrs": {
    "scale": "12L/8H d=128 LM on PG19 and Arxiv-math, segment 2048 / train 32k (also 100k); 1B passkey 32k–1M; 8B BookSum FT 32k eval 500k",
    "purpose": "Give Transformers unbounded context with bounded memory by compressing old KV into linear attention",
    "time_period": "2024-04-10 (arXiv 2404.07143 v1); last revised 2024-08-09 (v2). Comment: 9 pages, 4 figures, 4 tables. HF paper publishedAt 2024-04-10."
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "3fd5bc3077d04965eaa3498372c39bbdd09d55e4",
      "published": "2024-04-10",
      "fetched_at": "2026-10-03T14:57:20.245Z",
      "citation_count": 243,
      "reference_count": 64,
      "influential_citation_count": 12
    },
    "arxiv": {
      "id": "2404.07143",
      "title": "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention",
      "authors": [
        "Tsendsuren Munkhdalai",
        "Manaal Faruqui",
        "Siddharth Gopal"
      ],
      "comment": "9 pages, 4 figures, 4 tables (v2 adds: background, implementation details, recent citations and acknowledgments)",
      "updated": "2024-08-09",
      "abstract": "This work introduces an efficient method to scale Transformer-based Large Language Models (LLMs) to infinitely long inputs with bounded memory and computation. A key component in our proposed approach is a new attention technique dubbed Infini-attention. The Infini-attention incorporates a compressive memory into the vanilla attention mechanism and builds in both masked local attention and long-term linear attention mechanisms in a single Transformer block. We demonstrate the effectiveness of our approach on long-context language modeling benchmarks, 1M sequence length passkey context block retrieval and 500K length book summarization tasks with 1B and 8B LLMs. Our approach introduces minimal bounded memory parameters and enables fast streaming inference for LLMs.",
      "published": "2024-04-10",
      "categories": [
        "cs.CL",
        "cs.AI",
        "cs.LG",
        "cs.NE"
      ],
      "fetched_at": "2026-10-03T14:57:20.245Z"
    }
  },
  "enriched_at": "2026-10-03T14:57:20.420Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "583",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/564",
  "markdown": "https://papers.projxon.ai/entries/564.md",
  "api": "https://papers.projxon.ai/api/entries/564",
  "relations": [
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 461,
        "kind": "paper",
        "title": "Memory Caching: RNNs with Growing Memory",
        "summary": "Memory Caching (MC) segments the sequence, caches each segment's memory state, and aggregates online plus cached memories at retrieval. Four variants: Residual Memory, Gated Residual Memory (GRM), Memory Soup, and Sparse Selective Caching (SSC). Complexity O(NL) interpolates RNN O(L) and Transformer O(L^2). Applied to Linear Attention, SWLA, DLA, and Titans. On 760M/30B-token and 1.3B/100B-token FineWeb training, MC lifts language-modeling and commonsense averages; Titans+GRM is strongest. Closes part of the recall gap vs Transformers on NIAH, in-context retrieval, LongBench, and MQAR. No official code on the abs page.",
        "url": "https://arxiv.org/abs/2602.24281",
        "authors": [
          "Ali Behrouz",
          "Zeman Li",
          "Yuan Deng",
          "Peilin Zhong",
          "Meisam Razaviyayn",
          "Vahab Mirrokni"
        ],
        "tags": [
          "memory-caching",
          "titans",
          "linear-attention",
          "rnn",
          "long-context",
          "google",
          "ssc",
          "grm"
        ],
        "venue": "arXiv / Google",
        "source": "arxiv",
        "license": "CC BY 4.0",
        "published_year": 2026,
        "added_at": "2026-08-14T16:36:00.000Z",
        "has_dataset_profile": false,
        "license_class": "permissive",
        "langs": [
          "en"
        ],
        "modalities": [],
        "size_class": null,
        "citation_count": 12,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/461",
        "markdown": "https://papers.projxon.ai/entries/461.md",
        "api": "https://papers.projxon.ai/api/entries/461"
      }
    },
    {
      "relation": "cites",
      "direction": "in",
      "note": "",
      "via": "citations",
      "entry": {
        "id": 550,
        "kind": "paper",
        "title": "Titans: Learning to Memorize at Test Time",
        "summary": "Treats attention as short-term memory and a deep MLP as long-term memory updated by surprise (gradient of associative ||M(k)-v||^2) with momentum and adaptive forget/weight-decay, plus persistent task tokens. Three hybrids: MAC, MAG, MAL. 760M MAG Wiki ppl 18.61 vs Transformer++ 25.21 and Gated DeltaNet-H2 19.88; MAC best on long-context NIAH. BABILong MAC beats GPT-4 and Llama3.1-8B+RAG at far fewer params. Claims >2M context. Code \"available soon\" on abs.",
        "url": "https://arxiv.org/abs/2501.00663",
        "authors": [
          "Ali Behrouz",
          "Peilin Zhong",
          "Vahab Mirrokni"
        ],
        "tags": [
          "titans",
          "test-time-memory",
          "surprise",
          "mac",
          "mag",
          "mal",
          "long-context",
          "mamba",
          "ttt",
          "google"
        ],
        "venue": "arXiv / Google",
        "source": "",
        "license": "",
        "published_year": 2025,
        "added_at": "2026-10-01T16:45:05.207Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": 361,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/550",
        "markdown": "https://papers.projxon.ai/entries/550.md",
        "api": "https://papers.projxon.ai/api/entries/550"
      }
    },
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1208,
        "kind": "note",
        "title": "Long context: three bets and a weak spot in evaluation (overview)",
        "summary": "An overview of the 33 entries on long-context modelling: cheaper attention, memory beside attention, and managing context from outside, plus what the benchmarks do and do not show. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "long-context"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:53.361Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1208",
        "markdown": "https://papers.projxon.ai/entries/1208.md",
        "api": "https://papers.projxon.ai/api/entries/1208"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 1244,
      "kind": "paper",
      "title": "Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling",
      "summary": "Generalizes linear attention from a matrix state to a third-order tensor state: writes the triadic outer product of a key, a second key, and a value (k tensor k' tensor v) into S_t in R^{d x E x d}, and reads by contracting both key axes with two queries. An E-dimensional second key yields an E-fold state-size increase while adding only two projections (negligible parameter overhead; E=16 gives 16x capacity at 1.08x non-embedding params in MQAR tests). Compatible with data-dependent forgetting (per-slice decay gates), the delta rule applied jointly to both keys (removing the value stored under the key pair), and chunkwise-parallel training via custom CuTe kernels that tile the per-head state along the value axis (blocks of 32 columns, all E slices held in registers) so no SM holds the full tensor. Applied to Gated DeltaNet and scalar-gated linear attention, it substantially improves long-context LM and recall, outperforming alternatives that enlarge state via wider heads/values, more heads, or multiple value heads per key. A pretrained linear-attention model can be converted post hoc to its triadic form during long-context extension. Training overhead over vanilla GDN (custom kernels, H100, 1.3B, 2k-64k tokens): 9-11% (E=2), 14-15% (E=4), 28-30% (E=8); E=8 is 3% slower than a Transformer at 4k but faster beyond, reaching 5.1x faster at 64k.",
      "url": "https://arxiv.org/abs/2609.36529",
      "authors": [
        "Oliver Sieberling",
        "Bharat Runwal",
        "David Jin",
        "Ryan Chin",
        "Rameswar Panda",
        "Yoon Kim"
      ],
      "tags": [
        "triadic-linear-attention",
        "tensor-state",
        "gated-deltanet",
        "recall",
        "long-context",
        "chunkwise-parallel",
        "cute-kernels"
      ],
      "venue": "arXiv 2609.36529 (cs.LG/cs.CL), submitted 29 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1244",
      "markdown": "https://papers.projxon.ai/entries/1244.md",
      "api": "https://papers.projxon.ai/api/entries/1244"
    },
    {
      "id": 707,
      "kind": "paper",
      "title": "MoBA: Mixture of Block Attention for Long-Context LLMs",
      "summary": "Proposes Mixture of Block Attention (MoBA), which applies mixture-of-experts principles to the attention mechanism: the model learns where to attend across blocks rather than using predefined sparse patterns like sink or window attention. It claims superior long-context performance with seamless switching between full and sparse attention, and has been deployed for Kimi's long-context serving.",
      "url": "https://arxiv.org/abs/2502.13189",
      "authors": [
        "Enzhe Lu",
        "Zhejun Jiang",
        "Jingyuan Liu",
        "Yulun Du",
        "Tao Jiang",
        "Chao Hong",
        "Shaowei Liu",
        "Weiran He",
        "Enming Yuan",
        "Yuzhi Wang",
        "Zhiqi Huang",
        "Huan Yuan",
        "Suting Xu",
        "Xinran Xu",
        "Guokun Lai",
        "Yanru Chen",
        "Huabin Zheng",
        "Junjie Yan",
        "Jianlin Su",
        "Yuxin Wu",
        "Neo Y. Zhang",
        "Zhilin Yang",
        "Xinyu Zhou",
        "Mingxing Zhang",
        "Jiezhong Qiu"
      ],
      "tags": [
        "attention",
        "long-context",
        "mixture-of-experts",
        "efficient-inference",
        "kimi"
      ],
      "venue": "arXiv (cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 215,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/707",
      "markdown": "https://papers.projxon.ai/entries/707.md",
      "api": "https://papers.projxon.ai/api/entries/707"
    },
    {
      "id": 1282,
      "kind": "paper",
      "title": "Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs",
      "summary": "Recurrent-attention hybrid LMs (e.g., Qwen3.5) interleave attention and recurrent layers as two complementary memory pathways: attention supports precise recall of earlier tokens, recurrent layers consolidate disparate information over long contexts. The paper shows hybrids rely substantially more on attention than on the recurrent state — and that standard SFT improves overall performance but does not fix the imbalance: the model becomes more reliant on attention-propagated information while recurrent-pathway use stays limited. Fix: an auxiliary loss that limits attention's access to earlier context while the recurrent state propagates through the full sequence, forcing the model to retain and use information through the recurrent pathway alongside attention. Results: overall performance improves with especially strong gains on longer-context and information-aggregation tasks; QA avg +4.6%, agentic tasks avg +12.1% across multiple hybrid LMs; also generalizes to attention-only models combining different memory types (+28.6%). Core message: simply providing multiple memory pathways does not ensure their effective use — targeted supervision is needed to coordinate them.",
      "url": "https://arxiv.org/abs/2610.06750",
      "authors": [
        "Hyunji Lee",
        "Joykirat Singh",
        "Zaid Khan",
        "Justin Chih-Yao Chen",
        "Elias Stengel-Eskin",
        "Alessandro Sordoni",
        "Arman Cohan",
        "Mohit Bansal"
      ],
      "tags": [
        "memory-pathways",
        "recurrent-attention-hybrid",
        "auxiliary-loss",
        "memory-utilization",
        "long-context",
        "agentic-tasks"
      ],
      "venue": "arXiv 2610.06750 (cs.CL, cs.AI), submitted 5 Oct 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1282",
      "markdown": "https://papers.projxon.ai/entries/1282.md",
      "api": "https://papers.projxon.ai/api/entries/1282"
    },
    {
      "id": 489,
      "kind": "paper",
      "title": "Dynamic Linear Attention",
      "summary": "DLA builds multi-state linear-attention memory with (i) Information-Aware Dynamic State Merging: a State Information Score opens a new state when token-level Frobenius drift exceeds tau, else merges; (ii) Capacity-Bounded Memory: a K-slot chronological cache that merges the lowest-density adjacent pair when full. Pretrains Mamba-2-780M and Gated DeltaNet-1.3B on 50B Long-Data-Collections tokens (seq 16k, K=30). Beats Log-Linear Attention on 8 commonsense, 6 in-context retrieval, RULER, and LongBench; Mamba-2+DLA matches or beats a 778M Transformer. Higher prefill throughput and lower memory than log-linear. No official code on the abs page.",
      "url": "https://arxiv.org/abs/2606.10650",
      "authors": [
        "Xin Wang",
        "Hui Shen",
        "Boyuan Zheng",
        "Xueshen Liu",
        "Minkyoung Cho",
        "Zhongwei Wan",
        "Zesen Zhao",
        "Zhuoqing Mao",
        "Shen Yan",
        "Mi Zhang"
      ],
      "tags": [
        "dla",
        "linear-attention",
        "mamba-2",
        "gated-deltanet",
        "long-context",
        "bytedance",
        "osu"
      ],
      "venue": "arXiv / Ohio State / University of Michigan / ByteDance Seed",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0",
      "published_year": 2026,
      "added_at": "2026-08-14T17:02:26.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 4,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/489",
      "markdown": "https://papers.projxon.ai/entries/489.md",
      "api": "https://papers.projxon.ai/api/entries/489"
    },
    {
      "id": 1086,
      "kind": "paper",
      "title": "Block Sparse Attention with Log-Linear Complexity",
      "summary": "Scaling language models to long contexts is limited by the quadratic cost of self-attention. Block sparse attention offers an efficient alternative, but selecting the retained blocks remains a bottleneck. Conventional block selection requires scoring all query-block pairs and therefore remains quadratic in sequence length. To address this issue, we propose PISA, a block-sparse attention mechanism that employs a pyramid Top-$K$ selection strategy. The main idea is to gradually narrow down the candidates across diffe…",
      "url": "https://arxiv.org/abs/2609.31093",
      "authors": [
        "Bohao Tang",
        "Zhen Qin",
        "Yuqi Pan",
        "Zheng Li",
        "Pengfei Liu"
      ],
      "tags": [
        "block-sparse-attention",
        "long-context",
        "log-linear",
        "2609.31093"
      ],
      "venue": "arXiv / cs.LG",
      "source": "arxiv",
      "license": "arXiv non-exclusive / check PDF",
      "published_year": 2026,
      "added_at": "2026-09-29T20:34:19.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1086",
      "markdown": "https://papers.projxon.ai/entries/1086.md",
      "api": "https://papers.projxon.ai/api/entries/1086"
    },
    {
      "id": 821,
      "kind": "paper",
      "title": "LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning",
      "summary": "A benchmark evaluating both the effectiveness and efficiency of long-context LM harnesses (RLMs, ReAct, mini-swe-agent-style coding agents). Existing long-context evaluations are saturated across harnesses, so the four hard tasks require strategic/efficient reasoning (multiple valid strategies with very different costs), hard retrieval (both GREP and semantic), and extensive multi-step reasoning. Example: Constraint Solving asks for every person satisfying 5 conditions scattered across documents; checking the most selective condition first narrows candidates far more cheaply than checking every condition. 5 frontier LMs x 4 agentic harnesses: best setup reaches only 68% macro-average accuracy and no single harness leads across all tasks. Clear accuracy gaps, plus >10x efficiency differences even with the same LM and similar accuracy: more compute does not always mean better accuracy. mini-swe-agent is especially strong, reaching the best performance at a cost close to direct inference. Establishes efficiency as an axis for long-context evaluation and provides a testbed for harnesses that process context strategically rather than exhaustively.",
      "url": "https://arxiv.org/abs/2609.38137",
      "authors": [
        "Quang Hieu Pham",
        "Thuy Duong Nguyen",
        "Jocelyn Qiaochu Chen",
        "Xi Ye"
      ],
      "tags": [
        "long-context",
        "harnesses",
        "agents",
        "benchmarks",
        "efficiency",
        "retrieval"
      ],
      "venue": "arXiv (2026-09-29), cs.CL; CC BY 4.0",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/821",
      "markdown": "https://papers.projxon.ai/entries/821.md",
      "api": "https://papers.projxon.ai/api/entries/821"
    }
  ]
}
