Search arXivSearch

arXiv · 2607.24372

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

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Guillaume Coqueret, Joan Llull, Florian Oswald, Christophe Pérignon, Christoph Scheuch, Lars Vilhuber. 2026-07-27. Randomness in large language models: What researchers need to know (and report). https://arxiv.org/abs/2607.24372

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Local Media and the Shaping of Social Norms: Evidence from the Ebola outbreak

Media's influence on norms and behavior is widely recognized. Less is known about the role played by media being local. I examine this in a high-stakes context, the Ebola outbreak in Guinea. I exploit quasi-random variation in access to radio and the timing of a public-health campaign aired on community radio. I find that 12-17% of Ebola cases could have been prevented if places with access to a neighboring community radio station had instead had their own. Impacts are driven by radio being local rather than by ethno-linguistic belonging. Local media facilitates coordination in behaviors observed and sanctioned locally.

econ.GN

Productivity Shocks and Input Misallocation: A Decomposition

This paper asks how much input misallocation productivity uncertainty generates and at which stage of input decisions it arises. I separate revenue productivity by when each component is revealed and trace each into the gap between an input's marginal revenue product and its price. In six European countries, shocks revealed after an input is committed account for 20 percent of capital gap dispersion and 5 percent of labor gap dispersion. An unanticipated one percent rise in productivity raises the capital gap by 0.92 percent and the labor gap by 0.19 percent, because most of the shock passes into the wage.

econ.GN

When Do Type-Specific Wages Buffer Distributional Incidence in TANK?

When do relative wages buffer the unequal incidence of aggregate shocks? I derive a consumption-gap decomposition and a present-value condition for partial offset in a TANK model. An extension separates wage-setting demand elasticity from substitution between labor segments and allows each segment to contain both financial types. With a zero inherited wage gap and a same-sign discounted wedge, substitution above one gives offsetting earnings reallocation; substitution below one gives amplification. The channel disappears when financial types have identical segment exposure. Numerical experiments assess these mechanisms, shock persistence, policy feedback, and aggregate-IRF matching. In the nested perfect-alignment monetary benchmark, the peak consumption gap is about two-fifths smaller under type-specific wages than under the common-wage closure. These are conditional model comparisons, not empirical effect estimates or welfare rankings.

econ.GN