[Paper Review] Quantifying non deterministic drift in large language models
The paper measures baseline non deterministic drift in two LLMs (gpt-4o-mini and llama3.1-8b) across prompt categories, deployment types, prompting modes, and temperatures, showing persistence of drift even at temperature 0.0 and highlighting limitations of lexical metrics.
Large language models (LLMs) are widely used for tasks ranging from summarisation to decision support. In practice, identical prompts do not always produce identical outputs, even when temperature and other decoding parameters are fixed. In this work, we conduct repeated-run experiments to empirically quantify baseline behavioural drift, defined as output variability observed when the same prompt is issued multiple times under operator-free conditions. We evaluate two publicly accessible models, gpt-4o-mini and llama3.1-8b, across five prompt categories using exact repeats, perturbed inputs, and reuse modes at temperatures of 0.0 and 0.7. Drift is measured using unique output fractions, lexical similarity, and word count statistics, enabling direct comparison across models, prompting modes, and deployment types. The results show that nondeterminism persists even at temperature 0.0, with distinct variability patterns by model size, deployment, and prompt type. We situate these findings within existing work on concept drift, behavioural drift, and infrastructure-induced nondeterminism, discuss the limitations of lexical metrics, and highlight emerging semantic approaches. By establishing a systematic empirical baseline in the absence of stabilisation techniques, this study provides a reference point for evaluating future drift mitigation and control methods.
Motivation & Objective
- Establish a baseline measure of nondeterministic drift in LLMs under operator-free conditions.
- Compare baseline drift across model size, deployment type, prompting modes, and temperatures.
- Contextualize drift measurements within existing concept drift and infrastructure nondeterminism literature.
- Provide data and methodology to support future stabilization studies.
Proposed method
- Evaluate two publicly accessible models: gpt-4o-mini via API and llama3.1-8b locally.
- Test five prompt categories with exact repeats, perturbed inputs, and reuse modes across two temperatures (0.0 and 0.7).
- Use 30 runs for gapfill and 20 runs for small battery prompts per combination.
- Measure drift using unique output fraction, average pairwise Jaccard similarity, and word count statistics.
- Discuss limitations of lexical drift metrics and propose semantic metrics as future work.

Experimental results
Research questions
- RQ1What is the magnitude of baseline behavioural drift when prompts are issued repeatedly without interventions?
- RQ2How does deployment type (API‑served vs local open‑weight) influence baseline drift?
- RQ3How do prompting modes (exact repeats, perturbed inputs, reuse) and temperature settings affect drift across prompt categories?
- RQ4What are the limitations of lexical metrics for measuring drift, and how might semantic metrics improve assessment?
- RQ5How can drift be interpreted through variance budgets and attractor regions to inform mitigation thresholds?
Key findings
- Baseline drift exists even at temperature 0.0, with gpt-4o-mini differing in about 0.24 of runs and llama3.1-8b in about 0.09 of runs.
- At temperature 0.0, perturbations raise drift (gpt-4o-mini ~0.57 unique outputs; llama3.1-8b ~0.27); reuse reduces drift (0.20 and 0.10).
- Raising temperature to 0.7 yields near-complete diversity with most runs producing new outputs and lexical similarity dropping below 0.52 for all modes.
- Across models, exact repeats at 0.0 show mean unique fractions 0.240 (gpt-4o-mini) and 0.093 (llama3.1-8b), with mean Jaccard 0.893 and 0.966 respectively.
- Drift magnitudes depend on model size, deployment, and prompting mode, and lexical metrics have known limitations for capturing semantic drift.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.