INQUIRING LINE

If you ask an AI the same question twice, why do you get two different answers?

Why do stochastic LLMs produce different answers from identical sources?

This explores why the same language model, given the same material or prompt, can give different answers from one run to the next, and whether that variation is a flaw, a feature, or something else.


This explores why a language model given the same input can come back with different answers, and what that variation tells you about how much to trust any one answer. The core reason is simple. An LLM doesn't look up an answer. It samples one from a probability distribution over possible next words, so every response is one draw from a range of plausible outputs. The surprising part is what happens when you try to remove the randomness. Setting temperature to zero or fixing the random seed makes the model repeat the same output every time, but that output is still just one draw. You've frozen the dice, not made them fair. Consistency and reliability are different properties, and testing across 100 repetitions shows how far apart they can be Does setting temperature to zero actually make LLM outputs reliable?.

The variation is also bigger than most people expect. When researchers ran the same persona prompt ("answer as a 45-year-old conservative nurse") many times, the answers varied as much across runs as they did across completely different personas Why do LLM persona prompts produce inconsistent outputs across runs?. So the model's own uncertainty can drown out the very signal you were trying to get. It helps to think of LLMs as probability machines: answers the model considers unlikely are harder for it to produce consistently, even when the task is logically easy, like reciting the alphabet backwards Can we predict where language models will fail?. Where the model's probabilities are spread thin, you get wobble.

"Identical" is also a slippery word. Two prompts that mean exactly the same thing are often not identical to the model. Phrasings that were more common in its training data get better answers, because the model responds to how often wording appeared, not to meaning Why do semantically identical prompts produce different LLM outputs?. Labels work the same way. Swap the name of the source attached to an item and agents will often pick a worse option just because it comes from a source they favor Do language models favor sources regardless of item quality?. Vague prompts make it worse: without enough context, the model falls back on a blended average of its training data, and that fallback can land differently each time Why do large language models produce generic responses to vague queries?.

Here's the twist worth knowing: LLMs vary in the wrong places. They wobble on small differences in wording, yet when a question has many valid answers, frontier models keep returning the same few standard ones and ignore most of the alternatives Do frontier LLMs actually explore the full space of valid answers?. So the variation you see is mostly noise, not genuine exploration. Some of the inconsistency also depends on how you ask. Survey-style answers become far more stable and realistic when you have the model write free text and convert it to a score afterward, instead of asking for a number directly Why do LLMs give unrealistic survey responses?.

The practical lesson is to treat any single LLM answer as a sample, not a verdict. Run it several times, vary the phrasing, and pay attention to where the answers disagree, because that's where the model is least sure. The model's fluent explanations won't tell you this on their own: readers routinely come away more confident than the model's own internal probabilities justify Why do readers trust LLM explanations more than they should?.


Sources 9 notes

Does setting temperature to zero actually make LLM outputs reliable?

Fixed seeds and zero temperature replicate the same output repeatedly, but that output remains one draw from the model's probability distribution. McDonald's omega testing across 100 repetitions reveals that consistency does not equal reliability.

Why do LLM persona prompts produce inconsistent outputs across runs?

When the same persona prompt is run repeatedly, output variance across runs matches or exceeds variance across different personas. This reveals that model uncertainty, not stable social knowledge, drives persona-simulated outputs, making them unsuitable for simulating human annotation disagreement.

Can we predict where language models will fail?

By framing LLMs as autoregressive probability machines, researchers predicted tasks with low-probability target responses would be systematically harder, even when logically simple. Experiments confirmed predictions like backwards alphabet and letter counting.

Why do semantically identical prompts produce different LLM outputs?

Cao et al. and Adam's Law show that semantically identical prompts with different sentence-level frequencies produce systematically different output quality. Higher-frequency phrasings win because models register statistical mass from pre-training, not meaning.

Do language models favor sources regardless of item quality?

Across 12 models and three domains, agents select items from favored sources even when they satisfy fewer requirements than alternatives. Hiding source labels weakens the bias, and training data that pairs sources with better outcomes induces the preference.

Show all 9 sources
Why do large language models produce generic responses to vague queries?

Unlike social-media context collapse, which flattens multiple audiences, LLM collapse occurs when users provide insufficient contextual scaffolding and models default to blended training-data priors. This distinction suggests remedies should focus on query verification and user-driven context specification rather than platform controls.

Do frontier LLMs actually explore the full space of valid answers?

Testing across multiple models and domains, researchers found that frontier LLMs often exhibit epistemic narrowness—returning the same valid answers and reasoning strategies repeatedly, even when many alternatives exist. This reduces coverage of the valid answer space users could access.

Why do LLMs give unrealistic survey responses?

Semantic Similarity Rating—prompting for text then mapping to scales via embeddings—achieves 90% of human test-retest reliability with realistic distributions. Pathological skew and over-positivity disappear when output channels change, proving these are measurement artifacts, not intrinsic failures.

Why do readers trust LLM explanations more than they should?

Lab experiments on MMLU and TriviaQA show readers' confidence judgments track explanation language poorly compared to the model's internal probability estimates. The gap narrows when explanations are deliberately engineered to reflect internal confidence, but natural language explanations leave readers systematically overconfident.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.