Ask 25 language models for a metaphor about time, 50 times each. The 1,250 answers form two clusters: time is a river, and time is a weaver. One paper measures this sameness on real user questions and finds it in 79% of cases.
Pick who answers, then press Ask. Each dot is one answer, placed by its meaning. Then we build, piece by piece, how to measure sameness, why more randomness does not fix it, and why automatic judges miss it.
You need a little Python and what a probability is. We build the rest from zero.
Session 16 of Georgia Tech CS 8803, LLM seminar. It rests on one paper: Jiang, Chai, Li, Liu, Fok, Dziri, Tsvetkov, Sap, Albalak and Choi, Artificial Hivemind: The Open-Ended Homogeneity of Language Models (and Beyond) (NeurIPS 2025 Datasets and Benchmarks, arXiv version 2). Every idea is re-taught here in our own words and devices.
Dot positions and cluster sizes are illustrative: the paper's Figure 1 shows the two clusters but gives no shares. The percentages in the read-out are the paper's (Figures 4 and 5). The diverse room is a toy.
Chapter 0
See what mode collapse is, and count how many ideas a model uses
A teacher asks 25 students for a metaphor about time. She expects 25 answers: sand in an hourglass, a thief, a heartbeat. The question has no single right answer, so a room of free minds spreads out.
Now ask 25 language models from different labs, 50 times each. In the paper's Figure 1, the 1,250 answers form two clusters. A large one says time is a river. A smaller one says time is a weaver.
A model's answer is a draw from a probability distribution over all texts it could write. Mode collapse means most of that probability sits on one or two peaks, called modes, even when the question has many good answers. Each answer can be good. The failure shows only in the crowd of answers.
How many ideas does a model use? Sort its answers into idea families. Call the probability of family i pi.
N-eff equals one over the sum over i of p-i squared.
Square each family's probability p-i and add the squares. That sum is the chance two answers share a family. One over it is N-eff.
With made-up numbers: 10 families at p-i = 0.1 give 10 × 0.01 = 0.1, so N-eff = 10. Shares 0.8, 0.15 and 0.05 give 0.64 + 0.0225 + 0.0025 = 0.665, so N-eff = 1.5. Three ideas exist; the model uses one and a half.
Ten idea families start equally likely. Drag Pull to the right and watch N-eff fall long before the small ideas reach zero.
Toy: p-i is proportional to 1 / i raised to the Pull. The paper does not report idea shares.
Failure. A brainstorming feature gives every user the same three ideas. Measure: sample one prompt many times, cluster the answers, and compute N-eff. Fix: the rest of this session shows which fixes fail and why.
Chapter 1
Follow 37,426 real chatbot queries through a filter, a human check and a taxonomy
To measure narrowness, you need questions with many good answers. Older tests asked for a random number or a random name. People rarely ask a chatbot that. The paper mines real questions instead.
WildChat is a public set of one million real ChatGPT conversations. The authors keep single-turn English queries to GPT-4, flagged non-toxic, 15 to 200 characters long: 37,426 candidates. Then gpt-4o-2024-11-20 asks three things of each. Does it seek real information? Is it a greeting or a question about the model? Does it have one answer or many?
Switch views: the filter funnel, the categories users ask about, and how people rated the questions.
All numbers are the paper's: Section 2, Figure 2, Appendix B.3 and Table 1. Categories overlap, so shares add to more than 100%.
The funnel, worked: 37,426 − 26,070 − 8,817 = 2,539 dropped as greetings, questions about the model or noise, 6.8%. The 26,070 open-ended queries are Infinity-Chat: 69.7% of the candidates.
Do people agree? 86 Prolific workers rated 100 sampled queries, three per query. A majority called 89% open-ended. They judged 81.27% to allow 3 or more answers, and 34.66% to allow more than 20.
Now the key check. Call a query high open-endedness if any rater said more than 20 answers. Across 42 models, answers to those queries average 0.800 similarity; the rest average 0.837. A far bigger answer space lowers similarity by only (0.837 − 0.800) / 0.837 = 4.4%.
Most later experiments use Infinity-Chat100: 100 representative queries that people verified as open-ended.
Failure. A diversity test built from synthetic tasks misses what users ask. Measure: compare your prompt mix with real logs. Fix: mine real queries and have people check them.
Chapter 2
Turn each answer into a vector and average the cosine over every pair
Two answers both say "river" in different words. A string match calls them different. We need a number for meaning.
An embedding model maps a text to a vector, so texts with similar meaning get nearby vectors. The paper uses OpenAI's text-embedding-3-small. To compare two vectors a and b, take the cosine of the angle between them.
Cos of a and b equals a dot b, divided by the length of a times the length of b.
Multiply a and b entry by entry and add. Divide by both lengths. Only the direction counts.
a = (3, 4) and b = (4, 3): a · b = 12 + 12 = 24, both lengths are 5, so cos = 24 / 25 = 0.96. With c = (4, −3): a · c = 0, so cos = 0.
One model answers one query n times. Call the answer embeddings e1 to en. Average the cosine over every pair.
S-bar equals two over n times n minus one, times the sum over i less than j of cos of e-i and e-j.
List every pair of answers once. Take each pair's cosine. Average them. That is S-bar for one model on one query.
For a, b and c above, the pairs give 0.96, 0 and 0.28. S-bar = 1.24 / 3 = 0.41. With n = 50 there are 50 × 49 / 2 = 1,225 pairs.
Each arrow is one answer's embedding, flattened to two dimensions. Drag an arrow tip, or pick a preset. The grey band is where the paper's random pairs fall.
Toy vectors in two dimensions. Real embeddings have many more, and their cosines rarely go below 0. The 0.1 to 0.2 band is the paper's (Figure 4).
For scale, the paper pairs random answers from the whole pool. All of those pairs fall between 0.1 and 0.2. The paper's second version calls this a reference for the scale only, not a matched control.
Failure. A high score hides a real difference. Table 12 shows two summaries of the Nissan R390 at 0.803: one gives it a 3.0-liter V6, the other a 3.5-liter V8. Measure: read the top pairs by hand. Fix: read cosine as same topic and shape, not agreement.
Chapter 3
Read the histogram of S-bar for one model, 50 answers per query
Now the main experiment. Each model answers each Infinity-Chat100 query 50 times, with top-p 0.9, temperature 1.0 and up to 2,048 tokens. For each (model, query) the paper computes S-bar and drops it into a bucket 0.1 wide.
The result, Figure 4: for the 25 main models, S-bar is above 0.8 in 79% of cases. Table 6 lists the buckets for all 70+ models. Their average puts 33.65% + 36.47% = 70.12% in the top two buckets.
Each bar is the share of the 100 queries whose 50 answers had S-bar in that range. The dashed line is 0.8.
Bucket shares from the paper's Table 6. The mean is our estimate from bucket midpoints.
A mean from buckets, worked: take each bucket's middle (0.95, 0.85, 0.75 and so on), weight it by its share, and add. For the all-model row: 0.95 × 0.3365 + 0.85 × 0.3647 + 0.75 × 0.1629 + … = 0.829. For gpt-4o-2024-11-20 the same sum gives 0.883.
Small models score lower: Llama-3.2-1B-Instruct has 39% above 0.8, and Qwen2.5-0.5B-Instruct 24%. Our caution, not the paper's claim: a weak model also wanders off topic, and off-topic answers embed far apart. Low S-bar is not proof of good ideas.
Failure. An app shows 5 samples to offer variety, and users see 5 near-copies. Measure: S-bar over 50 samples per prompt, on your own prompts. Fix: not at the sampler alone, as the next chapter shows.
Chapter 4
Flatten the token odds with temperature, trim the junk with min-p, and see how little changes
The first fix everyone tries is more randomness. At each step a model gives one score per token, a logit. Call the logit of token i zi. The temperature T divides every logit before the softmax.
p-i equals e to the z-i over T, divided by the sum over j of e to the z-j over T.
Divide each logit z-i by T, exponentiate, and divide by the total. T above 1 flattens the odds; below 1 sharpens them.
Made-up logits 4, 3, 1, 0.5 and 0.2. At T = 1 the top token has p = 0.680. At T = 2 it has 0.464, and the fifth token rises from 0.015 to 0.069.
Flat odds let junk tokens in. Top-p keeps the likeliest tokens until their total reaches p. Min-p (Nguyen and others, ICLR 2025) keeps a token only if it is at least a fraction pmin as likely as the top token.
Keep token i if p-i is at least p-min times the max over j of p-j.
Multiply the top token's probability by p-min to get a floor. Drop every token below the floor, renormalize, and sample.
At T = 1 the floor is 0.1 × 0.680 = 0.068, so 2 tokens survive. At T = 2 it is 0.046, so all 5 survive. A junk token with logit −2 gets 0.023 at T = 2, under that floor, so min-p drops it.
Bars are token probabilities. Solid bars survive the filter; faded bars are cut. The tick is min-p's floor.
Toy logits, made up. The real result, 25 models, Figures 4 and 5 of the paper, is in the table below.
| Decoding | S-bar above 0.8 | S-bar above 0.7 |
|---|---|---|
| top-p 0.9, temperature 1.0 | 79% | not reported |
| top-p 1.0, min-p 0.1, temperature 2.0 | 61.2% | 81% |
That is a (79 − 61.2) / 79 = 22.5% relative cut at the 0.8 line, and 81% of cases still sit above 0.7. Temperature reshuffles words inside the modes the model already favours. It cannot add an idea that gets almost no probability.
Failure. A team turns min-p on for all traffic and closed questions get worse. The paper notes min-p suits creative tasks and works less well on closed ones. Measure: test both kinds. Fix: decoding helps; the authors call training another needed part.
Chapter 5
Compare answers across labs and find another lab's model as close as a sibling
Maybe one model is narrow, but many models together are wide. Ensembles and model swarms (several models pooled as one source) bet on that. The paper tests it with the same S-bar, now over pairs of answers from two different models.
Across the 25 main models, cross-model similarity runs from 71% to 82% (Figure 6). DeepSeek-V3 and qwen-max-2025-01-25 reach 0.82. DeepSeek-V3 and gpt-4o-2024-11-20 reach 0.81.
Each cell is the average similarity between two models' answers, in percent. The diagonal compares a model with itself. Tap a cell.
Cells from the paper's Tables 7 to 11 (all 100 queries, top-p 0.9, temperature 1.0). We shortened the names.
Read one row, worked. gpt-4o-2024-11-20 against itself: 88.2. Against gpt-4o-mini, its sibling: 81.4. Against DeepSeek-V3, from another lab: also 81.4. Its lowest cell here, against Llama-3.2-1B, is 70.1, still far above the 10 to 20 of random pairs.
Sometimes the words match too. For an iPhone case description, DeepSeek-V3 and gpt-4o-2024-11-20 both wrote "Elevate your iPhone with our". For a motto, qwen-max and qwen-plus wrote the same string: "Empower Your Journey: Unlock Success, Build Wealth, Transform Yourself."
One more count. For each query, take the 50 most similar answers out of 1,250 and count the models behind them. If models never overlapped, all 50 could come from one model. The average is about 8 models, and some queries pass 10 (Figure 8).
GPT models and Qwen's API models sit close even to other families. The authors name shared data pipelines or synthetic-data contamination as possible causes and leave the question open.
Failure. A team pays for three model APIs to build a "diverse" synthetic data set. Measure: cross-model S-bar on your own prompts. Fix: choose teachers by measured distance, not by brand.
Chapter 6
Ask the same thing five ways and watch the same river come back
Maybe a model learned one answer for one exact wording. Then a reworded prompt would break the habit.
The paper takes 30 Infinity-Chat100 prompts. gpt-4.1-2025-04-14 writes 4 paraphrases of each. An LLM judge checks that the meaning holds: 30 × 5 = 150 prompts. 42 models answer each prompt 20 times, 126,000 answers in all. Two numbers come out:
Pick a wording. The box shows how Llama-3.1-8B-Instruct began its answer. The bar compares the two averages over all 42 models.
Prompts and answer openings from the paper's Table 17. The averages, 0.821 and 0.781, are from Appendix C.4.
Worked: 0.821 − 0.781 = 0.04. As a share, 0.04 / 0.821 = 4.9%. A full rewording that keeps the meaning wins back about one twentieth of the sameness.
So the sameness follows the meaning of the request, not its words. Table 18 shows a template too: answers about the internet's effect on society keep opening with "profound", across paraphrases and across model families.
Failure. A data pipeline paraphrases seed prompts to diversify its training set, and the answers stay alike. Measure: cross-paraphrase S-bar of the answers. Fix: check the variety of answers, not of prompts.
Chapter 7
Derive what a reward with a small bias does to the odds, and keep it labelled as a hypothesis
The paper measures sameness. It does not find the cause, and says so: its analysis "falls short of establishing the underlying mechanisms". Its future work plans to test base models and to compare SFT, RLHF and constitutional training. It cites West and Potts, "Base models beat aligned models at randomness and creativity".
Here is the leading hypothesis, built from standard RLHF maths. The derivation is ours, not a result of the paper. The reference policy is the model before RLHF; call the chance it writes answer y πref(y). A reward model scores each answer, r(y). RLHF raises the average reward but pays β times the KL divergence, a measure of how far the new model drifts from the reference. The best policy for that trade has a closed form:
Pi-star of y equals pi-ref of y, times e to the r of y over beta, divided by Z.
Take each answer's old chance. Multiply it by e to its reward over beta. Divide by the total. A small beta turns a small reward gap into a large one.
With made-up numbers: the reference gives river 0.6, weaver 0.3, sculptor 0.1. The reward prefers the familiar river a little: 1.0 against 0.9 and 0.9. At beta = 1, river rises only to 0.624. At beta = 0.1 the 0.1 gap becomes a factor of e = 2.72, and river takes 0.803. N-eff falls from 2.17 to 1.49.
Grey outlines are the reference odds. Coloured bars are the tuned odds. Lower beta, or raise the bias toward the familiar answer.
Toy: three ideas, made-up odds and rewards. The formula is the standard optimum of reward minus beta times KL. The paper does not run this test.
Typicality bias is the name for that small gap. Suppose raters, and reward models trained on them, score the expected answer a little higher. Then every update moves odds toward it. Nothing about the rarer answer was worse. Chapter 8 tests the raters' tools directly.
Failure. A tuned model loses the rarer answers its base model gave. Measure: N-eff or S-bar on the same prompts before and after tuning. Fix: open; the paper proposes training goals that reward several valid modes.
Chapter 8
Measure how split 25 people are, then watch automatic scores lose track of them
Training leans on automatic scores: perplexity, reward models and LM judges. Can they tell that two different answers are equally good?
The paper collects dense human labels from Prolific, at about $15 per hour. For 50 prompts, 15 answers each get 25 ratings on a 1 to 5 scale: 25 × 15 × 50 = 18,750 labels. Ten answer pairs per prompt get 25 preference votes each: 12,500. That is 31,250 labels.
How split are 25 raters? Call the share of raters who pick label k pk.
H equals minus the sum over k of p-k times log base 2 of p-k.
For each label, multiply its share p-k by the log of p-k. Add them and flip the sign. H is 0 when all agree and 2.32 bits at most for five labels.
All 25 pick one label: H = 0. Votes split 12 and 13: H = 1.00 bit. Five votes on each of five labels: H = log2 5 = 2.32. The paper's Figure 7 shows pairs at H = 2.26 and 2.28, near an even split.
Drag Split from full agreement to an even spread over five labels.
Toy vote counts. The formula and the 2.32-bit ceiling hold for any five-label vote.
Now the test. Rank the examples by entropy and keep the most disputed: the top 120, 90, 60 and 30. On each subset, ask how well each judge's scores track the average human rating.
Each line is one kind of judge. Red points sit below the zero line. Turn judges on or off.
The paper's Table 20, entropy row. Its caption says Spearman; its main text and Appendix D.2 describe Pearson.
Worked: on the 30 most disputed examples, perplexity's correlation is −0.108. The LM judge falls from 0.305 to 0.070, a (0.305 − 0.070) / 0.305 = 77% cut. Under other disagreement measures in Table 20 the drop holds, but not always below zero: with Fleiss' kappa, perplexity keeps 0.268.
Failure. A reward model scores two equally liked answers far apart, so training favours one. Measure: correlation with dense human ratings on high-entropy items. Fix: train and test judges on distributions of labels, like these.
Chapter 9
Feed a model its own outputs for a few generations and watch rare ideas vanish
Many teams train new models on old models' outputs. The paper warns that one teacher "can intensify mode collapse". In extreme cases it can cause degenerative feedback loops, as work by Alemohammad and others and by Kazdan and others shows. Swarms of teachers try to fix this. The 71% to 82% cross-model similarity undercuts them: "practitioners risk overestimating cross-model diversity".
The paper runs no multi-generation test. Here is a toy of ours to show why loops compound. Each generation trains on the last one's outputs and keeps a little mode-seeking. Model that as raising each idea's probability pt(i) to a power α above 1.
p-t-plus-one of i equals p-t of i to the alpha, divided by the sum over j of p-t of j to the alpha.
Raise each idea's probability to the power alpha and renormalize. Repeat once per generation. Big ideas grow; small ones shrink faster each time.
With made-up numbers: start at 0.45, 0.35, 0.12 and 0.08, with alpha = 1.5. N-eff goes 2.89, 2.41, 2.03, 1.76, 1.52 over four generations. The two small ideas are under 1% by generation 3.
Each column is one generation; the number under it is N-eff. Raise alpha, add generations, or mix in fresh human data each round.
Toy model of ours, not a paper result. With the mix on, each generation is 80% the sharpened odds and 20% the starting odds.
A swarm of teachers that are 80% alike slows this loop a little. It does not reverse it. Deduplication does not reverse it either: it removes repeats, but it cannot add ideas that are missing.
Failure. Each model in a distillation chain gives blander answers. Measure: N-eff or S-bar per generation on fixed prompts. Fix: keep fresh human data in the mix, and measure the teachers' cross-model similarity first.
Chapter 10
Keep the terms, the numbers, the code and the open questions in one place
Language models answer open questions narrowly, alone and as a group. One model's 50 answers average above 0.8 similarity in 79% of cases. Min-p at temperature 2 cuts that to 61.2%. Different labs' models sit 71% to 82% apart, and rewording wins back 4.9%. Automatic judges lose track of people exactly where people disagree.
| Term | Meaning | Number to remember |
|---|---|---|
| Mode collapse | probability piled on one or two ideas | 2 clusters from 1,250 answers |
| N-eff | 1 / sum of squared idea shares | 0.8, 0.15, 0.05 gives 1.5 |
| Infinity-Chat | real open queries from WildChat | 26,070 of 37,426 |
| S-bar | average pairwise cosine of an answer pool | random pairs: 0.1 to 0.2 |
| Intra-model repetition | one model repeats itself | 79% of cases above 0.8 |
| Min-p | keep tokens above a share of the top one | 61.2% above 0.8, 81% above 0.7 |
| Inter-model homogeneity | different models answer alike | 71% to 82%; about 8 models per top 50 |
| Paraphrase gap | within-prompt minus cross-paraphrase | 0.821 − 0.781 = 0.04 |
| Entropy of labels | how split 25 raters are | 0 to 2.32 bits |
| Disputed-case correlation | judge against average human rating | perplexity 0.361 to −0.108 |
pythonimport numpy as np def s_bar(E): # E: (n answers, d dims) embeddings U = E / np.linalg.norm(E, axis=1, keepdims=True) # unit length C = U @ U.T # every pairwise cosine n = len(E); i, j = np.triu_indices(n, k=1) # each pair once return C[i, j].mean() def n_eff(p): # idea-family shares p = np.asarray(p, float); p = p / p.sum() return 1 / (p ** 2).sum() def min_p_filter(logits, T=2.0, p_min=0.1): z = np.asarray(logits, float) / T p = np.exp(z - z.max()); p /= p.sum() p[p < p_min * p.max()] = 0 # below the floor: cut return p / p.sum() print(round(s_bar(np.array([[3, 4], [4, 3], [4, -3]])), 2)) # 0.41 print(round(n_eff([0.8, 0.15, 0.05]), 2)) # 1.5 print((min_p_filter([4, 3, 1, .5, .2, -2]) > 0).sum()) # 5: the junk token is cut
Infinity-Chat is English only and one snapshot of possible queries. The GPT-4o category labels agree with people 74.7% of the time. Embedding similarity may miss some kinds of creative variation. The study fixed its decoding settings and did not measure quality. It does not find the cause; testing base models and each post-training stage is future work.
Credit: Session 16 of Georgia Tech CS 8803, LLM seminar. Paper: Artificial Hivemind: The Open-Ended Homogeneity of Language Models (and Beyond) by Liwei Jiang, Yuanjun Chai, Margaret Li, Mickel Liu, Raymond Fok, Nouha Dziri, Yulia Tsvetkov, Maarten Sap, Alon Albalak and Yejin Choi (NeurIPS 2025 Datasets and Benchmarks, arXiv 2510.22954 version 2). Code and data: github.com/liweijiang/artificial-hivemind. The toy devices and all made-up numbers are ours.
Teach it back: open Present or Teach and explain S-bar and the min-p result to a friend. Then go back to the map, predict where the min-p dots will land, and press Ask.