atlas

Research map / Architectures and efficiency / Attention and transformers

Curse of High Dimensionality Issue in Transformer for Long Context Modeling

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse efficient transformers for long context · 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.

Reformulates autoregressive sequence modeling as supervised learning, analyzes attention sparsity, and proposes Dynamic Group Attention (DGA), which groups low-importance tokens' keys/values to cut attention cost in long-context LLMs.

Problem

Long-context Transformer LLMs waste computation because all tokens consume equal attention resources even though attention weights are sparse, and token-dropping methods can disrupt needed token interactions.

Approach

Treats non-focal tokens as groups whose keys and values are aggregated via query-weighted pooling, keeps top-importance focal tokens individual, and adds complementary KV pairs so grouped tokens remain accessible under the causal mask; theory argues group coding reduces noise sensitivity and condition number.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-EITL / ms: 69.70 -> 28.80Helped
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-EEM score (Avg.): 33.6 -> 27.7Hurt
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-EAvg.: 21.69 -> 21.14Hurt
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-E across context lengthsEM score: 4K: 37.2 -> 35.0; 8K: 36.4 -> 27.4; 16K: 33.8 -> 25.6; 32K: 26.8 -> 22.6Mixed
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-E 4KITL / ms: 36.87 -> 26.26Helped
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-E 8KITL / ms: 42.32 -> 26.87Helped
Use Dynamic Group Attention instead of vanilla self-attentionLLaMA2-7B · LongBench-E 16KITL / ms: 69.70 -> 28.79Helped
Use group coding in attentionDGA · OPT-125M validation training on SlimPajamavalidation lossHelped
Use group coding in attentionDGA · LLaMA2-7B question answering on SlimPajamaaverage KL-divergence under Gaussian noiseHelped

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama WikiText2 Proof-pile LongBench-E

Benchmarks: LongBench-E EM score on multi-document QA (4K-32K) inter-token latency

Metrics: average task score EM score inter-token latency (ms) validation loss KL divergence under Gaussian noise

Baselines: StreamingLLM LM-Infinite MInference Vanilla self-attention

Builds on: flash attention StreamingLLM MInference LongLoRA Position Interpolation

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