potentialpaper

Demystifying Numerical Errors in LLM Inference: Achieving Reproducible Inference for Mission-Critical Tasks with HEAL

Zhenting Zhu, Lucas Thai, Shan Yu, Yicheng Liu, Yifan Qiao, Chenxi Wang, Harry Xu, Junyi Shu

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. As mission-critical LLMs demand reproducibility and existing approaches fail across heterogeneous hardware, we propose HEAL using INT16 quantization and compensation to match the reproducibility of the FP32 while reducing overhead by up to 6.0x.

Abstract. As Large Language Models (LLMs) deploy into mission-critical domains (e.g., finance, medicine, and law), output reproducibility has become a strict system requirement. While practitioners use greedy decoding to eliminate algorithmic stochasticity, empirical deployments with 16-bit precisions still exhibit catastrophic output divergence across heterogeneous GPUs. Through SASS-level profiling, we reveal that this inconsistency is fundamentally driven by truncation errors introduced during downcasting at kernel boundaries. However, achieving reproducibility via a global FP32 pipeline incurs prohibitive system penalties: bypassing 16-bit hardware accelerators hurts compute efficiency, while upcasting the KV cache doubles memory overhead. To bridge this gap, we propose Hybrid Error ALleviation (HEAL), a targeted intervention that approximates FP32 precision while resolving hardware constraints through two targeted mechanisms. First, recognizing that floating-point formats underutilize their bit-width for Q, K, V tensors, HEAL applies INT16 quantization that preserves numerical stability without expanding the KV cache footprint. Second, HEAL synthesizes high-precision matrix multiplications via an algebraic error compensation strategy, executing entirely on high-throughput 16-bit Tensor Cores. To evaluate our approach practically, we introduce MCR-Bench, a benchmark targeting reproducibility in mission-critical tasks. HEAL achieves the same level of reproducibility on downstream tasks as the FP32 baseline while reducing the performance overhead by up to 6.0$\times$.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviewers agree that the paper addresses an important and underexplored systems problem and find the root-cause analysis of cross-hardware numerical divergence technically strong. In particular, the identification of kernel-boundary truncation and the resulting targeted design of HEAL are viewed as meaningful contributions. At the same time, all reviewers provided substantive feedback and identified issues that merit careful consideration. The current assessments are mixed so convincing response to each reviewer’s concerns could materially affect the current assessment.

Final justification

All three reviewers found that the authors had adequately addressed their concerns in the rebuttal and recommended acceptance with scores 4/5/4. Based on this consensus, I recommend accepting the paper as a poster.

Area Chair npSN · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The reviewers agree that the paper addresses an important and underexplored systems problem and find the root-cause analysis of cross-hardware numerical divergence technically strong. In particular, the identification of kernel-boundary truncation and the resulting targeted design of HEAL are viewed as meaningful contributions. At the same time, all reviewers provided substantive feedback and identified issues that merit careful consideration. The current assessments are mixed so convincing response to each reviewer’s concerns could materially affect the current assessment.

Final justification

All three reviewers found that the authors had adequately addressed their concerns in the rebuttal and recommended acceptance with scores 4/5/4. Based on this consensus, I recommend accepting the paper as a poster.

1 comment
Authors · CommentOpenReview ↗

Thank you for providing the meta-review. We have submitted rebuttals to address the reviewers' concerns and summarize the key points below.

1. Scope, guarantees, and applicability

Reviewer QCJz — Question 1 / Weakness 1: Reproducibility versus correctness.

Reviewer yeSi — Question 3 / Weakness 1: Broader framing, non-absolute consistency, and FP8.

Reviewer 5QDe — Question 4 / Significance Concern: Low-temperature sampling.

We now separate cross-hardware functional reproducibility, agreement with an FP32 reference, and ground-truth task accuracy. HEAL targets functional agreement by reducing divergence from a stable FP32 anchor; it cannot make an incorrect prediction correct. We will formalize these definitions and revise conflating language.

We will broaden the motivation beyond mission-critical domains as Reviewer yeSi suggests. Mission-critical tasks are used because discrete, parseable outcomes make answer changes measurable. We will clearly acknowledge in our revised manuscript that HEAL reduces answer-changing numerical divergence rather than guaranteeing bitwise determinism.

