CLAA: Cross-Layer Attention Aggregation for Accelerating LLM Prefill

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: McDanel, Bradley, Li, Steven, Khaitan, Harshit
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910025543319552
author McDanel, Bradley
Li, Steven
Khaitan, Harshit
author_facet McDanel, Bradley
Li, Steven
Khaitan, Harshit
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_16054
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle CLAA: Cross-Layer Attention Aggregation for Accelerating LLM Prefill
McDanel, Bradley
Li, Steven
Khaitan, Harshit
Computation and Language
Machine Learning
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.
title CLAA: Cross-Layer Attention Aggregation for Accelerating LLM Prefill
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2602.16054