Greedy decoding produces different outputs across numerical precisions
Source published ·Modelwire updated
Original coverage: arXiv cs.LG ↗·How Modelwire adds context
The development
A new study reveals that greedy decoding in language models produces different outputs depending on numerical precision, even on identical hardware. Testing six models across three benchmarks showed 49-100% of prompts diverge between BF16 and FP16 formats, with single token differences cascading into entirely different trajectories. The root cause traces to how accumulated rounding errors interact with the margin between top logits at the output layer. This finding challenges assumptions about LLM determinism and has implications for reproducibility, deployment consistency, and the reliability of inference optimization techniques that trade precision for speed.
Modelwire’s AI-generated summary of coverage from arXiv cs.LG.
Modelwire analysis
ExplainerOur AI-generated reading of the wider context and the next developments to watch.
The study isolates precision as a source of non-determinism that compounds through autoregressive generation, not just a rounding artifact. This means two identical deployments on identical hardware can produce divergent outputs purely from numerical representation choices, making inference optimization decisions (BF16 vs FP16) consequential for output consistency, not just speed or memory.
This connects directly to the quantization exposure bias work from earlier this week. That research showed how sub-3-bit models drift from training trajectories during deployment; this paper reveals a lower-level mechanism: even full-precision models diverge based on how accumulated errors interact with logit margins. Together, they suggest that the gap between training and inference behavior runs deeper than just model capacity loss. The precision divergence also echoes the context noise problem from the long-context study, where small perturbations (there, nearby text; here, rounding) cascade into entirely different model trajectories.
If the same six models tested here show consistent divergence patterns when deployed in production systems (same prompts, same hardware, measured over weeks), that confirms this is not a lab artifact. Watch whether inference optimization frameworks (vLLM, TensorRT) begin documenting precision-specific output fingerprints as a deployment requirement, similar to how hardware verification now requires behavioral assertions.
This interpretation is generated from the summary above and the archive coverage cited below. Our methodology · Report an error
Coverage behind this analysis
These archive entries ground the connection in our analysis. They are ordered by source publication date, with links to our coverage and the original sources.
·arXiv cs.LG
Quantized models fail at reasoning due to exposure bias, new distillation method proposed
Researchers have identified a critical failure mode in quantized language models: exposure bias compounds during autoregressive generation, causing reasoning tasks to collapse into repetitive loops. The team proposes on-policy distillation, a training technique that aligns teacher supervision with the quantized model's actual deployment trajectory rather than fixed corpus prefixes. This addresses a fundamental mismatch in…
MentionsBF16 · FP16
How this coverage is produced
Modelwire uses AI to generate summaries and context from source headlines, snippets, and selected archive coverage. Automated checks do not verify every claim, and items are not routinely reviewed by a person before publication. Zacaria Solis operates the site. Read the linked source for the full evidence and report errors through our corrections process.
Modelwire summarizes, we don’t republish. arXiv cs.LG originally reported this story as “Greedy Decoding Is Not Precision-Invariant: Cross-Precision Output Divergence in LLM Inference”. The full content lives on arxiv.org. If you’re a publisher and want a different summarization policy for your work, see our takedown page.