Human evaluation
How to ask people about generative models — balanced tests, intervals, pairwise comparisons with Bradley–Terry, rater agreement — and the recap of the whole course.
The final judge is a person
The topic LPIPS: a perceptual distance ended where every metric of this module ends. Inception Score, FID, precision and recall, LPIPS: each is a network standing in for a person, and each inherits that network's blind spots. LPIPS even learned from people's choices, made as a two-alternative forced choice: which of two distorted patches is closer to the reference? The final judge is a person. This topic is about asking people well: what to ask, how to turn the answers into numbers and how far to trust them.
How you ask shapes what you get. Salimans et al. (2016) asked crowd workers to tell real CIFAR-10 images from the samples of one model. The workers got it right 78.7% of the time; the authors, who knew which artifacts to look for, got over 95%. Workers who saw the correct answer after each trial quickly became harsher judges.
Every study asks one of four questions.
- Real or generated? Each trial has a correct answer. The result is an error rate.
- Which of two is better? A pairwise comparison. The result is a win rate or a score per model.
- How good is it? An absolute rating on a fixed scale, averaged over raters.
- Does it match the input? Faithfulness to a prompt or a condition, separate from how good the output looks.
Real or generated
The obvious way to score a realism test is the fool rate: show people generated images and count the share they call "real". It mixes two things: how good the model is and how readily a rater says "real". A rater who answers "real" to everything without looking reaches a fool rate of 100%.
The fix is a balanced test. Mix equal numbers of real and generated images, shuffle them, and score the error rate: the share of wrong answers over all images. Suppose a rater cannot see any difference and says "real" with probability to every image. They are wrong on a real image with probability and on a generated one with probability , so
Whatever their habit, a blind rater lands at 50%. So 50% is chance, the best a model can reach, and the bias toward "real" no longer moves the score.
HYPE (Zhou et al., 2019) turned this into a standard protocol. Each rater sees 100 images, 50 real and 50 generated, and 30 raters take part. HYPE lets them look as long as they like. HYPE instead shows each image for 100 to 1000 ms and finds the shortest exposure at which people still tell them apart.
How many judgements
A rate measured on a few hundred answers is noisy, so every result needs an interval. Say raters made 76 errors in 200 balanced judgements: . If the judgements are independent, the standard error is
and gives about . In practice one uses the Wilson interval, which behaves better near 0 and 1 and for small ; here it gives . Both exclude : people do tell this model's images from real ones (an exact binomial test gives ).
The width falls only like . Small differences are expensive: to detect a true error rate of against (two-sided 5% test, 80% power) you need about 783 independent judgements.
Independent is the catch. If the same five raters judge all 200 images, one harsh rater shifts dozens of answers at once. The honest interval is then wider; it comes from resampling whole raters and whole images (a cluster bootstrap), not single answers.
Which of two is better
Realism tests ask about one model at a time. To rank several, show two outputs for the same input and ask which is better. People find comparisons easier and more consistent than absolute grades.
The Bradley–Terry model turns votes into scores. Each model gets a score , and the probability that beats depends only on the difference:
So the odds of a win are . The scores are fitted by maximum likelihood over all votes, : logistic regression with the cross-entropy loss of Entropy, cross-entropy and KL. Only differences matter, so one score is fixed at zero. The model also assumes transitivity: odds multiply along a chain, so is never predicted to lose to when it beats and beats .
Arenas report the same scores on the Elo scale, :
If wins 60% against , then , and points. Chatbot Arena and GenAI-Arena let users type their own prompt, show two anonymous outputs and fit Bradley–Terry to the votes. The reward model in RLHF uses the same formula, with a network in place of a table of scores.
Ratings and prompt alignment
The third question asks for a grade, usually 1 to 5. The average is the mean opinion score, MOS, a tradition from telephone speech testing (ITU-T P.800). It is easy to collect and hard to compare. Raters use the scale differently: one never gives a 5, another gives 4 to anything acceptable. A MOS is meaningful only next to other models rated in the same study, by the same pool, with the same instructions.
The fourth question matters for conditional models. A text-to-image model can draw a beautiful, photo-real image of the wrong scene. Prompt suites make this testable. DrawBench (Saharia et al., 2022) has 200 prompts in 11 categories; PartiPrompts (Yu et al., 2022) has over 1600. Raters answer two separate questions per pair of images: which looks better, and which matches the prompt better.
The categories exist because models fail in predictable places. Counting ("five apples"), spatial relations ("a cube to the left of a ball") and rendered text ("a sign that says OPEN") are the usual weak points. A realism test would never notice: the wrong number of apples can look perfectly real.
A reliable study
A human study is an experiment, and most of its quality is decided before the first vote.
- Blind and shuffled. Raters do not know which model made what. The order of items and the left or right side in a pair are random, since people favor one side.
- No cherry-picking. Prompts and random seeds are fixed in advance, and every output is shown, not the best of ten.
- Clear instructions with worked examples of what counts as better.
- Attention checks: items with an obvious answer that catch raters who click at random.
- Several raters per item, and a measure of how much they agree.
Raw agreement is misleading, since two raters who flip coins agree half the time. Cohen's kappa subtracts the agreement expected by chance:
Here is the observed share of items where two raters agree, and is the agreement of two independent raters with the same answer frequencies: the sum, over answers, of the product of the two raters' frequencies for that answer. If both raters prefer half the time, , and gives . is chance; is perfect agreement.
What people miss
People are the reference, not an oracle. Three limits remain.
One image at a time. A rater sees a handful of images and judges each one. A model that returns its own training images scores a perfect 50% on a realism test, because every image is real. Neither diversity nor novelty is visible to a person looking at single samples. Those need the tools of earlier topics: precision and recall for coverage, and a nearest-neighbor search of the training set with LPIPS for copies.
Results do not travel. Change the instructions, the interface, the exposure time or the rater pool, and the numbers change. Two papers' human scores are comparable only if they ran the same protocol.
Cost. A careful study takes days and real money, and it cannot run after every training step.
So practice splits the work. Automatic metrics track training and tune settings, because they are cheap and repeatable. People make the final comparison between a few candidates, because they catch artifacts that no feature network was trained to see.
The course in one table
This is the end of the course. Topic 1 asked one question: how can a model learn to produce new data that looks like its training data? It also split what we want from a model into two jobs: sample new points and evaluate . Every family kept the same picture of noise plus a learned transformation, and each split the two jobs differently:
| Family | Sample | Evaluate | What it pays |
|---|---|---|---|
| VAE | , one decoder pass | a lower bound, the ELBO | blurry samples |
| GAN | in one pass | nothing | unstable training, mode collapse |
| Normalizing flow | one pass of an invertible map | exact | invertible layers that keep the dimension, cheap Jacobians |
| Energy-based model | an MCMC chain on the energy (Langevin, HMC) | only up to the unknown constant | slow sampling, in training and in use |
| Diffusion and flow matching | many denoising steps, or an ODE solve | a lower bound; exact through the probability-flow ODE, at extra cost | many network passes per sample |
| Latent diffusion | diffusion in an autoencoder's latent, then one decoder pass | a bound for the latent code, not the image | the autoencoder limits the finest detail |
| Autoregressive | one piece at a time, pixel or token | exact, a product of conditionals | one network pass per piece |
None of these models learns itself. Each learns a way to turn noise into samples.
The last module took the words "looks like" from the opening question seriously. Likelihood could not measure them, so we built judges from samples: Inception Score, FID, precision and recall, LPIPS. Each is a network standing in for a person. This topic went to the person directly and found that people, too, give reliable answers only when the study is designed well. A good model is one whose samples hold up under all of these at once.
Check your understanding
The same questions as in Pulse. Answers are shared between modes.
Answers are saved on the server and tied to this browser until you sign in.