Import NeurIPS 2026 submission viyAwqIA4H: 10 notes
@openreview[bot] · 2026-11-22 18:00 UTC · 2e82b18cba23
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,25 @@+{+ "layout": 5,+ "identifiers": [+ {+ "scheme": "openreview",+ "value": "viyAwqIA4H"+ }+ ],+ "title": "DualKV: Shared-Prompt Flash Attention for Efficient RL Training with Large Rollouts and Long Contexts",+ "authors": [+ "Jiading Gai",+ "Shuai Zhang",+ "Xiang song",+ "Bernie Wang",+ "George Karypis"+ ],+ "abstract": "Modern RL post-training methods such as GRPO and DAPO train on $N$ response sequences of $R$ tokens sampled from a shared prompt of $P$ tokens, but standard FlashAttention replicates all $P$ prompt tokens $N$ times across both forward and backward passes — duplicating compute and memory on identical hidden states. In large-rollout, long-context RL training ($N{\\geq}16$, $P{\\geq}8\\text{K}$), this redundancy dominates the policy update cost. We observe that in decoder-only models, causal masking makes prompt representations invariant across sequences at every layer, so all per-token operations (norms, projections, MLP) and attention can process the prompt once — a property not yet exploited at the kernel level for RL training. We propose DualKV, the first FlashAttention kernel variant that eliminates shared-prompt replication during RL training, via (1) fused CUDA forward and backward kernels that iterate over two disjoint KV regions — shared context and per-sequence response — in a single kernel launch, and (2) a data-pipeline redesign in veRL that repacks $N(P{+}R)$ tokens into $P{+}NR$ tokens per micro-batch, extending the token reduction from attention to the entire model by a factor $\\rho = N(P{+}R)/(P{+}NR)$. DualKV is mathematically equivalent to standard attention and introduces no approximation. On Qwen3-8B GRPO training with 8$\\times$H100 GPUs ($N{=}32$, 8K-context), DualKV achieves $1.63$–$2.09\\times$ policy-update speedup, enables $2\\times$ larger micro-batches, and raises MFU from $36\\%$ to $76\\%$. Similar gains hold for DAPO ($2.47\\times$ speedup, $77\\%$ MFU). At 30B MoE scale on 16$\\times$H100, DualKV achieves $3.82\\times$ policy-update and $3.38\\times$ end-to-end step speedup over FlashAttention (which requires 4-way Ulysses sequence parallelism to avoid OOM). DualKV also extends to hybrid sliding/global attention with head dimension 512 (which FA2 does not support) and integrates with Ulysses sequence parallelism, demonstrated on Gemma-4-31B GRPO at 64K context.",+ "year": 2026,+ "venue": "NeurIPS 2026",+ "source": "openreview",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
reviews/openreview/viyawqia4h/forms.json added
+++ b/reviews/openreview/viyawqia4h/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/viyawqia4h/notes/6asccwuery.json added
+++ b/reviews/openreview/viyawqia4h/notes/6asccwuery.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "6Asccwuery",+ "replyTo": null,+ "kind": "meta_review",+ "invitation": "Meta_Review",+ "signature": "Area Chair 9jAK",+ "content": {+ "metareview": "DualKV proposes a new kernel designed to improve latency and memory efficiency when computing attention during RL rollouts with multiple responses sharing the same prompt. It does but addressing the inherent property of the prompt being the same and builds on top of the existing FlashAttention implementation to deliver practical solution.\n\nThe reviewers unanimously voice their support for the paper, praising it for clear problem statement, solid execution (both on the implementation side, as well as experimental rigour). Some minor complains relate to the fact the paper does not provide novel insights (reviewer dnLK), applicability being limited to short prompts (reviewers SFtP and TFxj), and similar downsides. However, all of these appear to be more of natural limitations arising from the problem statement and the scope of the paper, and do not seem to undermine the contributions proposed in the paper in their intended context. In that regard, the reviewers are mostly in agreement that the contributions of the paper are practical and timely. Notably, reviewers dnLK and SftP mention clear and strong performance gains, while reviewers TFxj and VC2r mention relevance for methods such as GRPO/DAPO and the fact the method is readily available to be used via veRL (reviewer TFxj).\n\nGiven all the above, I think the submitted paper has clear potential to have real impact and thus lean towards acceptance, as it stands now. I would still want the authors to comment on the questions raised but the reviewers, though."+ },+ "createdAt": "2026-07-27T05:11:23.022Z",+ "modifiedAt": "2026-11-18T15:20:54.315Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=6Asccwuery",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/8sxmtjch4o.json added
+++ b/reviews/openreview/viyawqia4h/notes/8sxmtjch4o.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "8SXMtjCH4O",+ "replyTo": "9pH5cK90kb",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thank you for the thoughtful review and for recognizing the paper's\nexperimental rigor, practical veRL integration, and race-free FP32 gradient\ndesign. Your questions about portability, model diversity, and short-prompt\nworkloads identify important scope boundaries that we should make clearer.\n\n### W1. Implementation overhead and portability\n\n**Response.** Since submission, we implemented and validated the kernel-level\nDualKV-FA3 forward/backward path on H100. We reran the Table 1 workloads using\nFA2, DualKV-FA2, FA3, and DualKV-FA3; all entries below are combined\nforward/backward latency in milliseconds:\n\n| $N$ | $P$ | FA2 | DualKV-FA2 | FA3 | DualKV-FA3 |\n|---|---|---|---|---|---|\n| 28 | 4,096 | 98.45 | 59.23 | 55.60 | **45.83** |\n| 28 | 16,384 | 819.40 | 214.30 | 447.80 | **128.35** |\n| 16 | 32,768 | 1,643.18 | 311.00 | 891.48 | **168.30** |\n| 28 | 32,768 | 2,873.18 | 470.38 | 1,558.78 | **259.70** |\n| 16 | 65,536 | OOM | 806.50 | 3,304.50 | **422.85** |\n\nThese are four-run means on one H100 SXM 80GB using FP16 and $R=2{,}048$.\nDualKV-FA3 achieves a $1.21\\times$--$7.82\\times$ combined forward/backward\nspeedup and reduces peak memory by $36\\%$--$81\\%$ relative to FA3.\n\nThe port required backend-specific kernel work, but not a redesign of DualKV's\nexecution abstraction. FA3's TMA $dK/dV$ epilogue cannot safely write\nconcurrent response contributions into aliased context-gradient storage, so\neach response accumulates into a private FP32 slice; a dedicated FP32 kernel\nthen reduces these slices before one output-dtype conversion. The two-region\ninterface, logical masking, compact $P+\\sum_iR_i$ representation, exact\nshared-prompt gradient semantics, and surrounding model/veRL integration\nremain unchanged. Thus, support for a new attention backend is not zero\nengineering, but the backend-specific work is localized to the attention\nkernel. We will document the backend-independent invariants and integration\npoints in the revision.\n\n### W2. Model and attention-pattern diversity\n\n**Response.** After submission, we extended DualKV to Gemma-4-31B's hybrid\n60-layer architecture and implemented three concrete capabilities:\n\n- **Global attention at $d=512$:** new forward/backward kernel variants for\n Gemma-4's 10 global-attention layers.\n- **Kernel-native sliding-window attention at $d=256$:** causal windowing over\n the two-region layout for its 50 local-attention layers.\n- **Ulysses sequence-parallel composition:** repacking before sequence slicing,\n standard all-to-alls around the per-head DualKV kernel, and exact\n reconstruction of shared last-prompt states for first-response-token logits.\n\nAfter verifying numerical correctness, we validated these extensions together\nin end-to-end GRPO on Gemma-4-31B ($N=16$, LongReason with thinking enabled,\nthree epochs) on one $8\\times$H200 node:\n\n| Context | SP | Peak memory (GB) | `old_log_prob` (s) | `ref_log_prob` (s) | Policy update (s) |\n|---|---|---|---|---|---|\n| 16K | 1 | 96.8 | 140 | 140 | 549 |\n| 16K | 4 | 77.0 | 157 | 178 | 638 |\n| 32K | 4 | 79.8 | 315 | 319 | 1,242 |\n| 64K | 8 | 78.9 | 782 | 791 | 3,073 |\n\nWall-clock values are per-step means. The two 16K runs differ only in SP and\nare directly comparable; the 32K and 64K rows demonstrate scaling to longer\ncontexts. At 64K with SP=8, peak memory remains 78.9 GB. Together, these\nresults demonstrate that DualKV's core design extends beyond Qwen3 GQA to\nmodern hybrid global/sliding-window architectures and sequence-parallel\ntraining.\n\n### W3. Short prompts with long decoding horizons\n\n**Response.** Thank you for highlighting this workload regime. DualKV applies\nwhenever post-training processes multiple responses from the same prompt,\nwhile $P/R$ and $N$ predict the magnitude of its savings. Because GSM8K alone\ndoes not characterize current short-prompt/long-decoding workloads, we measured\nactual stored responses from reasoning, code, and agentic datasets using the\nQwen3-8B tokenizer and chat template:\n\n| Workload | $P$, P50/P90 | $R$, P50/P90 | Scenario $\\rho_{N=8}$, P50 |\n|---|---|---|---|\n| OpenThoughts-114K teacher traces | 354/652 | 5,400/14,755 | $1.06\\times$ |\n| OpenR1-Math-220K verified traces | 87/160 | 4,652/11,157 | $1.02\\times$ |\n| SWE-Gym OpenHands trajectories | 1,777/2,756 | 11,107/38,239 | $1.16\\times$ |\n| Open-R1 Verifiable Coding Problems — tested Python solutions | 527/840 | 161/500 | $3.02\\times$ |\n\nHere, $\\rho=N(P+R)/(P+NR)$ measures physical token-volume reduction, and\n$N=8$ is a separately labeled grouped-RL scenario rather than the datasets'\nnative multiplicity. We generated no responses and imputed no response\nlengths. The first three response-dominated workloads yield\n$1.02$--$1.16\\times$ median token-volume reduction, whereas the tested-code\nworkload yields $3.02\\times$. These results quantify the response-dominated\nboundary highlighted by the reviewer while also showing that absolute prompt\nlength alone is insufficient: $P/R$ and rollout multiplicity govern the\navailable savings. We will add these distributions and make this boundary\nexplicit in the revision.\n\n### Q1. Why does Table 1 use FP16 rather than BF16?\n\n**Response.** Thank you for asking about this choice. We intentionally used\nFP16 for Table 1's isolated forward/backward kernel sweep across $N$ and\n$P$, and BF16 for the end-to-end GRPO/DAPO training experiments, so that the\nevaluation covers both supported half-precision formats. DualKV-FA2 provides\ndedicated FP16 and BF16 forward/backward kernel instantiations for the\nsupported head dimension. We will clarify this choice explicitly in the next\nrevision.\n\n### Q2. Why was Prefix Grouper absent from the A100 Table 1?\n\n**Response.** Thank you for pointing out this distinction. Table 1 deliberately\nisolates one attention-kernel call on A100. Prefix Grouper operates at the\nframework level and invokes standard FA2 after preparing its inputs, whereas\nTable 1 measures individual attention kernels. Before those calls, its prompt\nK/V must be materialized for each response. A kernel-only row would therefore\ntime only the underlying FA2 calls while omitting Prefix Grouper's expansion\nand layout costs.\n\nWe instead compare Prefix Grouper in Table 2 by timing a complete Transformer\ndecoder layer using its released code, including input preparation, attention,\nprojections, normalization, and the MLP. We will clarify this in our next\nrevision."+ },+ "createdAt": "2026-07-27T10:02:02.244Z",+ "modifiedAt": "2026-11-18T17:14:40.536Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=8SXMtjCH4O",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/9ph5ck90kb.json added
+++ b/reviews/openreview/viyawqia4h/notes/9ph5ck90kb.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "9pH5cK90kb",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer TFxj",+ "content": {+ "summary": "The paper proposes DualKV, a method that deduplicates the prompt tokens and related hidden states to reduce the memory and compute cost of RLVR training. The main claim of the paper is that in RLVR settings with long prompts or a large number of rollouts, duplicated prompt tokens and associated hidden states cause excessive memory pressure and computational inefficiency. The paper proposes a kernel-level solution that reduces said memory pressure from $N(P + R)$, where $N$ is the number of rollouts, $P$ is the prompt length, and $R$ is the rollout length, to $P + NR$. The paper measures the speedup of the kernel relative to FlashAttention-2 as well as end-to-end memory and throughput improves of RLVR-based methods like GRPO and DAPO. Across all configurations, these custom kernels improve memory efficiency and throughput without sacrificing the accuracy of the update. Comparisons to prior baselines that also try to deduplicate the prompt tokens, specifically Prefix Grouper, are also favorable and show that in settings where Prefix Grouper OOMs, DualKV still sits comfortably within the device's memory. Scalability results are also shown for MoE training, demonstrating the method generalizes to larger models and multi-node training configurations.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "**Strengths -**\n\n1. **Experimental Rigor -** The effect of the kernels is tested first in isolation relative to FlashAttention-2 and Prefix Grouper. The impact on end-to-end training performance/efficiency is additionally measured making the kernel design more compelling. Plenty of ablations relating to model size, prompt length, and correctness are also provided demonstrating the method's robustness. \n2. **Usability -** Integration directly into packages like veRL makes the method directly usable in a contemporary training framework. The method has already been tested with RLVR training methods like GRPO/DAPO using veRL. This is a positive for reproducibility and general usability. \n3. **Method Design -** Elements like atomic writes and fp32 context contributions serve to prevent race conditions and performance degradation from bf16 rounding when using a shared context across all $N$ rollouts.\n\n**Weaknesses -**\n\n1. **Implementation Overhead -** As it stands, the method requires kernel-level optimization and specifically builds on FlashAttention-2 for A100/H100. However, it is unclear whether or not these kernel optimizations are easily ported to other architectures. If similar kernels have to be written for every RLVR deployment configuration, this would add considerable implementation overhead and it is unclear whether or not the exact kernel details would generalize. \n2. **Model Diversity -** The method is tested on the Qwen3 class of models that all use GQAs. With many models adopting other attention variants (sliding attention, hybrid attention, etc.) it is again unclear whether or not these findings generalize to other model classes.\n3. **Short Prompt Regime -** GSM8K experiments show that in the short prompt regime, the improvements persist but are much more marginal. However, this regime still only uses rollouts of $256$ tokens. Many current RLVR training regimes use short prompt, long decoding horizon, such as OpenThoughts training. While GSM8K uses short prompts, it may not be the best representative or capture the effect of the method in the short prompt regime very broadly.",+ "quality": 3,+ "clarity": 2,+ "significance": 3,+ "originality": 3,+ "questions": "1. Line 201 - The line mentions that fp16 is used to measure kernel-level speedup, but much of the rest of the paper uses bf16. Is there a reason this table uses fp16 instead? \n2. Tables 1 and 2 display similar results but change the regime slightly and add Prefix Grouper results. Is there a reason Prefix Grouper wasn't included in the Table 1 A100 results?",+ "limitations": "Yes",+ "rating": 5,+ "confidence": 2,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "N/A",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The authors provide additional valuable experiments in the rebuttal, demonstrating the method's robustness and effectiveness in a variety of settings."+ },+ "createdAt": "2026-07-20T15:31:23.120Z",+ "modifiedAt": "2026-11-18T13:38:45.463Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=9pH5cK90kb",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/fliay3dovw.json added
+++ b/reviews/openreview/viyawqia4h/notes/fliay3dovw.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "fliaY3DOVW",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer SFtP",+ "content": {+ "summary": "This paper presents DualKV, a kernel that builds atop FlashAttention and aims to optimize long-prompt RL training, reducing the latency and memory consumption. DualKV processes the prompt only once via a fused forward/backward kernel that iterates over two disjoint KV regions (shared prompt and per-sequence response). It is mathematically equivalent to vanilla attention and empirically preserves most of the training accuracy curve.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Thank you for submitting your paper to NeurIPS 2026! Overall, I enjoyed reading this paper, and I'm inclined toward accepting the paper. Although the conceptual techniques are not new, and this work serves a somewhat niche workload (i.e., high prompt-to-response ratio in post-training), I think the authors executed it well, and the paper was technical yet easy to understand. If the authors could address my questions, I'd be willing to support this paper more strongly.\n\nStrength\n- Quality: Strong latency and memory saving results\n- Clarity: The main body of the paper was easy to understand, and the appendix contained detailed descriptions\n\nWeaknesses\n- Significance: Performance diminishes if the prompt length is short\n\nComment on the \"originality\" spectrum: Not really a weakness per se, but the core techniques in this work can all be traced to existing literature. Still, I gave a score of 3, because I appreciate the clever combination of existing ideas to solve a new problem.",+ "quality": 3,+ "clarity": 4,+ "significance": 2,+ "originality": 3,+ "questions": "- Questions regarding prompt sequence length. What is the prompt length distribution of popular, real datasets for post-training across domains (e.g., reasoning, agentic, etc.)? I like the token reduction ratio formulation ρ = N(P + R)/(P + NR), and it begs the question of how much utility DualKV will have across different post-training workloads. I have no doubt that it will lead to significant savings in agentic post-training workloads where the prompt includes long trajectories and detailed context (e.g., code snippets). I also appreciate the authors for transparently conducting a short-prompt validation experiment. That said, the main evaluation workload, LongReason, is somewhat of a niche workload. In section E.1, the authors were able to change P=1-3K. My two questions: (1) How did the authors expand the prompt? (2) What is in the prompt aside from a GSM8K question, which is typically under 100 tokens?\n- Questions regarding baselines. In section 4.1 \"Kernel-Level Speedup\", why was FA3 not a baseline? I acknowledge the authors included FA3 in the end-to-end results, but given that the authors run experiments on H100, it seems like a relevant baseline that was omitted. One other minor question -- in a lot of experiments (e.g., Fig. 1&2), FA3 performs worse than FA2, which feels counterintuitive given that FA3 is specifically optimized for the Hopper architecture. Could the authors offer an explanation?\n\nMinor feedback: Fig. 2 appears before Fig. 1.",+ "limitations": "- Performance diminishes if the shareable segment of the prompt is not long\n- I feel like there should be a kernel-level comparison with FA3, the state-of-the-art baseline.\n- The accuracy preservation claim is somewhat shaky. E.g., Table 4 shows a ~3% val-acc gap (0.802 vs 0.774) in the MoE experiment. I get that there's an equivalence theorem -- could this be a result of the actual training run using both BF16 and FP32? I think a slightly more in-depth explanation is warranted here.",+ "rating": 5,+ "confidence": 3,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "N/A",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "I appreciate the authors for extensively answering my questions, and I'm recommending the paper for acceptance."+ },+ "createdAt": "2026-06-25T15:55:30.760Z",+ "modifiedAt": "2026-11-18T13:38:48.170Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=fliaY3DOVW",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/gkszhuol5c.json added
+++ b/reviews/openreview/viyawqia4h/notes/gkszhuol5c.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "gKSzHUoL5c",+ "replyTo": "fliaY3DOVW",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thank you for the thoughtful and constructive review, and for recognizing the\npaper's strong latency and memory savings and technical clarity. We especially\nappreciate your question about prompt-length distributions across real\npost-training workloads; it motivated our six-dataset analysis and helped us\nsubstantially strengthen the paper's characterization of DualKV's practical\nscope.\n\n### W1/Q1. Short-prompt significance and utility across real workloads\n\n**Response.** DualKV is broadly applicable whenever post-training processes\nmultiple responses from the same prompt, while the magnitude of its savings\nvaries predictably with the workload. Appendix C quantifies this opportunity\nthrough the token-reduction ratio $\\rho=N(P+R)/(P+NR)$. For fixed $P/R$,\n$\\rho$ increases with $N$ and approaches $1+P/R$; for fixed $N$, it increases\nwith prompt dominance and approaches $N$. The lower-reduction boundary is also\nexplicit: $\\rho$ approaches $1$ only for response-dominated workloads\n($P/R\\to0$) or when $N=1$, where there is no cross-response redundancy to\neliminate.\n\nTo ground this characterization in real workloads, we analyzed six publicly\navailable datasets representative of reasoning, preference, code, and agentic\nworkloads using Qwen3-8B tokenizer and chat template.\nWe used the complete released splits of GSM8K (7,473 examples) and SWE-Gym\n(6,055 trajectories) and deterministic 10,000-source-row samples from each of\nthe other four datasets.\nEvery $R$ below is an actual stored reference solution, reasoning trace,\npreference completion, tested code solution, or full agent trajectory; we\nperformed no inference and imputed no response lengths.\n\n| Dataset and stored-response type | Median responses/prompt ($N$) | $P$, P50/P90 | $R$, P50/P90 | $\\rho_{N=8}$, P50 | $\\rho_{N=16}$, P50 |\n|---|---|---|---|---|---|\n| GSM8K — reference solutions | 1 | 79/112 | 117/201 | 1.55x | 1.61x |\n| OpenThoughts-114K — teacher traces | 1 | 354/652 | 5,400/14,755 | 1.06x | 1.07x |\n| Open-R1 Verifiable Coding Problems — Python solutions | 1 | 527/840 | 161/500 | 3.02x | 3.53x |\n| OpenR1-Math-220K — verified reasoning traces | 2 | 87/160 | 4,652/11,157 | 1.02x | 1.02x |\n| UltraFeedback Binarized — chosen/rejected pairs | 2 | 85/421 | 199/598 | 1.34x | 1.37x |\n| SWE-Gym OpenHands — agent trajectories | 2 | 1,777/2,756 | 11,107/38,239 | 1.16x | 1.17x |\n\nHere, $N$ is the median number of stored responses sharing the same tokenized\nprompt; the $\\rho_{N=8}$ and $\\rho_{N=16}$ columns evaluate grouped-RL\nscenarios rather than native dataset multiplicities. Across the six datasets,\nmedian token-volume reduction spans 1.02--3.53x. The contrast between\nlong-response reasoning/agent workloads (1.02--1.17x) and the shorter-response\ncode workload (3.02--3.53x) shows that absolute prompt length alone is\ninsufficient: $P/R$ and $N$ govern the magnitude of savings. DualKV therefore\napplies broadly to same-prompt, multi-response workloads, with larger savings\nas prompt dominance or rollout multiplicity grows. In the next revision, we\nwill add this table and the corresponding length distributions and clarify\nthat $\\rho$ measures physical token-volume reduction rather than guaranteed\nwall-clock speedup.\n\n### W2. Combination of existing techniques\n\n**Response.** Thank you for recognizing the value of this combination. We\nagree that the high-level ingredients have precedents. DualKV's distinct\ncontribution is the two-region training dataflow and specialized\nforward/backward kernels that preserve a single physical prompt end to end in\nthe compact $P+\\sum_i R_i$ layout. Its response-parallel backward performs\nrace-free FP32 accumulation of concurrent response contributions into shared\n$dK_c,dV_c$ scratch buffers, followed by one output-dtype conversion. Because\nthis compact representation persists throughout the entire model,\nboth attention and non-attention operations process the shared prompt once rather than $N$\ntimes. We will clarify this positioning and expand the related-work\ndiscussion in the next revision.\n\nAs additional evidence of our design's generality, we implemented DualKV forward/backward support for\nGemma-4's hybrid global/sliding-window attention and composed it with Ulysses\nsequence parallelism, enabling end-to-end GRPO on Gemma-4-31B through 64K\ncontext at SP=8 on one $8\\times$H200 node.\n\n### Q2-Q3. How was GSM8K expanded, and what content was added?\n\n**Response.** Thank you for raising this; our description was too terse. The\nreported 1K–3K-token inputs are controlled prompt-length variants, not\nnaturally long GSM8K questions. For each target, we retained the original\nquestion and prepended distinct, solved GSM8K examples until the tokenized\nprompt reached the requested length. To prevent leakage, we excluded\ncandidates matching either the target task ID or its normalized question. The\nresulting prompt was shared by all $N=8$ responses, and FA2 and DualKV received\nidentical inputs. In the next revision, we will clearly distinguish the\noriginal question from the added few-shot context.\n\n### Q4. Why was FA3 omitted from the Section 4.1 baseline?\n\n**Response.** Thank you for highlighting this omission. The original Table 1\nwas measured on A100, which does not support FA3; therefore, standard FA3\ncould not be included in that panel. During the rebuttal period, we implemented\nand validated the kernel-level DualKV-FA3 forward/backward path required for\nmodel training. We then reran the Table 1 workloads on one H100 SXM 80GB using\nFA2, DualKV-FA2, FA3, and DualKV-FA3. For focus, the table below reports the\ncomplete four-kernel comparison. All entries are combined forward/backward\nlatency in milliseconds (lower is better):\n\n| $N$ | $P$ | FA2 | DualKV-FA2 | FA3 | DualKV-FA3 |\n|---|---|---|---|---|---|\n| 28 | 4,096 | 98.45 | 59.23 | 55.60 | **45.83** |\n| 28 | 16,384 | 819.40 | 214.30 | 447.80 | **128.35** |\n| 16 | 32,768 | 1,643.18 | 311.00 | 891.48 | **168.30** |\n| 28 | 32,768 | 2,873.18 | 470.38 | 1,558.78 | **259.70** |\n| 16 | 65,536 | OOM | 806.50 | 3,304.50 | **422.85** |\n\nEach entry is the mean of four complete benchmark repetitions using FP16,\n$R=2{,}048$, and the Qwen3-8B GQA topology. Where both fit, standard FA3 is\n1.77–1.84× faster than FA2; DualKV-FA3 is 1.21–7.82× faster than FA3 and\nreduces peak memory by 36–81%. In the next revision, we will include the\ncomplete H100 latency-and-memory panel and clearly identify the original Table\n1 results as A100 measurements.\n\n### Q5. Why does FA3 appear slower than FA2 end-to-end?\n\n**Response.** Thank you for flagging this counterintuitive result. The FA3\nslowdown is not systematic. In the GRPO phase breakdown (Figure 1), FA3 is\nfaster than FA2 in both forward-only phases: 124 versus 131 seconds for\n`old_log_prob` and 123 versus 129 seconds for `ref_log_prob`. It is slower in\nthe policy update, which includes backpropagation (569 versus 518 seconds),\nyielding total step times of 1,067 versus 1,017 seconds (Table 3). In DAPO,\nFA3 is faster in both the policy update (543 versus 597 seconds) and the\noverall step (919 versus 987 seconds), as shown in Table 11.\n\nThis FA2-versus-FA3 baseline difference occurs with DualKV disabled and is\ntherefore orthogonal to DualKV's algorithm and correctness. The phase\nbreakdown narrows the higher GRPO time to the full policy update, while source\ninspection points to FA3's packed-variable-length GQA backward path as one\nplausible contributor. However, the policy-update measurement covers the\nentire training update (checkpoint recomputation, FSDP communication,\nand optimizer work etc), and the results come from independent training\ntrajectories. To pinpoint the cause, we are profiling FA2 and FA3 on the same\ntraining batch using CUDA events; this investigation is ongoing, and we will\nreport its findings in the next revision.\n\n### L1. Table 4 validation-accuracy gap and mixed precision\n\n**Response.** Thank you for identifying this discrepancy. Across all reported\nend-to-end experiments with stepwise accuracy or reward curves, we find no\nconsistent DualKV disadvantage. The Table 4 gap is therefore an isolated\nsingle-run endpoint difference consistent with stochastic run-to-run\nvariation, rather than a BF16/FP32 precision effect or systematic DualKV\ndegradation.\n\nFA2 and DualKV-FA2 use identical end-to-end data types: BF16 model tensors and\ngradient outputs, with FP32 accumulation internal to the attention kernels.\nDualKV's FP32 scratch buffer only performs the race-free summation of\nshared-prompt gradient contributions before the same BF16 writeback; it is not\na different mixed-precision training regime. The equivalence theorem\nestablishes the same mathematical computation. Controlled kernel tests confirm\nnumerical agreement for outputs and gradients. Thus, the Table 4 gap is not\ncaused by a BF16/FP32 precision mismatch.\n\nTable 4 compares one DualKV/SP=1 run with one FA2/SP=4 run using independently\nsampled rollouts. Their per-step training curves track closely across all 29\nsteps, while the held-out difference is nine examples out of 318 (0.774\nversus 0.802). This direction is not systematic: in the Qwen3-8B GRPO\nexperiment, DualKV reaches 0.780 versus 0.777 for FA2, and both DualKV DAPO\nruns finish above FA2. The available evidence therefore shows no systematic\nDualKV accuracy degradation, although one run cannot determine the cause of\nthis isolated endpoint difference. We will report both endpoints\ntransparently.\n\n### M1. Figure ordering\n\n**Response.** We will reorder the presentation so Figure 1 is introduced\nbefore Figure 2. Thanks a lot for pointing this out!"+ },+ "createdAt": "2026-07-27T03:14:51.833Z",+ "modifiedAt": "2026-11-18T17:14:25.388Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=gKSzHUoL5c",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/hcihaxku7t.json added
+++ b/reviews/openreview/viyawqia4h/notes/hcihaxku7t.json@@ -0,0 +1,32 @@+{+ "schema": "review/1",+ "id": "hcihAXkU7t",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer VC2r",+ "content": {+ "summary": "This paper proposes DualKV, a system optimization that eliminates redundant prompt KV computation in RL training where multiple responses are sampled from the same prompt. \nDualKV develops a custom CUDA kernel extending FlashAttention2 that performs two-phase tile iteration over disjoint KV regions, and resolves the resulting N-way concurrent gradient write via fp32 atomic accumulation.\nThe method is mathematically exact and demonstrates up to 3.38x end-to-end training speedup on 30B MoE model.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "**Strengths:**\n- Important and timely topic. RL training efficiency is critical as GRPO/DAPO become standard in LLM post-training.\n- Mathematical exactness. DualKV is provably bit-wise equivalent to the FA2 baseline.\n- Solid evaluation. Both kernel-level and end-to-end results across multiple model sizes.\n\n**Weaknesses:**\n- Tight coupling to FA2. The kernel is implemented as an FA2 extension, but FA3 (targeting Hopper/H100) is increasingly the standard for large-scale training.\n- Data pipeline constraints. DualKV requires all N same-prompt responses to be co-located on the same GPU within the same micro-batch, which necessitates disabling load-balancing and intra-epoch shuffle.",+ "quality": 3,+ "clarity": 3,+ "significance": 4,+ "originality": 3,+ "questions": "- Could the authors discuss the feasibility of extending DualKV to FA3?",+ "limitations": "YES",+ "rating": 5,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "NO",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes",+ "final_justification": "The author's rebuttal addressed my main concerns. I think the paper is solid and meets publication standards."+ },+ "createdAt": "2026-06-18T05:10:49.333Z",+ "modifiedAt": "2026-11-18T13:38:49.371Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=hcihAXkU7t",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/lult7tvs8n.json added
+++ b/reviews/openreview/viyawqia4h/notes/lult7tvs8n.json@@ -0,0 +1,31 @@+{+ "schema": "review/1",+ "id": "LUlT7Tvs8n",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer dnLK",+ "content": {+ "summary": "The authors propose a kernel for rollout phase of post-training phase. \n\nIt enables without duplication of tokens and compute sharing of prompts. The authors do a good job why a new kernel is needed for this purpose and what is unique about this setup. The results show significant improvement over baseline.",+ "contribution_type": "general",+ "strengths_and_weaknesses": "Strengths:\n1. Well written paper\n\n2. Clear performance distinction on why a new kernel is needed. \n\n3. Pretty good speedups over the baseline. \n\nWeakness: \n\n1. This primarily is an implementation paper. There is not necessarily a novel insight.",+ "quality": 3,+ "clarity": 3,+ "significance": 3,+ "originality": 3,+ "questions": "“e observe that in decoder-only models, prompt hidden states are identical across all N sequences 50 at every layer: causal masking ensures each prompt token attends only to preceding prompt tokens, 51 never to the differing response tokens that follow, so the prompt representations are independent of 52 which response is generated.” -> How is this different from kernels in SGLang and now vLLM which use a shared prefix cache\n\n“By packing the micro-batch with 58 a single prompt copy and decomposing attention into context self-attention (computed once) and 59 a fused DualKV kernel for decoded attention, DualKV eliminates redundant prompt computation 60 throughout the entire model — not just attention, but also norms, projections, and MLP layers 61 yielding both memory and compute savings without approximation” -> I am struggling with novelty, framework level microbatching prefix grouper provided and kernel design is present in prefix caching",+ "limitations": "Yes.",+ "rating": 5,+ "confidence": 4,+ "ethical_concerns": [+ "NO or VERY MINOR ethics concerns only"+ ],+ "paper_formatting_concerns": "None.",+ "code_of_conduct_acknowledgement": "Yes",+ "responsible_reviewing_acknowledgement": "Yes"+ },+ "createdAt": "2026-06-28T03:28:40.892Z",+ "modifiedAt": "2026-11-18T13:38:46.895Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=LUlT7Tvs8n",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/pbfeit4ldf.json added
+++ b/reviews/openreview/viyawqia4h/notes/pbfeit4ldf.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "PBfEiT4LDF",+ "replyTo": "LUlT7Tvs8n",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "Thank you for the thoughtful review and for recognizing the\npaper's clarity, the motivation for a specialized CUDA kernel design, and its\nempirical gains. We especially appreciate the novelty question because\nit highlights a distinction that we should make more explicit.\n\n**Q1 — Difference from SGLang/vLLM.**\nSGLang/RadixAttention and vLLM/PagedAttention reuse read-only prefix K/V\nduring inference. By contrast, preserving the single-copy prompt during the\npolicy update in sampling-based RL methods such as GRPO and DAPO requires an\nexact shared-prompt FlashAttention backward kernel, with every sampled\nresponse contributing to the same physical prompt $dK/dV$ buffers.\nSGLang/vLLM's prefix-caching kernels are inference-only: they provide no\nbackward pass through the shared prompt and no mechanism to aggregate the\ncross-response $dK/dV$ required by policy updates.\n\n**Q2 — Difference from Prefix Grouper.**\nPrefix Grouper avoids repeated prompt computation at the framework level. In\nits implementation, however, the prompt K/V is expanded for every\nsample immediately before standard FA2. Its compact representation therefore\ndoes not persist through the attention layer: FA2 still consumes the\nmaterialized $N(P+R)$ K/V layout, and autograd later reduces the replicated\nprompt gradients.\n\nAs reported in Table 2 of our paper submission (reproduced below for\nconvenience), our single-layer H100 forward+backward comparison using Prefix\nGrouper's released code gives:\n\n| P | mb | FA2 (ms) | DualKV (ms) | PG (ms) | DK/FA2 | DK/PG | DK mem (GB) | PG mem (GB) |\n|---:|---:|---:|---:|---:|---:|---:|---:|---:|\n| 5K | 32 | 597 | **180** | 626 | $3.32\\times$ | $3.48\\times$ | **13.7** | 69.8 |\n| 8K | 16 | 549 | **128** | 465 | $4.28\\times$ | $3.63\\times$ | **9.9** | 50.7 |\n| 16K | 8 | 553 | **125** | 435 | $4.41\\times$ | $3.47\\times$ | **9.0** | 45.9 |\n| 32K | 4 | 810 | **246** | 514 | $3.29\\times$ | $2.08\\times$ | **12.5** | 43.0 |\n| 65K | 4 | OOM | **654** | OOM | $\\infty$ | $\\infty$ | **22.7** | OOM |\n| 131K | 8 | OOM | **2,097** | OOM | $\\infty$ | $\\infty$ | **44.5** | OOM |\n\nThis directly measures the consequence of losing physical sharing at the\nattention boundary: where both run, DualKV is $2.08$--$3.63\\times$ faster and\nreduces peak memory by 71--80% relative to Prefix Grouper. At 65K and 131K\nprompts, both FA2 and Prefix Grouper OOM, while DualKV completes using only\n22.7 GB and 44.5 GB, respectively.\n\n**W1 — Novel contribution.**\nDualKV solves the kernel-level challenge of preserving a single physical\nprompt through exact attention forward and backward. It realizes this with one\nphysical context $K_c,V_c$ buffer and packed response $K_d,V_d$ buffers in the\n$P+\\sum_i R_i$ layout. Its response-parallel backward performs race-free FP32\natomic accumulation of concurrent response contributions into shared\n$dK_c,dV_c$ scratch buffers, followed by one output-dtype conversion. Because\nthis compact representation persists throughout the Transformer, RMSNorm,\nQKV/output projections, RoPE, and MLPs also process the shared prompt once\nrather than $N$ times. The key contribution is the two-region training dataflow\nand specialized forward/backward kernels that preserve a single-copy prompt\nend to end, without approximation, for sampling-based RL workloads such as\nGRPO and DAPO.\n\n**Additional evidence of generality.**\nAfter paper submission, we further extended DualKV to Gemma-4 to demonstrate that its core design generalizes to modern hybrid architectures and composes with Ulysses sequence parallelism:\n\n- **Global attention at $d=512$:** new forward/backward kernel variants for\n Gemma-4's global layers.\n- **Kernel-native sliding-window attention at $d=256$:** causal windowing over\n the two-region layout for Gemma-4's local layers.\n- **Ulysses sequence-parallel composition:** repacking before sequence slicing,\n standard all-to-alls around the per-head DualKV kernel, and exact\n reconstruction of the shared last-prompt states used for\n first-response-token logits.\n\nWe validated all three extensions together end to end on Gemma-4-31B using\nGRPO ($N=16$, LongReason with thinking enabled, three epochs) on one\n$8\\times$H200 node (results below):\n\n| Context | SP | Peak mem (GB) | old_log_prob (s) | ref_log_prob (s) | Policy update (s) |\n|---:|---:|---:|---:|---:|---:|\n| 16K | 1 | 96.8 | 140 | 140 | 549 |\n| 16K | 4 | 77.0 | 157 | 178 | 638 |\n| 32K | 4 | 79.8 | 315 | 319 | 1,242 |\n| 64K | 8 | 78.9 | 782 | 791 | 3,073 |\n\nWall-clock values are per-step means; rollout generation is omitted. The SP=1\nand SP=4 runs at 16K are otherwise identical. At 64K with SP=8, peak memory\nremains 78.9 GB. Numerical correctness was also verified: sliding-window\nforward and backward match windowed FA2 in kernel unit tests, first-token\nlog-probabilities agree exactly with the SP=1 path ($\\max|\\Delta|=0$) across\n$\\mathrm{SP}\\in\\{1,2,4,8\\}$, and held-out accuracy remains stable in every\nconfiguration.\n\nThank you again for these important questions. We will revise the introduction\nand related work to clarify that SGLang/vLLM cache read-only prefixes for\ninference, Prefix Grouper rematerializes full K/V before standard attention,\nand DualKV's two-region dataflow and specialized forward/backward kernels\npreserve a single-copy prompt throughout the training stack."+ },+ "createdAt": "2026-07-26T01:47:05.927Z",+ "modifiedAt": "2026-11-18T17:14:37.362Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=PBfEiT4LDF",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/s9tn5kezof.json added
+++ b/reviews/openreview/viyawqia4h/notes/s9tn5kezof.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "S9tN5KeZOF",+ "replyTo": "hcihAXkU7t",+ "kind": "comment",+ "invitation": "Rebuttal",+ "signature": "Authors",+ "content": {+ "rebuttal": "We sincerely thank the reviewer for the thoughtful and constructive assessment\nand for recognizing the importance and timeliness of this problem, DualKV's\nmathematical exactness, and the breadth of our evaluation.\n\n### W1/Q1. FA2 coupling and feasibility of an FA3 extension\n\nDuring the rebuttal period, we implemented and validated the kernel-level DualKV-FA3\nforward/backward path required for model training. The original Table 1 in the paper submission was measured\non A100, where FA3 is unavailable. We therefore reran FA2, DualKV-FA2, FA3,\nand DualKV-FA3 on the same H100 SXM 80GB. For focus, the table below reports\nthe directly relevant FA3 versus DualKV-FA3 comparison; we will include the\ncomplete four-method H100 panel in the next revision. Across the Table 1 workload\nconfigurations, DualKV-FA3 provides $1.21\\text{--}7.82\\times$ combined\nforward/backward speedup and 36--81% lower peak memory than FA3.\n\n| N | P | FA3 Fwd+Bwd (ms) | DualKV-FA3 Fwd+Bwd (ms) | Speedup | FA3 peak (MB) | DualKV-FA3 peak (MB) | Mem. reduction |\n|---|---|---|---|---|---|---|---|\n| 28 | 4,096 | 55.60 | **45.83** | $1.21\\times$ | 10,818 | **6,891** | 36% |\n| 28 | 16,384 | 447.80 | **128.35** | $3.49\\times$ | 32,449 | **9,119** | 72% |\n| 16 | 32,768 | 891.48 | **168.30** | $5.30\\times$ | 35,021 | **7,993** | 77% |\n| 28 | 32,768 | 1,558.78 | **259.70** | $6.00\\times$ | 61,290 | **13,217** | 78% |\n| 16 | 65,536 | 3,304.50 | **422.85** | $7.82\\times$ | 67,982 | **13,117** | 81% |\n\n*Measurement protocol:* All methods ran on a single H100 SXM 80GB GPU using\nFP16, $R=2{,}048$, and Qwen3-8B GQA (32 query heads, 8 KV heads, head\ndimension 128). The table reports arithmetic means across four complete\nbenchmark repetitions; within each repetition, latency is the median of 10\ntimed iterations after five warmups.\n\nThese results demonstrate that DualKV’s single-copy shared-prompt representation and exact shared-gradient accumulation generalize from FA2 to FA3.\n\nThe key DualKV-FA3 implementation and validation details are:\n- **Exact forward.** DualKV-FA3 preserves one physical prompt and composes the\n shared-context and decoded-suffix FA3 computations exactly.\n- **Race-free backward.** FA3 requires a different schedule from FA2 because\n its TMA $dK/dV$ epilogue cannot safely alias the batch dimension. Each\n response accumulates into a private FP32 context-gradient slice; a dedicated\n FP32 kernel reduces these slices before FA3's standard postprocessor performs\n one final output-dtype conversion. This avoids concurrent TMA writes to\n aliased storage and low-precision intermediate accumulation.\n- **Validation.** At the H100 benchmark configurations, standard FA3 and\n DualKV-FA3 pass output-parity checks on identical inputs. We also verified\n DualKV-FA3's output, LSE, and all gradients against a straightforward FP32\n PyTorch attention implementation using standard autograd. CUDA Compute\n Sanitizer reported no memory errors.\n\n### W2. Data-pipeline co-location, load balancing, and shuffling\n\nWe agree that this is a limitation of the current integration.\nImportantly, training prompts are still randomly shuffled before rollout. The\nrestriction begins only after each prompt is expanded into $N$ responses:\nthose responses must remain contiguous and on the same data-parallel rank.\nAll $N$ responses need not fit in one microbatch. When $N$ exceeds the\nmicrobatch size, the implementation processes consecutive same-prompt chunks,\nsharing the prompt within each chunk and recomputing it across chunks. The\ncurrent integration skips VeRL's existing per-sequence load balancer to\npreserve this grouping.\n\nThe current DualKV execution requires same-prompt responses to remain\nco-located so they can reuse one prompt representation. Under standard FA2,\nVeRL balances the expanded sequences\n$[P_i\\Vert R_{i0}],\\ldots,[P_i\\Vert R_{i,N-1}]$ independently using the\nworkload estimate $w(S_{ij})=24576S_{ij}+S_{ij}^2$, where\n$S_{ij}=P_i+R_{ij}$. This may scatter same-prompt responses across DP ranks.\nDualKV packs them as\n$[P_i\\Vert R_{i0}\\Vert\\cdots\\Vert R_{i,N-1}]$, requiring the complete prompt\ngroup to remain one scheduling unit. As future work, we plan to implement\ngroup-aware load balancing over these scheduling units. To evaluate feasibility, we simulated a greedy group-aware scheduler using the compact token count $C_i=P_i+\\sum_jR_{ij}$ as its load proxy. In each of 500\ndeterministic batches, it sorts 64 stored multi-response groups by this proxy\nand assigns each group to the least-loaded of 8 workers:\n\n| Dataset | Responses/group (P50/P90/P99; $N>1$) | Load excess (P50/P90/P99) |\n|---|---|---|\n| OpenR1-Math verified traces | 2 / 2 / 4 | 0.66% / 1.49% / 2.23% |\n| UltraFeedback preference pairs | 2 / 2 / 2 | 0.66% / 1.29% / 1.96% |\n| SWE-Gym agent trajectories | 2 / 10 / 10 | 0.41% / 1.59% / 27.90% |\n\nWorker-load excess is $100(\\max_j L_j/\\bar L-1)$, where $L_j$ is the sum of\n$C_i$ over all groups assigned to worker $j$, and $\\bar L$ is the mean load\nacross the eight workers; $0\\%$ is perfect balance.\n\nIn summary, DualKV preserves prompt-level shuffling and only restricts\npost-rollout response-level reordering and redistribution; our reported\nDualKV end-to-end results already include this restriction. To further\nmitigate potential data-parallel imbalance, we propose group-aware placement\nof complete prompt groups. Our simulation shows P90 compact-layout token-load\nexcess below 1.6% across all three datasets, while the SWE-Gym P99 tail\nmotivates length bucketing or adaptive placement.\n\nWe greatly appreciate the reviewer's thoughtful questions and the opportunity\nto clarify these points. We will add the H100 FA3 results and clarify the\ngroup-level scheduling constraints in the revision. After completing\nend-to-end validation, we will open-source the DualKV-FA3 kernels in the same\nGitHub repository."+ },+ "createdAt": "2026-07-26T16:40:04.040Z",+ "modifiedAt": "2026-11-18T17:14:36.862Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=S9tN5KeZOF",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/notes/xh3pemr411.json added
+++ b/reviews/openreview/viyawqia4h/notes/xh3pemr411.json@@ -0,0 +1,19 @@+{+ "schema": "review/1",+ "id": "XH3pEMr411",+ "replyTo": null,+ "kind": "decision",+ "invitation": "Decision",+ "signature": "Program Chairs",+ "content": {+ "title": "Paper Decision",+ "decision": "Accept (poster)",+ "comment": "",+ "metareview": "DualKV proposes a new kernel designed to improve latency and memory efficiency when computing attention during RL rollouts with multiple responses sharing the same prompt. It does but addressing the inherent property of the prompt being the same and builds on top of the existing FlashAttention implementation to deliver practical solution.\n\nThe reviewers unanimously voice their support for the paper, praising it for clear problem statement, solid execution (both on the implementation side, as well as experimental rigour). Some minor complains relate to the fact the paper does not provide novel insights (reviewer dnLK), applicability being limited to short prompts (reviewers SFtP and TFxj), and similar downsides. However, all of these appear to be more of natural limitations arising from the problem statement and the scope of the paper, and do not seem to undermine the contributions proposed in the paper in their intended context. In that regard, the reviewers are mostly in agreement that the contributions of the paper are practical and timely. Notably, reviewers dnLK and SftP mention clear and strong performance gains, while reviewers TFxj and VC2r mention relevance for methods such as GRPO/DAPO and the fact the method is readily available to be used via veRL (reviewer TFxj).\n\nGiven all the above, I think the submitted paper has clear potential to have real impact and thus lean towards acceptance, as it stands now. I would still want the authors to comment on the questions raised but the reviewers, though.",+ "final_justification": "Both myself and the reviewers are satisfied with the replies provided by the authors. The paper is solid and of potential practical importance, thus I'd recommend its acceptance.\n\nHowever, I'd urge the authors to correct the citation for veRL: it currently has a number of issues (to the point it was flagged as hallucinations)."+ },+ "createdAt": "2026-09-24T11:20:00.334Z",+ "modifiedAt": "2026-11-18T14:54:38.063Z",+ "url": "https://openreview.net/forum?id=viyAwqIA4H¬eId=XH3pEMr411",+ "license": "CC-BY-4.0"+}
reviews/openreview/viyawqia4h/submission.json added
+++ b/reviews/openreview/viyawqia4h/submission.json@@ -0,0 +1,12 @@+{+ "schema": "submission/1",+ "id": "viyAwqIA4H",+ "venue": {+ "id": "NeurIPS.cc/2026/Conference",+ "name": "NeurIPS 2026",+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"+ },+ "number": 12767,+ "url": "https://openreview.net/forum?id=viyAwqIA4H",+ "license": "CC-BY-4.0"+}
versions/v_krj7cg57.json added
+++ b/versions/v_krj7cg57.json@@ -0,0 +1,22 @@+{+ "date": "2026-05-01",+ "kind": "submitted",+ "label": "NeurIPS 2026",+ "submissions": [+ {+ "venue": "NeurIPS 2026",+ "status": "accepted",+ "decision": "Accept (poster)",+ "number": 12767,+ "url": "https://openreview.net/forum?id=viyAwqIA4H",+ "reviews": "openreview/viyawqia4h",+ "evidence": [+ "https://openreview.net/forum?id=viyAwqIA4H"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=viyAwqIA4H",+ "evidence": [+ "https://openreview.net/forum?id=viyAwqIA4H"+ ]+}