Beyond Position Bias: Shifting Context Compression from Position-Driven to Semantic-Driven
On the map: Efficient LLM inference and serving → Prompt and context compression
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated exceptional performance across diverse tasks. However, their deployment in long-context scenarios faces high computational overhead and information redundancy. While soft prompt compression has emerged as a promising way to mitigate these costs by compressing sequences into compact embeddings, existing paradigms remain fundamentally constrained by position bias: they primarily rely on learnable tokens insertion at fixed positions or group tokens according to their physical token layout, thereby inducing performance instability and semantic fragmentation. To overcome this bottleneck, we propose Semantic Consistency Context Compression (SeCo), a method that shifts context compression from position-driven to semantic-driven. Rather than constraint by physical token layout, SeCo dynamically anchors compression directly in the semantic space by selecting query-relevant tokens as semantic centers and aggregating remaining tokens via consistency-weighted merging. This design inherently preserves semantic consistency while eliminating position bias. Extensive experiments on 14 benchmarks across two backbone models demonstrate that SeCo consistently shows superiority in downstream tasks, inference latency, and out-of-domain robustness. The code is available at https://anonymous.4open.science/r/seco-EE5E.
Key facts. Cited by 3 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 47 of its 63 references that are in the map. First posted on arXiv 10 May 2026.
Builds on
47 of 63 references.
Closest ancestors · 16
Same direction, newest first
- 2026COMI: Coarse-to-fine Context Compression via Marginal Information Gain2 Feb
- 2025Autoencoding-Free Context Compression for LLMs via Contextual Semantic Anchors10 Oct
- 2025AttnComp: Attention-Guided Adaptive Context Compression for Retrieval-Augmented Generation22 Sep
- 2025SCOPE: A Generative Approach for LLM Prompt Compression16 Aug
- 2025GMSA: Enhancing Context Compression via Group Merging and Layer Semantic Alignment18 May
- 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation17 Dec
- 2024Prompt Compression for Large Language Models: A Survey16 Oct
- 2024Perception Compressor: A Training-Free Prompt Compression Framework in Long Context Scenarios28 Sep
- 2024Position IDs Matter: An Enhanced Position Layout for Efficient Context Compression in Large Language Models22 Sep
- 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug
- 2024Retaining Key Information under High Compression Ratios: Query-Guided Compressor for LLMs4 Jun
- 2024LLoCO: Learning Long Contexts Offline11 Apr
4 more
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression19 Mar
- 2024Long Context Compression with Activation Beacon7 Jan
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression10 Oct
- 2023In-context Autoencoder for Context Compression in a Large Language Model13 Jul
Other references · 31
- 2017Attention Is All You Needcited by 59,932
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 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
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2024Qwen2 Technical Reportcited by 2,076
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
19 more
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 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
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 185
- 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 183
- 2021DialogSum: A Real-Life Scenario Dialogue Summarization Datasetcited by 181
- 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 136
- 2018DuoRC: Towards Complex Language Understanding with Paraphrased Reading Comprehensioncited by 70
- 2024CompAct: Compressing Retrieved Documents Actively for Question Answeringcited by 64
- 2025Provence: efficient and robust context pruning for retrieval-augmented generationcited by 25
- 2025DAST: Context-Aware Compression in LLMs via Dynamic Allocation of Soft Tokenscited by 21
- 2024Forgetting Curve: A Reliable Method for Evaluating Memorization Capability for Long-context Modelscited by 13
- 2026Read As Human: Compressing Context via Parallelizable Close Reading and Skimmingcited by 10
- 2025MOOSComp: Improving Lightweight Long-Context Compressor via Mitigating Over-Smoothing and Incorporating Outlier Scorescited by 4
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026SAGE: A Quantitative Evaluation of Socialized Evolution in Agent Ecosystemscited by 1
- 2026When Hard Negatives Hurt: Bridging the Generative-Discriminative Gap in Hard Negative Synthesis for Retrievalcited 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
- 2026SAGE: A Quantitative Evaluation of Socialized Evolution in Agent Ecosystems2 Jun 2026
- 2026When Hard Negatives Hurt: Bridging the Generative-Discriminative Gap in Hard Negative Synthesis for Retrieval31 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026TopoCompress: Long Context Compression via Graph-Wired Semantic Trajectories
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference
- 2026SemanticFold: Latent Sequence Compression SeparatesLanguage Modeling, Decodability, and Reasoning
- 2026Data Distribution Matters: A Data-Centric Perspective on Context Compression for Large Language Model
- 2025CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
- 2024Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
- 2024Fundamental Limits of Prompt Compression: A Rate-Distortion Framework for Black-Box Language Models