- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies how to make Log-Sum-Exp faster on CPUs and GPUs. The authors propose two kernel-level implementations. FuseLSE is a fused GPU kernel which computes row-wise LSE in one pass, reducing kernel launches and avoiding repeated HBM traffic. It performs the reduction through a pairwise LSE recurrence, trading additional local exp/log evaluations for much less global memory movement. IntLSE keeps a similar reduction structure but replaces the expensive logarithm/exponential operations by an approximate integer arithmetic scheme, mainly useful for CPU or hardware without fast special function units. The paper evaluates these kernels with microbenchmarks and in several applications, including RLHF log-probability computation, probabilistic circuits, and particle filtering.
Strengths and weaknesses
I think the problem accelerating LSE on GPU/CPU is important. LSE is a very common primitive, but it is often hidden inside larger pipelines, so it is easy to underestimate its cost. The paper makes a good case that the default eager PyTorch implementation can be inefficient, especially because it launches several kernels and moves data multiple times through HBM.
Strengths: The engineering part is also solid. I checked the supplementary material, and the implementation looks serious and not just a toy prototype. The profiling and decomposition are useful, and I appreciated that the authors separate the GPU and CPU regimes. The distinction between memory-bound GPU behavior and compute-bound CPU behavior is clear and practically relevant.
Weakness 1: is about originality, especially for IntLSE. The integer approximation seems very close to Yao et al. 2025 and related approximate log-domain arithmetic work. I am not sure what is methodologically new in IntLSE, beyond implementing and benchmarking this known approximation as a CPU/GPU kernel. This can still be a useful engineering contribution, but the paper should be more explicit about what is reused, what is modified, and what is genuinely new.
The paper cites Yao et al. 2025, LogSumExp: Efficient Approximate Logarithm Acceleration for Embedded Tractable Probabilistic Reasoning. I also found another closely related work by the same group, Yao et al. 2024, On Hardware-efficient Inference in Probabilistic Circuits, which seems relevant to the IntLSE idea. it is difficult for me to tell whether IntLSE is a new algorithmic contribution, or mainly a software adaptation of this line of work to CPU and GPU kernels.
Weakness 2: Not fully apply evaluation on latest GPU architectures. The full experimental story is mostly on V100, which is now an old architecture. The paper includes some H100 analysis, but it does not compare against torch.compile(torch.logsumexp) there. This is important because the paper itself mentions that torch.compile already fuses the operation chain and reduces memory traffic. Therefore, the reported speedups against eager PyTorch may overstate the practical gain on modern software stacks.
Weakness 3: No dissusion about log/exp computation/memory movement tradeoff in FuseLSE on newer GPUs. The method reduces HBM traffic, but it also uses more pairwise log/exp evaluations than the usual max-shift formulation. On V100 this seems hidden by memory bandwidth and launch overhead. But on newer architectures, especially with higher HBM bandwidth and better compiler-generated kernels, it is not fully clear whether the extra special-function work could become more harmful. More evidence on recent GPUs would make the paper much stronger.
Questions
Could the authors clarify the difference between IntLSE and Yao et al. 2025? In particular, are the approximation formula, fixed-point format, and LUT correction essentially the same, or are there important modifications in this paper?
-
Can the authors add a direct comparison with torch.compile(torch.logsumexp) on H100 or another recent GPU (Blackwell/Ruby architectures) ? This would help show the incremental gain over a modern compiler-fused baseline, not only eager PyTorch.
-
For FuseLSE, can the authors quantify how much time is spent in the extra log/exp operations on newer GPUs? I would like to know whether the method is still clearly memory-bound when the baseline is also fused.
-
For IntLSE, if the authors can clearly identify a non-trivial difference from prior approximate LSE/log-domain hardware methods, this would improve originality. Otherwise, I suggest framing it more as a useful software port and benchmark of an existing approximation.
Limitations
Not fully.
The paper mentions the approximation error of IntLSE, but I think two limitations should be discussed more directly. First, IntLSE seems to rely strongly on prior approximate LSE/log-domain arithmetic work, so the limitation in originality should be made clearer.
Second, the GPU results should be qualified more carefully, because the strongest comparisons are against eager PyTorch and mostly on V100. A discussion of modern compiler baselines and newer GPU architectures would make the practical implication more convincing.
Paper formatting concerns
No
Final justification
I appreciate the authors’ additional experimental results on H100/H200, particularly the analysis of the relative time spent on memory movement versus arithmetic computation.
I value the paper’s rigorous experimental evaluation and am willing to raise my score to 4.
However, I still believe that the lack of originality prevents the work from meeting the bar for a top-tier NeurIPS paper.
We thank the reviewer for recognizing the importance of the work. We respond to each weakness (W) and question (Q) below. Related or overlapping concerns are addressed together under a combined W/Q heading.
W1 / Q3: Originality of IntLSE and relationship to Yao et al.
We agree that IntLSE should not be presented as a new approximate LSE algorithm. Its Mitchell-style pairwise approximation, fixed-point representation, and LUT correction follow the work developed by Yao et al. [2025] and related work, including Yao et al. [2024]. We will cite and discuss both papers explicitly. The Q16.16 format and 64-entry correction LUT are implementation choices in our kernel, not claimed algorithmic innovations. We integrate this known approximation into a standalone row-wise pairwise reduction, implement a vectorized CPU kernel, and evaluate it across CPU and GPU settings.
The contribution attached to IntLSE is a measured systems finding, not an assertion: reducing arithmetic does not improve performance when memory traffic dominates, and we quantify where the crossover is. Concretely, our H100/H200 profiling shows the special-function pipeline at only 45.8%/65.9% of peak with under 0.21% of cycles stalled by SFU; arithmetic is demonstrably not the bottleneck on these GPUs. This is why IntLSE's integer savings buy nothing on GPUs, so FuseLSE is preferable there. On CPUs, where log/exp are comparatively expensive, the integer path shows 3.1 to 6.1x over an auto-vectorized FP baseline of the same reduction, and benefits workloads such as particle filtering.
This clarification concerns IntLSE specifically and does not narrow the paper's overall contribution. The broader contribution is the combination of a memory-efficient kernel design, FuseLSE, and a compute-efficient kernel design, IntLSE, together with GPU/CPU evaluation of when each design is appropriate. We will clarify these distinctions in the paper and explicitly separate the components inherited from prior work from our implementation choices and systems findings.
W2 / Q1: Latest GPUs and compiler-fused baselines
We have added direct standalone LSE comparisons at B=512, N=128256 against PyTorch, PyTorch 2.8 torch.compile, and an independent JAX/XLA baseline using JAX 0.7.1
jax.jiton V100, H100, H200, and B300. Compilation time is excluded (milliseconds):JAX/XLA denotes JAX compiled with XLA. Against eager PyTorch, FuseLSE is 6.25x, 6.53x, 6.85x, and 6.70x faster on V100, H100, H200, and B300, respectively. Against torch.compile, FuseLSE is 1.95x, 1.83x, and 1.78x faster on V100, H100, and H200, respectively. It is also 2.10x, 2.06x, and 1.99x faster than JAX/XLA on V100, H100, and H200, respectively.
The B300 result is partial because the available CUDA/Triton and XLA toolchains cannot compile kernels for the B300's native GPU architecture (sm_103a). Therefore, native torch.compile and JAX/XLA comparisons are unavailable on B300. We will include these comparisons in the revised paper.
W3 / Q2: Log versus memory movement on newer GPUs
FuseLSE trades additional arithmetic for reduced HBM traffic: it performs approximately N-1 extra local pairwise log evaluations while reading the input only once. Both the arithmetic work and input traffic scale as O(N), so increasing N does not increase arithmetic intensity or progressively make FuseLSE compute-bound.
An arithmetic-intensity estimate further explains why this arithmetic-for-memory tradeoff is favorable. The LSE computation requires approximately 1.5 op/byte, below the 10.4 to 20.0 op/byte memory-bound ridge points of modern GPUs. Because exp/log execute on special-function hardware, this roofline estimate is only indicative; we therefore directly profiled DRAM traffic and a special-function-pipeline proxy on H100 and H200 at B=512, N=128256. One FP32 input volume is 262.7 MB:
Thus, the measured traffic corresponds to approximately one input volume for FuseLSE, two for torch.compile and JAX/XLA, and six for eager PyTorch. torch.compile remains near two input volumes, while JAX/XLA launches multiple kernels and also remains near two.
FuseLSE reaches 84.0% and 74.3% of peak DRAM throughput on H100 and H200, respectively. The special-function-pipeline proxy reaches 45.8% and 65.9% of peak, while only 0.10% and 0.21% of cycles are stalled because the math/SFU pipeline cannot accept another instruction. Thus, extra log activity does not create significant pressure on newer GPUs.