atlas

Research map / Large language models / Reasoning and chain of thought

SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separator

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 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 SepLLM, a sparse attention architecture that keeps only initial, neighboring, and separator tokens' KV, applied training-free, from scratch, post-training, and in streaming, with FlexAttention-based kernels.

Problem

Quadratic attention cost and KV cache growth make LLM inference and training slow and memory-heavy for long inputs; prior training-free KV compression methods mismatch training, and StreamingLLM drops many intermediate tokens and degrades quality.

Approach

Observes that punctuation separator tokens receive disproportionate attention and hypothesizes they condense the information of the segment they end; restricts each token to attend only to initial tokens, all preceding separators, and a local window of n neighbors, both at inference and during training.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Retain separator KV rather than dropping it (ablation)SepLLM versus StreamingLLM · GSM8K-CoT 8-shotstrict-match: 67.63 -> 77.18Helped
Retain separator KV rather than dropping it (ablation)SepLLM versus StreamingLLM · MMLU 5-shotoverall accuracy: 62.10 -> 64.68Helped
Increase neighboring tokens from n=64 to n=128 (ablation)SepLLM training-from-scratch · downstream tasksperformanceHelped
Make the first attention layer full attention (ablation)SepLLM (n=64) · LAMBADAperplexity: 40.08 -> 36.54Helped
Make the first and last attention layers full attention (ablation)SepLLM (n=64) · LAMBADAperplexity: 40.08 -> 33.41Helped
Increase separator cache capacity from s=32 to s=64 (ablation)SepLLM · WikiText, 20K inputperplexity: 8.79 -> 8.72Helped
Increase streaming cache capacity and window size (ablation)SepLLM · WikiText, long-input streamingperplexity: 13.01 -> 12.09Helped
Use four common separators instead of the default nine (ablation)SepLLM · GSM8K-CoT 8-shotstrict-match: 77.18 -> 76.85Hurt
Use only period and question mark as separators (ablation)SepLLM · GSM8K-CoT 8-shotstrict-match: 77.18 -> 70.36Hurt
Replace separator tokens with fixed-interval tokens (ablation)SepLLM · GSM8K-CoT 8-shotstrict-match: 77.18 -> 70.43Hurt
Remove initial tokens (ablation)SepLLM streaming · WikiText, 5K inputperplexity: 13.1 -> 14.9Hurt
Remove positional-encoding shifting (ablation)SepLLM streaming · WikiText, 5K inputperplexity: 13.1 -> 192.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Deduplicated Pile LongAlpaca WikiText PG19

Benchmarks: GSM8K-CoT MMLU ARC-Challenge ARC-Easy LAMBADA LogiQA PIQA SciQ PG19 WikiText Needle-in-a-Haystack

Metrics: accuracy flexible-extract strict-match perplexity runtime KV cache ratio FLOPs ratio wall-clock time

Baselines: StreamingLLM Vanilla full attention H2O SnapKV PyramidKV FixLLM

Builds on: StreamingLLM FlexAttention Pythia H2O SnapKV

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