arXiv:2612.01233v1 cs.DC

AttnEx: Sparse-Attention Indexing with Per-Layer Head Allocation and Streaming Top-k

Dongfang Zhao

제출 2026-12-02

원문 초록

Trainable sparse attention reduces long-context inference cost by using a multi-head indexer to select a fixed number of keys k per query in each layer. The indexer still scores every preceding key with a uniform head count, making long prefill compute-intensive, and its score matrix competes with the key-value (KV) cache for GPU memory. Existing methods reduce scoring through cross-layer reuse or coarse block filtering, but either can miss relevant keys. Attention Express (AttnEx) sizes each layer's indexer by its attention coverage, the share of attention probability mass captured by the selected keys. AttnEx also fuses key scoring with exact top-k selection and writes only surviving candidates. With about 15 heads per layer instead of 64 in DeepSeek-V3.2 and 32 in GLM-5.1, AttnEx keeps quality comparable to the original indexers on eight 128K-token benchmarks. In vLLM on eight H200 GPUs, AttnEx speeds up time to first token (TTFT) by up to 1.52x within the native context windows and 1.76x at 1M tokens under the default 512 MB score-matrix budget.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2612.01233v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.