For sampling, MedQA-200 results across temperatures show 99% lower KL divergence for HEAL-Full than native 16-bit execution. We also outline a practical extension for FP8 models that retains FP8 weights to reduce runtime memory usage while remaining substantially more efficient than a global FP32 pipeline.

2. Statistical validity, MCR-Bench, and model quality

Reviewer QCJz — Weakness 3: Perplexity, downstream accuracy, and long-context quality.

Reviewer yeSi — Question 2 / Weakness 2: MCR-Bench motivation and relation to existing metrics.

Reviewer 5QDe — Question 1 / Quality Concern 1 / Clarity Concern: Sample size, confidence intervals, and flip-rate interpretation.

We expanded the evaluation from 100 to 4500 questions and report 95% confidence intervals. HEAL-Full reduces FP16 flips by 91%-93%, while its point estimates remain above FP32. We will update the results in our revised manuscript.

MCR-Bench will be described as a curated evaluation protocol assembled from existing datasets, not a capability leaderboard. It includes multiple-choice, yes/no, and classification tasks. Final Hidden MSE measures internal divergence from the FP32 trajectory; answer flip rate measures its functional consequence. We also explain why perplexity and SQNR are not enough to capture sparse, answer-changing divergences.

Our evaluations of perplexity, downstream accuracy, and paired RULER long-context performance show that HEAL-Full has no systematic degradation relative to BF16. We will include these discussions in the revised manuscript.

3. HEAL variants, memory, and tuning

Reviewer QCJz — Question 2 / Weakness 2: Variant roles and deployment guidance.

Reviewer yeSi — Weakness 3: Consistency–performance trade-offs in HEAL variants.

Reviewer 5QDe — Questions 2–3 / Quality Concerns 2–3 / Clarity Concerns: Memory, variant presentation, sensitivity, and calibration.

We clarify that HEAL-Full is the complete recommended system; HEAL-Base, HEAL+, and HEAL++ are cumulative ablations. We will rename HEAL-Full to HEAL, label the others as ablations, and add a trade-off table and deployment guidance.

The reported memory inflation was a vLLM allocation artifact, not an intrinsic HEAL cost. After workspace and buffer-reuse optimizations, the memory overhead of HEAL-Full is limited to <2%.

Regarding the hyperparameters, varying the outlier-channel fraction produced essentially unchanged flip rates. For layer skipping, the selected configuration increased the median Final Hidden MSE by less than 20% relative to the non-skipped configuration across our calibration sets. We will report these analyses and the model-specific skip counts in the revised manuscript.

4. Comparisons, related work, and novelty

Reviewer yeSi — Question 1 / Weakness 3: Advanced quantization and related work.

Reviewer 5QDe — Question 5 / Originality Concern: Deterministic controls, batch invariance, reproducible summation, and novelty.

Our evaluation on quantized models shows that HEAL is complementary to weight-only quantization. When applied to AWQ and GPTQ, HEAL reduces cross-hardware flip rates by 88% while preserving task accuracy. We will discuss this and expand related work in the revised manuscript.

PyTorch and deterministic cuBLAS controls reduce same-device pairwise flips from 4.2% to 1.4%, but do not eliminate them. Batch-invariant methods control variation within a fixed hardware–software stack, while cross-hardware flips remain essentially unchanged. Reproducible-summation methods require specialized implementations across the pipeline. We will state explicitly that HEAL’s contribution is the hardware-level diagnosis and its targeted application to cross-hardware reproducibility, not fundamentally new numerical primitives.

Reviewer 5QDeOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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:

  1. 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.

  2. 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.

  3. While the paper shows HEAL-Base vs. HEAL+ progressions, it lacks sensitivity analyses for key hyperparameters: (a) the error contribution threshold θ\theta (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 (X=Xhi+Xlo/210X = X_{hi} + X_{lo}/2^{10}) 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
  1. 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.

  2. 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.

  3. The threshold θ=0.1%\theta = 0.1\% 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?

  4. For mission-critical applications, some systems use low-temperature sampling (e.g., T=0.1T=0.1) 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.

  5. 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

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.

Formatting concerns

There are no significant paper formatting concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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 ±\pm 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 ×\times, 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.

Approach A100 H100 MI300X
BF16 7.82 [7.07, 8.64] 8.24 [7.48, 9.08] 8.02 [7.26, 8.85]
FP16 3.93 [3.40, 4.54] 3.82 [3.30, 4.42] 3.78 [3.26, 4.38]
TF32 (+LayerCast) 2.09 [1.71, 2.55] 2.09 [1.71, 2.55] 2.16 [1.77, 2.62]
FP32 (+LayerCast) 0.09 [0.03, 0.23] 0.11 [0.05, 0.26] 0.13 [0.06, 0.29]
HEAL-Base 1.58 [1.25, 1.99] 1.33 [1.04, 1.71] 1.18 [0.90, 1.54]
HEAL+ 0.98 [0.73, 1.31] 0.71 [0.50, 1.00] 1.07 [0.81, 1.41]
HEAL++ 1.07 [0.81, 1.41] 1.04 [0.79, 1.39] 0.93 [0.69, 1.26]
HEAL-FULL 0.27 [0.15, 0.47] 0.36 [0.22, 0.58] 0.31 [0.19, 0.52]

On the larger evaluation, HEAL-FULL reduces the FP16 flip rate by approximately 91-93%91\text{-}93\%, although its point estimates remain above FP32.

FP32 itself still exhibits a small 0.09-0.13%0.09\text{-}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)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)D_{\mathrm{KL}}(P_{\mathrm{FP32}}\|P_{\mathrm{replay}}) between the temperature-scaled next-token distributions, reported in nats. For greedy decoding (T=0), we report the answer flip rate.

A100 Replay KL at T=0T=0 KL at T=0.1T=0.1 KL at T=1.0T=1.0
BF16 2.14×10−42.14\times10^{-4} 2.03×10−32.03\times10^{-3} 2.18×10−42.18\times10^{-4}
FP16 3.51×10−63.51\times10^{-6} 3.26×10−53.26\times10^{-5} 3.54×10−63.54\times10^{-6}
HEAL-FULL 4.82×10−84.82\times10^{-8} 3.10×10−73.10\times10^{-7} 4.96×10−84.96\times10^{-8}

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.

Reviewer 5QDe · CommentOpenReview ↗

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.

Reviewer yeSiOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses the problem of lack of reproducibility in FP16 LLM inference and notes that this problem is most significant in mission-critical applications such as finance, medicine and law. The paper introduces Hybrid Error ALleviation (HEAL) as a method that produces closer-to-FP32 output alignment with significantly less compute cost. The key insight that enables HEAL is a detailed tracing of the statistical tendency of error to be most significant among truncation operations that occur at kernel boundaries. This insight allows for targeted FP16 quantization that effectively bounds, in most cases, the accumulated error to a level that is below what will change the outcome. To validate their approach, the authors introduce [Mission-Critical Reproducibility] MCR-Bench consisting of 100 test cases from medical, legal and financial use cases. [From the Appendix, is seems some of possibly all of these are multiple choice questions - making it easier to trace "signifcant difference" in responses.] Results from five (5) tested models show reduced flip rates vs. FP16 and BF16 baselines.

Strengths and weaknesses

It is valuable to have a detailed understanding of where divergence comes from in LLM inference under reduced precision. This is important not only for reproducibility, but also for devising better methods of quantization. The greatest strengths of this paper are the insights into where error is concentrated and where sufficient "slack" exists in the pipeline to allow of safe quantization and retention of the associated computational speed-up that comes from reduced precision.

Weaknesses of the paper include -

  • The paper is framed in terms of providing a system suitable for mission critical tasks. The need for the consistent answers that come from numerical stability is not limited to mission-critical applications. Further, it should be noted that HEAL does not ensure consistency, it simply mitigates the problem by reducing the probability of a significant flip.

  • Along that line, the need for MCR-Bench is not well motivated. It is difficult for the reader to evaluate the validity of a new benchmark or use it to draw comparative conclusions with prior work. While I understand that "mission-critical tasks" is the theme of the paper, it's not clear the paper needed a new benchmark to measure success.

  • The related work is thin, especially the treatment of mixed-precision quantization methods, which would seem to be the most relevant point of comparison with HEAL. The reported evaluation of the method is limited to comparison with naive, holistic quantization methods. There is no comparison with more sophisticated methods. One comment here is that the "critical operational dynamics" captured in the paragraph that begins on line 179 [non-linear accumulation and structural imbalance] are phenomenon that have been previously reported by that community.

The lack of comparison with more advanced quantization methods is the most significant weakness and the weaknesses together make it difficult to evaluate the contribution of this work in context. While the error analysis is solid and the underlying insights are useful (and potentially valuable to the field), it is unclear that it provides a decisive advantage in replicating FP32 outcomes. If performance is also a primary consideration, results should be presented as a Pareto frontier that makes clear what the tradeoffs are between result consistency and compute cost.

Questions

Q1: Has there been any comparison of HEAL with more sophisticated quantization methods? Is there a way to specifically isolate how the insights into error made in this paper allow superior performance to existing methods?

Q2: Was the motivation for MCR-Bench to get a selection of multiple-choice questions? Is there any existing benchmark you could have used instead? While multiple-choice questions make it easier to measure "significant change," is that better than perplexity or SQNR or other measures?

Q3: The paper notes in the limitations in Appendix G that the method is incompatible with FP8. Is there any thinking on how the insights from this paper could be generalized?

Limitations

Limitations are adequately addressed as a bulleted list of items in Appendix G of the paper. There is no mention of limitations in the body of the paper.

Final justification

I have reviewed and considered all reviews, author rebuttals and other comments. After considering the author rebuttal to my review, I have increased my overall rating to "5" and recommend acceptance.

Formatting concerns

No formatting concerns with the paper.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Weakness 1

The paper is framed in terms of providing a system suitable for mission-critical tasks. The need for the consistent answers that come from numerical stability is not limited to mission-critical applications. Further, it should be noted that HEAL does not ensure consistency; it simply mitigates the problem by reducing the probability of a significant flip.

We agree that numerical stability matters beyond mission-critical domains; it also affects training-inference consistency and regression testing. We will broaden the introduction accordingly in the revision.

We chose mission-critical tasks as the evaluation vehicle for a specific methodological reason rather than as a scope restriction: they resolve to a discrete, parseable answer, which makes "the output changed" a well-defined and measurable event. On open-ended generation, any divergence metric requires an arbitrary threshold on string or semantic distance. We will state this rationale explicitly, so that the domain choice reads as a measurement instrument rather than a claim about only where the problem matters.

The reviewer is correct that HEAL bounds numerical divergence rather than enforcing 100% bit-level determinism. Bitwise determinism requires fixing kernels, reduction orders, and other execution details, a guarantee that does not generally transfer across GPU vendors and generations. HEAL instead targets functional reproducibility by reducing the probability that numerical divergence changes the final answer (from >5% to <0.5%), rather than eliminating flips entirely. We will state this limitation in the main body and revise language that implies absolute consistency.

Response to Question 1 & Weakness 3

Has there been any comparison of HEAL with more sophisticated quantization methods? How insights in this paper allow superior performance to existing methods? The related work is thin, especially the treatment of mixed-precision quantization methods, which would seem to be the most relevant point of comparison with HEAL.

We agree that the related work should be expanded; below, we clarify our positioning and report the requested comparison.

Positioning. Quantization methods span several categories: weight-only (e.g., GPTQ, AWQ), weight-activation (e.g., LLM.int8(), SmoothQuant), and KV-cache quantization (e.g., KIVI, KVQuant). They all optimize an accuracy-throughput or capacity frontier. Crucially, they are neither designed for nor evaluated on cross-hardware reproducibility. The distinction is not merely one of technique but of the quantity being controlled: a quantized model computes a different but mathematically deterministic function, and therefore changes what is computed without addressing whether that computation is reproducible across hardware.

However, as discussed in the manuscript, the primary driver of non-reproducibility is kernel boundary truncation. Two of these categories, weight-activation and KV-cache quantization, inherently rely on downcasting intermediate states, which introduces intentional truncation exactly at these activation and KV memory boundaries. Therefore, utilizing methods that introduce such additional truncation fundamentally degrades reproducibility. In contrast, weight-only quantization is orthogonal to and fully composable with HEAL. Because it only compresses static weights, it leaves intermediate runtime boundary writebacks untouched.

