Defeating Nondeterminism in LLM Inference
The DOI matches its Crossref record.
Abstract
Reproducibility is a bedrock of scientific progress. However, it’s remarkably difficult to get reproducible results out of large language models. For example, you might observe that asking ChatGPT the same question multiple times provides different results. This by itself is not surprising, since getting a result from a language model involves “sampling”, a process that converts the language model’s output into a probability distribution and probabilistically selects a token. What might be more surprising is that even when we adjust the temperature down to 0This means that the LLM always chooses the highest probability token, which is called greedy sampling. (thus making the sampling theoretically deterministic), LLM APIs are still not deterministic in practice (see past discussions here, here, or here). Even when running inference on your own hardware with an OSS inference library like vLLM or SGLang, sampling still isn’t deterministic (see here or here).
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“To make the generation more responsive, engineering optimizations include quantization, speculative decoding, and parallelism, further introducing uncertainty of model’s behavior34.”
From Understanding large language models demands distinguishing human projection from machine cognition (2026) · cites this paper as [34]
Citations
Cited by
On Randomness in Agentic Evals
Bjarnason, B. H., Silva, A., & Monperrus, M. (2026) · arXiv · doi:10.48550/arxiv.2602.07150 · Cited by 49
“In practice, determinism is not achievable (Yuan et al., 2025; He & Lab, 2025): modern LLM inference engines introduce various sources of non-determinism including floating-point precision, parallelization, hardware-specific optimizations, and batching strategies.”
Long, D. M., Wang, Y., 王, 亚., & Sun, L. (2026) · AI for Science · doi:10.1088/3050-287x/ae4a3e · Cited by 1
Agentic search for BIM information extraction: Systematic evaluation
Hellin, S., Jang, S., Fuchs, S., Nousias, S., & Borrmann, A. (2026) · Automation in Construction · doi:10.1016/j.autcon.2026.107260 · Cited by 7
Towards a Science of AI Agent Reliability
Rabanser, S., Kapoor, S., Kirgis, P., Liu, K., Utpala, S., & Narayanan, A. (2026) · arXiv · doi:10.48550/arxiv.2602.16666 · Cited by 1
Understanding large language models demands distinguishing human projection from machine cognition
Li, L., Teng, Y., Wang, Y., & Hu, X. (2026) · Communications Psychology · doi:10.1038/s44271-026-00508-6
“To make the generation more responsive, engineering optimizations include quantization, speculative decoding, and parallelism, further introducing uncertainty of model ’ s behavior 34 .”
Metadata
- Authors
- Lab, T. M., He, H., & Lab, T. M.
- Publisher
- Thinking Machines Lab: Connectionism
- Published
- 2025-09-10
- OpenAlex
- W4414087287
- Semantic Scholar
- d72805bc86a9318498a9177120f1e11eec375b80
- Cited by
- 16
- References
- 0
- Citations by year
- 2026: 15 · 2025: 1
- Type
- report
- Language
- en
- Open access
- closed
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Keywords
- large language models, non-determinism, reproducibility, sampling, greedy sampling, temperature, vLLM, SGLang
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.