Randomness in large language models: What researchers need to know (and report)

arXiv:2607.24372 · econ.GN, q-fin.EC · Submitted 2026-07-27 · Read on arXiv

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

Where the paper says it

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.

<ref:2607.24372#pg1, data generated by an LLM should be treated as draws from a distribution, not as fixed measurements>. p. 1
Where the paper says it

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.

This paper establishes that LLM outputs are non-deterministic due to several sources and proposes reporting standards for reproducibility. p. 1
Where the paper says it

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.

<ref:2607.24372#pg1>

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

Where the paper says it

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.

<ref:2607.24372#pg1>. Deliberate sampling is controlled by setting the temperature parameter to zero when available. p. 0
Where the paper says it

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.

<ref:2607.24372#pg5, Setting temperature to zero can substantially improve consistency and has no direct monetary cost>. p. 4
Where the paper says it

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.

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

Where the paper says it

5 What researchers can control Table 1 summarizes the main sources of variation. Local execution of open weights provides the strongest available control.

Table 1 summarizes the main sources of variation, showing that local execution allows for archiving weights and fixing the batch size. p. 7
Where the paper says it

5 What researchers can control Table 1 summarizes the main sources of variation. Local execution of open weights provides the strongest available control.

<ref:2607.24372#pg8, Researchers can archive the weights, fix the batch size, preserve the software environment, record the hardware and request deterministic numerical operations where supported>. p. 7
Where the paper says it

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 offer much less control because researchers generally have no control over hardware or batching behavior. p. 7
Where the paper says it

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.

<ref:2607.24372#pg8, Commercial services provide much less control because researchers generally have no control over the hardware, batching behavior, or silent model updates>. p. 7
Where the paper says it

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.

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

Where the paper says it

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 results show that repeated classifications can produce very different regression statistics even though the filing excerpts, prompts, coding rules and regression specification remain fixed. p. 9
Where the paper says it

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.

<ref:2607.24372#pg10, 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>. p. 9
Where the paper says it

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.

Specifically, under zero temperature for DeepSeek and Gemma-4 models deployed locally, the distribution of statistics is entirely concentrated at a single value.<ref:2607.24372#pg11, The result shows that setting T = 0 removes deliberate sampling but does not eliminate all sources of randomness in frontier models served through online APIs>. p. 0
Where the paper says it

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.

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

Where the paper says it

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.

<ref:2607.24372#pg12, Table 2 classifies each relevant item along both dimensions and by priority>. Data editors can verify results by either reproducing from deposited outputs or replicating the results using deposited prompts and generation parameters. p. 0
Where the paper says it

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.

<ref:2607.24372#pg13, The first check is reproduction from deposited outputs using the archived raw outputs>. p. 1
Where the paper says it

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.

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

Where the paper says it

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.

<ref:2607.24372#pg14>. They also suggest that archived open weights on a controlled local stack provide the strongest route to exact reproduction. p. 0
Where the paper says it

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.

<ref:2607.24372#pg14, Archived open weights on a controlled local stack provide the strongest route to exact reproduction, but only when the complete serving environment is documented and preserved>. p. 7
Where the paper says it

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.

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

Where the paper says it

(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.

p. 6
Where the paper says it

(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.

<ref:2607.24372#pg15>. The appendix lists over 80 different models considered in the study. p. 2
Where the paper says it

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.

p. 2
Where the paper says it

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.

<ref:2607.24372#pg17>. It also provides a detailed timeline of model releases and their temperature policies. p. 4
Where the paper says it

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.

p. 4
Where the paper says it

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.

<ref:2607.24372#pg19>. The paper concludes by referencing work on textual analysis and financial modeling. p. 1
Where the paper says it

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.

<ref:2607.24372#pg15>. It also cites the importance of the serving stack in reproducibility. p. 8
Where the paper says it

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.

<ref:2607.24372#pg16>. The references section lists many specific papers related to LLMs and their impact on research. p. 3
Where the paper says it

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.

p. 3
Where the paper says it

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.

<ref:2607.24372#pg18>.

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

Where the paper says it

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.

<ref:2607.24372#pg18, C LLM provider market shares>. p. 3
Where the paper says it

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.

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

Where the paper says it

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.

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

Where the paper says it

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.

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

Where the paper says it

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.

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

Where the paper says it

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.

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

Where the paper says it

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.

<ref:2607.24372#pg14>. They stress that the use of open-weight models offers advantages over proprietary models due to their lack of commitment to preserving legacy models. p. 0
Where the paper says it

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.

<ref:2607.24372#pg14>.

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

  1. 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 is the source most directly controlled by the researcher when the model provider exposes generation parameters.

  2. 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 that finite precision arithmetic is not necessarily associative and that server load can alter computations.

  3. 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 be in around 5% of the cases report a statistically significant result purely by luck.

  4. A replication package must include all model inputs and raw outputs from every run, before processing, and verbatim prompts, system messages, and examples, because these are necessary for verification even if the model changes.

  5. 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 like silent updates where the underlying weights or safety guardrails (e.g., Anthropic’s Fable 5 between the beginning and the end of June 2026) can change.

  6. 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

Related papers