AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

Context Compression for Auto-regressive Transformers with Sentinel Tokens

Siyu Ren, Qi Jia, Kenny Q. Zhu

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

Shanghai Jiao Tong University · University of Texas at Arlington

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
10improved
1no clear effect

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
compress spans into sentinel tokens instead of local attention at r=0.9RedPajama-3B · WikiText-2perplexity: 22.9 -> 14.0Improved
compress spans into sentinel tokens instead of local attention at r=0.9OPT-1.3B · WikiText-2perplexity: 29.8 -> 18.3Improved
compress spans into sentinel tokens instead of local attention at r=0.5OPT-1.3B · WikiText-2perplexity: 17.2 vs 17.3No clear effect
use local attention instead of scattered attentionsparse attention baselines · WikiText-2perplexity: 47.2 -> 17.2 (OPT-1.3B, r=0.5)Improved
compress spans into sentinel tokens instead of local attention at r=0.9RedPajama-3B · WritingPromptsperplexity: 29.5 -> 22.5Improved
compress prefix with KV Compression (zero-shot, trained on WikiText-2) vs local attentionRedPajama-3B · C4 open-ended generationperplexity, ROUGE-L, BERTScoreImproved
free key-value cache of compressed spans at r>=0.8RedPajama-3B · generation throughput, 12GB VRAMtokens per second: more than 1.5xImproved
free key-value cache of compressed spans at r>=0.8RedPajama-3B · generation throughput, 24GB VRAMtokens per second: 1.3xImproved
compress at r about 0.5RedPajama-3B · generation throughputtokens per second: 1.2x-1.4xImproved
train with higher compression ratio (ablation)RedPajama-3B · WikiText-2 across test-time ratiosperplexityImproved
apply context compression for multi-instance generationRedPajama-3B · peak cached GPU memorymemory: more than 3GB reductionImproved

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