mlsanityData to 7 Oct 2026

Enhancing and Accelerating Large Language Models via Instruction-Aware Contextual Compression

arXiv 2408.15491 ↗First posted 28 Aug 2024cs.CLcited by 4

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  9. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  10. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  11. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  12. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
24 more
  1. 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
  2. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
  3. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  4. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  5. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  6. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  7. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  8. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
  9. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  10. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 612
  11. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  12. 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
  13. 2023UniMax: Fairer and more Effective Language Sampling for Large-Scale Multilingual Pretrainingcited by 147
  14. 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 116
  15. 2023Retrieval meets Long Context Large Language Modelscited by 114
  16. 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
  17. 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
  18. 2021Adaptive Semiparametric Language Modelscited by 83
  19. 2023Review of Large Vision Models and Visual Prompt Engineeringcited by 77
  20. 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Studycited by 63
  21. 2023T2Ranking: A large-scale Chinese Benchmark for Passage Rankingcited by 59
  22. 2022Retrieval as Attention: End-to-end Learning of Retrieval and Reading within a Single Transformercited by 45
  23. 2023LeanContext: Cost-Efficient Domain-Specific Question Answering Using LLMscited by 40
  24. 2023RAVEN: In-Context Learning with Retrieval-Augmented Encoder-Decoder Language Modelscited by 36

Built on by

Cited by year (2026 to 7 Oct)

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

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Recurrent Context Compression: Efficiently Expanding the Context Window of LLM
  2. 2026PoC: Performance-oriented Context Compression for Large Language Models via Performance Prediction
  3. 2025Dynamic Compressing Prompts for Efficient Inference of Large Language Models
  4. 2024In-Context Former: Lightning-fast Compressing Context for Large Language Model
  5. 2026Compressing Long Context into Answer-Aligned Memory Embeddings for LLM Inference
  6. 2025Beyond Hard and Soft: Hybrid Context Compression for Balancing Local and Global Information Retention
  7. 2025CCF: A Context Compression Framework for Efficient Long-Sequence Language Modeling
  8. 2023In-context Autoencoder for Context Compression in a Large Language Model