Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have garnered widespread attention due to their remarkable performance across various tasks. However, to mitigate the issue of hallucinations, LLMs often incorporate retrieval-augmented pipeline to provide them with rich external knowledge and context. Nevertheless, challenges stem from inaccurate and coarse-grained context retrieved from the retriever. Supplying irrelevant context to the LLMs can result in poorer responses, increased inference latency, and higher costs. This paper introduces a method called Instruction-Aware Contextual Compression, which filters out less informative content, thereby accelerating and enhancing the use of LLMs. The experimental results demonstrate that Instruction-Aware Contextual Compression notably reduces memory consumption and minimizes generation latency while maintaining performance levels comparable to those achieved with the use of the full context. Specifically, we achieved a 50% reduction in context-related costs, resulting in a 5% reduction in inference memory usage and a 2.2-fold increase in inference speed, with only a minor drop of 0.047 in Rouge-1. These findings suggest that our method strikes an effective balance between efficiency and performance.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 36 of its 40 references that are in the map. First posted on arXiv 28 Aug 2024.
Builds on
36 of 40 references.
References · 36
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
24 more
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2023Baichuan 2: Open Large-scale Language Modelscited by 664
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2023UniMax: Fairer and more Effective Language Sampling for Large-Scale Multilingual Pretrainingcited by 147
- 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 116
- 2023Retrieval meets Long Context Large Language Modelscited by 114
- 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
- 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
- 2021Adaptive Semiparametric Language Modelscited by 83
- 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
- 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Studycited by 63
- 2023T2Ranking: A large-scale Chinese Benchmark for Passage Rankingcited by 59
- 2022Retrieval as Attention: End-to-end Learning of Retrieval and Reading within a Single Transformercited by 45
- 2023LeanContext: Cost-Efficient Domain-Specific Question Answering Using LLMscited by 40
- 2023RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Modelscited by 36
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2025Text or Pixels? It Takes Half: On the Token Efficiency of Visual Text Inputs in Multimodal LLMscited by 8
- 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
- 2026Large Language Models Do Not Always Need Readable Languagecited by 1
- 2026Large Language Models Do Not Always Need Readable Language18 Jun 2026
- 2026Gated Differentiable Working Memory for Long-Context Language Modeling19 Jan 2026
- 2025Text or Pixels? It Takes Half: On the Token Efficiency of Visual Text Inputs in Multimodal LLMs21 Oct 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
- 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Prediction
- 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
- 2024In-Context Former: Lightning-fast Compressing Context for Large Language Model
- 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference
- 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention
- 2025CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
- 2023In-context Autoencoder for Context Compression in a Large Language Model