Randomness in large language models: What researchers need to know (and report)
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Economics. The day in economics: theory, mechanisms and the evidence beneath them.
Ruth: We're looking at the paper: "Randomness in large language models".
Paper summary: Iris: We've established that LLM outputs are not deterministic and this paper calls it "Randomness in large language models: What researchers need to know (and report)". The authors argue that this variation stems from several factors, including deliberate sampling, silent model updates, numerical rounding, and expert routing.
Ruth: They focus on the practical consequences of this randomness by illustrating it through sentiment classifications of corporate filings. The main takeaway is that repeated classifications can produce very different regression statistics even when the filing excerpts and prompts remain fixed.
Warren: And they highlight that for commercial providers like OpenAI or Anthropic, researchers have very little control over the serving infrastructure, which means they can't archive the deployed model or identify the specific hardware used.
Iris: That lack of transparency is what causes a lot of issues because researchers often treat this generated data as if it were fixed observations when it’s actually variable. The paper notes that existing policies in fields like economics and management only offer limited guidance for this situation.
Ruth: So the paper isn't just pointing out a problem; they are trying to guide the community on how to handle these sources of variation, which is why they propose specific reporting standards for authors and data editors.
Warren: They make a distinction between what authors need to report in their papers and what the replication package requires, classifying these items into different priorities.
Iris: It’s about making sure that when someone wants to check your work, they have a clear way to verify if the results were truly reproducible given the sources of randomness identified.
Ruth: This paper also touches on how rapidly LLMs are being adopted in economics and management research, examining articles published between January two thousand twenty and July two thousand twenty-six in top-tier journals <ref:2607.24372#pg1>. They show a striking increase in the use of these models.
Warren: So while adoption is growing fast, the authors caution that this estimate based only on titles and abstracts is likely conservative because it doesn't reflect how researchers actually use them in their full articles.
Iris: It’s a warning about how quickly these tools are being integrated, but it also shows that there's still a lag between adoption and the actual practice of using them in published research.
Ruth: So, to summarize this section of the paper, it lays out the mechanics of LLM non-determinism and explains why it challenges traditional methods of measurement when using these models for generating data.
Conclusion: Warren: Looking at this paper, "Randomness in large language models: What researchers need to know (and report)", the authors conclude that LLM output should be viewed as draws from a distribution rather than fixed measurements.
Ruth: They urge researchers to adopt minimal requirements for reporting and verification to ensure the stability of research foundations, stressing that this is how we maintain research integrity.
Iris: They also emphasize that using open-weight models offers advantages over proprietary models because they are not locked into preserving legacy models, which makes control much easier for those who need exact results.
Warren: So the final recommendation is to set temperature to zero when possible and insist on strict documentation requirements for all LLM usage in published work. That's the practical path forward they suggest.
Ruth: And they stress that archived open weights on a controlled local stack provide the strongest route to exact reproduction, but only when you have documented and preserved the complete serving environment.
Warren: It’s a lot of documentation effort, but it seems necessary if we want to trust the results derived from these large language models in our quantitative fields.
Iris: This paper is important because it moves us away from treating LLM output as perfect answers and forces us to treat it with the skepticism that every other complex measurement requires.
Guillaume Coqueret, Joan Llull, Florian Oswald, Christophe Pérignon, Christoph Scheuch, Lars Vilhuber
EMLYON Business School, France · Institute for Economic Analysis (IAE-CSIC) · University of Turin and Collegio Carlo Alberto, Italy · HEC Paris, France · Humboldt University of Berlin, Germany · Cornell University
econ.GN, q-fin.EC
Submitted: 2026-07-27
Updated: 2026-12-03
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: Large language model outputs should be treated as draws from a distribution rather than as fixed measurements.<ref:2607.24372#pg1…
Key concepts
- Sources of Non-Determinism
- LLM outputs vary because of several factors: deliberate sampling, silent model updates, floating-point rounding errors, and expert routing. These sources introduce randomness into the model's responses across different calls.
- Control and Reproducibility
- Control over randomness is highest when running open-weight models locally. This allows researchers to archive weights, fix batch sizes, and preserve the exact software environment. Commercial services offer much less control over these execution details.
- Temperature Parameter (T)
- The temperature setting controls deliberate sampling in LLMs. Setting T=0 removes this sampling randomness, which significantly improves consistency for models like DeepSeek and Gemma-4 when deployed locally, concentrating statistics at a single value.
- Reporting Standards
- Authors must report the specific model, settings used, and output stability in their paper. A replication package containing all raw outputs is required so data editors can verify results by reproducing them using the provided parameters.
Terminology
Summary
Large language model outputs should be treated as draws from a distribution rather than as fixed measurements. p. 0 Together, these findings and recommendations
establish that LLM outputs should be treated as draws from a distribution rather than as fixed
measurements. 1 Introduction
Large language models (LLMs) have become ubiquitous in modern academic research. 2024; Loch 2025). Our central thesis is simple: data generated by an LLM should be treated as draws from a distribution, not as fixed measurements. We hope these contributions will
stimulate discussion among researchers and journal (data) editors, and provide a foundation for
the development of reporting and verification standards for the use of LLMs in empirical research. We complement the emerging literature on the reproducibility and reliability of LLM-generated
data in empirical research.Where the paper says it
Where the paper says it
Where the paper says it
Sources of Non-Determinism
The authors identify four main sources of variation across repeated model calls.<ref:2607.24372#pg1>. These sources include deliberate sampling, silent model updates, floating point rounding, and expert routing. p. 0 This variation arises
from deliberate sampling, silent model updates, numerical rounding, or expert routing. Setting
a dedicated temperature parameter to zero removes deliberate sampling when that option is
available, but it does not eliminate the other sources of randomness. This variation arises
from deliberate sampling, silent model updates, numerical rounding, or expert routing. Setting
a dedicated temperature parameter to zero removes deliberate sampling when that option is
available, but it does not eliminate the other sources of randomness. 3
Deliberate sampling is the source most directly controlled by the researcher when the model
provider exposes generation parameters. Setting temperature to zero can substantially improve
consistency and has no direct monetary cost.Where the paper says it
Where the paper says it
Where the paper says it
Control and Reproducibility
The level of control researchers have over the randomness depends heavily on the execution environment.<ref:2607.24372#pg8, Local execution of open weights provides the strongest available control>. p. 7 5 What researchers can control
Table 1 summarizes the main sources of variation. Local execution of open weights provides the
strongest available control. 5 What researchers can control
Table 1 summarizes the main sources of variation. Local execution of open weights provides the
strongest available control. Local execution of open weights provides the
strongest available control. Researchers can archive the weights, fix the batch size, preserve the
software environment, record the hardware, and request deterministic numerical operations where
supported. Commercial services provide much less control, especially when temperature cannot be set. Researchers generally have no control over the hardware, batching behavior, or silent model
updates. Commercial services provide much less control, especially when temperature cannot be set. Researchers generally have no control over the hardware, batching behavior, or silent model
updates.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Experimental Consequences
The study illustrates the practical consequences of model variation using a sentiment classification task on corporate filings.<ref:2607.24372#pg9, We illustrate the practical consequences of model variation through a common measurement task>. p. 8 It is between an execution environment that researchers can control
and one they cannot observe or preserve. 4 Illustration with annual corporate filings
We illustrate the practical consequences of model variation through a common measurement task. The model reads the content of
the filings and interprets them in different ways for each successive run. 5
This first experiment shows that repeated classifications can produce very different regression
statistics even though the filing excerpts, prompts, coding rules, and regression specification remain
fixed. The model reads the content of
the filings and interprets them in different ways for each successive run. 5
This first experiment shows that repeated classifications can produce very different regression
statistics even though the filing excerpts, prompts, coding rules, and regression specification remain
fixed. This variation arises
from deliberate sampling, silent model updates, numerical rounding, or expert routing. Setting
a dedicated temperature parameter to zero removes deliberate sampling when that option is
available, but it does not eliminate the other sources of randomness.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Reporting Standards
The paper proposes practical guidance for authors and data editors to handle LLM usage.<ref:2607.24372#pg12>. Authors should report the model used, settings, and stability of the output in the paper while providing all raw outputs in a replication package. p. 1 de Kok
(2025) provides practical guidance for using LLMs in empirical research and is among the first
papers to discuss the reproducibility implications of model-generated data. The paper recommends
archiving prompts and raw model outputs, noting that commercial models may change or become
unavailable over time. We illustrate these issues through sentiment
classifications of corporate filings and examine their consequences for downstream regression
results. We then propose a reporting standard for articles and replication packages, as well
as guidance for data editors and authors. de Kok
(2025) provides practical guidance for using LLMs in empirical research and is among the first
papers to discuss the reproducibility implications of model-generated data. The paper recommends
archiving prompts and raw model outputs, noting that commercial models may change or become
unavailable over time.Where the paper says it
Where the paper says it
Where the paper says it
Conclusion
The authors conclude that LLM output should be viewed as draws from a distribution rather than fixed measurements.<ref:2607.24372#pg14>. They recommend setting temperature to zero when possible and insisting on strict documentation requirements for all LLM usage in published work. p. 0 Setting
a dedicated temperature parameter to zero removes deliberate sampling when that option is
available, but it does not eliminate the other sources of randomness. Exact reproduction is
therefore generally not possible when using proprietary application programming interfaces. Exact reproduction is
therefore generally not possible when using proprietary application programming interfaces. Local execution of open-weight models offers greater control, but reproducibility still depends
on the complete hardware and software stack. Researchers can archive the weights, fix the batch size, preserve the
software environment, record the hardware, and request deterministic numerical operations where
supported. Exact reproduction may then be achievable, although it requires control of the complete
serving stack rather than the weights alone.Where the paper says it
Where the paper says it
Where the paper says it
References
The paper cites numerous works concerning reproducibility in economics and management science.<ref:2607.24372#pg15>. It also references specific studies on LLM non-determinism and use cases. p. 6 (2024)
evaluate more than 800 code generation tasks and find that repeated requests frequently produce
different outputs, even with a zero-temperature setting. He (2025) identifies batch non-invariance
as a key source of non-determinism, showing that server-side batching can alter numerical computations even under zero temperature. (2024)
evaluate more than 800 code generation tasks and find that repeated requests frequently produce
different outputs, even with a zero-temperature setting. He (2025) identifies batch non-invariance
as a key source of non-determinism, showing that server-side batching can alter numerical computations even under zero temperature. Variations such as "GenAI" for "Gen AI" are also considered
and searches are not case-sensitive (genAI counts just as well). 2Closed-weight models are proprietary and are typically accessed through the provider’s infrastructure. Variations such as "GenAI" for "Gen AI" are also considered
and searches are not case-sensitive (genAI counts just as well). 2Closed-weight models are proprietary and are typically accessed through the provider’s infrastructure. In that case, the researcher cannot remove deliberate sampling directly. Figure A3 in the Appendix
shows the timeline of model releases for four major LLM providers, along with their temperature
policy. In that case, the researcher cannot remove deliberate sampling directly. Figure A3 in the Appendix
shows the timeline of model releases for four major LLM providers, along with their temperature
policy. The appropriate solution depends on whether
model output is itself the research outcome or is an input for subsequent analysis. Related work
by Wang and Wang (2025) examines the consistency and reproducibility of LLM outputs across a
range of finance and accounting tasks. The researcher
must report the inference library, numerical precision, processor model, driver versions, batching
settings, and any options related to deterministic execution. Yang (2026) illustrates the importance of the serving stack. We believe the issue is urgent because the adoption of LLMs in empirical research has been
rapid. Many papers that rely on model-generated variables are already at advanced stages of
the publication process, and many have already been published. We believe the issue is urgent because the adoption of LLMs in empirical research has been
rapid. Many papers that rely on model-generated variables are already at advanced stages of
the publication process, and many have already been published.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Appendix A: List of Models
The appendix provides a comprehensive list of the 212 models considered in the study, grouped by provider.<ref:2607.24372#pg17>. This list includes various closed-weight and open-weight models from providers such as OpenAI, Google, Anthropic, DeepSeek, and Mistral. p. 4 A related control is the seed. Several providers, including OpenAI, Google, Mistral, and Alibaba,
expose a seed parameter to improve the reproducibility for some of their models. If the trend continues and closed models do not allow
for temperature tuning, then researchers will be working with highly random LLM outcomes in
the future. Finally, Figure A2 (also in the Appendix) reports the market share of LLM providers.Where the paper says it
Where the paper says it
Figure A1: Open versus closed LLM models
Figure A1 shows the chronological representation of the proportion of models mentioned in titles and abstracts grouped by whether they are open or closed.<ref:2607.24372#pg18, Figure A1: Open versus closed LLM models>. p. 2 The total number of
articles published in the 145 journals are 16,950 (2020), 17,153 (2021), 15,116 (2022), 14,602 (2023), 14,917
(2024), 16,414 (2025), and 10,312 (2026). Figure A1 in the Appendix depicts the percentage of papers that mention specific LLMs, grouped
by whether the models are closed-weight or open-weight.Where the paper says it
Figure A2: LLM Provider market shares
Figure A2 depicts the chronological representation of the share of models listed in titles and abstracts grouped by the organizations that develop them.<ref:2607.24372#pg18, Figure A2: LLM Provider market shares>. p. 3 If the trend continues and closed models do not allow
for temperature tuning, then researchers will be working with highly random LLM outcomes in
the future. Finally, Figure A2 (also in the Appendix) reports the market share of LLM providers.Where the paper says it
Figure A3: LLM temperature timeline
Figure A3 shows the chronological representation of model releases from Anthropic, DeepSeek, Google and OpenAI along with their temperature policies.<ref:2607.24372#pg19, Figure A3: LLM temperature timeline>. p. 4 In that case, the researcher cannot remove deliberate sampling directly. Figure A3 in the Appendix
shows the timeline of model releases for four major LLM providers, along with their temperature
policy.Where the paper says it
Table 1: Differences between two runs of an identical prompt
Table 1 summarizes the differences between two runs of an identical prompt, contrasting local and API execution.<ref:2607.24372#pg8, Table 1: Differences between two runs of an identical prompt>. p. 7 Places are
limited, and other users’ prompts can take them,
so yours is handed to its second choice. yes partial none
Table 1: Differences between two runs of an identical prompt.Where the paper says it
Table 2: Reporting items for model generated variables
Table 2 classifies relevant reporting items into what authors need to report in the paper versus what a replication package requires.<ref:2607.24372#pg13>.
The paper concludes by emphasizing that LLM output should be viewed as draws from a distribution rather than fixed measurements.<ref:2607.24372#pg14>. The authors urge researchers to adopt minimal requirements for reporting and verification to ensure the stability of research foundations. p. 1 Fourth, we provide practical recommendations for (i) authors, to help them report the use
of LLMs in their papers and prepare replication packages, and (ii) journal data editors, to help
them assess these papers and their accompanying materials. We hope these contributions will
stimulate discussion among researchers and journal (data) editors, and provide a foundation for
the development of reporting and verification standards for the use of LLMs in empirical research. Exact reproduction is
therefore generally not possible when using proprietary application programming interfaces. Local execution of open-weight models offers greater control, but reproducibility still depends
on the complete hardware and software stack.Where the paper says it
Where the paper says it
The paper cites numerous works concerning reproducibility in economics and management science.<ref:2607.24372#pg15>. It also references specific studies on LLM non-determinism and use cases.<ref:2607.24372#pg15>. The appendix lists over 80 different models considered in the study.<ref:2607.24372#pg17>. It also provides a detailed timeline of model releases and their temperature policies.<ref:2607.24372#pg19>. The references section lists many specific papers related to LLMs and their impact on research.<ref:2607.24372#pg18>.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Setting temperature to zero when possible should be recommended for researchers because
Setting temperature to zero can substantially improve consistency and has no direct monetary cost.
This removes deliberate sampling, which isthe source most directly controlled by the researcher when the model provider exposes generation parameters.
-
Researchers must document the complete serving stack, including
the inference library, numerical precision, processor model, driver versions, batching settings,
to ensure reproducibility for local execution. This addresses the risk thatfinite precision arithmetic is not necessarily associative
and thatserver load
can alter computations. -
Authors should provide a variability report detailing
number of draws, agreement measures [and] sensitivity of main estimates,
to allow reviewers to check if results are supported by the distribution, as one might bein around 5% of the cases report a statistically significant result
purely by luck. -
A replication package must include
all model inputs and raw outputs from every run, before processing,
andverbatim prompts, system messages, and examples,
because these are necessary for verification even if the model changes. -
For commercial services, researchers should
record the model identifier returned by every call
along with the date and time of execution to make otherwise invisible changes easier to detect. This documentation helps track potential issues likesilent updates
wherethe underlying weights or safety guardrails (e.g., Anthropic’s Fable 5 between the beginning and the end of June 2026) can change.
-
A system should be designed to archive open weights or their cryptographic hash, as this offers
the strongest route to exact reproduction
when paired with a controlled local stack and documented environment.
Abstract
Large language models (LLMs) are increasingly used to generate data for research. Typical use cases are classifications, annotations, information extraction, and generation of numerical scores. Unlike conventional measurements, LLM outputs can vary across repeated requests even when the prompt and apparent model settings remain unchanged. This variation arises from deliberate sampling, silent model updates, numerical rounding, or expert routing. Setting a dedicated temperature parameter to zero removes deliberate sampling when that option is available, but it does not eliminate the other sources of randomness. Exact reproduction is therefore generally not possible when using proprietary application programming interfaces. Local execution of open-weight models offers greater control, but reproducibility still depends on the complete hardware and software stack. We illustrate these issues through sentiment classifications of corporate filings and examine their consequences for downstream regression results. We then propose a reporting standard for articles and replication packages, as well as guidance for data editors and authors. Together, these findings and recommendations establish that LLM outputs should be treated as draws from a distribution rather than as fixed measurements.
Sources
- Non-Determinism of "Deterministic" LLM Settings
- Optimizing Temperature for Language Models with Multi-Sample Inference
- Buffer Overflow in Mixture of Experts
- Large Language Models as Simulated Economic Agents: What Can We Learn from Homo Silicus?
- Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference
- Assessing Consistency and Reproducibility in the Outputs of Large Language Models: Evidence Across Diverse Finance and Accounting Tasks
Related papers
- Huge If True: Learning from the Size of the Surprise
- The Rebundling of Freelance Work in the AI Age
- Dynamic investment and coordination in teams: Theory and experimental evidence
- Does Frontier AI Strengthen Cyber Defense? Evidence from Project Glasswing
- Generative AI at Work
- What is Work For? Labor, Politics, and Meaning in the Age of AI