mlsanityData to 24 Nov 2026

Retrofitting Unbounded Context onto Stock Language Models

arXiv 2611.10141 ↗Submitted 6 Nov 2026cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

A language model that never had to forget would keep every document it has read and every turn it has spoken, and answer from any of it. This paper shows that two stock models can do that on unmodified weights by manipulating their geometry. Rotary attention turns each pair of key dimensions, a plane, at its own rate. The slow planes turn once in thousands of tokens and carry the address a query matches when it reads a far key; the fast planes turn once in a few tokens, and the order of the tokens inside a span is already written into its keys and values by the time the span leaves the near window. At distance the position blurs, and what attention reads is a bag rather than a sequence. A far span is read by its words: under competition it is read only if it is visible at the query of the question's own handle word, and a read through a description rather than a word fails at distance in every model measured, a 70B included. These facts allow a trick. What sits in the far part of attention does not have to be the history as it was; it can be installed ahead of the prediction. The design keeps a near window of 8K tokens at their true positions and changes what lies beyond it with the prompt: every far key and value goes to the host exact, a word index finds the units the request's rare words name, a far window of slots inside the trained range holds them while the request is encoded, and a rare word the model generates fetches its units mid-generation with one exact re-encode. Implemented in llama.cpp on Mistral-7B and Llama-3.1-8B, the design reads planted single needles at 99 to 100 of 100 and three-key discrimination at 88 to 100 of 100 from 32K to one million tokens, scores 70.8 on RULER against 69.9 for dense attention on Llama-3.1-8B at 128K and 67.8 against 75.5 on Mistral-7B at 32K, and at 128K prefills at 1.85 times and decodes at 1.65 to 1.68 times stock speed.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 220 of its 225 references that are in the map. Submitted 6 Nov 2026.

Builds on

220 of 225 references.

References · 220

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  6. 2023Mistral 7Bcited by 3,489
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  8. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,978
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
  10. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  11. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  12. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
38 more
  1. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  2. 2021Improving language models by retrieving from trillions of tokenscited by 1,328
  3. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
  4. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,166
  5. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,156
  6. 2022In-context Learning and Induction Headscited by 1,085
  7. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,036
  8. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
  9. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 990
  10. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 973
  11. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
  12. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 899
  13. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 892
  14. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 835
  15. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 813
  16. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
  17. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 794
  18. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
  19. 2023In-Context Retrieval-Augmented Language Modelscited by 717
  20. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 713
  21. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
  22. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
  23. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
  24. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 578
  25. 2023Active Retrieval Augmented Generationcited by 554
  26. 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 550
  27. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 500
  28. 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 490
  29. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 479
  30. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 471
  31. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
  32. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
  33. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
  34. 2023Learning to Compress Prompts with Gist Tokenscited by 426
  35. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 397
  36. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 392
  37. 2023Adapting Language Models to Compress Contextscited by 390
  38. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 346

50 most cited of 220 All 220 (JSON)

Built on by

Not cited yet.