Training-Free Long-Context Scaling of Large Language Models
Not on the map. Why?
Abstract (arXiv)
The ability of Large Language Models (LLMs) to process and generate coherent text is markedly weakened when the number of input tokens exceeds their pretraining length. Given the expensive overhead of finetuning large-scale models with longer sequences, we propose Dual Chunk Attention (DCA), which enables Llama2 70B to support context windows of more than 100k tokens without continual training. By decomposing the attention computation for long sequences into chunk-based modules, DCA manages to effectively capture the relative positional information of tokens within the same chunk (Intra-Chunk) and across distinct chunks (Inter-Chunk), as well as integrates seamlessly with Flash Attention. In addition to its impressive extrapolation capability, DCA achieves performance on practical long-context tasks that is comparable to or even better than that of finetuned models. When compared with proprietary models, our training-free 70B model attains 94% of the performance of gpt-3.5-16k, indicating it is a viable open-source alternative. All code and data used in this work are released at urlhttps://github.com/HKUNLP/ChunkLlama.
Key facts. Cited by 61 papers in the map (data through 7 Oct 2026). Builds on 31 of its 48 references that are in the map. First posted on arXiv 27 Feb 2024.
Builds on
31 of 48 references.
References · 31
- 2017Attention Is All You Needcited by 59,932
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
19 more
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 204
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2023Scaling Laws of RoPE-based Extrapolationcited by 124
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
- 2024Long Context Compression with Activation Beaconcited by 101
- 2022Parallel Context Windows for Large Language Modelscited by 81
- 2023Prompted LLMs as Chatbot Modules for Long Open-domain Conversationcited by 61
- 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2023Leveraging Large Language Models to Power Chatbots for Collecting User Self-Reported Datacited by 48
- 2023CLEX: Continuous Length Extrapolation for Large Language Modelscited by 43
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 39
- 2024Two Stones Hit One Bird: Bilevel Positional Encoding for Better Length Extrapolationcited by 23
- 2023Monotonic Location Attention for Length Generalizationcited by 9
- 2023Zebra: Extending Context Window with Layerwise Grouped Local-Global Attentioncited by 6
- 2023Linear Attention via Orthogonal Memorycited by 4
Built on by
Citing papers per year: 2024: 24; 2025: 24; 2026: 13.
61 papers.
Sort:
By area:
- 2025Qwen3 Technical Reportcited by 8,195
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024Qwen2 Technical Reportcited by 2,076
- 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysiscited by 1,375
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
- 2025Qwen2.5-1M Technical Reportcited by 158
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
- 2024Meshtron: High-Fidelity, Artist-Like 3D Mesh Generation at Scalecited by 87
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 60
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 47
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 38
38 more
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
- 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densitiescited by 32
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
- 2025Cognitive Memory in Large Language Modelscited by 28
- 2024LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Modelscited by 23
- 2024HashAttention: Semantic Sparsity for Faster Inferencecited by 23
- 2025LongRoPE2: Near-Lossless LLM Context Window Scalingcited by 21
- 2025A Survey on LLM Mid-Trainingcited by 18
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 16
- 20243D-RPE: Enhancing Long-Context Modeling Through 3D Rotary Position Encodingcited by 13
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
- 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolationcited by 13
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 13
- 2025Implicit Search via Discrete Diffusion: A Study on Chesscited by 11
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolationcited by 10
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scalecited by 9
- 2025LongAttn: Selecting Long-context Training Data via Token-level Attentioncited by 9
- 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Accesscited by 7
- 2024ExGra-Med: Extended Context Graph Alignment for Medical Vision-Language Modelscited by 6
- 2025Curse of High Dimensionality Issue in Transformer for Long-context Modelingcited by 5
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Modelscited by 5
- 2025PiKV: KV Cache Management System for Mixture of Expertscited by 5
- 2024Automatically Generating Numerous Context-Driven SFT Data for LLMs across Diverse Granularitycited by 4
- 2024Longer is (Not Necessarily) Stronger: Punctuated Long-Sequence Training for Enhanced Speech Recognition and Translationcited by 4
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
- 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contextscited by 4
- 2026HyMem: Hybrid Memory Architecture with Dynamic Retrieval Schedulingcited by 4
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Modelscited by 3
- 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMscited by 3
- 2026The Y-Combinator for LLMs: Solving Long-Context Rot with λ-Calculuscited by 3
- 2024GIRAFFE: Design Choices for Extending the Context Length of Visual Language Modelscited by 2
- 2025Enhancing Complex Instruction Following for Large Language Models with Mixture-of-Contexts Fine-tuningcited by 2
- 2026HiCI: Hierarchical Construction-Integration for Long-Context Attentioncited by 2
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraintscited by 2
- 2024MammothModa: Multi-Modal Large Language Modelcited by 1
- 2024Two are better than one: Context window extension with multi-grained self-injectioncited by 1
50 most cited of 61 All 61 (JSON)
- 2026Generative Adversarial Loops8 Oct 2026
- 2026SGD-KV: Summarization Guided KV Cache Compression3 Sep 2026
- 2026Jet-Long: Efficient Long-Context Extension with Dynamic Bifocal RoPE8 Jul 2026
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraints6 May 2026
- 2026HiCI: Hierarchical Construction-Integration for Long-Context Attention21 Mar 2026
- 2026The Y-Combinator for LLMs: Solving Long-Context Rot with λ-Calculus20 Mar 2026
- 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMs18 Mar 2026
- 2026Stacked from One: Multi-Scale Self-Injection for Context Window Extension5 Mar 2026
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards2 Mar 2026
- 2026KVSlimmer: Theoretical Insights and Practical Optimizations for Asymmetric KV Merging1 Mar 2026
- 2026HyMem: Hybrid Memory Architecture with Dynamic Retrieval Scheduling15 Feb 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
38 more
- 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contexts2 Feb 2026
- 2025A Survey on LLM Mid-Training27 Oct 2025
- 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Training21 Oct 2025
- 2025APCE: Adaptive Progressive Context Expansion for Long Context Processing14 Oct 2025
- 2025Multi-Model Synthetic Training for Mission-Critical Small Language Models16 Sep 2025
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models25 Aug 2025
- 2025PiKV: KV Cache Management System for Mixture of Experts2 Aug 2025
- 2025PERK: Long-Context Reasoning as Test-Time Learning8 Jul 2025
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent3 Jul 2025
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
- 2025SuperWriter: Reflection-Driven Long-Form Generation with Large Language Models4 Jun 2025
- 2025Curse of High Dimensionality Issue in Transformer for Long-context Modeling28 May 2025
- 2025Enhancing Complex Instruction Following for Large Language Models with Mixture-of-Contexts Fine-tuning17 May 2025
- 2025Qwen3 Technical Report14 May 2025
- 2025Effective Length Extrapolation via Dimension-Wise Positional Embeddings Manipulation26 Apr 2025
- 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Access23 Apr 2025
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modeling11 Apr 2025
- 2025Harnessing the Unseen: The Hidden Influence of Intrinsic Knowledge in Long-Context Language Models11 Apr 2025
- 2025Cognitive Memory in Large Language Models3 Apr 2025
- 2025LongRoPE2: Near-Lossless LLM Context Window Scaling27 Feb 2025
- 2025Implicit Search via Discrete Diffusion: A Study on Chess27 Feb 2025
- 2025LongAttn: Selecting Long-context Training Data via Token-level Attention24 Feb 2025
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scale23 Feb 2025
- 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolation20 Feb 2025
- 2025Qwen2.5-1M Technical Report26 Jan 2025
- 2024Qwen2.5 Technical Report19 Dec 2024
- 2024HashAttention: Semantic Sparsity for Faster Inference19 Dec 2024
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024GIRAFFE: Design Choices for Extending the Context Length of Visual Language Models17 Dec 2024
- 2024Meshtron: High-Fidelity, Artist-Like 3D Mesh Generation at Scale12 Dec 2024
- 2024Two are better than one: Context window extension with multi-grained self-injection25 Oct 2024
- 2024Why Does the Effective Context Length of LLMs Fall Short?24 Oct 2024
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolation7 Oct 2024
- 2024ExGra-Med: Extended Context Graph Alignment for Medical Vision-Language Models3 Oct 2024
- 2024Longer is (Not Necessarily) Stronger: Punctuated Long-Sequence Training for Enhanced Speech Recognition and Translation9 Sep 2024
- 2024LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Models31 Aug 2024
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMs13 Aug 2024
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scope21 Jul 2024
50 newest of 61 All 61 (JSON)
- 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolationcited by 13
- 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contextscited by 4
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Modelscited by 3
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraintscited by 2
- 2025APCE: Adaptive Progressive Context Expansion for Long Context Processingcited by 0
- 2026Stacked from One: Multi-Scale Self-Injection for Context Window Extensioncited by 0
- 2026SGD-KV: Summarization Guided KV Cache Compressioncited by 0
- 2026SGD-KV: Summarization Guided KV Cache Compression3 Sep 2026
- 2026A Queueing-Theoretic Framework for Stability Analysis of LLM Inference with KV Cache Memory Constraints6 May 2026
- 2026Stacked from One: Multi-Scale Self-Injection for Context Window Extension5 Mar 2026
- 2026Out of the Memory Barrier: A Highly Memory Efficient Training System for LLMs with Million-Token Contexts2 Feb 2026
- 2025APCE: Adaptive Progressive Context Expansion for Long Context Processing14 Oct 2025
- 2025ILRe: Intermediate Layer Retrieval for Context Compression in Causal Language Models25 Aug 2025
- 2025ParallelComp: Parallel Long-Context Compressor for Length Extrapolation20 Feb 2025
- 2025Qwen3 Technical Reportcited by 8,195
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
- 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densitiescited by 32
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 13
- 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards2 Mar 2026
- 2025PERK: Long-Context Reasoning as Test-Time Learning8 Jul 2025
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agent3 Jul 2025
- 2025Qwen3 Technical Report14 May 2025
- 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities16 Jul 2024
- 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysiscited by 1,375
- 2024ExGra-Med: Extended Context Graph Alignment for Medical Vision-Language Modelscited by 6
- 2024GIRAFFE: Design Choices for Extending the Context Length of Visual Language Modelscited by 2
- 2024MammothModa: Multi-Modal Large Language Modelcited by 1
- 2024GIRAFFE: Design Choices for Extending the Context Length of Visual Language Models17 Dec 2024
- 2024ExGra-Med: Extended Context Graph Alignment for Medical Vision-Language Models3 Oct 2024
- 2024MammothModa: Multi-Modal Large Language Model26 Jun 2024
- 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysis31 May 2024
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 38
- 2025Implicit Search via Discrete Diffusion: A Study on Chesscited by 11
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
- 2025Implicit Search via Discrete Diffusion: A Study on Chess27 Feb 2025
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2025PiKV: KV Cache Management System for Mixture of Expertscited by 5
- 2025PiKV: KV Cache Management System for Mixture of Experts2 Aug 2025
- 2024Qwen2.5 Technical Report19 Dec 2024
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024MambaLRP: Explaining Selective State Space Sequence Modelscited by 31
- 2024MambaLRP: Explaining Selective State Space Sequence Models11 Jun 2024
- 2024Qwen2 Technical Reportcited by 2,076
- 2025Qwen2.5-1M Technical Reportcited by 158
- 2024LongWriter: Unleashing 10,000+ Word Generation from Long Context LLMscited by 142
- 2024Meshtron: High-Fidelity, Artist-Like 3D Mesh Generation at Scalecited by 87
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 60
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 47
- 2024Conv-Basis: A New Paradigm for Efficient Attention Inference and Gradient Computation in Transformerscited by 32
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
- 2025Cognitive Memory in Large Language Modelscited by 28
- 2024LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Modelscited by 23
- 2024HashAttention: Semantic Sparsity for Faster Inferencecited by 23
- 2025LongRoPE2: Near-Lossless LLM Context Window Scalingcited by 21
12 most cited of 36 All 36 (JSON)
- 2026Generative Adversarial Loops8 Oct 2026
- 2026HiCI: Hierarchical Construction-Integration for Long-Context Attention21 Mar 2026
- 2026The Y-Combinator for LLMs: Solving Long-Context Rot with λ-Calculus20 Mar 2026
- 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMs18 Mar 2026
- 2026KVSlimmer: Theoretical Insights and Practical Optimizations for Asymmetric KV Merging1 Mar 2026
- 2026HyMem: Hybrid Memory Architecture with Dynamic Retrieval Scheduling15 Feb 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
- 2025A Survey on LLM Mid-Training27 Oct 2025
- 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Training21 Oct 2025
- 2025Multi-Model Synthetic Training for Mission-Critical Small Language Models16 Sep 2025
- 2025Curse of High Dimensionality Issue in Transformer for Long-context Modeling28 May 2025
- 2025Enhancing Complex Instruction Following for Large Language Models with Mixture-of-Contexts Fine-tuning17 May 2025
12 newest of 36 All 36 (JSON)