Comparison. To test this directly, we applied HEAL on top of GPTQ and AWQ for Qwen3-14B, and evaluated on the complete MedQA test set. Because a quantized model computes a different mathematical function, comparing it against our original FP32 anchor would conflate quantization accuracy loss with reproducibility failure. We therefore anchor each configuration against its own weights executed in a high-precision pipeline. In this way, the flip rate strictly isolates the divergence introduced by low-precision boundary execution with the function held fixed:

Configuration Final Hidden MSE Flip Rate % Task Accuracy %
BF16 1.03×10−31.03 \times 10^{-3} 7.86 81.54
AWQ (W4A16) 5.97×10−55.97 \times 10^{-5} 6.28 79.65
AWQ + HEAL-FULL 4.27×10−74.27 \times 10^{-7} 0.23 78.87
GPTQ (W4A16) 6.66×10−56.66 \times 10^{-5} 4.71 78.48
GPTQ + HEAL-FULL 5.03×10−75.03 \times 10^{-7} 0.55 78.24

Both quantized baselines retain high flip rates despite their efficiency and capacity benefits, showing that quantization leaves reproducibility unaddressed. HEAL reduces them to 0.23%0.23\% and 0.55%0.55\% while largely preserving task accuracy, confirming that HEAL is orthogonal and can be stacked with quantization.

We will expand the related work section with the above positioning and citations (GPTQ, AWQ, LLM.int8(), SmoothQuant, KIVI/KVQuant, massive activations), and add the composability results in the revised version.

Response to Question 2 & Weakness 2

Was the motivation for MCR-Bench to get a selection of multiple-choice questions? Is there any existing benchmark you could have used instead? While multiple-choice questions make it easier to measure "significant change," is that better than perplexity or SQNR or other measures? The need for MCR-Bench is not well motivated; it’s not clear the paper needed a new benchmark to measure success.

Thank you for raising this point. We agree that our presentation made MCR-Bench appear to be a new capability benchmark, which is not its intended role. MCR-Bench is a curated evaluation protocol built entirely from existing datasets (listed in Appendix E), rather than a benchmark intended to rank models or support comparisons with prior capability results.

Multiple-choice questions were not the motivation, this suite also includes yes/no decisions, multi-label legal classification, financial sentiment, and claim classification. We curate tasks according to two primary criteria:

  1. Consequential: tasks where an inconsistent answer carries real cost, so the measured quantity corresponds to a failure someone would care about.
  2. Objectively evaluable: a discrete, parseable answer, so that "the output changed" is a well-defined event rather than a threshold on string or semantic distance over free-form text.

We also favor questions broadly within the evaluated models’ capabilities, because changes on questions beyond their knowledge boundaries cannot be cleanly attributed to numerical instability. No single off-the-shelf benchmark was designed to combine consequential, objectively scorable tasks with the capability control and broad mission-critical coverage required for our study. We therefore curate a protocol from established datasets rather than adopt any one benchmark unchanged.

Perplexity and SQNR measure aggregate phenomena. Perplexity averages post-softmax token likelihood over a corpus, while SQNR summarizes average tensor distortion. Greedy autoregressive decoding is a discontinuous process: a small, localized numerical perturbation can change one near-tied argmax token, after which the entire generated trajectory may diverge. Because such events are sparse, they can remain practically invisible to aggregate metrics, as shown by the nearly unchanged perplexity in our response to Reviewer QCJz, Weakness 3.

Final Hidden MSE and answer flip rate capture the two relevant levels of this failure. Final Hidden MSE is measured on an FP32-aligned trajectory immediately before vocabulary projection and softmax, directly quantifying model-internal numerical divergence from the FP32 reference. Answer flip rate measures whether that divergence ultimately changes the downstream result. Conversely, numerical error need not cause a flip if it remains below the argmax margin. We therefore report these two metrics, as the execution-level error and its functional consequence.

To address the pilot’s limited statistical power and potential selection bias, we additionally constructed a model-agnostic 4500-question extension, with 1500 medical, 1500 legal, and 1500 financial questions. Please see our response to Reviewer 5QDe, Question 1 for the results.

We will revise the paper to frame MCR-Bench as a curated evaluation protocol, state these selection criteria explicitly, and clarify the complementary roles of task-level flip rate and aggregate numerical metrics.

Response to Question 3

The paper notes in the limitations in Appendix G that the method is incompatible with FP8. Is there any thinking on how the insights from this paper could be generalized?

HEAL is not fundamentally incompatible with FP8. However, native FP8 storage and computation alone cannot achieve HEAL-level reproducibility. Kernel-boundary truncation introduces relative error, and simply upcasting a value after it has been rounded to FP8 cannot recover the discarded information. An FP8 extension must therefore preserve or explicitly compensate for this residual error.

Concretely, model weights can remain in FP8 to reduce memory usage, while the residual, normalization, and operator-output paths remain protected in FP32. High-precision activations can be decomposed into FP16 components and evaluated using multiple FP16×FP8 GEMMs, with their results accumulated and written in FP32. The Attention path requires an analogous residual-aware representation for Q/K/V, followed by FP16 computation and FP32 accumulation.

Although this decomposition introduces additional computation, the dominant operations would remain on high-throughput low-precision Tensor Cores rather than falling back to native FP32 GEMMs. Therefore, such an extension could preserve FP8’s memory advantage while remaining substantially more efficient than a global FP32 pipeline, providing a practical path toward HEAL-style reproducibility for FP8 models. We will discuss this design direction and its compute-memory-reproducibility tradeoffs in the appendix.

Reviewer yeSi · CommentOpenReview ↗

Thank you for your detailed and complete reply to my questions and concerns.The additional context and results around quantization were helpful and I think add value to your paper. I also appreciated your replies to the other reviewers comments, which were informative. On the basis of the reviewer rebuttals, I will adjust my overall rating upward during the final justification phase.

Reviewer QCJzOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the lack of reproducibility in large language model inference across heterogeneous hardware, even under greedy decoding. The authors show that small numerical differences introduced by low-precision execution can accumulate across layers and eventually alter the top-1 token prediction. Through layer-wise error analysis and SASS-level profiling, they identify truncation at kernel boundaries, rather than the internal arithmetic of the kernels, as a major source of this instability.

To address this problem, the paper proposes HEAL, a hybrid numerical error-alleviation framework designed to achieve FP32-level functional reproducibility while retaining the efficiency of 16-bit hardware. HEAL uses INT16 quantization for attention-related tensors to preserve fractional precision without increasing KV-cache memory, and applies algebraic residual compensation to approximate high-precision matrix multiplication using 16-bit Tensor Cores. The paper also introduces MCR-Bench, a benchmark for evaluating reproducibility on mission-critical tasks in domains such as medicine, finance, and law.

The method is evaluated across multiple language models and three hardware platforms. The results show that HEAL substantially reduces answer-flip rates relative to BF16 and FP16 inference, approaching the reproducibility of FP32 while incurring significantly lower latency and memory overhead.

Strengths and weaknesses

Strengths

  • Strong motivation and careful root-cause analysis: The paper addresses a practically important systems problem: greedy decoding does not guarantee reproducible outputs across heterogeneous hardware. Rather than treating this as a generic floating-point issue, the authors trace numerical divergence from final token flips back through layer-wise error accumulation and kernel-level execution. The SASS-level analysis and controlled precision experiments provide a convincing explanation that truncation at kernel boundaries is a major source of instability.
  • Well-designed solution that follows directly from the diagnosis: HEAL is not a generic higher-precision fallback, but a targeted intervention for the two main hardware bottlenecks. INT16 representations preserve additional fractional precision for attention tensors without doubling KV-cache memory, while residual compensation reconstructs more accurate GEMM outputs using existing 16-bit Tensor Cores. This separation between memory-bound attention and compute-bound GEMM is technically well motivated and makes the system design coherent.
  • Broad and convincing empirical evaluation: The paper evaluates five open-source models across NVIDIA A100, NVIDIA H100, and AMD MI300X hardware. The reduction in answer-flip rate is substantial and consistent across models, with HEAL approaching the reproducibility of FP32 while being considerably more efficient. The experiments also report hidden-state error, throughput, latency, and memory overhead, providing a reasonably complete picture of the accuracy and efficiency trade-off.

