Position IDs Matter: An Enhanced Position Layout for Efficient Context Compression in Large Language Models
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Using special tokens (e.g., gist, memory, or compressed tokens) to compress context information is a common practice for large language models (LLMs). However, existing approaches often neglect that position encodings inherently induce local inductive biases in models, causing the compression process to ignore holistic contextual dependencies. We propose Enhanced Position Layout (EPL), a simple yet effective method that improves the context compression capability of LLMs by only adjusting position IDs, the numerical identifiers that specify token positions. EPL minimizes the distance between context tokens and their corresponding special tokens and at the same time maintains the sequence order in position IDs between context tokens, special tokens, and the subsequent tokens. Integrating EPL into our best performing context compression model results in a 1.9 ROUGE-1 F1 improvement on out-of-domain question answering datasets on average. When extended to multimodal scenarios, EPL leads to an average accuracy gain of 2.6 points for vision compression LLMs.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Prompt and context compression, one of 12 directions in Efficient LLM inference and serving. Builds on 28 of its 50 references that are in the map. First posted on arXiv 22 Sep 2024.
Builds on
28 of 50 references.
Closest ancestors · 1
Same direction, newest first
Other references · 27
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
- 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
15 more
- 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2024DeepSeek-VL: Towards Real-World Vision-Language Understandingcited by 718
- 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2016NewsQA: A Machine Comprehension Datasetcited by 330
- 2017SearchQA: A New Q&A Dataset Augmented with Context from a Search Enginecited by 221
- 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 183
- 2018DuoRC: Towards Complex Language Understanding with Paraphrased Reading Comprehensioncited by 70
- 2024Can Perplexity Reflect Large Language Model's Ability in Long Text Understanding?cited by 45
- 2024SelfCP: Compressing Over-Limit Prompt via the Frozen Large Language Model Itselfcited by 8
- 2022Extensible Prompts for Language Models on Zero-shot Language Style Customizationcited by 6
Built on by
Citing papers per year: 2025: 2; 2026: 7.
9 papers.
- 2025Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchorscited by 14
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gaincited by 13
- 2025ParamMute: Suppressing Knowledge-Critical FFNs for Faithful Retrieval-Augmented Generationcited by 11
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Drivencited by 3
- 2026Fix the Structural Bottleneck: Context Compression via Explicit Information Transmissioncited by 2
- 2026Data Distribution Matters: A Data-Centric Perspective on Context Compression for Large Language Modelcited by 1
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Accelerationcited by 1
- 2026On Problems of Implicit Context Compression for Software Engineering Agentscited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAGcited by 0
- 2026Compression Beyond the Uncompressed: A Two-Stage Training Recipe for Soft Context Compression in RAG4 Sep 2026
- 2026On Problems of Implicit Context Compression for Software Engineering Agents11 May 2026
- 2026Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Driven10 May 2026
- 2026MemoSight: Unifying Context Compression and Multi Token Prediction for Reasoning Acceleration16 Apr 2026
- 2026Fix the Structural Bottleneck: Context Compression via Explicit Information Transmission3 Feb 2026
- 2026Data Distribution Matters: A Data-Centric Perspective on Context Compression for Large Language Model2 Feb 2026
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain2 Feb 2026
- 2025Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors10 Oct 2025
- 2025ParamMute: Suppressing Knowledge-Critical FFNs for Faithful Retrieval-Augmented Generation21 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024Efficient Large Multi-modal Models via Visual Context Compression
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference
- 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference
- 2025From Context to EDUs: Faithful and Structured Context Compression via Elementary Discourse Unit Decomposition
- 2025A Survey of Token Compression for Efficient Multimodal Large Language Models
- 2026Unified Spatiotemporal Token Compression for Video-LLMs at Ultra-Low Retention
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention