Metraipolis › archive › dc_6c24c52bd6a2

BF1: A Causal Dyadic Sparse-Attention Retrofit for Efficient Long-Context Transformers — arXiv:2608.20427

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.20427
License (as archived)
CC0-1.0
Archived
2026-10-18T10:30:55.112Z
SHA-256 of the archived text
2490971425e0509948969b5c4d216e04e1f9d73e9ba9e11cddd92a19a5e7e534
Stable URL of this page
https://metraipolis.com/documento/dc_6c24c52bd6a2

How to cite

BF1: A Causal Dyadic Sparse-Attention Retrofit for Efficient Long-Context Transformers — arXiv:2608.20427 — arXiv (en), https://arxiv.org/abs/2608.20427 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6c24c52bd6a2 (Metraipolis archive dc_6c24c52bd6a2, sha256 2490971425e0509948969b5c4d216e04e1f9d73e9ba9e11cddd92a19a5e7e534)
BibTeX
@misc{dc6c24c52bd6a2,
  title = {BF1: A Causal Dyadic Sparse-Attention Retrofit for Efficient Long-Context Transformers — arXiv:2608.20427},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.20427},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6c24c52bd6a2; sha256 2490971425e0509948969b5c4d216e04e1f9d73e9ba9e11cddd92a19a5e7e534},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.20427. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Dense causal attention remains expensive at long context even when implemented with highly optimized exact kernels. We study BF1, a deterministic block-aligned dyadic sparse-attention route that combines a small exact local neighborhood, a global first block, and logarithmically spaced historical blocks. The route is related to prior log-sparse and dilated attention patterns; our contribution is a correctness-gated pretrained-model retrofit, a matched topology-control study, and a systems characterization that connects per-layer sparsity to whole-model latency. For fixed block width, every converted layer uses O(n log n) selected token interactions and has O(log n) graph communication depth. On an NVIDIA RTX PRO 6000 Blackwell GPU, an optimized BF16 implementation crosses dense attention between 2K and 4K tokens and reaches a 10.91x per-layer prefill speedup at 32K. Retrofitting eight of 28 Qwen3-0.6B attention layers lowers warm whole-model time to first token by 7.7%, 11.3%, and 15.3% at 8K, 16K, and 32K, respectively, while the remaining dense layers keep the complete model asymptotically quadratic. Under a matched 1,000-step, 16.384M-token adaptation protocol, BF1 ranks first across three training seeds: mean report perplexity is 1.68639 versus 1.69154 for a matched static-random nonlocal graph, 1.69258 for dense continued training, and 1.81505 for equal-budget local sliding. At seed 1234, the packed-report paired interval places Dense-CT 0.3169-0.4055% above BF1 and static-random graph 17 0.2441-0.3642% above BF1. These results establish BF1 as a reproducible sparse operator and selective retrofit primitive with real long-context systems value. This paper evaluates numerical correctness, selected-interaction scaling, kernel performance, partial-model inference, and matched next-token language modeling.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-24 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.20427 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T10:27:55.912Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).