Weakness

  • The distinction between reproducibility and correctness could be made clearer: HEAL reduces disagreement with the FP32 reference execution, but matching FP32 does not necessarily imply that the resulting answer is correct. Some parts of the presentation discuss mission-critical reliability in a way that may blur functional reproducibility with task accuracy. A clearer separation of cross-hardware agreement, agreement with FP32, and ground-truth accuracy would strengthen the interpretation of the results.
  • The practical trade-offs differ considerably across HEAL variants: The lighter HEAL variants provide strong improvements with relatively modest overhead, whereas HEAL-Full achieves the closest numerical match to FP32 at substantially higher memory and latency cost. The paper would benefit from a more explicit discussion of which variant is recommended under different deployment constraints, rather than presenting “FP32-level reproducibility” as a single operating point.
  • More analysis of quality preservation would be useful: The paper focuses primarily on reproducibility and numerical error, but the proposed INT16 attention representation and compensated GEMM may also affect standard model quality. Broader evaluation of perplexity, long-context behavior, and downstream benchmark accuracy would provide stronger evidence that improved reproducibility does not introduce systematic quality degradation.
Questions
  1. Could the authors more clearly separate reproducibility from task correctness?
  2. How should practitioners choose among the different HEAL variants under realistic deployment constraints?
Limitations

yes

Final justification

The response clearly separates reproducibility from correctness and provides stronger evidence of quality preservation. The main remaining concern is the considerable latency overhead of the full HEAL configuration.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Response to Question 1 & Weakness 1

Could the authors more clearly separate reproducibility from task correctness? Specifically, how should cross-hardware agreement, agreement with FP32, and ground-truth task accuracy be differentiated in the interpretation of the results?

We thank the reviewer for this insightful comment. We completely agree that these three properties are distinct, and we clarify them as follows:

Definitions and Distinctions:

  • Cross-Hardware Reproducibility: The requirement that a fixed model and input yield identical downstream task outcomes/answers (i.e., functional agreement rather than strict token-by-token parity) across heterogeneous hardware and software configurations. This functional consistency is what mission-critical deployments demand and what HEAL targets.
  • Agreement with FP32: The degree to which low-precision execution matches our full-precision reference, quantified by Final Hidden MSE and answer flip rate. We select FP32 as our anchor reference execution not because it represents the dataset's ground-truth label, but because FP32 execution exhibits high numerical stability, strong cross-hardware consistency, and acceptable usability on current GPUs.
  • Task Accuracy: Whether a generated output matches the dataset's objective ground-truth answer, which is a property determined entirely by the model’s capability and reasoning capacity. Task accuracy is independent of reproducibility. A model can be 100% reproducible while consistently returning an incorrect answer across different devices.

HEAL's Scope: HEAL does not aim to make an incorrect answer correct, nor does it affect a model's intrinsic accuracy; its sole objective is to ensure that whatever answer a model naturally produces under a stable reference remains deterministic across different deployment configurations.

As shown in Table 4 (Appendix A), task accuracy under the FP32 reference anchor reflects the intrinsic, model-specific capability boundary. HEAL is agnostic to whether a model's prediction is correct; it prevents numerical boundary truncation from flipping that prediction during inference. Therefore, the flip rates in Table 2 measure functional reproducibility alone: any residual flip is a numerical divergence event, not a failure of model accuracy.

Manuscript Revision: In the revised manuscript, we will add a dedicated paragraph at the beginning of Section 4 to formally introduce these three definitions, and carefully revise Sections 1 and 4 to eliminate any language that might conflate functional reproducibility with model correctness.

Response to Question 2 & Weakness 2

The practical trade-offs differ considerably across HEAL variants: How should practitioners choose among the different HEAL variants under realistic deployment constraints, rather than presenting “FP32-level reproducibility” as a single operating point?

We thank the reviewer for highlighting this. We recognize that our presentation invited a misreading, and we will clarify the framework's design directly: HEAL-Full is our full, recommended system; HEAL-Base, HEAL+, and HEAL++ are cumulative ablation steps designed strictly to isolate the contribution of each architectural component, rather than a menu of disjoint deployment choices.

Elimination of Memory Overhead in HEAL-Full: Regarding the memory metrics, the memory overhead initially reported for HEAL-Full was an engine-level implementation artifact in managing intermediate runtime allocations within vLLM. After optimizing the runtime workspace allocation and buffer reuse in the serving pipeline, HEAL-Full achieves its high-precision numerical compensation while operating within the native 16-bit baseline memory footprint.

Trade-offs and Deployment Guidance: With memory no longer serving as a differentiator, taking Qwen3-14B as an example, HEAL-Full's cost relative to the native BF16 baseline is an 89.8% TPOT overhead on average across hardware platforms, versus the 8.1$\times$ TPOT slowdown of the FP32 pipeline.

