AI Paper Atlas

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

EMNLP 2023Architectures and efficiency › Attention and transformersapproach: Sparse attention for long-context LLMsopen problems in this approach564 citations (OpenAlex)

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 changedWhereMeasuredEffect
prune 20% of context with Selective ContextLLMs (avg) · Table 1, temp 0.7BLEU: 0.347 -> 0.295Hurt
prune 50% of context with Selective ContextLLMs (avg) · Table 1, temp 0.7BERTScore F1: 0.909 -> 0.887Hurt
prune 80% of contextLLMs (avg) · Table 1, temp 0.7BERTScore F1: 0.909 -> 0.863Hurt
use self-information based Selective Context instead of random deletion (ablation)LLMs · greedy decoding, ratio 0.50BERTScore F1: 0.873 -> 0.900Improved
use self-information based Selective Context instead of random deletion (ablation)LLMs · greedy decoding, ratio 0.20BLEU: 0.437 -> 0.527Improved
compress context to 50% with Selective ContextLLM inference · BBC, arXiv, ShareGPTinference memory and time: 36% memory reduction, 32% time reductionImproved
compress context with Selective Context (ratio 0.5)gpt-3.5-turbo · faithfulness testunfaithfulness: 0.027 (ratio 0.2) -> 0.038 (ratio 0.5)No clear effect
raise compression ratio to 0.65gpt-3.5-turbo · QA faithfulness testnumber of Sorry answers: 0 (ratio 0.2) -> 19Hurt
phrase-level lexical units instead of token or sentence level (ablation)Selective Context · BERTScore F1 (all tasks)BERTScore F1Improved
sentence-level lexical units (ablation)Selective Context · BERTScore F1BERTScore F1Hurt
increase model scale (7B to 13B) (ablation)vicuna / llama · summarisation human acceptanceacceptance rateNo clear effect
use instruct-tuned vicuna instead of llama (ablation)Selective Context · summarisation human acceptanceacceptance rateImproved

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy