potentialpaper

Speeding up Log-Sum-Exp: Kernel Fusion at the Memory Wall, Integer Arithmetic at the Compute Wall

Update NeurIPS 2026 submission Xz4CvAU4eg: 6 notes

@openreview[bot] · 2026-11-24 15:52 UTC · 02020383e3c9 ·

Evidence

reviews/openreview/xz4cvau4eg/notes/aumr6lul5m.json added

+++ b/reviews/openreview/xz4cvau4eg/notes/aumr6lul5m.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "AuMr6lUl5M",
+ "replyTo": "Va21apf7wP",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 2LtB",
+ "content": {
+ "title": "Response to rebuttal",
+ "comment": "I appreciate the authors’ additional experimental results on H100/H200, particularly the analysis of the relative time spent on memory movement versus arithmetic computation.\n\nI value the paper’s rigorous experimental evaluation and am willing to raise my score to 4.\n\nHowever, I still believe that the lack of originality prevents the work from meeting the bar for a top-tier NeurIPS paper."
+ },
+ "createdAt": "2026-08-03T17:31:58.994Z",
+ "modifiedAt": "2026-11-19T16:59:11.824Z",
+ "url": "https://openreview.net/forum?id=Xz4CvAU4eg&noteId=AuMr6lUl5M",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/xz4cvau4eg/notes/hw5ynkzb85.json added

+++ b/reviews/openreview/xz4cvau4eg/notes/hw5ynkzb85.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "HW5ynkZB85",
+ "replyTo": "sGtJizta7E",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Novelty clarification and expanded experimental evidence",
+ "comment": "We thank the Area Chair for recognizing the importance of the work and identifying the decisive issues. We address all four concerns below, emphasizing the two most relevant to the decision: IntLSE's novelty and FuseLSE's advantage over modern compiler-fused baselines. We also provide point-by-point reviewer responses. The new evidence shows that FuseLSE's advantage is not an eager-PyTorch artifact, while IntLSE provides a practical CPU kernel and a generalizable platform-specific design principle.\n\n## 1. Clarified novelty and positioning\n\nWe do not claim the known pairwise/online LSE recurrence as a mathematical novelty. FuseLSE's contribution is a single-pass fused systems design: it deliberately trades N-1 additional local log evaluations for eliminating the conventional row-sized HBM intermediates. At B=512, N=128256 on H200, FuseLSE moves 1.01 input volumes and takes 0.0674 ms, versus 1.89/2.03 volumes and 0.120/0.134 ms for torch.compile/JAX. It is therefore the only profiled path approaching one input pass and the fastest evaluated implementation.\n\nIntLSE's Mitchell-style approximation, fixed-point representation, and LUT correction build on Yao et al. [2024, 2025], which we will cite explicitly. Our contribution is to implement this approximation as a vectorized CPU kernel and quantify when arithmetic reduction helps. LSE's estimated 1.5 op/byte is below the 10.4–20.0 op/byte ridge points of modern GPUs; H100/H200 profiling shows only 0.10%/0.21% SFU instruction stalls the execution. Thus, integer arithmetic does not help when HBM cost dominates. Conversely, IntLSE is 3.1–6.1x faster than a vectorized floating-point implementation on CPUs. The resulting design rule is to minimize HBM passes on GPUs but minimize transcendental arithmetic on CPUs.\n\n## 2. Modern compiler-fused baselines and GPUs\n\nWe added PyTorch 2.8 torch.compile and independent JAX 0.7.1 JAX/XLA baselines, excluding compilation time:\n\n| GPU / status | Eager PyTorch (ms) | torch.compile (ms) | JAX/XLA (ms) | FuseLSE (ms) |\n|---|---:|---:|---:|---:|\n| V100 | 1.936 | 0.605 | 0.651 | 0.310 |\n| H100 | 0.584 | 0.163 | 0.184 | 0.0894 |\n| H200 | 0.462 | 0.120 | 0.134 | 0.0674 |\n| B300 (partial) | 0.366 | n/a | n/a | 0.0546 |\n\nFuseLSE is 1.95/1.83/1.78x faster than torch.compile and 2.10/2.06/1.99x faster than JAX/XLA on V100/H100/H200. B300 result is partial because the available Triton/XLA toolchains cannot target sm_103a. We will add these comparisons and profiles in the revised paper.\n\n## 3. Scoped API claim and edge cases\n\nWe will replace the broad \"drop-in replacement\" claim with a scoped one. We added FuseLSE-robust to propagate NaNs, handle +inf, rows containing only -inf, and dense -inf masks, and match FuseLSE bitwise on finite inputs. Forward times for FuseLSE/FuseLSE-robust/PyTorch are 0.3077/0.3175/1.943 ms, so FuseLSE-robust adds only 3.2% time. Its backward takes 0.707 ms versus 1.927 ms for PyTorch, with gradient p95 error 3.49e-10. IntLSE sends NaN/+inf and autograd requests to PyTorch. We will add a support matrix covering axes, layouts, contiguity, dtypes, empty/singleton rows, masking, NaN/Inf, and autograd, with explicit indication whether each configuration runs through FuseLSE, uses FuseLSE-robust, or falls back to PyTorch.\n\n## 4. Numerical and application evaluation\n\nWe added numerical evaluation covering uniform/normal inputs, mixed signs, near ties, U(-1000,1000), a dominant +1000 value, and 50% -inf masks. Across all finite cases and row lengths, maximum p95 error is 5.52e-5 for FuseLSE (8.43e-6 without the extreme stress case) and 4.20e-3 for IntLSE. The post-LUT pointwise p95 error decreases from 3.02e-2 to 1.48e-3 nats; we will add this to Figure 2 as a pointwise curve to better characterize IntLSE's approximation behavior.\n\nFuseLSE is recommended for GPU applications and differs from PyTorch by only 1.1e-6–1.9e-5, below FP32 rounding noise; therefore, we treat the resulting model behavior as unchanged and focus on execution cost. RLHF SLS execution time decreases from 12.34 to 2.01 ms, and the full pipeline decreases from 237.59 to 227.67 ms. Complete PyJuice HCLT passes speed improves 1.68–1.77x over default mixed mode and 1.49–1.55x over forced sparse.\n\nIntLSE is recommended for CPU particle filtering. On recorded trajectories, it takes 3.40–6.35 us per call versus 16.93–18.42 us for PyTorch, with mean FP64-referenced error 0.00272–0.0446 nats. We label this as primitive-level timing, not full-filter timing, because other CPU operations differ across libraries."
+ },
+ "createdAt": "2026-07-31T15:49:59.287Z",
+ "modifiedAt": "2026-11-19T16:59:11.804Z",
+ "url": "https://openreview.net/forum?id=Xz4CvAU4eg&noteId=HW5ynkZB85",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/xz4cvau4eg/notes/rav3bg2zun.json added

+++ b/reviews/openreview/xz4cvau4eg/notes/rav3bg2zun.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "RaV3Bg2Zun",
+ "replyTo": "tGglSA3QBN",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the careful assessment and for recognizing that the new experiments strengthen the paper and address concerns about FuseLSE on modern baselines. We would like to clarify three points.\n\nFirst, IntLSE is only used for the CPU implementation and is not the main focus of the paper. Applying such arithmetic to build a fast, robust, and practical LSE kernel is still important, but the main contribution is the system analysis to study when arithmetic approximation helps on general-purpose processors.\n\nSecond, the 1.044x RLHF speedup is achieved by replacing the original LSE computation with our optimized software kernel, while keeping the same model pipeline. The end-to-end speedup impact is significant in PyJuice, where LSE is a large bottleneck. The RLHF and particle-filter experiments were added to show that LSE appears across different workloads, not to claim that every full application is LSE-dominated.\n\nThird, FuseLSE is not evaluated only on one large row-wise configuration. Our microbenchmarks sweep reduction sizes from 2 to 128,256, showing about 10x speedup for small reductions and about 6x for larger reductions. Thus, the benefit is broader than large row-wise configurations."
+ },
+ "createdAt": "2026-08-03T18:37:17.535Z",
+ "modifiedAt": "2026-11-19T16:59:11.791Z",
+ "url": "https://openreview.net/forum?id=Xz4CvAU4eg&noteId=RaV3Bg2Zun",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/xz4cvau4eg/notes/sgtjizta7e.json modified

+++ b/reviews/openreview/xz4cvau4eg/notes/sgtjizta7e.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair cgxy",
"content": {
- "metareview": "**Summary.** This paper proposes two optimized Log-Sum-Exp kernels. FuseLSE uses a single-pass pairwise reduction to reduce GPU kernel launches and HBM traffic. IntLSE replaces floating-point exp/log operations with approximate integer arithmetic, mainly targeting CPUs. The paper reports speedups in microbenchmarks and applications involving RLHF, probabilistic circuits, and particle filtering.\n\n**Strengths.** The problem is practically relevant, the implementation appears solid, and the profiling clearly distinguishes launch-, memory-, and compute-bound regimes. The application experiments also demonstrate that LSE can be a meaningful systems bottleneck. The paper presents a clear platform-aware systems perspective: on modern GPUs, the primary optimization opportunity is reducing kernel launches and memory traffic, whereas on CPUs and platforms without fast special-function units, reducing transcendental arithmetic becomes more important. The implementation and profiling are carefully developed, and the evaluation spans different workload sizes, hardware generations, numerical settings, and application domains. Overall, the work provides both practical kernels and a useful systems-level understanding of when memory-oriented and arithmetic-oriented optimizations are effective.\n\n**Assessment after rebuttal.** My initial assessment identified four main concerns: unclear novelty and positioning, insufficient comparisons with modern compiler-fused baselines on recent GPUs, an under-supported “drop-in replacement” claim, and limited numerical and application-level evaluation. The rebuttal substantially addresses all four. The authors clearly distinguish the known pairwise recurrence and prior IntLSE approximation from their systems contributions; add `torch.compile` and JAX/XLA comparisons on V100, H100, and H200, together with HBM and SFU profiling showing that FuseLSE retains a clear advantage and remains memory-bound; scope the replacement claim and provide robust edge-case handling, backward support, and fallback rules; and expand the numerical stress tests while clarifying the measurement scope and end-to-end results of the applications. The reviewers generally acknowledged that these additions significantly strengthen the paper, with two reviewers ultimately assigning a score of 4, although one reviewer maintained a score of 3 primarily due to originality and end-to-end impact. The remaining concerns regarding the limited algorithmic novelty of IntLSE, the modest RLHF end-to-end improvement, and the primitive-level particle-filter evaluation are limitations, but not rejection-level issues for a systems contribution. I therefore recommend Accept (poster)."
+ "metareview": "**Summary.** This paper proposes two optimized Log-Sum-Exp kernels. FuseLSE uses a single-pass pairwise reduction to reduce GPU kernel launches and HBM traffic. IntLSE replaces floating-point exp/log operations with approximate integer arithmetic, mainly targeting CPUs. The paper reports speedups in microbenchmarks and applications involving RLHF, probabilistic circuits, and particle filtering.\n\n**Strengths.** The problem is practically relevant, the implementation appears solid, and the profiling clearly distinguishes launch-, memory-, and compute-bound regimes. The application experiments also demonstrate that LSE can be a meaningful systems bottleneck. The paper presents a clear platform-aware systems perspective: on modern GPUs, the primary optimization opportunity is reducing kernel launches and memory traffic, whereas on CPUs and platforms without fast special-function units, reducing transcendental arithmetic becomes more important. The implementation and profiling are carefully developed, and the evaluation spans different workload sizes, hardware generations, numerical settings, and application domains. Overall, the work provides both practical kernels and a useful systems-level understanding of when memory-oriented and arithmetic-oriented optimizations are effective.\n\n**Assessment after rebuttal.** My initial assessment identified four main concerns: unclear novelty and positioning, insufficient comparisons with modern compiler-fused baselines on recent GPUs, an under-supported “drop-in replacement” claim, and limited numerical and application-level evaluation. The rebuttal substantially addresses all four. The authors clearly distinguish the known pairwise recurrence and prior IntLSE approximation from their systems contributions; add `torch.compile` and JAX/XLA comparisons on V100, H100, and H200, together with HBM and SFU profiling showing that FuseLSE retains a clear advantage and remains memory-bound; scope the replacement claim and provide robust edge-case handling, backward support, and fallback rules; and expand the numerical stress tests while clarifying the measurement scope and end-to-end results of the applications. The reviewers generally acknowledged that these additions significantly strengthen the paper, with two reviewers ultimately assigning a score of 4, although one reviewer maintained a score of 3 primarily due to originality and end-to-end impact. The remaining concerns regarding the limited algorithmic novelty of IntLSE, the modest RLHF end-to-end improvement, and the primitive-level particle-filter evaluation are limitations, but not rejection-level issues for a systems contribution. I therefore recommend Accept (poster).",
+ "final_justification": "The final justification is included in the meta-review."
},
"createdAt": "2026-07-22T05:45:58.012Z",
- "modifiedAt": "2026-11-18T15:23:13.019Z",
+ "modifiedAt": "2026-11-19T05:01:58.549Z",
"url": "https://openreview.net/forum?id=Xz4CvAU4eg&noteId=sGtJizta7E",
"license": "CC-BY-4.0"
}

