FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention
Update NeurIPS 2026 submission jDTHY0c03X: 10 notes
@openreview[bot] · 2026-11-24 15:54 UTC · f9b7a4ec4e66 ·
reviews/openreview/jdthy0c03x/notes/1atzzpfigk.json added
+++ b/reviews/openreview/jdthy0c03x/notes/1atzzpfigk.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "1aTzzPfIgK",+ "replyTo": "JPZpYIsm8p",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer yBiR",+ "content": {+ "title": "Rebuttals Strengthen my Positivity",+ "comment": "I have read the authors' responses to my review and to the other reviewers. I commend the authors on a strong rebuttal. The additional experiments demonstrating efficacy on head dimensions of d=128, as well as across broader architectures, resolve my concern regarding a 'narrow testing domain.' Furthermore, I appreciate the authors' agreement to clarify that the 262K token claim is an isolated operator limit rather than an end-to-end training reality, and their clear answer regarding architecture-specific Triton optimizations. The paper is theoretically rigorous, practically impactful, and the rebuttal has only made it stronger. I happily maintain my score of 6 (Strong Accept)"+ },+ "createdAt": "2026-08-03T20:48:15.940Z",+ "modifiedAt": "2026-11-19T16:51:47.420Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=1aTzzPfIgK",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/cmzg6yk4ik.json added
+++ b/reviews/openreview/jdthy0c03x/notes/cmzg6yk4ik.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "CmZg6Yk4ik",+ "replyTo": "mbOtYrY0bd",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Follow-up",+ "comment": "As the rebuttal deadline is approaching, we would greatly appreciate it if the reviewer could kindly respond and let us know whether our experiments address your concerns. Thanks."+ },+ "createdAt": "2026-08-01T20:16:25.916Z",+ "modifiedAt": "2026-11-19T16:51:47.412Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=CmZg6Yk4ik",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/dddiix9dd0.json added
+++ b/reviews/openreview/jdthy0c03x/notes/dddiix9dd0.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "DDDIIX9Dd0",+ "replyTo": "nPcyMiwSIa",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer eTzo",+ "content": {+ "comment": "Thank you to the authors for the detailed rebuttal and for addressing my comments. I appreciate the additional hybrid-control experiment, which better isolates the algorithmic contribution of FlashBoB from framework-level integration benefits, as well as the detailed discussion on distributed training. Overall, I had a good time reading this paper."+ },+ "createdAt": "2026-08-03T05:37:19.520Z",+ "modifiedAt": "2026-11-19T16:51:47.346Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=DDDIIX9Dd0",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/fipvnefxhm.json added
+++ b/reviews/openreview/jdthy0c03x/notes/fipvnefxhm.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "fIpvnefXHm",+ "replyTo": "2bx7nNenp7",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Additional Experiments",+ "comment": "**Additional evaluation: Native GQA models.**\n\n**A7:** To evaluate whether our gains extend to native grouped-query attention (GQA) and mixture-of-experts (MoE) models, we added complete model-level second-order experiments on five released architectures: Llama 3.2 1B, SmolLM2-135M, SmolLM2-360M, Qwen2.5-1.5B, and Granite 3.1 1B-A400M.\n\nWe denote the numbers of query and key/value heads by $H_Q$ and $H_{KV}$, respectively. The models use their native $H_Q/H_{KV}$ configurations of $32/8$, $9/3$, $15/5$, $12/2$, and $16/8$. The first four models are dense. Granite is an MoE model with 32 experts, top-8 routing, and approximately 400M active parameters per token.\n\nHVP-M and HVP-S accept GQA inputs only by repeating the key/value heads before applying equal-head kernels. FlashBack supports native multi-query attention (MQA), where $H_{KV}=1$, but not intermediate GQA configurations with $1 < H_{KV} < H_Q$. **FlashBoB operates directly on the original $H_Q/H_{KV}$ layout for both GQA and MQA.** We therefore use the exact PyTorch math-attention double-backward path as the model-level baseline.\n\n**Table: Complete model-level second-order calculations on native GQA models.** Batch size 1, BF16, one NVIDIA B300. Latencies are synchronized CUDA-event medians. Peak memory is PyTorch `max_memory_allocated`, measured identically for both methods.\n\n| Model ($d$) | $N$ | FlashBoB (ms) | Math (ms) | Speedup [x] | FlashBoB (GiB) | Math (GiB) | Reduction [x] |\n| :------------------------ | ----: | ------: | --------: | ----------: | -------: | ---------: | ------------: |\n| Llama 3.2 1B (64) | 1,024 | 68.681 | 96.664 | 1.41 | 16.489 | 22.987 | 1.39 |\n| | 2,048 | 116.920 | 220.275 | 1.88 | 23.755 | 51.946 | 2.19 |\n| | 4,096 | 247.073 | 653.269 | 2.64 | 39.761 | 152.469 | 3.83 |\n| SmolLM2-135M (64) | 1,024 | 110.231 | 113.387 | 1.03 | 4.211 | 7.753 | 1.84 |\n| | 2,048 | 105.555 | 146.113 | 1.38 | 7.601 | 21.576 | 2.84 |\n| | 4,096 | 147.941 | 360.238 | 2.44 | 14.381 | 69.893 | 4.86 |\n| | 8,192 | 319.350 | 1,208.060 | 3.78 | 27.942 | 249.214 | 8.92 |\n| SmolLM2-360M (64) | 1,024 | 100.320 | 116.980 | 1.17 | 7.712 | 13.981 | 1.81 |\n| | 2,048 | 122.291 | 213.072 | 1.74 | 13.298 | 38.021 | 2.86 |\n| | 4,096 | 212.327 | 599.298 | 2.82 | 24.470 | 122.664 | 5.01 |\n| Qwen2.5-1.5B (128) | 1,024 | 111.551 | 116.835 | 1.05 | 21.780 | 25.944 | 1.19 |\n| | 2,048 | 176.361 | 224.462 | 1.27 | 34.482 | 51.476 | 1.49 |\n| | 4,096 | 365.433 | 568.491 | 1.56 | 59.886 | 128.555 | 2.15 |\n| Granite 3.1 1B-A400M (64) | 1,024 | 113.701 | 125.384 | 1.10 | 15.517 | 20.222 | 1.30 |\n| | 2,048 | 151.667 | 229.960 | 1.52 | 23.167 | 42.935 | 1.85 |\n| | 4,096 | 272.416 | 593.166 | 2.18 | 38.729 | 118.548 | 3.06 |\n\nAs shown in the table, **FlashBoB is faster and uses less memory across all five models**. At the largest sequence length completed by both methods for each model, FlashBoB achieves 1.56--3.78x speedup and 2.15--8.92x peak-memory reduction.\n\nIn separate power-of-two capacity sweeps, **FlashBoB** reaches maximum successful sequence lengths $4\\times$ larger than math attention for Llama 3.2 1B and Qwen2.5-1.5B, and $8\\times$ larger for both SmolLM2 models and Granite. SmolLM2 measurements beyond its released $8{,}192$-token context use RoPE extrapolation and support only the hardware-capacity claim. On Granite, **FlashBoB** is $2.18\\times$ faster and provides a $3.06\\times$ peak-memory advantage at $N=4{,}096$, showing that the gains also extend to the tested MoE workload.\n\n**Matched MQA comparison.** Because FlashBack supports native MQA, we also compare the two methods directly in this shared setting. At the saved-state second-order attention boundary, using batch size 1, $H_Q/H_{KV}=8/1$, matched BF16 inputs and returned tensors, and the same B300, **FlashBoB** is $3.96\\times$--$5.04\\times$ faster at $d=64$ and $5.87\\times$--$8.90\\times$ faster at $d=128$ across $N=2{,}048$--$131{,}072$. This comparison isolates the second-order attention operators and excludes model and optimizer work."+ },+ "createdAt": "2026-08-01T20:13:35.806Z",+ "modifiedAt": "2026-11-19T16:51:47.421Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=fIpvnefXHm",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/g4biu4xjin.json modified
+++ b/reviews/openreview/jdthy0c03x/notes/g4biu4xjin.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair SB5J","content": {- "metareview": "This paper proposes FlashBoB, a memory-efficient method for computing gradients over attention for long sequences. The authors leverage a clever affine structure to reduce a four-pass algorithm to a two-pass algorithm while preserving correctness. The reviewers find the evaluation strong, though some reviewers ask for broader experiments on more workloads and better disentanglement of the algorithm from framework-level changes. Such experiments would make the paper stronger."+ "metareview": "This paper proposes FlashBoB, a memory-efficient method for computing gradients over attention for long sequences. The authors leverage a clever affine structure to reduce a four-pass algorithm to a two-pass algorithm while preserving correctness. The reviewers find the evaluation strong, though some reviewers ask for broader experiments on more workloads and better disentanglement of the algorithm from framework-level changes. Such experiments would make the paper stronger.",+ "final_justification": "The reviewers opinions of the paper remain strong after the rebuttal process."},"createdAt": "2026-07-23T16:09:56.983Z",- "modifiedAt": "2026-11-18T15:21:29.868Z",+ "modifiedAt": "2026-11-19T05:00:54.531Z","url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=g4bIU4XjIn","license": "CC-BY-4.0"}
reviews/openreview/jdthy0c03x/notes/gyxezvuclw.json added
+++ b/reviews/openreview/jdthy0c03x/notes/gyxezvuclw.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "gYxEZVUClW",+ "replyTo": "KSYOsjP9Nm",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thank You for Your Follow-Up",+ "comment": "We thank you again for your willingness to revise your score and for the constructive discussion, which has significantly improved the scope and practical clarity of our paper. If you remain comfortable with your revised assessment, we would be very grateful if you could update the numerical score before the author-reviewer-AC discussion period closes on August 3, 2026 (AOE)."+ },+ "createdAt": "2026-08-03T22:41:10.463Z",+ "modifiedAt": "2026-11-19T16:51:47.266Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=gYxEZVUClW",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/hqmwhvilr8.json added
+++ b/reviews/openreview/jdthy0c03x/notes/hqmwhvilr8.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "HqMWHVIlR8",+ "replyTo": "1aTzzPfIgK",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thank You",+ "comment": "A heartfelt thank you for your thoughtful follow-up comment, along with your careful and methodical evaluation of our work. We are glad that our discussions and additional experiments were able to address your concerns. Your comment was immensely helpful in improving our paper!"+ },+ "createdAt": "2026-08-03T21:58:23.006Z",+ "modifiedAt": "2026-11-19T16:51:47.163Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=HqMWHVIlR8",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/ifusd9fi6g.json added
+++ b/reviews/openreview/jdthy0c03x/notes/ifusd9fi6g.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "iFUsD9FI6g",+ "replyTo": "DDDIIX9Dd0",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thank you for your review",+ "comment": "Thank you very much for your thoughtful follow-up comment and your careful evaluation of our work. We are glad that the additional experiment and discussion addressed your concerns. We will incorporate the additional results and clarifications into the revised version. Thank you for helping us improve the paper!"+ },+ "createdAt": "2026-08-03T09:08:36.803Z",+ "modifiedAt": "2026-11-19T16:51:47.534Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=iFUsD9FI6g",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/ksyosjp9nm.json added
+++ b/reviews/openreview/jdthy0c03x/notes/ksyosjp9nm.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "KSYOsjP9Nm",+ "replyTo": "2bx7nNenp7",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Thank you for your feedback",+ "comment": "Dear Reviewer chBb,\n\n\nThank you very much for your thoughtful follow-up comment and careful evaluation of our work. We are happy that the additional experiments and discussion addressed your primary concerns, and we sincerely appreciate your willingness to reconsider your evaluation.\n\nAs promised, in the revision we will incorporate the complete head-dimension-128 evaluation, including the matched FlashBack comparison, report the practical kernel configurations (including block sizes and Tensor Core compatibility), and expand the discussion on the applicability and limitations of FlashBoB together with the additional evaluation on broader model families.\n\nThank you again for your constructive feedback, which has significantly improved the practical clarity and scope of our paper."+ },+ "createdAt": "2026-08-03T13:02:27.518Z",+ "modifiedAt": "2026-11-19T16:51:47.224Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=KSYOsjP9Nm",+ "license": "CC-BY-4.0"+}
reviews/openreview/jdthy0c03x/notes/wutjviikqw.json added
+++ b/reviews/openreview/jdthy0c03x/notes/wutjviikqw.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "WUtjviIKQW",+ "replyTo": "2bx7nNenp7",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer chBb",+ "content": {+ "comment": "Thank you authors for the detailed response to my questions and concerns \n\nMy primary concern was the paper adding sufficient information for practitioners to understand how to apply the method in useful models, or at least understand the extent of limitations. \nGiven that the authors have not only expanded on the limitations of the method and kernels at head-dim 128, but also further shown the method to be an improvement even in other models with a good coverage, I would be happy to increase my score up to a 5 - on the understanding that the authors make the promised changes to a revision."+ },+ "createdAt": "2026-08-03T10:01:31.989Z",+ "modifiedAt": "2026-11-19T16:51:47.472Z",+ "url": "https://openreview.net/forum?id=jDTHY0c03X¬eId=WUtjviIKQW",+ "license": "CC-BY-4.0"+}