atlas

Research map / Architectures and efficiency / Attention and transformers

Long Context Compression with Activation Beacon

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse attention for long-context LLMs · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Activation Beacon, a plug-in module that compresses long contexts into beacon-token keys/values at every layer via progressive chunk-wise compression, trained with compression-based auto-regression and random per-chunk compression ratios.

Problem

Long-context LLM inference is costly in computation and KV cache memory; existing context compression methods compress into soft tokens all at once, require re-encoding, use fixed compression ratios, or depend on the query, which limits effectiveness and efficiency in long-context and multi-turn set

Approach

Insert beacon tokens interleaved with fine-grained units of each chunk, encode chunks one by one, discard raw-token activations and accumulate beacon-token keys/values at every layer for reuse, using separate projection matrices for beacon tokens while the LLM stays frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Activation Beacon compression at the reported compression settings rather than an uncompressed Full-FT baselineLlama-2-7B · LongBench, 32Kscore: 34.8 -> 34.9; 27.5 -> 27.5; 23.2 -> 25.0; 61.8 -> 61.4; 57.8 -> 57.8Mixed
Use Activation Beacon compression rather than an uncompressed Full-FT baselineQwen-2-7B · LongBench, 32Kscore: 41.0 -> 40.5; 40.6 -> 40.3; 26.8 -> 26.8; 68.5 -> 68.4; 66.1 -> 66.4Mixed
Use Activation Beacon instead of Full-FTQwen-2-7B · Multi-Needle-in-a-Haystack 3-Turn, 128KLatency: 6.153 -> 2.981Helped
Use fine-grained interleaved beacon tokens instead of appending all beacons at chunk end (ablation)Activation Beacon · Single-Doc QA, LongBench, Qwen-2-7B, 32K, x4score: 35.2 -> 40.5Helped
Use chunk-wise rather than instance-wise random compression ratios during training (ablation)Activation Beacon · Single-Doc QA, LongBench, Qwen-2-7B, 32K, x4score: 37.7 -> 40.5Helped
Add pre-training (ablation)Activation Beacon · Single-Doc QA, LongBench, Qwen-2-7B, 32K, x4score: 34.9 -> 40.5Helped
Add fine-tuning (ablation)Activation Beacon · Single-Doc QA, LongBench, Qwen-2-7B, 32K, x4score: 35.5 -> 40.5Helped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama LongAlpaca BookSum Synthesized QA (GPT-3.5-turbo generated, Books3 and Arxiv/Pile) LongBench Needle-in-a-Haystack NeedleBench MMLU ARC-Challenge BoolQ GSM8K

Benchmarks: LongBench Needle-in-a-Haystack NeedleBench multi-needle MMLU ARC-Challenge BoolQ GSM8K

Metrics: accuracy (LongBench scores) NIAH score 1-10 multi-turn accuracy end-to-end latency (s) FLOPs KV cache size

Baselines: AutoCompressor ICAE LongLLMLingua SnapKV Full Full-FT

Builds on: ICAE AutoCompressor Gisting FlashAttention-2

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