PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Training
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) are trained with a pre-defined context length, restricting their use in scenarios requiring long inputs. Previous efforts for adapting LLMs to a longer length usually requires fine-tuning with this target length (Full-length fine-tuning), suffering intensive training cost. To decouple train length from target length for efficient context window extension, we propose Positional Skip-wisE (PoSE) training that smartly simulates long inputs using a fixed context window. This is achieved by first dividing the original context window into several chunks, then designing distinct skipping bias terms to manipulate the position indices of each chunk. These bias terms and the lengths of each chunk are altered for every training example, allowing the model to adapt to all positions within target length. Experimental results show that PoSE greatly reduces memory and time overhead compared with Full-length fine-tuning, with minimal impact on performance. Leveraging this advantage, we have successfully extended the LLaMA model to 128k tokens using a 2k training context window. Furthermore, we empirically confirm that PoSE is compatible with all RoPE-based LLMs and position interpolation strategies. Notably, our method can potentially support infinite length, limited only by memory usage in inference. With ongoing progress for efficient inference, we believe PoSE can further scale the context window beyond 128k.
Key facts. Cited by 111 papers in the map (data through 14 Oct 2026). Builds on 29 of its 42 references that are in the map. First posted on arXiv 19 Sep 2023.
Builds on
29 of 42 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
17 more
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2021Efficient Attentions for Long Document Summarizationcited by 345
- 2022Memorizing Transformerscited by 226
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
- 2022Recurrent Memory Transformercited by 203
- 2023Augmenting Language Models with Long-Term Memorycited by 189
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2022A Length-Extrapolatable Transformercited by 127
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 117
- 2023In-Context Learning with Many Demonstration Examplescited by 39
- 2022Fine-Grained Distillation for Long Document Retrievalcited by 29
Built on by
Citing papers per year: 2023: 9; 2024: 51; 2025: 31; 2026: 20.
111 papers.
Sort:
By area:
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2025Fast3R: Towards 3D Reconstruction of 1000+ Images in One Forward Passcited by 367
- 2023Improving Text Embeddings with Large Language Modelscited by 303
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
- 2023Efficient Large Language Models: A Surveycited by 186
- 2024How to Train Long-Context Language Models (Effectively)cited by 146
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 136
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 128
38 more
- 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QAcited by 122
- 2024A Survey on Large Language Model-Based Game Agentscited by 112
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 108
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Modelscited by 106
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 69
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 63
- 2024Training-Free Long-Context Scaling of Large Language Modelscited by 62
- 2024Human-inspired Episodic Memory for Infinite Context LLMscited by 62
- 2024LongEmbed: Extending Embedding Models for Long Context Retrievalcited by 48
- 2024GraphReader: Building Graph-based Agent to Enhance Long-Context Abilities of Large Language Modelscited by 43
- 2024With Greater Text Comes Greater Necessity: Inference-Time Training Helps Long Text Generationcited by 37
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 33
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generationcited by 29
- 2024LongGenBench: Long-context Generation Benchmarkcited by 28
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encodingcited by 28
- 2023Fortify the Shortest Stave in Attention: Enhancing Context Awareness of Large Language Models for Effective Tool Usecited by 27
- 2024Resonance RoPE: Improving Context Length Generalization of Large Language Modelscited by 27
- 2024Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculumcited by 26
- 2024Two Stones Hit One Bird: Bilevel Positional Encoding for Better Length Extrapolationcited by 24
- 2024LongRecipe: Recipe for Efficient Long Context Generalization in Large Language Modelscited by 23
- 2025Understanding and Improving Length Generalization in Recurrent Modelscited by 23
- 2024Long Context Alignment with Short Instructions and Synthesized Positionscited by 22
- 2025Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervisioncited by 21
- 2024LoCoCo: Dropping In Convolutions for Long Context Compressioncited by 19
- 2023Large Search Model: Redefining Search Stack in the Era of LLMscited by 18
- 2023Empowering Working Memory for Large Language Model Agentscited by 18
- 2024Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Modelcited by 16
- 2024An Efficient Recipe for Long Context Extension via Middle-Focused Positional Encodingcited by 16
- 2025LongFaith: Enhancing Long-Context Reasoning in LLMs with Faithful Synthetic Datacited by 16
- 2025Native-Resolution Image Synthesiscited by 15
- 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understandingcited by 15
- 2025LongReD: Mitigating Short-Text Degradation of Long-Context Large Language Models via Restoration Distillationcited by 14
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2024ETHIC: Evaluating Large Language Models on Long-Context Tasks with High Information Coveragecited by 12
50 most cited of 111 All 111 (JSON)
- 2026Length Generalization Needs Proper Regularization3 Oct 2026
- 2026Improving Atomic-Fact Recall via Focused Views in Unstructured Knowledge Editing2 Oct 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026FIVE-VLA: Fast and EffectIVE Autonomous Driving with Recurrent Action Memory16 Sep 2026
- 2026Learning When Not to Listen: Selective Anti-Interference Pretraining for Language Models22 Aug 2026
- 2026MDLMPE: Distribution Aware Positional Encoding for Masked Diffusion Language Models4 Aug 2026
- 2026LLMs for Academic Workflows: An Evaluation of Literature Reviews Generated with Short and Long Context Windows of LLMs28 Jun 2026
- 2026GeoRoPE: Ground-Aware Rotary Adaptation for Remote Sensing Foundation Models8 Jun 2026
- 2026EndPrompt: Efficient Long-Context Extension via Terminal Anchoring14 May 2026
- 2026Training Long-Context Vision-Language Models Effectively with Generalization Beyond 128K Context13 May 2026
- 2026Shuffle the Context: RoPE-Perturbed Self-Distillation for Long-Context Adaptation15 Apr 2026
- 2026Is Sliding Window All You Need? An Open Framework for Long-Sequence Recommendation14 Apr 2026
38 more
- 2026HiCI: Hierarchical Construction-Integration for Long-Context Attention21 Mar 2026
- 2026LinearARD: Linear-Memory Attention Distillation for RoPE Restoration9 Mar 2026
- 2026Retrievit: In-context Retrieval Capabilities of Transformers, State Space Models, and Hybrid Architectures3 Mar 2026
- 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Models25 Feb 2026
- 2026How to Train Your Long-Context Visual Document Model16 Feb 2026
- 2026Document Reconstruction Unlocks Scalable Long-Context RLVR9 Feb 2026
- 2026ATACompressor: Adaptive Task-Aware Compression for Efficient Long-Context Processing in LLMs3 Feb 2026
- 2026ConvexBench: Can LLMs Recognize Convex Functions?1 Feb 2026
- 2025Towards Long-window Anchoring in Vision-Language Model Distillation25 Dec 2025
- 2025Group Representational Position Encoding8 Dec 2025
- 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understanding14 Nov 2025
- 2025Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining Data29 Oct 2025
- 2025Mask-GCG: Are All Tokens in Adversarial Suffixes Necessary for Jailbreak Attacks?8 Sep 2025
- 2025Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understanding20 Jul 2025
- 2025Understanding and Improving Length Generalization in Recurrent Models3 Jul 2025
- 2025SeqPE: Transformer with Sequential Position Encoding16 Jun 2025
- 2025Native-Resolution Image Synthesis3 Jun 2025
- 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers1 Jun 2025
- 2025Curse of High Dimensionality Issue in Transformer for Long-context Modeling28 May 2025
- 2025SELF: Self-Extend the Context Length With Logistic Growth Function22 May 2025
- 2025LongMagpie: A Self-synthesis Method for Generating Large-scale Long-context Instructions22 May 2025
- 2025Scale-invariant Attention20 May 2025
- 2025SoLoPO: Unlocking Long-Context Capabilities in LLMs via Short-to-Long Preference Optimization16 May 2025
- 2025The Illusion of Role Separation: Hidden Shortcuts in LLM Role Learning (and How to Fix Them)1 May 2025
- 2025MOOSComp: Improving Lightweight Long-Context Compressor via Mitigating Over-Smoothing and Incorporating Outlier Scores23 Apr 2025
- 2025Context-aware Biases for Length Extrapolation11 Mar 2025
- 2025Lost-in-the-Middle in Long-Text Generation: Synthetic Dataset, Evaluation Framework, and Mitigation10 Mar 2025
- 2025Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervision28 Feb 2025
- 2025LongAttn: Selecting Long-context Training Data via Token-level Attention24 Feb 2025
- 2025The Role of Sparsity for Length Generalization in Transformers24 Feb 2025
- 2025WildLong: Synthesizing Realistic Long-Context Instruction Data at Scale23 Feb 2025
- 2025LongFaith: Enhancing Long-Context Reasoning in LLMs with Faithful Synthetic Data18 Feb 2025
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloading18 Feb 2025
- 2025CacheFocus: Dynamic Cache Re-Positioning for Efficient Retrieval-Augmented Generation16 Feb 2025
- 2025LongReD: Mitigating Short-Text Degradation of Long-Context Large Language Models via Restoration Distillation11 Feb 2025
- 2025A Training-Free Length Extrapolation Approach for LLMs: Greedy Attention Logit Interpolation (GALI)4 Feb 2025
- 2025Fast3R: Towards 3D Reconstruction of 1000+ Images in One Forward Pass23 Jan 2025
- 2025Information Entropy Invariance: Enhancing Length Extrapolation in Attention Mechanisms15 Jan 2025
50 newest of 111 All 111 (JSON)
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
- 2024LoCoCo: Dropping In Convolutions for Long Context Compressioncited by 19
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloadingcited by 9
- 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Servingcited by 3
- 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformerscited by 3
- 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers1 Jun 2025
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloading18 Feb 2025
- 2024LoCoCo: Dropping In Convolutions for Long Context Compression8 Jun 2024
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun 2024
- 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Serving18 May 2024
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization31 Jan 2024
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encodingcited by 28
- 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understandingcited by 15
- 2025Towards Long-window Anchoring in Vision-Language Model Distillationcited by 2
- 2026How to Train Your Long-Context Visual Document Modelcited by 2
- 2026Training Long-Context Vision-Language Models Effectively with Generalization Beyond 128K Contextcited by 1
- 2026Training Long-Context Vision-Language Models Effectively with Generalization Beyond 128K Context13 May 2026
- 2026How to Train Your Long-Context Visual Document Model16 Feb 2026
- 2025Towards Long-window Anchoring in Vision-Language Model Distillation25 Dec 2025
- 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understanding14 Nov 2025
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encoding12 Dec 2024
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 108
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervisioncited by 7
- 2026Shuffle the Context: RoPE-Perturbed Self-Distillation for Long-Context Adaptationcited by 1
- 2024PECAN: LLM-Guided Dynamic Progress Control with Attention-Guided Hierarchical Weighted Graph for Long-Document QAcited by 0
- 2025CacheFocus: Dynamic Cache Re-Positioning for Efficient Retrieval-Augmented Generationcited by 0
- 2026Shuffle the Context: RoPE-Perturbed Self-Distillation for Long-Context Adaptation15 Apr 2026
- 2025CacheFocus: Dynamic Cache Re-Positioning for Efficient Retrieval-Augmented Generation16 Feb 2025
- 2024PECAN: LLM-Guided Dynamic Progress Control with Attention-Guided Hierarchical Weighted Graph for Long-Document QA7 Oct 2024
- 2024Reward-RAG: Enhancing RAG with Reward Driven Supervision3 Oct 2024
- 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMs21 Jun 2024
- 2025Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervisioncited by 21
- 2025LongFaith: Enhancing Long-Context Reasoning in LLMs with Faithful Synthetic Datacited by 16
- 2025Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining Datacited by 4
- 2025Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understandingcited by 1
- 2025Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining Data29 Oct 2025
- 2025Beyond Isolated Capabilities: Bridging Long CoT Reasoning and Long-Context Understanding20 Jul 2025
- 2025Chain-of-Thought Matters: Improving Long-Context Language Models with Reasoning Path Supervision28 Feb 2025
- 2025LongFaith: Enhancing Long-Context Reasoning in LLMs with Faithful Synthetic Data18 Feb 2025
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2025Fast3R: Towards 3D Reconstruction of 1000+ Images in One Forward Passcited by 367
- 2023Improving Text Embeddings with Large Language Modelscited by 303
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2023LongLoRA: Efficient Fine-tuning of Long-Context Large Language Modelscited by 244
- 2023Efficient Large Language Models: A Surveycited by 186
- 2024How to Train Long-Context Language Models (Effectively)cited by 146
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 136
- 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 128
- 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QAcited by 122
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
12 most cited of 79 All 79 (JSON)
- 2026Length Generalization Needs Proper Regularization3 Oct 2026
- 2026Improving Atomic-Fact Recall via Focused Views in Unstructured Knowledge Editing2 Oct 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Learning When Not to Listen: Selective Anti-Interference Pretraining for Language Models22 Aug 2026
- 2026LLMs for Academic Workflows: An Evaluation of Literature Reviews Generated with Short and Long Context Windows of LLMs28 Jun 2026
- 2026GeoRoPE: Ground-Aware Rotary Adaptation for Remote Sensing Foundation Models8 Jun 2026
- 2026EndPrompt: Efficient Long-Context Extension via Terminal Anchoring14 May 2026
- 2026Is Sliding Window All You Need? An Open Framework for Long-Sequence Recommendation14 Apr 2026
- 2026HiCI: Hierarchical Construction-Integration for Long-Context Attention21 Mar 2026
- 2026LinearARD: Linear-Memory Attention Distillation for RoPE Restoration9 Mar 2026
- 2026Retrievit: In-context Retrieval Capabilities of Transformers, State Space Models, and Hybrid Architectures3 Mar 2026
- 2026DySCO: Dynamic Attention-Scaling Decoding for Long-Context Language Models25 Feb 2026
12 newest of 79 All 79 (JSON)