Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CLAA: Cross-Layer Attention Aggregation for Accelerating LLM Prefill

About

The prefill stage in long-context LLM inference remains a computational bottleneck. Recent token-ranking heuristics accelerate inference by selectively processing a subset of semantically relevant tokens. However, existing methods suffer from unstable token importance estimation, often varying between layers. Evaluating token-ranking quality independently from heuristic-specific architectures is challenging. To address this, we introduce an Answer-Informed Oracle, which defines ground-truth token importance by measuring attention from generated answers back to the prompt. This oracle reveals that existing heuristics exhibit high variance across layers: rankings can degrade sharply at specific layers, a failure mode invisible to end-to-end benchmarks. The diagnosis suggests a simple fix: aggregate scores across layers rather than relying on any single one. We implement this as Cross-Layer Attention Aggregation (CLAA), which closes the gap to the oracle upper bound and reduces Time-to-First-Token (TTFT) by up to 39\% compared to the Full KV Cache baseline.

Bradley McDanel, Steven Li, Harshit Khaitan• 2026

Related benchmarks

TaskDatasetResultRank
Long-context Language UnderstandingLongBench
M-Avg48.88
219
Long-context Language UnderstandingRULER 64k context length
Multi-Key Score87.72
6
Showing 2 of 2 rows

Other info

Follow for update