Research map / Architectures and efficiency / Attention and transformers
Compressing Context to Enhance Inference Efficiency of Large Language Models
Yucheng Li, Bo Dong, Chenghua Lin, Frank Guerin
University of Surrey · University of Manchester
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
5improved
2no clear effect
5hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| prune 20% of context with Selective Context | LLMs (avg) · Table 1, temp 0.7 | BLEU: 0.347 -> 0.295 | Hurt |
| prune 50% of context with Selective Context | LLMs (avg) · Table 1, temp 0.7 | BERTScore F1: 0.909 -> 0.887 | Hurt |
| prune 80% of context | LLMs (avg) · Table 1, temp 0.7 | BERTScore F1: 0.909 -> 0.863 | Hurt |
| use self-information based Selective Context instead of random deletion (ablation) | LLMs · greedy decoding, ratio 0.50 | BERTScore F1: 0.873 -> 0.900 | Improved |
| use self-information based Selective Context instead of random deletion (ablation) | LLMs · greedy decoding, ratio 0.20 | BLEU: 0.437 -> 0.527 | Improved |
| compress context to 50% with Selective Context | LLM inference · BBC, arXiv, ShareGPT | inference memory and time: 36% memory reduction, 32% time reduction | Improved |
| compress context with Selective Context (ratio 0.5) | gpt-3.5-turbo · faithfulness test | unfaithfulness: 0.027 (ratio 0.2) -> 0.038 (ratio 0.5) | No clear effect |
| raise compression ratio to 0.65 | gpt-3.5-turbo · QA faithfulness test | number of Sorry answers: 0 (ratio 0.2) -> 19 | Hurt |
| phrase-level lexical units instead of token or sentence level (ablation) | Selective Context · BERTScore F1 (all tasks) | BERTScore F1 | Improved |
| sentence-level lexical units (ablation) | Selective Context · BERTScore F1 | BERTScore F1 | Hurt |
| increase model scale (7B to 13B) (ablation) | vicuna / llama · summarisation human acceptance | acceptance rate | No clear effect |
| use instruct-tuned vicuna instead of llama (ablation) | Selective Context · summarisation human acceptance | acceptance rate | Improved |
Closest papers by meaning
- A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts (ICLR 2025 · similarity 0.90)
- Inference Scaling for Long-Context Retrieval Augmented Generation (ICLR 2025 · similarity 0.90)
- Retrieval meets Long Context Large Language Models (ICLR 2024 · similarity 0.90)
- BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack (NeurIPS 2024 · similarity 0.90)
- RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation (ICLR 2024 · similarity 0.90)
- What is Wrong with Perplexity for Long-context Language Modeling? (ICLR 2025 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
