Paper deep dive
BF1: A Causal Dyadic Sparse-Attention Retrofit for Efficient Long-Context Transformers
Hina Dixit
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 89%
Last extracted: 8/24/2026, 4:16:34 AM
Summary
This paper introduces BF1, a deterministic, block-aligned dyadic sparse-attention mechanism designed to retrofit pretrained transformers for efficient long-context processing. BF1 combines a small exact local neighborhood, a global first block, and logarithmically spaced historical blocks, achieving O(n log n) selected token interactions per layer. Evaluated on Qwen3-0.6B using an NVIDIA RTX PRO 6000 Blackwell GPU, BF1 demonstrates significant per-layer prefill speedups (up to 10.91x at 32K tokens) and reduces whole-model time-to-first-token (TTFT) by up to 15.3% when retrofitting 8 of 28 layers. In matched adaptation studies, BF1 achieved the lowest perplexity compared to dense continued training, static-random sparse graphs, and local sliding windows, establishing it as a reproducible sparse operator with real systems value.
Entities (10)
Relation Signals (10)
BF1 â evaluatedon â Qwen3 0.6B
confidence 95% · Retrofitting eight of 28 Qwen3-0.6B attention layers
BF1 â isa â Sparse Attention Mechanism
confidence 95% · We study BF1, a deterministic block-aligned dyadic sparse-attention route
BF1 â outperforms â Local Sliding
confidence 95% · mean report perplexity is 1.68639 versus ... 1.81505 for equal-budget local sliding.
BF1 â outperforms â Static-Random Graph
confidence 92% · mean report perplexity is 1.68639 versus 1.69154 for a matched static-random nonlocal graph
BF1 â outperforms â Dense-CT
confidence 92% · BF1 ranks first across three training seeds: mean report perplexity is 1.68639 versus 1.69258 for dense continued training
BF1 â achievesspeedup â 10.91x
confidence 90% · reaches a 10.91x per-layer prefill speedup at 32K
BF1 â reducesttft â 15.3%
confidence 90% · Retrofitting eight of 28 Qwen3-0.6B attention layers lowers warm whole-model time to first token by ... 15.3% at ... 32K
BF1 â testedonhardware â NVIDIA RTX PRO 6000 Blackwell
confidence 90% · On an NVIDIA RTX PRO 6000 Blackwell GPU
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract: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.
Tags
Links
- Source: https://arxiv.org/abs/2608.20427v1
- Canonical: https://arxiv.org/abs/2608.20427v1
Trouble viewing inline? Open PDF directly â
Full Text
29,578 characters extracted from source content.
Expand or collapse full text
BF1: A Causal Dyadic Sparse- Attention Retro:t for E=cient Long-Context Transformers Correctness, Systems Scaling, and Replicated Matched Adaptation Hina Dixit Decompute Inc., Cupertino, CA, USA August 2026 ABSTRACT 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 Irst 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 retroIt, a matched topology-control study, and a systems characterization that connects per-layer sparsity to whole-model latency. For Ixed 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.91Ă per-layer preIll speedup at 32K. RetroItting eight of 28 Qwen3-0.6B attention layers lowers warm whole-model time to Irst 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 Irst 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 sparse operator and selective retroIt primitive, replicated across three tested training seeds, 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; it does not claim a fully subquadratic model, compressed total KV storage, or general preservation of retrieval, aggregation, and state-tracking capability. 1 Introduction Transformer self-attention gives each query direct access to all earlier keyâ value pairs, but its causal interaction count grows quadratically with sequence length (Vaswani et al. 2017). IO-aware exact kernels such as FlashAttention greatly reduce memory tradc without changing the all-pairs interaction law (Dao, Fu, et al. 2022). A long line of work therefore replaces dense attention with Ixed sparse patterns, dilated routes, hierarchical approximations, or query-adaptive selection (Child et al. 2019; Li et al. 2019; Beltagy et al. 2020; Zaheer et al. 2020; Ding et al. 2023; Tang et al. 2024; Yuan et al. 2025). This paper studies a narrower engineering question: can a deterministic causal multiscale route be retroItted into a pretrained language model, trained under matched controls, and shown to cross optimized dense attention in wall-clock latency? We call the resulting operator BF1. The public route is block aligned and data independent: each query block reads itself causally, a small local neighborhood, the Irst block, and predecessor blocks at dyadic distances. BF1 is an internal name retained for continuity; mathematically, the operator is a causal dyadic/log-sparse block graph rather than a claim that exponentially spaced predecessors are new. The systems result is positive. BF1 crosses dense attention at 4K in the tested Qwen3-0.6B geometry and reaches 10.91Ă per-layer speedup at 32K. The selected eight-layer retroIt lowers warm 32K whole-model TTFT by 15.3%. The language-modeling result also replicates: BF1 ranks Irst in all three matched Stage A training runs against dense continued training, a Ixed random nonlocal graph, and equal-budget local sliding. The paper makes Ive contributions: We specify a reproducible causal dyadic block route and prove its O(n log n) selected-interaction law and logarithmic communication depth per converted layer. We provide correctness-gated BF16 Blackwell measurements, including partial blocks, backward gradients, dense-path equivalence, future- token isolation, and opposite-order benchmarks through 32K. We report whole-model TTFT for the actual eight-layer retroIt and separate it from an all-layer timing-only ceiling. We conduct a three-training-seed matched adaptation study with Dense- CT, equal-pair-count local sliding, and an equal-pair-count static-random nonlocal graph. We characterize selected-page decode semantics and show that planning lifecycle, rather than selected-page attention arithmetic, is the dominant unresolved low-batch cost. Our scope is intentionally bounded. The present result establishes an operator, a systems regime, and matched next-token language-modeling behavior. Capability-level retrieval, aggregation, and mutable-state analyses are outside the reporting scope of this paper and are addressed separately. 2 Related Work Fixed and dilated sparse routes. Sparse Transformer, Longformer, BigBird, and Reformer reduce attention cost through factorized, local/global, random, or hashing-based patterns (Child et al. 2019; Beltagy et al. 2020; Zaheer et al. 2020; Kitaev et al. 2020). LogSparse Transformer uses logarithmically spaced predecessors and local enhancements, making it the closest early route- level predecessor to BF1 (Li et al. 2019). LongNet likewise uses exponentially dilated attention and emphasizes logarithmic dependency between tokens (Ding et al. 2023). H-Transformer-1D applies hierarchical matrix structure to long-range attention (Zhu and Soricut 2021), while Pixelated Butterky applies butterky-structured sparsity more broadly to neural network matrices (Dao, Chen, et al. 2021). BF1 does not claim novelty for dyadic predecessors alone. Its contribution is the block-aligned pretrained-model retroIt, matched topology controls, Blackwell kernel study, and whole-model attribution. Adaptive long-context inference. Quest selects KV-cache pages using the current query (Tang et al. 2024); DuoAttention allocates full context to retrieval heads and bounded caches to streaming heads (Xiao et al. 2024); HiP uses hierarchical pruning without retraining (Lee et al. 2025); Native Sparse Attention combines compression, selection, and local context in a natively trained architecture (Yuan et al. 2025); and XAttention scores sparse blocks through antidiagonal structure (Xu et al. 2025). These approaches address query speciIcity or head heterogeneity that a deterministic route intentionally does not model. Sparse-attention systems. FlashAttention establishes the importance of IO- aware exact kernels (Dao, Fu, et al. 2022). Sparse Flash Attention extends kash-style execution to broad sparsity patterns (Pagliardini et al. 2023). BF1 uses FlexAttention as a compiler interface for custom block masks (Dong et al. 2024) and evaluates exact selected physical pages using FlashInfer- style paged attention semantics (Ye et al. 2025). We report pair reduction, sparse-kernel latency, planning cost, and whole-model TTFT separately. 3 BF1 Operator 3.1 Causal dyadic block graph Let a sequence of n tokens be partitioned into B = ân/bâ blocks of width b, indexed from 0 to B â 1. For query block j, deIne P(j) = j, j â 1, j â 2, 0 âȘ j â 2 r : r â„ 2, (1) with invalid and duplicate indices removed. The self block uses a token- level causal triangle; all other selected blocks are strictly earlier. Figure 1 shows a representative route. The reported conIguration uses b = 64, two local predecessor blocks, the global Irst block, and dyadic oosets beginning at four blocks. No scale-dependent score bias is used. ⥠BF1 public route: exact local, global-first, and dyadic historical blocks 0123456789101112131415 localdyadicglobal first blockquery block Figure 1: BF1 block route. A query block receives exact local context, the first global block, and dyadic historical predecessors. The public route is fixed, causal, and block aligned. 3.2 Selected-interaction complexity Proposition 1 (Per-layer selected interactions). For Gxed block width b, BF1 uses O(n log n) selected token interactions in a causal attention layer. Proof. Each block j selects at most 4 + âlog 2 jâ predecessor blocks. Thus the number of selected block pairs is Bâ1 ÎŁ j=0 O(1 + log(j + 1)) = O(B log B). Each selected block pair contributes at most b 2 token pairs, giving O(b 2 B log B) = O(nb log(n/b)). For Ixed b, this is O(n log n). The causal triangle inside the self block only lowers the count. For one-token cached decode, a query reads O(log B) selected blocks and therefore O(bd h log B) key/value elements per head. The underlying exact historical KV store remains O(n); BF1 is not a logarithmic-memory method. 3.3 Communication depth For non-global blocks i < j, write ÎŽ = j â i in binary. Repeatedly subtracting the largest present power of two gives a path whose length is at most the population count of ÎŽ; local oosets handle the two least signiIcant distances. The global Irst block is directly visible. ⥠⥠Proposition 2 (Dyadic reachability). For B blocks, every earlier block can inSuence a later block in O(log B) BF1 layers. In the evaluated B = 512 graph, the maximum shortest path is eight layers. Proof. If i = 0, the global edge makes block 0 directly visible to every later block, giving a one-layer path. If ÎŽ = j â i â 1, 2, the local edges to j â 1 and j â 2 give a one- layer path. Otherwise, decompose ÎŽ into distinct powers of two, ÎŽ = 2 r 1 + · + 2 r m with r 1 > · > r m . Starting from i and adding the powers in decreasing order produces monotonically increasing intermediate positions i < i + 2 r 1 < · < j, each at most j and therefore a valid block index. Every step of size 2 r with r â„ 2 is a dyadic predecessor edge under Equation 1, and steps of size one or two are local edges, so each consecutive pair on the path is connected in one BF1 layer. The path length is therefore at most popcount(ÎŽ) †âlog 2 Bâ. For B = 512 this bound gives nine layers; the only distance with nine one-bits is ÎŽ = 511, which forces i = 0 and is served by the direct global edge, so the Inite-graph maximum shortest path is eight layers. This is a communication-graph statement. It characterizes structural reach under the declared route; it does not by itself establish any downstream task capability. 3.4 Whole-model asymptotic scope The evaluated Qwen retroIt converts eight of 28 attention layers and leaves 20 layers globally dense. Proposition 3 (Mixed-stack complexity). If a Gxed-depth model contains at least one unrestricted dense global-attention layer, its sequence-length attention complexity remains Ω(n 2 ). Proof. With L d dense layers and L s BF1 layers, T(n) = Î(L d n 2 d h ) + O(L s n log n d h ) + T other (n). For any constant L d â„ 1, the dense term is Ω(n 2 ). The current model therefore provides a measured constant-factor acceleration rather than a whole-model O(n log n) claim. 4 Experimental Method 4.1 Hardware and so!ware Experiments use an NVIDIA RTX PRO 6000 Blackwell Workstation Edition GPU (compute capability 12.0, approximately 95 GiB usable memory), PyTorch 2.13.0 with CUDA 13.0, BF16 attention, and Qwen3-0.6B-Base (Yang et al. 2025). The target geometry has 28 decoder layers, 16 query heads, eight KV heads, and head dimension 128. 4.2 Correctness gates Performance and model results are interpreted only axer the following checks pass: exact route and selected-pair accounting; zero output change under mutation of future tokens; BF16 agreement with a materialized routed-mask reference; compiled forward and backward with Inite Q/K/V gradients; partial Inal-block coverage at length 257; dense-path equivalence when the sparse blend is closed; cached one-token decode and independent blockwise reference agreement. The target FlexAttention cases at lengths 128, 257, and 512 have maximum absolute error 0.00390625 and mean error below 7.1 Ă 10 â5 in BF16, with zero measured future leakage. 4.3 Performance protocol PreIll measurements use batch size one, Ive warmups, 30 measured repetitions, and two op posite pattern orders. Reported values are the median of the two order medians. Dense native SDPA and compiled BF1 use the same attention geometry. Equal-pair-count sliding and static-random routes are timed separately to test whether topology changes physical sparse-kernel cost. Whole-model TTFT is measured in a common eager Hugging Face harness at 8K, 16K, and 32K for: (i) the selected checkpoint on the dense path; (i) the same checkpoint with eight Stage A BF1 layers active; and (i) an all- layer BF1 timing-only conIguration. The third condition is a systems ceiling, not a trained model result. 4.4 Matched Stage A adaptation Students and a frozen dense teacher are initialized from Qwen3-0.6B-Base. The same eight middle attention layers are adapted in every arm. BF1, matched sliding, and static random progressively activate sparse routes; Dense- CT retains the same retroIt and trainable attention parameters but keeps the sparse blend at zero. The objective combines next-token loss, teacher- logit distillation, and hidden-state matching. A 49,000-row ORCA-style questionâanswer corpus (Mukherjee et al. 2023) is normalized and split by content hash into train, select, and report sets. Each run consumes 16.384M training tokens over 1,000 optimizer steps. Checkpoints are selected by minimum held-out select NLL before one-time report evaluation. Every report uses the same ordered 174 packed sequences and 356,178 predicted tokens. The four-arm campaign is repeated at training seeds 1234, 2026, and 3407. Static-random graph seed 17 is Ixed to isolate optimizer/training-seed variation. Table 1: Matched Stage A arms. All rows use 50,333,696 trainable parameters, the same token order, objective, optimizer schedule, checkpoint cadence, held-out selection rule, and report packs. Sparse arms also use the same selected-pair budget. ArmActive pathRouteBlend BF1sparsecausal dyadic1 Random-17sparsestatic nonlocal1 Slidingsparsecontiguous local1 Dense-CTdensesparse inactive0 4.5 Evaluation scope This paper evaluates numerical correctness, route complexity, kernel scaling, partial-model latency, and matched next-token perplexity. It does not report a general capability evaluation and makes no claim about preservation of retrieval, multi-source aggregation, mutable-state tracking, or arbitrary long-context reasoning. 5 Systems Results 5.1 Per-layer prefill scaling Figure 2 reports the optimized BF1 operator. Dense attention is faster at short context, where sparse metadata and launch overhead dominate. BF1 crosses dense between 2K and 4K, reaches 2.84Ă at 8K, 5.50Ă at 16K, and 10.91Ă at 32K. The 32K selected-interaction count falls by 26.98Ă, so the implementation realizes a substantial but incomplete fraction of the pair-count reduction. Equal-pair-count BF1, sliding, and static-random routes have nearly identical sparse kernel time. BF1ÊŒs distinction at matched physical cost is therefore its communication-depth topology, not cheaper per-layer arithmetic. Table 2: Per-layer BF16 prefill speedup versus dense SDPA. Values as reported in the text; BF1 crosses dense between 2K and 4K. ContextMeasured speedupInteraction reduction 8K2.84Ăâ 16K5.50Ăâ 32K10.91Ă26.98Ă 10â»Âč 10â° 10Âč 5121K2K4K8K16K32K context length median prefill latency / layer (ms) dense SDPA BF1 FlexAttention 10â° 10Âč 5121K2K4K8K16K32K context length ratio versus dense measured speedup interaction reduction Figure 2: Order-controlled per-layer BF16 prefill. Le!: dense and BF1 latency. Right: measured speedup and selected-interaction reduction. 5.2 Communication depth Figure 3 compares maximum shortest paths. At 32K, BF1 requires eight hops, static-random graph 17 requires 14, and matched sliding requires 59 under the same selected-pair budget. The graph metric explains why local sliding is structurally dioerent from the two nonlocal sparse controls. It does not imply that shortest path alone determines language-modeling quality. 0 10 20 30 40 50 60 5121K2K4K8K16K32K context length maximum shortest-path hops BF1 static random 17 matched sliding 8-layer sparse band Figure 3: Maximum shortest-path communication depth at matched sparse interaction budget. The dotted line marks the eight-layer sparse band. 5.3 Whole-model TTFT The actual eight-layer retroIt lowers warm TTFT from 69.0 to 63.7 ms at 8K, 190.1 to 168.6 ms at 16K, and 589.1 to 499.1 ms at 32K, corresponding to 1.08Ă, 1.13Ă, and 1.18Ă speedups. A second session gives a 15.7% 32K reduction, consistent with the primary 15.3% result. Peak VRAM is unchanged in this harness. The all-layer timing-only condition reaches 2.14Ă at 32K. Its near-additive scaling with the converted-layer count is a useful systems ceiling, but it is not a trained all-layer result. An additional kernel sweep improved 32K per-layer BF1 time by about 14% (from 9.56Ă to 10.91Ă versus dense) while changing the eight-layer whole-model TTFT by less than 0.5%. This is an Amdahl-style result: axer only eight layers are converted, safe coverage of more layers can matter more than further tuning of an already-fast operator. 0 100 200 300 400 500 600 8K16K32K context length warm TTFT (ms) 7.7% lower 11.3% lower 15.3% lower timing only timing only timing only same checkpoint, dense path Stage A BF1 (8/28) all-layer systems ceiling Figure 4: Warm whole-model TTFT in the common eager harness. The gray all-layer condition is a timing ceiling only. 5.4 Selected-page decode characterization The correctness-oriented gathered decode path selects BF1 tokens, materializes compact K/V tensors, and calls native SDPA. It reaches approximately 1.21Ă versus dense at 32K, batch one, while retaining the full O(n) KV cache. A paged-GQA backend executes the exact selected-page attention with BF16 numerical agreement, tail handling, page-permutation invariance, and zero decoy-page leakage. Subtracting a separately measured plan charge from the eoective call yields a residual execution estimate of 12â23 microseconds, approximately 6â18Ă below gather across the tested batch range. Charging a 100â121 microsecond plan on every token, however, makes the eoective low-batch path slower; batch 32 reaches 2.67Ă at 32K and 3.05Ă at 64K. The remaining decode systems problem is persistent plan reuse across a 64-token route epoch. We do not claim a low-batch end-to-end decode win. Table 3: Selected-page paged-GQA attention-call decomposition. Times are microseconds. âResidual executionâ is e"ective latency minus the separately measured plan charge; it is an estimate rather than a direct persistent-plan measurement. ContextBatchGatherE!ectivePlanResidual executionE!ective speedup 32K176.112114.831102.85511.9760.66Ă 32K8100.584116.471102.85513.6160.86Ă 32K32382.280143.064121.35221.7122.67Ă 64K176.568112.781100.38112.4000.68Ă 64K8105.560115.922102.27413.6480.91Ă 64K32419.728137.606114.62222.9843.05Ă 6 Matched Language-Modeling Results Table 4 and Figure 5 show the frozen report results. BF1 ranks Irst in all three training runs. Dense-CT is 0.358â0.384% above BF1; static-random graph 17 is 0.300â0.313% above BF1; matched sliding is 7.623â7.637% above BF1. The magnitudes are stable across training seeds. The seed-1234 packed-report intervals provide a within-report uncertainty audit. Relative to BF1, static random is +0.3030% with a 95% paired interval of [+0.2441, +0.3642]%; Dense-CT is +0.3599% with [+0.3169, +0.4055]%; and matched sliding is +7.6367% with [+7.3325, +7.9554]%. These are report-pack intervals for one frozen model pair, not intervals over independent training runs. The unadapted dense base has report perplexity 1.77161. Dense-CT recovers approximately 92.7% of the absolute perplexity reduction from the unadapted base to BF1 (approximately 92.6% when measured in NLL, the additive quantity), so continued in-domain adaptation is the dominant source of the gain. The residual BF1 increment nevertheless replicates in 3/3 training runs. The topology controls support two bounded conclusions: 1. nonlocal sparse connectivity is load-bearing under this protocol, because equal-budget local sliding is much worse; 2. BF1 consistently beats static-random graph 17, but graph-draw replication is required before claiming a distribution-level advantage over random sparse graphs. Table 4: Report perplexity across training seeds. Lower is better. The same report corpus is reused across seeds, so the 174 report packs are not pooled as 522 independent observations. ArmSeed 1234Seed 2026Seed 3407MeanSample SD BF1 dyadic1.686341.686221.686601.686390.00019 Static random, graph 171.691451.691281.691881.691540.00031 Dense-CT, blend 01.692411.692261.693081.692580.00044 Matched sliding1.815121.814861.815171.815050.00017 Table 5: Seed-1234 paired bootstrap audit over the fixed ordered report packs. Relative change is the other armâs perplexity versus the reference. ReferenceOtherRelative PPL change95% paired interval Unadapted denseBF1â4.8129%[â4.9669, â4.6561]% Unadapted denseDense-CTâ4.4703%[â4.6485, â4.2917]% BF1Static random 17+0.3030%[+0.2441, +0.3642]% BF1Dense-CT+0.3599%[+0.3169, +0.4055]% BF1Matched sliding+7.6367%[+7.3325, +7.9554]% 1.68 1.70 1.72 1.74 1.76 1.78 1.80 1.82 123420263407 training seed report perplexity BF1 random 17 Dense-CT sliding 0 1 2 3 4 5 6 7 8 random 17Dense-CTsliding mean PPL above BF1 (%) 0.305% 0.367% 7.63% Figure 5: Stage A report perplexity. Le!: absolute values. Right: relative PPL above BF1 makes the small nonlocal di"erences and the large local-sliding gap visually distinct. 7 Discussion 7.1 What the experiments establish The combined result is stronger than a kernel microbenchmark. BF1 has a public causal route, a proved per-layer interaction law, correctness-gated compiled execution, a long-context crossover against native dense SDPA, a measured partial-model TTFT beneIt, and a matched adaptation study that reproduces across training seeds. The controls also prevent several stronger but unsupported interpretations. Most of the improvement over the unadapted base comes from continued ORCA adaptation. Static-random nonlocal attention remains close to BF1. The large topology eoect is the separation between nonlocal routes and local-only sliding; the BF1-speciIc increment is smaller. 7.2 Operator-level versus model-level e"iciency BF1 changes the asymptotic interaction law only in converted layers. The present eight-layer model remains O(n 2 ) because 20 layers are dense, and the exact historical KV store remains O(n). The all-layer timing curve is therefore a systems projection, not an asymptotic or model-quality result. A complete subquadratic model would require bounding every global layer and measuring all auxiliary costs. The decode study makes the same accounting point at a smaller scale. Selected- page arithmetic can be very fast while an asymptotically small planning step dominates end-to-end latency. Algorithmic savings must be reported together with route construction, planning, page fetch, synchronization, and framework overhead. 7.3 Where BF1 is most immediately useful The current evidence supports BF1 as a selective retroIt primitive for long- context preIll and for layers or workloads where deterministic local/global coverage and regular physical page access are valuable. Additional studies are needed to determine broader model coverage, graph-draw robustness, transfer to other model scales and corpora, and persistent-plan cached generation. 8 Limitations and Reproducibility Boundary The study uses one model scale, one primary GPU architecture, batch size one for preIll/TTFT, and one ORCA-derived training family. Static-random graph seed 17 is Ixed. Training-seed replication does not characterize variation over random graph construction. The report split is held out from training and checkpoint selection, but the data family was observed during pilot development. A new external blind corpus remains important. Stage A converts only eight layers; the all-layer condition is timing- only and the complete model remains O(n 2 ). BF1 retains an O(n) exact KV store. It is a sparse-read method, not a compressed-memory result. The paged-backend execution number is a residual estimate from eoective latency minus separately measured planning, not a direct full-generation measurement with persistent plans. This paper does not report capability-level retrieval, aggregation, or state- tracking evaluation and makes no claim of universal capability preservation. The source archive includes the public route, formal statements, result CSVs, and deterministic Igure-generation code. Private checkpoints, conversion tooling, low-level compiler tuning, and proprietary training infrastructure are not released in this version. 9 Conclusion BF1 demonstrates that a causal dyadic block-sparse route can be both algorithmically sparse and practically fast. The operator crosses dense attention at long context, reaches a 10.91Ă per-layer 32K speedup, and yields a 15.3% whole-model TTFT reduction when applied to eight Qwen3-0.6B layers. Under a matched three-seed adaptation protocol, BF1 consistently achieves the lowest report perplexity, while nonlocal sparse routing decisively outperforms equal-budget local sliding. BF1 should therefore be interpreted as a validated deterministic sparse- attention operator and selective retroIt primitive with measurable long- context systems value. This paper does not establish a fully sparse model, compressed total KV memory, or broad capability preservation. Those are separate questions requiring their own interventions and evidence. References Beltagy, I., M. E. Peters, and A. Cohan (2020). âLongformer: The Long-Document Transformerâ. In: arXiv preprint arXiv:2004.05150. Child, R., S. Gray, A. Radford, and I. Sutskever (2019). âGenerating Long Sequences with Sparse Transformersâ. In: arXiv preprint arXiv:1904.10509. Dao, T., B. Chen, K. Liang, J. Yang, Z. Song, A. Rudra, and C. RĂ© (2021). âPixelated Butterky: Simple and Edcient Sparse Training for Neural Network Modelsâ. In: arXiv preprint arXiv:2112.00029. Dao, T., D. Y. Fu, S. Ermon, A. Rudra, and C. RĂ© (2022). âFlashAttention: Fast and Memory-Edcient Exact Attention with IO-Awarenessâ. In: Advances in Neural Information Processing Systems. Ding, J., S. Ma, L. Dong, X. Zhang, S. Huang, W. Wang, N. Zheng, and F. Wei (2023). âLongNet: Scaling Transformers to 1,000,000,000 Tokensâ. In: arXiv preprint arXiv:2307.02486. Dong, J., B. Feng, D. Guessous, Y. Liang, and H. He (2024). âFlex Attention: A Programming Model for Generating Optimized Attention Kernelsâ. In: arXiv preprint arXiv:2412.05496. Kitaev, N., L. Kaiser, and A. Levskaya (2020). âReformer: The Edcient Transformerâ. In: International Conference on Learning Representations. Lee, H., G. Park, Y. Lee, J. Suh, J. Kim, W. Jeong, B. Kim, H. Lee, M. Jeon, and S. J. Hwang (2025). âA Training-Free Sub-Quadratic Cost Transformer Model Serving Framework with Hierarchically Pruned Attentionâ. In: International Conference on Learning Representations. Li, S., X. Jin, Y. Xuan, X. Zhou, W. Chen, Y.-X. Wang, and X. Yan (2019). âEnhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingâ. In: arXiv preprint arXiv:1907.00235. Mukherjee, S., A. Mitra, G. Jawahar, S. Agarwal, H. Palangi, and A. Awadallah (2023). âOrca: Progressive Learning from Complex Explanation Traces of GPT-4â. In: arXiv preprint arXiv:2306.02707. Pagliardini, M., D. Paliotta, M. Jaggi, and F. Fleuret (2023). âFaster Causal Attention Over Large Sequences Through Sparse Flash Attentionâ. In: arXiv preprint arXiv:2306.01160. Tang, J., Y. Zhao, K. Zhu, G. Xiao, B. Kasikci, and S. Han (2024). âQuest: Query-Aware Sparsity for Edcient Long-Context LLM Inferenceâ. In: arXiv preprint arXiv:2406.10774. Vaswani, A., N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polosukhin (2017). âAttention Is All You Needâ. In: Advances in Neural Information Processing Systems. Xiao, G., J. Tang, J. Zuo, J. Guo, S. Yang, H. Tang, Y. Fu, and S. Han (2024). âDuoAttention: Edcient Long-Context LLM Inference with Retrieval and Streaming Headsâ. In: arXiv preprint arXiv:2410.10819. Xu, R., G. Xiao, H. Huang, J. Guo, and S. Han (2025). âXAttention: Block Sparse Attention with Antidiagonal Scoringâ. In: arXiv preprint arXiv:2503.16428. Yang, A., A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, et al. (2025). âQwen3 Technical Reportâ. In: arXiv preprint arXiv:2505.09388. Ye, Z., L. Chen, R. Lai, W. Lin, Y. Zhang, S. Wang, T. Chen, B. Kasikci, V. Grover, A. Krishnamurthy, and L. Ceze (2025). âFlashInfer: Edcient and Customizable Attention Engine for LLM Inference Servingâ. In: arXiv preprint arXiv:2501.01005. Yuan, J., H. Gao, D. Dai, J. Luo, L. Zhao, Z. Zhang, Z. Xie, Y. X. Wei, L. Wang, Z. Xiao, et al. (2025). âNative Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentionâ. In: arXiv preprint arXiv:2502.11089. Zaheer, M., G. Guruganesh, A. Dubey, J. Ainslie, C. Alberti, S. Ontanon, P. Pham, A. Ravula, Q. Wang, L. Yang, and A. Ahmed (2020). âBig Bird: Transformers for Longer Sequencesâ. In: Advances in Neural Information Processing Systems. Zhu, Z. and R. Soricut (2021). âH-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencesâ. In: arXiv preprint arXiv:2107.11906.