mlsanityData to 7 Oct 2026

Position IDs Matter: An Enhanced Position Layout for Efficient Context Compression in Large Language Models

arXiv 2409.14364 ↗First posted 22 Sep 2024cs.CLcited by 9

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

  1. 2024Long Context Compression with Activation Beacon7 Jan

Other references · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  7. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  8. 2024Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolutioncited by 4,151
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  12. 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,498
15 more
  1. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
  2. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  3. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  4. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
  5. 2024DeepSeek-VL: Towards Real-World Vision-Language Understandingcited by 718
  6. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
  7. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  8. 2023Adapting Language Models to Compress Contextscited by 350
  9. 2016NewsQA: A Machine Comprehension Datasetcited by 330
  10. 2017SearchQA: A New Q&A Dataset Augmented with Context from a Search Enginecited by 221
  11. 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 183
  12. 2018DuoRC: Towards Complex Language Understanding with Paraphrased Reading Comprehensioncited by 70
  13. 2024Can Perplexity Reflect Large Language Model's Ability in Long Text Understanding?cited by 45
  14. 2024SelfCP: Compressing Over-Limit Prompt via the Frozen Large Language Model Itselfcited by 8
  15. 2022Extensible Prompts for Language Models on Zero-shot Language Style Customizationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 7.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Efficient Large Multi-modal Models via Visual Context Compression
  2. 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference
  3. 2024Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference
  4. 2025From Context to EDUs: Faithful and Structured Context Compression via Elementary Discourse Unit Decomposition
  5. 2025A Survey of Token Compression for Efficient Multimodal Large Language Models
  6. 2026Unified Spatiotemporal Token Compression for Video-LLMs at Ultra-Low Retention
  7. 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
  8. 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention