SculptAttention: Training-Free Sparse Attention via Geometric Selection, Stochastic Expansion, and Structural Linking

Prefill dominates the time to first token of long-context language models, because dense causal attention is quadratic. We describe SculptAttention v0.1.0, a training-free sparse attention rule for prefill. Each query tile reads five key sets: a dense header, a dense local window, a few "hot" keys per segment chosen by their distance from the segment mean (a rule known from KV-cache eviction), query-scored pages for a randomly selected half of the eligible units, and pages of earlier occurrences of repeated token 6-grams. Each ingredient has precedents; the contribution is their combination with one shared hyperparameter set for all eligible global-attention layers of three models, without a custom attention kernel. The hyperparameters were chosen on a 64-case development suite, so its numbers are in-sample. On Qwen3.8-27B the development suite scores 57.0 against 57.75 for dense attention, with a 1.91x prefill speedup at 524K tokens. On 312 RULER prompts at 32K-128K the method is non-inferior to dense attention at a prespecified 5 % relative margin. Non-inferiority is not shown on 80 fresh cases at 524K (-2.50) or on 100 fresh Llama-3.1-8B-Instruct cases at 128K (-3.07, margin 3.20); the data are compatible with both no loss and a larger loss. On Inkling-2-Mini, no substantial score degradation was observed in the 30 evaluated single-sample comparisons, and speedup reaches 4.2x near 660K tokens. Two small equal-density tests on one model give intervals that exclude zero: random keys instead of geometric hot keys score 2.5 points lower on 20 multi-value cases at 524K, and expansion without linking 1.75 points lower on 14 selected cases. The PDF contains Part I (Main Paper, pp. 1-11) and Part II (Extended Technical Report, pp. 12-44). Preprint, not peer reviewed.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24794081
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

SculptAttention: Training-Free Sparse Attention via Geometric Selection, Stochastic Expansion, and Structural Linking

Fahad Alasmari
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

SculptAttention: Training-Free Sparse Attention via Geometric Selection, Stochastic Expansion, and Structural Linking

Fahad Alasmari
preprint en

Abstract

Prefill dominates the time to first token of long-context language models, because dense causal attention is quadratic. We describe SculptAttention v0.1.0, a training-free sparse attention rule for prefill. Each query tile reads five key sets: a dense header, a dense local window, a few "hot" keys per segment chosen by their distance from the segment mean (a rule known from KV-cache eviction), query-scored pages for a randomly selected half of the eligible units, and pages of earlier occurrences of repeated token 6-grams. Each ingredient has precedents; the contribution is their combination with one shared hyperparameter set for all eligible global-attention layers of three models, without a custom attention kernel. The hyperparameters were chosen on a 64-case development suite, so its numbers are in-sample. On Qwen3.8-27B the development suite scores 57.0 against 57.75 for dense attention, with a 1.91x prefill speedup at 524K tokens. On 312 RULER prompts at 32K-128K the method is non-inferior to dense attention at a prespecified 5 % relative margin. Non-inferiority is not shown on 80 fresh cases at 524K (-2.50) or on 100 fresh Llama-3.1-8B-Instruct cases at 128K (-3.07, margin 3.20); the data are compatible with both no loss and a larger loss. On Inkling-2-Mini, no substantial score degradation was observed in the 30 evaluated single-sample comparisons, and speedup reaches 4.2x near 660K tokens. Two small equal-density tests on one model give intervals that exclude zero: random keys instead of geometric hot keys score 2.5 points lower on 20 multi-value cases at 524K, and expansion without linking 1.75 points lower on 14 selected cases. The PDF contains Part I (Main Paper, pp. 1-11) and Part II (Extended Technical Report, pp. 12-44). Preprint, not peer reviewed.

Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon