Articles

How Much the Model Agrees with Itself

Companion paper: Consensus Density Predicts Output Dispersion (TMLR 2026)

Update, 14 October 2026. The paper is accepted at Transactions on Machine Learning Research (OpenReview). The accepted version adds a within-domain test, described below, and keeps the link to human outcomes apart from the measured results; the last section of this note now follows that split. A five-minute video summary is below, and the code is on GitHub.

Five-minute summary of the paper. Every number on screen is taken from the paper. Also on Bilibili.

Ask a model the capital of France 25 times and you get one answer in 25 wordings. Ask it for the opening line of a sea story 25 times and you get 25 different stories. Everyone who works with these models knows this. The paper behind this note, Consensus Density Predicts Output Dispersion in Aligned LLMs (with Shuai Feng; earlier titled The Preference Centroid), argues the pattern is worth measuring precisely, because the quantity underneath it explains something people currently explain with a vaguer word.

The vaguer word is "complexity." My earlier HHAI paper reconciled the "AI equalizes skill gaps" and "AI amplifies them" literatures by positing task complexity as the moderator: routine tasks equalize, complex tasks amplify. That answers when, not why. Complexity is a description of the task, not a property of the model you can point to. This paper measures a property that can be pointed to: the consensus density of the task, how much agreement exists about what a good answer looks like, and shows that it predicts how widely the model's samples spread. Whether that quantity is what governs the equalizer/amplifier split is a separate question, and the paper treats it as a hypothesis (see the last section).

The measurement is deliberately simple. Sample N = 25 completions at temperature 1.0, embed them, and take the mean pairwise cosine distance. Call that the dispersion of the output cloud.

Judges who never see an output predict the spread

The obvious objection to "dispersion tracks consensus" is circularity: if you infer a task's consensus from its dispersion, you have relabeled the thing you meant to explain. The paper's answer is to measure consensus from the other side. Three held-out judge models (GPT-4.1, Gemini 2.5 Flash, Qwen-Max) see only the prompt, never any completion, and rate how much knowledgeable people would agree on what a good answer looks like.

0.00.20.40.60255075100consensus scored by held-out judges, from the prompt aloneoutput dispersionIn one sentence, state the capital of France and one fact about it. — dispersion 0.021, consensus 95In one sentence, give the boiling point of water at sea level and why it matters. — dispersion 0.022, consensus 93.3In one sentence, state who wrote Romeo and Juliet and roughly when. — dispersion 0.025, consensus 98.9In one sentence, give the chemical formula for table salt and one use. — dispersion 0.010, consensus 96.1In one short paragraph, explain what makes a good prompt for an LLM. — dispersion 0.069, consensus 79.4In one short paragraph, explain what a binary search tree is. — dispersion 0.028, consensus 91.7In one short paragraph, explain why version control is useful. — dispersion 0.036, consensus 87.8In one short paragraph, explain what causes the seasons. — dispersion 0.021, consensus 93.1In one short paragraph, recommend: should an early-stage startup raise venture capital or bootstrap? — dispersion 0.118, consensus 38.9In one short paragraph, recommend: should a small team adopt microservices or a monolith? — dispersion 0.107, consensus 57.8In one short paragraph, recommend: should a beginner learn Python or JavaScript first? — dispersion 0.067, consensus 66.7In one short paragraph, recommend: should a company return to office or stay remote? — dispersion 0.135, consensus 32.2In one short paragraph, give advice to someone starting to learn programming. — dispersion 0.136, consensus 61.1In one short paragraph, give advice to someone giving their first conference talk. — dispersion 0.097, consensus 68.3In one short paragraph, give advice to a new manager. — dispersion 0.099, consensus 46.7In one short paragraph, give advice to someone moving to a new city. — dispersion 0.081, consensus 43.3Write the opening sentence of a short story about the sea. — dispersion 0.183, consensus 6.1Write a catchy one-line slogan for a new coffee shop. — dispersion 0.176, consensus 8.3Invent a name and one-line concept for a board game. — dispersion 0.560, consensus 7.5Complete with an original metaphor: 'Ambition is ___.' — dispersion 0.098, consensus 31.1
factual explain judgment advice creative

creativeWrite the opening sentence of a short story about the sea.

dispersion 0.183 (Claude Sonnet 4.6) · judge consensus 6.1/100

  • Here is an opening sentence for a short story about the sea: "The ocean had been calling to her for as long as she could remember, whispering her name in the rhythm of…
  • Here is an opening sentence for a short story about the sea: "The ocean had been calling to her for as long as she could remember, a low, restless sound at the edge of…
  • Here is an opening sentence for a short story about the sea: "The ocean had been calling to her for as long as she could remember, whispering secrets in the rhythm of…

3 of the 25 sampled completions (from the Claude run, temperature 1.0).

Each dot is one of the paper’s 20 prompts: x is how much three held-out judge models, shown only the prompt, say knowledgeable people would agree on a good answer; y is the measured dispersion of 25 sampled completions (mean pairwise cosine distance). Judges never see an output, yet predict dispersion at Spearman ρ = −0.91. Click a dot to read the prompt and actual samples; switch models to see the ordering replicate.