While the ablation variants are intended to demonstrate numerical progression rather than primary operating modes, they do characterize the cost-precision curve for readers operating under tighter latency constraints. We only summarize these trade-offs below for one of the models (Qwen3-14B) due to limited time:

Configuration TPOT Overhead (Average) Memory Usage Role & Deployment Guidance
BF16 0.0% 28.1 GiB
HEAL-Base 6.2% 28.3 GiB Ablation: FP32 residual flow + standard FP16 GEMM
HEAL+ 26.1% 28.3 GiB Ablation: + INT16/dual-FP16 Attention protection
HEAL++ 22.3% 28.3 GiB Ablation: + Policy-driven layer skipping
HEAL-Full 89.8% 28.5 GiB Recommended full configuration for mission-critical tasks
FP32 (LayerCast) 8.1$\times$ 29.6 GiB Full high-precision reference anchor

Manuscript Revisions: In the revised paper, we will:

  1. Clarify that HEAL-Full is our primary full system and rename it to HEAL while explicitly labeling Base, +, and ++ as cumulative ablations throughout.
  2. Include the summary trade-off table for across all models and hardware types to clarify system variants (as also requested by Reviewer 5QDe).
  3. Report the updated, optimized memory usage measurements alongside explicit deployment recommendations for latency-sensitive versus strict-reproducibility scenarios.

Response to Weakness 3

Broader evaluation of perplexity, long-context behavior, and downstream benchmark accuracy would provide stronger evidence that improved reproducibility does not introduce systematic quality degradation.

We thank the reviewer for this suggestion. To examine whether HEAL causes systematic quality degradation, we compare HEAL-Full with the native BF16 baseline on Qwen3-14B. We evaluate perplexity, general knowledge, instruction following, mathematics, coding, multilingual understanding, and long-context behavior. The corresponding Qwen3 Technical Report results are included as references.

Downstream benchmarks use thinking mode, following Table 15 of the Technical Report. WikiText-2 uses raw likelihood scoring with thinking explicitly disabled.

Benchmark / metric Task Tech Report BF16 HEAL-Full
WikiText-2 PPL ↓ Language modeling, full 62-document test split — 11.1106 11.1026
MMLU-Redux Acc. ↑ General knowledge, full 5,330 examples 88.6% 89.72% 89.66%
IFEval Strict Acc. ↑ Instruction following 85.4% 87.06% 86.32%
MATH-500 Pass@1 ↑ Mathematical reasoning 96.8% 95.6% 96.2%
LiveCodeBench-v5 Pass@1 ↑ Code generation 63.5% 59.28% 66.47%
MMMLU-14 Acc. ↑ Multilingual knowledge, fixed 10% subset 77.9% 77.89% 77.89%

For long-context behavior, we only evaluate a compact RULER subset containing four task types due to limited time: needle retrieval (niah_single_2), variable tracking (ruler_vt), frequent-word extraction (ruler_fwe), and multi-hop QA (ruler_qa_hotpot). We evaluate two instances per task at each of six lengths, for 48 instances in total, with thinking disabled (same as in the technical report). Because this subset uses a different task composition and substantially fewer samples than the full RULER suite, its absolute scores are not directly comparable to the Technical Report; we use it only for the paired BF16-HEAL comparison.

Sequence length BF16: 4-task subset HEAL-Full: same subset
4K 87.50% 87.50%
8K 87.50% 87.50%
16K 83.33% 83.33%
32K 83.33% 83.33%
64K 79.17% 79.17%
128K 79.17% 79.17%
Average 83.33% 83.33%

Manuscript Revisions: In the revised paper, we will include these benchmark comparison tables (with full results for long-context behavior) in the Appendix to explicitly demonstrate that HEAL achieves robust cross-hardware reproducibility with no degradation to general model quality.

Reviewer QCJz · CommentOpenReview ↗

Response to Authors

Thank you for the detailed rebuttal and additional experiments. My original score was already positive, and I am keeping it unchanged while increasing my confidence. The response clearly separates reproducibility from correctness and provides stronger evidence of quality preservation. The main remaining concern is the considerable latency overhead of the full HEAL configuration.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…