English

Introducing Background Temperature to Characterise Hidden Randomness in Large Language Models

Artificial Intelligence 2026-04-27 v1 Computation and Language Machine Learning

Abstract

Even when decoding with temperature T=0T=0, large language models (LLMs) can produce divergent outputs for identical inputs. Recent work by Thinking Machines Lab highlights implementation-level sources of nondeterminism, including batch-size variation, kernel non-invariance, and floating-point non-associativity. In this short note we formalize this behavior by introducing the notion of \emph{background temperature} TbgT_{\mathrm{bg}}, the effective temperature induced by an implementation-dependent perturbation process observed even when nominal T=0T=0. We provide clean definitions, show how TbgT_{\mathrm{bg}} relates to a stochastic perturbation governed by the inference environment II, and propose an empirical protocol to estimate TbgT_{bg} via the equivalent temperature Tn(I)T_n(I) of an ideal reference system. We conclude with a set of pilot experiments run on a representative pool from the major LLM providers that demonstrate the idea and outline implications for reproducibility, evaluation, and deployment.

Keywords

Cite

@article{arxiv.2604.22411,
  title  = {Introducing Background Temperature to Characterise Hidden Randomness in Large Language Models},
  author = {Alberto Messina and Stefano Scotta},
  journal= {arXiv preprint arXiv:2604.22411},
  year   = {2026}
}
R2 v1 2026-07-01T12:33:38.459Z