Click around this figure; it holds most of the paper.

  • The factual dots sit at the bottom-right: consensus above 90, dispersion near 0.02. Open the capital-of-France prompt and read the samples. Two of the three shown are verbatim identical. That is what an aligned model on a high-consensus task is: one answer, lightly reworded.
  • The creative dots sit at the top-left, and one of them is an honest outlier: the board-game-naming prompt at dispersion 0.56, whose outputs are near-random short strings. The paper reports the creative band's median rather than letting one degenerate prompt inflate the story, and the headline rank correlation drops from 0.85 to 0.84 without it.
  • Prompt-side consensus predicts output-side dispersion at Spearman ρ = −0.91. The judges agree with each other (ρ = 0.85–0.95), a small human expert panel tracks them at ρ = 0.74, and the token-level entropy of an open-weight model, a purely mechanical signal with no judgment in it, points the same way (ρ = 0.66 with dispersion).
  • The relation is not an artifact of mixing factual and creative prompts. Inside a single field it still holds: ρ = −0.83 across 42 pharmaceutical-market prompts and −0.62 across 40 software-engineering prompts. Both are weaker than the full-range −0.91, as expected when the judges' scores span a narrower range.
  • Switch to the GPT-4o toggle: a different lab's model, same ordering (ρ = 0.84; per-prompt agreement with Claude 0.75). The gradient is a property of aligned models, not a quirk of one.

Alignment amplifies a gradient it did not create

Is this gradient something RLHF manufactures? A matched comparison on open weights says no: run the same 20 prompts through Qwen2.5-7B and Qwen2.5-7B-Instruct, identical in everything but alignment.

factual0.171
explain0.146
judgment0.244
advice0.252
creative0.563
The same 20 prompts, run on Qwen2.5-7B and its instruction-tuned sibling, differing only in alignment. The outline marks the base model’s dispersion; press the toggle. Both models carry the same ordering (gradient ρ = 0.80 vs. 0.79), but tuning compresses the high-consensus end about 8.7-fold against 1.8-fold at the open end. Alignment amplifies a gradient the pretrained model already has.

The base model already carries the full ordering (gradient ρ = 0.80, essentially the instruct model's 0.79), and its dispersion is genuine consensus-tracking, not incoherence: the same output-blind judges predict the base model's per-prompt dispersion at ρ = −0.81. What instruction tuning does is compress every band, but unequally: roughly 8.7-fold on factual prompts against 1.8-fold on creative ones (the fold-difference's bootstrap CI excludes zero). Alignment does not invent the centroid; it sharpens the gradient the pretrained distribution already had, most where consensus is densest.

Form is not consensus

The third finding is the one I find most useful in practice. Prompting does not "sharpen" the model; it relocates the sampling region (every conditioned cloud moves 2–3× farther than resampling noise), and the spread at the destination is set by the destination's own consensus, not by how constraining the instruction looks.

Base prompt: “Write the opening sentence of a short story about the sea.” Arms below add instructions of increasing apparent constraint. Click one.

0.229
0.264
0.160
0.152
0.340

Write the opening sentence of a short story about the sea. Write it in a wildly unconventional, surprising style; deliberately avoid any opening a typical writer would choose.

dispersion 0.340 ± 0.008 (4 runs × 25 samples) · judges score this destination’s consensus at 14/100

Dispersion is non-monotone in how constraining the instruction looks. Naming a subject (“an old fisherman”) raises dispersion above the unconditioned default (vertical line): it opens a narrative space. Pinning a specific scene drops it well below. And the longest, most elaborate instruction, “avoid anything typical”, raises it most. What predicts the spread is the judge-scored consensus of the destination (arm-level ρ = −0.90), not the amount of constraint. Form is not consensus.

The trap is the first rung. "The story is about an old fisherman" looks like a constraint, and the judges initially over-credit it too (scoring it 47 against the base's 17). But it raises dispersion: naming a subject opens a narrative space rather than pinning an answer. Meanwhile the longest and most careful instruction in the set, avoid-anything-typical, is a deliberate relocation to a low-consensus destination, and it produces the widest cloud of all. You cannot read a prompt's effect on output spread off its syntax. You can only read it off where the prompt sends the model.

The paper is equally explicit about where the metric ends: the embedding captures semantic content, not style, so a "write like Hemingway" arm, which judges score as high-consensus as the scene pin, barely moves measured dispersion. The disagreement lands exactly on the measurement boundary, which is the behavior you want from an honest instrument.

Why I care, and what is still a hypothesis

Everything above is measured. What follows is not, and the accepted paper keeps it in a separate section for that reason. The hypothesis: if dispersion is inverse consensus density, the equalizer/amplifier boundary may be a property of the output distribution you can measure per task. Tight cloud: everyone gets the same competent answer, and expertise buys little (equalization). Wide cloud: the model returns a field of uneven candidates, and the outcome depends on who selects among them (amplification), which would make selection skill, call it taste, the constraint that binds where dispersion is high.

That chain needs two assumptions about output quality: the default answer is competent, and most samples in a wide field are mediocre. The measurements do not test either. Two pre-registered first tests of the second one did not establish it: a simulated judge pass was inconclusive at its resolution, and a small human pass lost its confirmatory branch to an instrument error. None of the measured results depends on the hypothesis.

One methodological note carries over to anything you build on this: absolute dispersion values drift between sampling batches. Every claim above is a rank correlation or an effect direction, stable across five batches, two embedders, and four model families. If you reproduce this, compare orderings, not numbers.

Citation

If you refer to this note, please cite it as:

@misc{an2026consensus,
  title        = {How Much the Model Agrees with Itself},
  author       = {An, Tao},
  year         = {2026},
  howpublished = {\url{https://tao-hpu.github.io/articles/consensus-dispersion}},
  note         = {Personal research notes}
}