- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper investigates the root causes of non-deterministic outputs in Large Language Model (LLM) inference under greedy decoding across heterogeneous GPU hardware. The core insight, established through NVIDIA SASS instruction-level profiling, is that the primary source of instability is not internal kernel arithmetic (which already executes in FP32 on Tensor Cores) but rather "boundary truncation": the mandatory downcasting to 16-bit formats when writing results back to global memory at kernel boundaries. The authors decompose the resulting numerical error into three components and trace how these errors accumulate layer-by-layer and token-by-token, eventually triggering catastrophic output divergence. Based on this analysis, they propose HEAL (Hybrid Error ALleviation), a two-part framework: (1) INT16 quantization for attention QKV storage, unpacked into a dual-FP16 representation emulating ~20 bits of significand precision, and (2) algebraic error compensation for GEMM that isolates outlier channels into a residual correction term. Additionally, the paper introduces MCR-Bench, a benchmark of 100 mission-critical tasks spanning medical, legal, and financial domains. Experiments across five models and three GPU platformsshow that HEAL-Full achieves 0.0–0.1% answer flip rates (matching FP32) while incurring roughly 2× latency overhead versus BF16, compared to 12–16× for a full FP32 pipeline.
Strengths and weaknesses
Quality
The technical quality of this paper is strong, particularly in the root-cause analysis. The SASS-level profiling that identifies boundary truncation as the primary instability source is convincing and methodologically rigorous. This goes deeper than most systems papers. The error decomposition into three components provides a useful conceptual framework, and the empirical observation that stability is reached at approximately 11–13 significand bits gives a clear engineering target that motivates the dual-FP16 design.
However, there are still some remaining concerns:
-
The benchmark contains only 100 test cases. When reporting answer flip rates of 0.0–0.1%, a single flipped answer corresponds to a 1% change. The reported error bars (e.g., ±0.7, ±0.3 in Table 2) are difficult to interpret at this scale. The paper does not provide confidence intervals or discuss statistical power. For a benchmark claiming to evaluate "mission-critical" reliability, 100 samples is insufficient to characterize rare-event behavior with any statistical confidence.
-
A critical finding partially hidden in Table 3 is that HEAL-Full incurs substantially more memory overhead than FP32 LayerCast, for DeepSeek-14B, HEAL-Full adds ~23 GiB versus only ~5.5 GiB for FP32. This means HEAL trades compute efficiency for memory inefficiency, which could be a deployment blocker on memory-constrained GPUs (e.g., single-GPU inference). This tradeoff deserves prominent discussion in the main body rather than being relegated to appendix tables. The authors also need to clarify how this memory trade-off limits the scope of broader usage.
-
While the paper shows HEAL-Base vs. HEAL+ progressions, it lacks sensitivity analyses for key hyperparameters: (a) the error contribution threshold (fixed at 0.1% with no justification beyond a single value), (b) the outlier percentage for GEMM decomposition (fixed at 1%), and (c) the number of layers that can be skipped. Without these, it is difficult to assess the robustness of the framework or how much tuning effort is needed for new models.
Clarity
The paper is well-written overall. The "life cycle of numerical errors" narrative in Section 2 is pedagogically effective, and Figures 1–2 clearly illustrate the catastrophic regime and error contributions per layer. The dual-FP16 math () is cleanly presented, and the GEMM decomposition is easy to follow. Some clarity issues exist: the distinction between HEAL-Base, HEAL+, and HEAL-Full could be introduced more explicitly with a single summary table early on. The paper also does not clearly define what "answer flip rate" means for open-ended generation tasks (versus multiple-choice), which is important for interpreting the MCR-Bench numbers. Additionally, the memory overhead story is scattered across the main body (Table 3) and appendix (Tables 7–10), making it difficult for readers to grasp the full cost picture.
Significance
The problem of LLM inference reproducibility across heterogeneous hardware is genuinely important and under-studied. The paper correctly identifies that as LLM deployment scales to mission-critical applications in medicine, law, and finance, non-determinism becomes a compliance and safety issue. The practical impact is potentially high: HEAL offers a 6–7× compute advantage over FP32 on favorable hardware (H100), which is meaningful for production deployments. However, the significance is narrower than the paper suggests. The entire framework is predicated on greedy decoding (temperature=0). Many production LLM deployments use sampling-based decoding (temperature > 0), where the stochasticity from sampling dominates numerical noise. The paper does not attempt to analyze how HEAL's noise bounding affects logit distributions under non-greedy settings, nor does it discuss whether the approach extends to beam search or top-k/top-p sampling. This limits the "mission-critical" framing considerably. The scope is also limited to 16/32-bit formats; the authors acknowledge that FP8 (increasingly important for inference) is not supported. As the industry moves toward FP8 and lower-precision inference, the practical window for this work may narrow.
Originality
The root-cause analysis via SASS profiling is the most original contribution: localizing instability to boundary truncation rather than internal arithmetic is a non-obvious insight that contradicts naive intuitions about floating-point error sources. The dual-FP16 representation for INT16 attention and the algebraic GEMM decomposition, while drawing on established techniques (error compensation, outlier isolation from quantization literature), are applied in a novel context. That said, the individual techniques are not fundamentally new. Mixed-precision training with error compensation has been explored, and outlier-aware quantization is well-studied. The novelty lies in the specific combination and application to inference reproducibility rather than in new algorithmic primitives. The paper would benefit from more explicitly acknowledging the relationship to prior error compensation methods, including NVIDIA's deterministic operation modes and cuBLAS deterministic settings, and working on reproducible summation in HPC.
Questions
-
With only 100 test cases, what's the confidence that a 0.0% flip rate is truly zero rather than a sampling artifact? Could the authors run the benchmark with 1k+ prompts and report flip rates with proper confidence intervals? If flips are rare events, a larger sample is essential to distinguish between "solved" and "below detection threshold." This would significantly strengthen the empirical claims.
-
HEAL-Full demonstrates a significant memory tradeoff. HEAL-Full adds ~23 GiB for DeepSeek-14B versus ~5.5 GiB for FP32 LayerCast. Can the authors clarify the source of this 4× memory inflation? Is it primarily from the dual-FP16 unpacking, the error residual buffers, or the replicated GEMM paths? Is there a deployment regime where HEAL-Full becomes memory-infeasible on a single 80GB GPU? A clear discussion of when to use HEAL-Full vs. FP32 LayerCast would be valuable.
-
The threshold and 1% outlier channel selection appear to be fixed without justification. Could the authors provide an ablation showing flip rate and throughput as a function of these hyperparameters? If these values must be tuned per-model, what is the calibration cost?
-
For mission-critical applications, some systems use low-temperature sampling (e.g., ) rather than strict greedy. Does HEAL reduce the KL divergence between logit distributions on different hardware even when the final token selection is stochastic? If so, this would substantially broaden the paper's applicability.
-
How does HEAL compare against simply enabling
torch.use_deterministic_algorithms(True)combined with cuBLAS deterministic settings? If these standard tools are insufficient for cross-hardware reproducibility, an explicit comparison would strengthen the motivation and demonstrate that HEAL solves a problem that existing tools cannot.
Limitations
yes
Paper formatting concerns
There are no significant paper formatting concerns.
Final justification
Thank you for your detailed and complete reply to my questions and concerns. The additional responses are helpful, and I think they add value to your paper. I will keep my score positive as borderline accept.
Response to Question 1 & Quality Concern 1 - Extended evaluation
Thank you for raising this concern. We agree that the original 100-question evaluation was insufficient to characterize rare events. To clarify Table 2, for each approach we computed the flip rate under three generation schedules, differing in prompt order and batch size, on each of A100, H100, and MI300X, yielding nine execution cases. The reported central value is the arithmetic mean of these nine flip rates, and the ± value is their standard deviation. Thus, one flip in one case gives $ 0.1\pm0.3% $ after rounding. However, because these nine cases reuse the same 100 questions, they do not reduce sampling uncertainty over rare flips.
We have therefore expanded the evaluation by 45 ×, to 4500 questions: 1500 each from medical, legal, and financial domains distributed across the constituent datasets and randomly sampled. We also verify that the selected questions have stable Qwen3-32B FP32 answers, reducing the possibility that observed changes reflect the model’s knowledge boundary rather than numerical instability. With 4500 questions, one flip corresponds to 0.022%, rather than 1%.
The resulting Qwen3-14B answer flip rates are shown below. Brackets report 95% confidence intervals over the 4500 questions.
On the larger evaluation, HEAL-FULL reduces the FP16 flip rate by approximately 91-93%, although its point estimates remain above FP32.
FP32 itself still exhibits a small 0.09-0.13% flip rate because each evaluated execution is compared against a fixed FP32 reference. Although FP32 avoids low-precision boundary truncation, differences in hardware, kernel scheduling, and parallel reduction order can still produce small rounding differences due to the non-associativity of floating-point arithmetic.
Manual inspection shows that residual FP32 and HEAL-FULL flips occur primarily near decision boundaries. At the first divergent token, the top-two probability margin is typically O(10−4); small numerical differences can therefore cross the argmax boundary and redirect generation among plausible answers.
We will replace the original 100-question results with the 4500-question evaluation in our revision.
Response to Question 2 & Quality Concern 2 - Clarification of memory tradeoff
After investigation, we found that the previously reported memory overhead was an engine-level implementation artifact in vLLM’s management of intermediate runtime allocations, rather than an intrinsic cost of HEAL-Full. By optimizing runtime workspace allocation and buffer reuse, we have removed this overhead while preserving HEAL-Full’s high-precision numerical compensation.
The memory overheads of both HEAL-Full and LayerCast are now substantially lower. For Qwen3-14B, the native 16-bit baseline uses 28.1 GiB, while HEAL-Full uses 28.5 GiB (+0.4 GiB) and FP32 LayerCast uses 29.6 GiB (+1.5 GiB). We will update the corresponding memory results in the revision.
Response to Question 3 & Quality Concern 3 - Sensitivity to hyperparameters
Thank you for raising this concern. We varied the outlier-channel fraction and observed essentially unchanged answer flip rates across the evaluated settings. This is expected because no intermediate values exceeded the representable FP16 range. Protecting the largest-magnitude outlier channels is therefore a conservative safeguard; once the largest few channels are protected, changing the exact fraction has little effect.
For layer skipping, applying the 0.1% attribution threshold allows us to skip the first 9 layers of Qwen3-14B. The corresponding skip counts are 7 for Qwen3-8B, 8 for Qwen3-32B, 1 for Llama-3.1-8B, and 4 for DeepSeek-R1-Distill-Qwen-14B. We validate this configuration across randomly sampled 32-example MedQA calibration sets. Although the mean Final Hidden MSE is sensitive to occasional extreme-error samples, the median increases by less than 20% relative to the non-skipped configuration, indicating that layer skipping has only a limited influence on overall numerical stability.
We will include a dedicated discussion on these hyperparameters in our revision.
Response to Question 4 & Significance Concern - Applicability to low-temperature sampling
Thank you for raising this important point. We agree that sampled decoding should be evaluated through distributional alignment rather than exact output matching. On MedQA-200, we generate FP32 reference traces on H100 and replay the same token trajectories on A100 under each precision configuration. This isolates numerical divergence from divergence caused by sampling different tokens. For sampled decoding, we compute the token-micro-averaged DKL(PFP32∥Preplay) between the temperature-scaled next-token distributions, reported in nats. For greedy decoding (T=0), we report the answer flip rate.
Clearly, HEAL-FULL exhibits magnitudes lower average KL divergence compared with native 16-bit approaches, making the underlying sampling distribution substantially closer to the FP32 reference and less dependent on execution hardware.
Regarding FP8, HEAL is not fundamentally incompatible with the format. Native FP8 storage and computation alone cannot provide HEAL-level reproducibility because upcasting a value after it has been rounded to FP8 cannot recover the information discarded at the kernel boundary. An FP8 extension must therefore preserve or explicitly compensate for this residual error.
One practical design is to retain model weights in FP8 while protecting residual, normalization, and operator-output paths in FP32. Activations can be decomposed into FP16 components and evaluated through multiple FP16$\times$FP8 GEMMs with FP32 accumulation, with an analogous residual-aware representation for Attention Q/K/V. Although this introduces additional computation, the dominant operations remain on high-throughput low-precision Tensor Cores, retaining FP8’s memory advantage while remaining substantially more efficient than a global FP32 pipeline.
Response to Question 5 & Originality Concern - Qualitative and Quantitative comparison between HEAL and other existing methods
We thank the reviewer for this framing, which we think is accurate: our primitives are not new, and the contribution lies in the diagnosis and its application to cross-hardware reproducibility. We will state this explicitly rather than leaving it implicit.
We evaluated repeated Qwen3-14B FP16 executions on the same 500-question subset on H100. Without deterministic controls, the two executions differed on 4.2% of the answers. After enabling torch.use_deterministic_algorithms(True) and deterministic cuBLAS settings (
CUBLAS_WORKSPACE_CONFIG=:4096:8), the pairwise answer flip rate decreased to 1.4%. Thus, these settings reduce same-device run-to-run variation but do not eliminate it even on the same hardware.Batch-invariant methods [1] go further by fixing the kernel configuration across different batch sizes, thereby preserving the same summation order for each request. This eliminates batching-induced numerical variation within a fixed hardware-and-software stack. However, the fixed execution path remains hardware-specific: A100, H100, and MI300X use different kernels, instructions, and reduction implementations. Consequently, batch invariance cannot guarantee cross-hardware agreement, and the cross-hardware answer flip rate remained essentially unchanged in our evaluation.
Reproducible-summation methods such as ReproBLAS [2] take a stronger operator-level approach, using specialized accumulators or floating-point expansions to make individual reductions bitwise invariant to summation order, given identical inputs. Extending this guarantee to an entire LLM pipeline would require reproducible implementations for every relevant kernel and operation. These specialized accumulation schemes introduce additional computation and storage overhead and make it difficult to reuse highly optimized hardware-specific kernels directly.
In contrast, HEAL does not enforce an identical kernel path or summation order. Instead, it substantially reduces the dominant kernel-boundary truncation error so that the accumulated error remains below the answer-flipping threshold in most cases, making the inference robust to the remaining cross-hardware differences.
We will clarify this distinction in the paper and expand the related-work discussion to acknowledge the established techniques underlying HEAL’s individual components.
[1] Yuan et al., “Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference,” NeurIPS 2026.
[2] Demmel et al., “Efficient Reproducible Floating-Point Summation and BLAS,” UCB/EECS-2016-121, 2016.