Research map / Large language models / Language, safety and interpretability
Adapting Language Models to Compress Contexts
Alexis Chevalier, Alexander Wettig, Anirudh Ajith, Danqi Chen
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 |
|---|---|---|---|
| summary accumulation (AutoCompressor vs RMT) | OPT-2.7B · Pile in-domain, 6144 context tokens | perplexity: RMT 6.01 -> AutoCompressor 5.93 | Improved |
| extended full attention vs AutoCompressor at 2048 tokens | OPT-2.7B · Pile in-domain | perplexity: AutoCompressor 5.98 vs Extended FA 5.94 | Hurt |
| AutoCompressor on 30K sequences vs RMT | OPT-1.3B · Books3 30K | perplexity: RMT 12.50 -> 12.47 at 28K | Improved |
| stop gradients (ablation) | AutoCompressor OPT · CUDA memory / perplexity | memory: RMT-2.7B OOM; AutoCompressor-2.7B 75GB | Improved |
| randomized segmenting (ablation) | AutoCompressor OPT-2.7B · Pile | perplexity | Improved |
| summary accumulation (ablation) | AutoCompressor OPT-2.7B · Pile | perplexity | Improved |
| increase summary tokens from 50 to 20/70/100 (ablation) | AutoCompressor OPT-2.7B · Pile | perplexity | No clear effect |
| summary vectors vs zero-shot | AutoCompressor Llama-2-7B · 11 ICL tasks | accuracy: e.g. AG News 63.3 -> 85.4 (150 vecs) | Improved |
| summary vectors vs 150 plain tokens | AutoCompressor Llama-2-7B · 11 ICL tasks | accuracy: increase on 8/11 tasks | Improved |
| summary vectors vs 750 plain tokens | AutoCompressor Llama-2-7B · 11 ICL tasks | accuracy: better on 8 of 11 tasks | Mixed |
| Fused Summaries vs REPLUG top-2 with 512-token passages | AutoCompressor OPT-2.7B · retrieval-augmented LM | perplexity gain: 1.7x throughput | Improved |
| REPLUG top-10 vs Fused Summaries | AutoCompressor OPT-2.7B · retrieval-augmented LM | perplexity gain: 3.74 vs 8.30 | Hurt |
Closest papers by meaning
- RECOMP: Improving Retrieval-Augmented LMs with Context Compression and Selective Augmentation (ICLR 2024 · similarity 0.91)
- In-context Autoencoder for Context Compression in a Large Language Model (ICLR 2024 · similarity 0.89)
- Leveraging Attention to Effectively Compress Prompts for Long-Context LLMs (AAAI 2025 · similarity 0.89)
- Compressed Context Memory for Online Language Model Interaction (ICLR 2024 · similarity 0.89)
- Exploring Context Window of Large Language Models via Decomposed Positional Vectors (NeurIPS 2024 · similarity 0.89)
- Prompt Compression with Context-Aware Sentence Encoding for Fast and Improved LLM Inference (AAAI 2025 · similarity 0.89)
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.
