03 · What You Need to Know
How Reproducibility Changes When AI Outputs Are Probabilistic
Reproducibility Does Not Always Mean Identical Individual Outcomes
Scientific research has long included procedures involving randomness and measurement variability. Randomized simulations, stochastic optimization algorithms, and statistical sampling can produce different individual outcomes across executions.
For such procedures, reproducibility may concern whether the method and its resulting statistical properties can be independently evaluated, rather than whether every random draw is identical.
Generative AI introduces a related challenge. When a model samples from possible token sequences, repeated executions can produce different responses even when the visible instructions remain unchanged.
Nevertheless, the analogy has limits. A generative AI model is not automatically a well-characterized random sampling instrument. Its output distribution may be difficult to inspect, and hosted systems may change over time.
Researchers should therefore establish what aspect of the AI-assisted procedure is expected to remain stable and what degree of variation is scientifically acceptable.
Three Different Reproducibility Questions
It is useful to distinguish the level at which agreement is being evaluated.
| Level |
Question |
Possible Evaluation |
| Exact output |
Does the model generate the same response? |
Exact string, label, or numerical agreement |
| Statistical behavior |
Do repeated outputs exhibit sufficiently similar distributions or performance? |
Agreement statistics, variability estimates, distribution comparisons |
| Scientific conclusion |
Do reasonable output variations preserve the substantive findings? |
Sensitivity analyses and robustness evaluation |
These levels are useful analytical distinctions, not a universally prescribed classification of reproducibility.
A study may reproduce its statistical calculations exactly from archived data while showing variation when the AI generation stage is repeated. Alternatively, repeated generations may produce different individual labels but similar aggregate estimates.
The relevant standard depends on what the AI outputs are intended to measure and how they support the research claim.
Why a Probabilistic Model Can Produce Different Answers Under Similar Conditions
Many generative language models assign probabilities to possible next tokens. A decoding procedure then determines how a continuation is selected.
When sampling is enabled, more than one continuation may be possible for the same input.
Differences in earlier token selections can influence later generations, creating responses that differ in wording, emphasis, or substantive content.
Additional variation may arise from model updates, hidden contextual instructions, retrieval results, or computational behavior.
Consequently, identical prompts can produce different responses for reasons that extend beyond the wording of the prompt itself.
Researchers should not assume that the output distribution remains constant unless the relevant model and execution conditions are sufficiently controlled.
What Does It Mean to Reproduce an Output Distribution?
For a probabilistic procedure, researchers may be interested in whether repeated executions produce similar patterns of outcomes.
Suppose an AI model classifies one ambiguous response as positive in some executions and mixed in others. The researcher could estimate how frequently each category appears under a specified configuration.
Across a larger dataset, researchers might examine the distribution of assigned categories, variation in numerical estimates, or the frequency of particular errors.
However, a finite set of repeated outputs only provides an estimate of the model's behavior under the tested conditions. It does not reveal the complete probability distribution or guarantee that the same pattern will persist after a model update.
Researchers should report the number of observations, number of executions, sampling procedure, and uncertainty associated with the estimates.
They should also distinguish the distribution of AI outputs from the distribution of the underlying research phenomenon. The frequency with which a model generates a label is not necessarily the probability that the label is correct.
Why Stable Aggregate Results Can Conceal Unstable Individual Decisions
Suppose a model classifies 200 interview excerpts into positive and negative categories.
In one execution, 110 responses are classified as positive. In another, the same number are classified as positive.
The aggregate category frequencies are identical. Yet the model may have assigned different labels to several individual observations.
If the research only reports overall proportions, the aggregate results might appear stable. But if the analysis examines relationships between classifications and student characteristics, the individual changes could affect the findings.
Researchers should therefore examine stability at the level relevant to the research question.
Aggregate agreement is not sufficient when individual-level classifications are themselves important measurements.
How Should Researchers Define Acceptable Variation?
Acceptable variation should be determined by the intended scientific use rather than an arbitrary universal threshold.
For example, a small difference in the wording of a narrative summary may have no substantive consequence. A one-person difference in a sample-size extraction could be important if the value enters a calculation that is sensitive to the denominator.
Researchers should establish tolerances or acceptance criteria before examining the final results.
For numerical outputs, this might involve maximum permissible errors or agreement intervals. For categorical outputs, it may involve category-specific performance criteria or a requirement that important classifications receive independent verification.
For inferential analyses, researchers may examine whether plausible output variations materially alter effect estimates, uncertainty intervals, or substantive conclusions.
These criteria should be justified by the research design and consequences of error, not selected retrospectively because the observed results happen to satisfy them.
Repeated Runs Provide Evidence About Variability, Not Certainty
Researchers can repeat AI-assisted tasks to estimate how outputs vary under a documented configuration.
However, the number of runs affects the precision of the resulting estimates. A few executions may fail to reveal uncommon but consequential outcomes.
Additional runs can improve the characterization of variability, but they cannot eliminate systematic errors or guarantee that future outputs will follow the same pattern.
Repeated outputs from the same model and input may also be statistically dependent, particularly when execution conditions or hidden system behavior introduce shared influences.
The design of repeated AI-assisted research tasks should therefore specify the observations, execution conditions, number of runs, and intended measures of stability.
What Is the Role of Random Seeds?
A random seed can help reproduce pseudorandom choices in systems that support seeded generation.
Under sufficiently controlled conditions, using the same seed may make repeated outputs more consistent or identical.
However, a seed does not independently control model weights, software implementations, hardware behavior, or provider-side changes.
PyTorch's reproducibility documentation cautions that complete reproducibility is not guaranteed across releases, platforms, or different computational environments.
Researchers should therefore document available seeds and other generation settings, while recognizing that these controls do not automatically guarantee exact repetition.
Can a Probabilistic AI Method Still Be Scientifically Valid?
Yes, provided its performance is appropriate for the research purpose and supported by suitable validation evidence.
Probabilistic behavior does not automatically make a measurement procedure invalid. Many scientific methods involve uncertainty or variable observations.
However, researchers must distinguish variability arising from the model from variation in the phenomenon being studied.
If a model inconsistently assigns categories because the coding instructions are ambiguous, the resulting uncertainty may reflect a weakness in the measurement procedure.
If repeated outputs vary while the underlying scientific conclusions remain stable, the variability may be less consequential, although accuracy and construct validity still require evaluation.
A model can also produce consistently incorrect outputs. Stability and validity are therefore separate methodological properties.
Can Researchers Make the Downstream Analysis Exactly Reproducible?
Often, yes.
Researchers can preserve the AI-generated outputs used in the original analysis, validate them, and create a fixed analytical dataset.
Conventional scripts can then calculate results from that dataset under controlled software conditions.
This approach allows the downstream analysis to be reproduced without requiring the AI model to generate identical responses again.
However, it does not make the original AI generation stage deterministic.
The distinction is central to building deterministic analytical procedures around nondeterministic AI.
Researchers should report which stages are exactly reproducible and which were evaluated through stability or robustness testing.
What If the AI Model Changes Between Reproduction Attempts?
A probabilistic model's output distribution is not necessarily stable across versions.
When a provider updates or replaces a model, the new system may produce different classifications, response patterns, or error rates.
Researchers should therefore distinguish variation within one model configuration from differences between model versions.
Comparing two model versions can provide evidence about robustness across systems, but it does not necessarily reproduce the original probabilistic procedure.
If model updates change the analytical conditions, those changes should be documented and evaluated rather than treated as ordinary sampling variation.
How Should Probabilistic Reproducibility Be Reported?
A transparent methods report should describe the model, prompt, input data, available generation settings, and execution conditions.
It should identify the number of repeated executions, the evaluation dataset, the measures used to characterize variation, and the criteria for determining whether the results were sufficiently stable.
When outputs influence scientific conclusions, the report should also explain how variation affects the downstream analysis.
Researchers should avoid vague claims such as "the AI results were reproducible" without specifying whether that refers to exact outputs, aggregate distributions, or scientific conclusions.
Preserving the original outputs and evaluation records makes these claims more readily assessable.