reviews/openreview/xz4cvau4eg/notes/tgglsa3qbn.json added

+++ b/reviews/openreview/xz4cvau4eg/notes/tgglsa3qbn.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "tGglSA3QBN",
+ "replyTo": "74VZgFjSCT",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer dPWs",
+ "content": {
+ "title": "Response for rebuttal",
+ "comment": "Thank you for the rebuttal and new experiments. The comparisons on recent GPUs, SFU/HBM profiling, broader accuracy tests, and robust edge-case support significantly strengthen the paper. In particular, the results against torch.compile and JAX/XLA address my concern about modern baselines. However, i still have following concerns:\n\nOriginality: The rebuttal confirms that IntLSE largely follows prior approximation and LUT-based methods. Its implementation and systems analysis are useful, but the methodological novelty remains limited.\n\nEnd-to-end impact and generality: The RLHF end-to-end speedup is only 1.044x, while the particle-filter result remains primitive-level. The strongest FuseLSE results also focus on one large row-wise configuration, leaving its benefits across broader workloads unclear.\n\nTherefore, I maintain my scores ."
+ },
+ "createdAt": "2026-08-03T16:03:20.115Z",
+ "modifiedAt": "2026-11-19T16:59:11.897Z",
+ "url": "https://openreview.net/forum?id=Xz4CvAU4eg&noteId=tGglSA3QBN",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/xz4cvau4eg/notes/xrisqt4o07.json added

+++ b/reviews/openreview/xz4cvau4eg/notes/xrisqt4o07.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "xrISQt4O07",
+ "replyTo": "AuMr6lUl5M",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the updated assessment and for recognizing the H100/H200 experiments and memory-versus-arithmetic analysis. We really appreciate that you raised the score.\n\nWe understand the concern about originality. We view the paper primarily as a systems contribution: on CPUs, useful arithmetic approximations become practically impactful only when integrated into robust kernels; on GPUs, LSE is often memory-bound, and our kernel fusion can reduce memory traffic. \n\nWe believe this message is important for the broader AI community: progress in AI models, especially alternative probabilistic models, can be limited if their core operations are not supported by efficient software kernels. Presenting these results to a broad AI audience can help reduce this implementation gap and support the development of model classes beyond standard dense neural networks."
+ },
+ "createdAt": "2026-08-03T19:10:11.123Z",
+ "modifiedAt": "2026-11-19T16:59:11.787Z",
+ "url": "https://openreview.net/forum?id=Xz4CvAU4eg&noteId=xrISQt4O07",
+ "license": "CC-BY-4.0"
+}