FlashMask-3: Efficient and Expressive Mask-Aware Distributed Attention
Import NeurIPS 2026 submission yNPYdsVguR: 5 notes
@openreview[bot] · 2026-11-22 18:00 UTC · 2645d1170171 ·
reviews/openreview/ynpydsvgur/forms.json added
+++ b/reviews/openreview/ynpydsvgur/forms.json@@ -0,0 +1,227 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ },+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "quality",+ "clarity",+ "significance",+ "originality"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 6+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 5+ },+ {+ "key": "quality",+ "label": "Quality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "clarity",+ "label": "Clarity",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "significance",+ "label": "Significance",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "originality",+ "label": "Originality",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "contribution_type",+ "label": "Contribution type",+ "type": "choice"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "strengths_and_weaknesses",+ "label": "Strengths and weaknesses",+ "type": "text"+ },+ {+ "key": "questions",+ "label": "Questions",+ "type": "text"+ },+ {+ "key": "limitations",+ "label": "Limitations",+ "type": "text"+ },+ {+ "key": "final_justification",+ "label": "Final justification",+ "type": "text"+ },+ {+ "key": "paper_formatting_concerns",+ "label": "Formatting concerns",+ "type": "text"+ },+ {+ "key": "ethical_concerns",+ "label": "Ethical concerns",+ "type": "choice"+ },+ {+ "key": "code_of_conduct_acknowledgement",+ "label": "Code of conduct",+ "hidden": true+ },+ {+ "key": "responsible_reviewing_acknowledgement",+ "label": "Responsible reviewing",+ "hidden": true+ }+ ]+ },+ "Rebuttal": {+ "label": "Rebuttal",+ "fields": [+ {+ "key": "rebuttal",+ "label": "Rebuttal",+ "type": "text"+ }+ ]+ },+ "Ethics_Review": {+ "label": "Ethics review",+ "fields": [+ {+ "key": "scope_of_ethics_concerns",+ "label": "Scope",+ "type": "choice"+ },+ {+ "key": "ethics_review",+ "label": "Ethics review",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/ynpydsvgur/notes/eoyxxhdmmw.json added
+++ b/reviews/openreview/ynpydsvgur/notes/eoyxxhdmmw.json@@ -0,0 +1,31 @@+{+ "schema": "review/1",+ "id": "eoYXXhDmmW",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer FM36",+ "content": {+ "summary": "for 8x8 attention mask matrix\n 0 1 2 3 4 5 6 7\nquery q=0 . . . . X . . .\nquery q=1 . . . . X . . .\nquery q=2 . . . . . . . .\nquery q=3 . . . . . . . .\nquery q=4 . . . . D . . .\nquery q=5 . . . . X . . .\nquery q=6 . . . . X . . .\nquery q=7 . . . . X . . .\n\nPrior FlashMask stores those masked query rows using two intervals:\n* upper masked interval: [UTS[4], UTE[4]) = [0, 2)\n* lower masked interval: [LTS[4], LTE[4]) = [5, 8)\n\nThis FlashMask-3 paper observes that these boundary values are query-axis coordinates, so under context parallelism each rank can convert global boundaries into local boundaries with clip -> shift -> max, without communicating with other ranks. \n\nIt implemented mask-aware attention using Hopper TMA/WGMMA, covering warp specialization, tile skipping and scheduling, load balancing",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strengths\n* the idea is effective and simple: convert global boundaries into local boundaries with clip -> shift -> max, avoiding cross-rank communication\n* coherent system design from prior FlashMask to this new FlashMast-3, with specialization on Hopper GPUs\n* conducted valuable ablation studies on persistent scheduling, load balancing, and communication overlap\n\nWeakness\n* the specific implementation is very narrowed to column-wise sparse boundary format. General masks would need other implementation\n* lacks FlashAttention-3 baseline for masks FA3 already supports\n* \"our code will be open-sourced\" - I did not see an URL, anonymized repository, artifact link",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "* would it possible to do a direct comparison against FA3 on the subset of masks it supports, such as full, causal, and varlen/document masks?\n* I see claim that \"our experimental results have reported the standard error\", but the experiment seems to be reporting mean value only? Can you add them and explain how they are computed\n* can you provide a more detailed ablation that separates gains from the Hopper/FA3-style kernel port from FlashMask-3-specific contributions",+ "limitations": "* talk about tensor-shape sensitivity, including larger batch sizes, head dimensions, MHA vs. GQA, and different hq/hkv ratios\n* be accurate about reproducibility limitations, since code is promised but not available yet",+ "rating": 5,+ "confidence": 3,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "address unresolved figure number \"Figure ?? compares FlashMask-3 (Balance+Overlap) against MagiAttention\"\npage 23 figure font are too small to read - not printing friendly",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes"+ },+ "createdAt": "2026-06-25T09:09:04.208Z",+ "modifiedAt": "2026-11-18T13:42:31.875Z",+ "url": "https://openreview.net/forum?id=yNPYdsVguR¬eId=eoYXXhDmmW",+ "license": "CC-BY-4.0"+}
reviews/openreview/ynpydsvgur/notes/jxcqd8p5xr.json added
+++ b/reviews/openreview/ynpydsvgur/notes/jxcqd8p5xr.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "jxCqd8p5xr",+ "replyTo": null,+ "kind": "meta_review",+ "invitation": "Meta_Review",+ "signature": "Area Chair U1Vd",+ "content": {+ "metareview": "I have read the authors' responses, which addressed all five priorities from the initial meta-review with new experiments: (1) end-to-end 128-GPU pretraining evidence (tokens/s/GPU with component ablations showing the necessity of hierarchical communication at cross-node scale); (2) a direct FlashAttention-3 head-to-head on the masks FA3 supports, plus a three-way ablation separating the Hopper-port gains from the FlashMask-3-specific KV Index Generator; (3) a characterization of communication pruning under packed batches - including the authors' correction of a reporting error (the CP experiments used weak scaling with global batch B=32/P, not B=1); (4) reconciled speedup reporting (the appendix numbers came from an early measurement run and are corrected); and (5) quantified scheduler/preprocessing overhead, prefetched off the critical path at 0.60-0.75% of a step. Reviewer_PNaG's final justification raises their score to 5 on this basis; Reviewer_FM36 rates 5; Reviewer_wuBV (4) did not return in discussion, but each of their questions received a substantive answer. Final ratings are 4/5/5.\n\nThe recommendation is Accept. The camera-ready must include: (a) the citation corrections flagged by the conference's reference check - the Child et al. sparse-transformers reference is an arXiv preprint (1904.10509), not an ICLR paper, and the USP (Fang et al.) reference lists numerous co-authors who are not authors of that paper and must be corrected; (b) the promised standard deviations, the resolved \"Figure ??\" reference, and the artifact/code link; and (c) the B>1/weak-scaling erratum and corrected appendix numbers."+ },+ "createdAt": "2026-07-21T07:52:05.314Z",+ "modifiedAt": "2026-11-18T15:23:37.406Z",+ "url": "https://openreview.net/forum?id=yNPYdsVguR¬eId=jxCqd8p5xr",+ "license": "CC-BY-4.0"+}
reviews/openreview/ynpydsvgur/notes/mpteybf4lg.json added
+++ b/reviews/openreview/ynpydsvgur/notes/mpteybf4lg.json@@ -0,0 +1,19 @@+{+ "schema": "review/1",+ "id": "mPTEybF4lg",+ "replyTo": null,+ "kind": "decision",+ "invitation": "Decision",+ "signature": "Program Chairs",+ "content": {+ "title": "Paper Decision",+ "decision": "Accept (poster)",+ "comment": "",+ "metareview": "I have read the authors' responses, which addressed all five priorities from the initial meta-review with new experiments: (1) end-to-end 128-GPU pretraining evidence (tokens/s/GPU with component ablations showing the necessity of hierarchical communication at cross-node scale); (2) a direct FlashAttention-3 head-to-head on the masks FA3 supports, plus a three-way ablation separating the Hopper-port gains from the FlashMask-3-specific KV Index Generator; (3) a characterization of communication pruning under packed batches - including the authors' correction of a reporting error (the CP experiments used weak scaling with global batch B=32/P, not B=1); (4) reconciled speedup reporting (the appendix numbers came from an early measurement run and are corrected); and (5) quantified scheduler/preprocessing overhead, prefetched off the critical path at 0.60-0.75% of a step. Reviewer_PNaG's final justification raises their score to 5 on this basis; Reviewer_FM36 rates 5; Reviewer_wuBV (4) did not return in discussion, but each of their questions received a substantive answer. Final ratings are 4/5/5.\n\nThe recommendation is Accept. The camera-ready must include: (a) the citation corrections flagged by the conference's reference check - the Child et al. sparse-transformers reference is an arXiv preprint (1904.10509), not an ICLR paper, and the USP (Fang et al.) reference lists numerous co-authors who are not authors of that paper and must be corrected; (b) the promised standard deviations, the resolved \"Figure ??\" reference, and the artifact/code link; and (c) the B>1/weak-scaling erratum and corrected appendix numbers.",+ "final_justification": "Final ratings 4/5/5; the rebuttal delivered new experiments on every prioritized item, and Reviewer_PNaG raised their score to 5 on that basis. Accept, with required citation corrections in the camera-ready."+ },+ "createdAt": "2026-09-24T11:24:24.525Z",+ "modifiedAt": "2026-11-18T14:57:27.129Z",+ "url": "https://openreview.net/forum?id=yNPYdsVguR¬eId=mPTEybF4lg",+ "license": "CC-BY-4.0"+}
reviews/openreview/ynpydsvgur/notes/vi7x2vgt6d.json added
+++ b/reviews/openreview/ynpydsvgur/notes/vi7x2vgt6d.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "vi7x2VGT6d",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer PNaG",+ "content": {+ "summary": "This paper presents FlashMask-3, a mask-aware exact attention system for structured long-context masks on Hopper GPUs and distributed context parallelism. It keeps FlashMask's O(n) column-wise sparse mask representation, adds a FlashAttention-3-style Hopper kernel, and extends it to distributed CP via zero-communication mask localization, HCC-IPO load balancing, and NVSHMEM-based communication overlap/pruning. The evaluation reports strong single-GPU attention throughput and distributed CP-attention speedups over FlashMask, FlexAttention, MagiAttention, and Megatron CP baselines.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "**Strengths**\n- **Clean, proven distributed mask transform.** The key-indexed/query-boundary mask structure enables an elementwise clip-shift-max transform that derives rank-local masks with no cross-rank communication while preserving the single-GPU kernel interface. Theorem 1 proves equivalence to the global mask.\n- **Principled load balancer.** HCC-IPO targets the min-max CP compute objective, uses exact 2/3-way sub-solvers, provides a lower-bound optimality certificate, and is deterministic so ranks can derive the same assignment without extra communication. Its overhead remains an open systems question, but the formulation is strong.\n- **Strong attention-level evaluation and ablations.** The experiments cover many structured masks, long sequence lengths, CP degrees up to 32, multiple baselines, and ablations for tile scheduling, load balancing, and communication overlap.\n- **Well-integrated systems design.** The paper connects mask representation, Hopper TMA/WGMMA kernel design, persistent tile scheduling, CP load balancing, and NVSHMEM communication overlap/pruning into a coherent attention system for packed long-context workloads.\n\n**Weakness**\n- **Scheduler overhead is not isolated.** In packed training, mask geometry can change every microbatch, so `w_i` preprocessing and scheduling may run at per-batch frequency. This can matter for smaller or highly sparse cases: with `S=8K`, `SWA=256`, useful attention is roughly `S * window`, while a full scan with 128-token Q/K blocks still touches `(8192/128)^2 = 4096` tiles. Appendix A notes that smaller contexts may not amortize scheduler overhead, but the paper does not report standalone preprocessing+scheduling latency, overlap/prefetch behavior, or deterministic per-rank recomputation cost.\n- **Unclear communication pruning at `B>1`.** The per-batch HCC-IPO assignment is sound for compute because `w_i` aggregates over batch and heads. Communication pruning is stricter: a K/V chunk is skipped only if fully masked for the rank's whole batched attention work. With heterogeneous packed samples, the needed K/V union can grow with batch size, reducing pruning and communication benefit. The CP experiments use `B=1`.\n- **Overlap robustness under sparse/small workloads is unclear.** The overlap design needs enough attention compute to hide AG/RS, but sparse masks and smaller contexts reduce that compute. The implementation also relies on careful kernel ordering to avoid deadlock, using a sentinel mechanism while setting `sm_margin=0` in experiments. Robustness across sparsity levels, context sizes, and GPU scheduling behavior is not fully characterized.\n- **Distributed speedup reporting appears inconsistent.** The abstract and §4.2 report 1.09-1.47x over MagiAttention, 1.73-2.93x over Megatron all-gather, and 1.82-3.72x over Megatron ring. Appendix Table 5 reports larger maxima and different geomeans, e.g. 1.06-4.09x and 1.99x geomean over MagiAttention. The included configurations need clarification.\n- **Megatron speedups need context.** Megatron CP is a useful systems baseline, but its chunking assumptions are known to break under expressive document/prefix masks, as the paper discusses and visualizes. MagiAttention is the cleaner comparison for mask-aware distributed attention; large Megatron speedups should be interpreted with this caveat.",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "- What is the standalone latency of `w_i` preprocessing plus HCC-IPO scheduling, and is this work overlapped/prefetched or on the critical path?\n- In mixed global/local/SWA layer stacks, is the HCC-IPO assignment cached per distinct mask pattern and reused across layers, or recomputed for each attention call?\n- Does HCC-IPO replace the backend's default context-parallel chunk layout, or can it compose with simpler layouts when they are already effective?\n- How does mask-driven communication pruning change with batch size and heterogeneous packing, particularly skipped K/V chunk fraction and throughput for `B>1`?\n- Can the authors break down communication-overlap gains by component: mask pruning, hierarchical routing, and NVSHMEM overlap?",+ "limitations": "- **Batch-size effects on communication pruning are not evaluated.** The distributed CP experiments use `B=1`, leaving unclear how much mask-driven AG/RS pruning remains for heterogeneous packed batches.",+ "rating": 5,+ "confidence": 3,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "No.",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "I would like to raise my score from weak accept to accept. The rebuttal addressed my main concerns: end-to-end 128-GPU results, quantified scheduler/preprocessing overhead and showed it is prefetched/cached, characterized communication pruning for `B>1`, reconciled the speedup reporting, and provided a direct FA3 comparison. Even though static aggregate assignment for mixed mask stacks limitation exists, the new evidence provided by the authors strengthens the paper and supports a positive recommendation."+ },+ "createdAt": "2026-06-26T08:50:24.619Z",+ "modifiedAt": "2026-11-18T13:42:30.592Z",+ "url": "https://openreview.net/forum?id=yNPYdsVguR¬eId=vi7x2VGT6d",+ "license": "CC-BY-4.0"+}
reviews/openreview/ynpydsvgur/notes/vyweprhiws.json added
+++ b/reviews/openreview/ynpydsvgur/notes/vyweprhiws.json@@ -0,0 +1,31 @@+{+ "schema": "review/1",+ "id": "VYwePRHIWS",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer wuBV",+ "content": {+ "summary": "This work addresses the central challenge of efficiently supporting expressive structured attention masks during long-context distributed transformer training.\nThe paper introduces FlashMask-3, a distributed attention framework built on FlashAttention-3 that extends the original FlashMask representation to Hopper GPUs and context-parallel training. Its main technical contributions include: (1) a Hopper-optimized, mask-aware attention kernel based on a three-role, warp-specialized pipeline; (2) a zero-communication distributed mask localization algorithm using a clip-shift-max transformation; (3) a hierarchical sparsity-aware load-balancing scheduler (HCC-IPO); and (4) a mask-aware communication overlap mechanism that combines communication pruning with hierarchical all-gather.\nThe authors evaluate the proposed method on H100 GPUs using twelve structured attention mask patterns, comparing it against FlashMask, FlexAttention, MagiAttention, and Megatron-Core context parallelism. The reported results demonstrate substantial improvements in both single-GPU throughput and distributed scaling performance.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strengths: \n- Unlike many prior works that optimize either FlashAttention kernels or communication in isolation, this work jointly optimizes kernel execution, distributed mask handling, load balancing, and communication overlap. The overall system design is coherent and well integrated.\n- The integration of TMA, WGMMA, warp specialization, and persistent scheduling is technically sophisticated and demonstrates a strong understanding of Hopper GPU architecture.\n- The reported performance gains are substantial, including up to 141% improvement over FlashMask, up to 71% over FlexAttention, and consistent distributed performance improvements over Megatron-Core and MagiAttention. If these results are reproducible, they represent meaningful practical advances.\n\nWeaknesses: \n- Many of the proposed contributions are engineering integrations rather than fundamentally new algorithms. While the zero-communication mask localization theorem appears to be a novel contribution, the remainder of the system primarily consists of a careful integration of existing optimization techniques.\n- Several important evaluations are missing, including end-to-end training throughput (e.g., tokens/s), overall training performance, convergence behavior, downstream model quality, and training cost. Demonstrating kernel-level improvements alone is generally insufficient for a systems paper unless they are accompanied by compelling end-to-end results that validate their impact on overall training performance.\n- The paper provides limited theoretical analysis of communication complexity, scheduler optimality, overlap efficiency, scalability, and the approximation quality of HCC-IPO. Moreover, the scheduling algorithm appears to be largely heuristic, with little theoretical justification for its design or performance guarantees.\n- The reported communication reduction relies heavily on structured attention masks that produce fully masked KV chunks. It remains unclear how much of the proposed approach's benefit would carry over to dense attention, randomly sparse attention, learned sparse masks, or adaptive masking methods.",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "- Can the proposed distributed mask localization algorithm be generalized beyond FlashMask's column-wise sparse representation?\n- How does FlashMask-3 affect end-to-end LLM pretraining throughput (e.g., tokens/s), rather than only attention kernel TFLOPS?\n- What fraction of the total training time is spent executing the optimized attention kernels?\n- How does HCC-IPO compare with more advanced graph partitioning or load-balancing algorithms?\n- How sensitive is the performance to the chunk size, segmentation strategy, and communication overlap configuration?",+ "limitations": "Constructive improvements would include a more thorough discussion of the method's dependence on Hopper-specific hardware features, the absence of end-to-end LLM pretraining experiments, its reliance on structured attention masks, scalability beyond 32 GPUs, portability to heterogeneous clusters, applicability to adaptive or learned masking schemes, the heuristic nature of the scheduler, and the GPU memory overhead associated with the additional distributed metadata.",+ "rating": 4,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "Some figures, particularly the overview diagrams, are visually crowded and could be simplified to improve readability.",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes"+ },+ "createdAt": "2026-06-26T11:42:30.222Z",+ "modifiedAt": "2026-11-18T13:42:28.427Z",+ "url": "https://openreview.net/forum?id=yNPYdsVguR¬eId=VYwePRHIWS",+ "license": "CC-BY-4.0"+}
reviews/openreview/ynpydsvgur/submission.json added
+++ b/reviews/openreview/ynpydsvgur/submission.json@@ -0,0 +1,12 @@+{+ "schema": "submission/1",+ "id": "yNPYdsVguR",+ "venue": {+ "id": "NeurIPS.cc/2026/Conference",+ "name": "NeurIPS 2026",+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"+ },+ "number": 23858,+ "url": "https://openreview.net/forum?id=yNPYdsVguR",+ "license": "CC-BY-4.0"+}
versions/v_hcd5m4jz.json added
+++ b/versions/v_hcd5m4jz.json@@ -0,0 +1,22 @@+{+ "date": "2026-05-04",+ "kind": "submitted",+ "label": "NeurIPS 2026",+ "submissions": [+ {+ "venue": "NeurIPS 2026",+ "status": "accepted",+ "decision": "Accept (poster)",+ "number": 23858,+ "url": "https://openreview.net/forum?id=yNPYdsVguR",+ "reviews": "openreview/ynpydsvgur",+ "evidence": [+ "https://openreview.net/forum?id=yNPYdsVguR"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=yNPYdsVguR",+ "evidence": [+ "https://openreview.net/forum?id=yNPYdsVguR"+ ]+}