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 .”
What Are We Actually Benchmarking in Robot Manipulation?
Jiang, T., Tan, X., Wheeler, S., Sun, L., Ayalew, T. W., & Walter, M. (2026) · arXiv · doi:10.48550/arxiv.2606.04233
“A recent technical discussion of LLM inference nondeterminism emphasizes that bitwise reproducibility depends on the chosen system boundary and numerical implementation details [63].”
Stochasticity in Agentic Evaluations: Quantifying Inconsistency with Intraclass Correlation
Mustahsan, Z., Lim, A., Anand, M., Jain, S., & McCann, B. (2025) · arXiv · doi:10.48550/arxiv.2512.06710 · Cited by 20
The Science of Large Language ModelsPreprint
Raeini, M. (2025) · SSRN Electronic Journal · doi:10.2139/ssrn.5692942
Saßmannshausen, T. M., & Wagener, S. (2026) · Qeios · doi:10.32388/gag6kd
Saßmannshausen, T. M., & Wagener, S. (2026) · Qeios · doi:10.32388/gag6kd.2
MedNuggetizer: Confidence-Based Information Nugget Extraction from Medical Documents
Donabauer, G., Ateia, S., Kruschwitz, U., Burger, M., May, M., Gilfrich, C. P., Haas, M., Garzaro, J. R. R., & Eckl, C. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-21321-1_26 · Cited by 1
From Prompt to Pipeline: Why and How AI-Assisted Workflows Harden into Deterministic SystemsPreprint
Ilagan, J. B., Uy, G. A., & Ilagan, J. R. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6358278
Sum-Check Protocol for Approximate Computations
Bitan, D., DeStefano, Z., Goldwasser, S., Ishai, Y., Kalai, Y. T., & Thaler, J. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-25336-1_8 · Cited by 2
Behavioral Fingerprints for LLM Endpoint Stability and Identity
Leshin, J., Shah, M., Timmis, I., & Kang, D. D. (2026) · ACM Conference on AI and Agentic Systems (CAIS) · doi:10.1145/3786335.3813194 · Cited by 6
Labonté, F. M., Giri, S., Herbrik, C., & Flek, L. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-28819-6_39
The Invisible Author: Generative AI and the Auditability GapPreprint
Lucchi, N. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7024098
Let the Alerts Speak: LLM-Based IDS Alert Interpretation for SOC Triage
Schärmer, A. S., Landauer, M., Skopik, F., Wurzenberger, M., & Squarcina, M. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-35579-9_19
“Ultimately, these variations align with trends seen in the other experiments and known sources of LLM nondeter-minism such as GPU concurrency and batch invariance failures [7].”
Generative AI Technologies, Techniques and Tensions: A Primer
Behrens, J. T. (2026) · Springer eBooks · doi:10.1007/978-3-032-24819-0_2 · Cited by 2
Bessa, T. F., Silva, C. A. M., & Bessa, R. J. G. D. S. B. (2026) · International Conference on Smart Energy Systems and Technologies (SEST) · doi:10.1109/sest67798.2026.11712352
“Accordingly, the reported results should be interpreted as promising but pre-liminary, since current LLM inference pipelines may exhibit run-to-run variability even under zero temperature [23].”
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.