A generative model produces samples, and the first thing anyone does with a new one is look at them.
This works for a few dozen images and fails for everything else. It cannot rank two models whose samples both look fine, it cannot see that a model has stopped producing one kind of output, and it cannot see that a model reproduces its training set. When a lab reports that a new method beats an old one by a fraction of a point, a number is standing in for a judgement, and it had better mean what the reader assumes.
Most of the damage comes from using one number for three different questions. Fidelity asks whether each sample looks like something the real process could have produced. Diversity asks whether the model covers what the real process covers, in the right proportions. Novelty asks whether the samples are new, rather than copies of the training data. A model can be excellent on any two and fail the third. A fourth question, how well the model assigns probability to held-out data, is different again, and the companion book example shows that it does not settle the other three.
this article builds the standard toolkit with its proofs and then breaks each tool on purpose: the Fréchet distance and its sample-size bias, nearest-neighbour precision and recall, kernel two-sample statistics, likelihood, a test for memorization, and the pass@k estimator used for models that write programs. Every claim of the form “this metric prefers the wrong model” is backed by an experiment you can run.
Two limits first. The image metrics of the literature are computed on features from a large pretrained network and test sets of tens of thousands of images. None of that is available offline, so the experiments here use the 8x8 digit images bundled with scikit-learn (UCI optical digits; Alpaydin and Kaynak) and synthetic point clouds, and the “feature extractor” is a small classifier trained in the listings. The conclusions about estimators, biases and counterexamples carry over, because they are statements about the metrics; the absolute values do not. And the “code model” in the companion book example is a table of success probabilities, not a program generator. this article is educational and is not professional advice: a real evaluation protocol for a product also needs a domain reviewer to judge what no metric here can, such as whether samples are fit for their purpose.
Continue with the book
Explore the full treatment, worked examples, and exercises in Applied AI for Generation and Control.
Companion article for Applied AI for Generation and Control, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.
