Inception score

On this page 7

The Inception score (IS) is an automatic metric for evaluating generative image models that measures how confidently a pretrained Inception v3 classifier recognizes each generated image and how evenly the predicted classes are spread across the whole sample. In model evaluation for artificial intelligence, it was one of the first widely adopted quantitative measures for generative adversarial networks, introduced in 2016 alongside improved GAN training techniques.

A higher score indicates images that look clearly like specific objects and a set that covers many different classes. The metric needs no reference dataset at evaluation time, which made it convenient, but that same property explains most of its well-known limitations.

How the Inception score is calculated

The Inception score is computed from class probability distributions produced by an Inception v3 network trained on the 1,000 ImageNet classes. Each generated image x yields a conditional distribution p(y|x), and averaging these over all images gives the marginal distribution p(y).

The score is the exponential of the average Kullback-Leibler divergence between each conditional distribution and the marginal: IS = exp(E_x [ KL( p(y|x) || p(y) ) ]). The divergence is large when individual predictions are sharp while the marginal is broad, which is exactly the combination of quality and diversity the metric rewards.

The table below summarizes the computational components and their role.

ComponentMeaningDesired property
p(y|x)Class prediction for one imageLow entropy, one confident class
p(y)Average prediction across all imagesHigh entropy, many classes
KL divergenceDistance between the two distributionsLarge on average
ExponentialConverts the mean divergence to a scoreInterpretable scale
SplitsScore computed on subsets, usually 10Mean and standard deviation reported
Components of the Inception score

The standard protocol evaluates about 50,000 generated images split into ten groups. Smaller samples bias the score downward and increase variance, so results computed on a few thousand images are not comparable with published numbers.

Interpreting score values

The Inception score has a theoretical range from 1 to the number of classes, which is 1,000 for the ImageNet classifier. A value of 1 means every image receives the same prediction or every prediction is uniform; the maximum requires perfectly confident predictions spread evenly over all classes.

Score rangeTypical situationInterpretation
1 to 3Early training or mode collapseBlurry or repetitive images
5 to 9Reasonable CIFAR-10 generatorsRecognizable but imperfect objects
About 11Real CIFAR-10 test imagesPractical ceiling for that dataset
50 to 200+Strong class-conditional ImageNet modelsSharp, diverse ImageNet-like samples
Typical Inception score ranges and their reading

Values are only comparable within the same dataset, resolution, sample size and implementation. Differences in image resizing, the exact Inception weights and the framework used can shift the score by several points, which has caused misleading comparisons in the literature.

Inception score compared with other generative metrics

The Inception score was largely superseded by Fréchet inception distance (FID), which compares generated images with real ones in a feature space. Each metric answers a slightly different question, so the comparison below shows where they agree and differ.

MetricUses real imagesWhat it measuresBetter value
Inception scoreNoClassifier confidence and class diversityHigher
Fréchet inception distanceYesDistance between feature distributionsLower
Kernel inception distanceYesUnbiased kernel-based feature distanceLower
Precision and recall for generatorsYesFidelity and coverage separatelyHigher for both
CLIPScoreNo, uses text promptsImage and caption alignmentHigher
Inception score and related evaluation metrics

Because the Inception score never sees real data, it cannot detect a model that produces convincing images of the wrong distribution. FID addresses this weakness, and human evaluation remains necessary for aesthetic quality and prompt faithfulness.

Known weaknesses and misuse

The Inception score is sensitive to factors unrelated to image quality. Several studies have shown that it can be inflated without any visible improvement, and that it penalizes good models whose content falls outside the ImageNet label space.

ProblemCauseConsequence
Intra-class mode collapseOnly class diversity is measuredOne image per class can score highly
Domain mismatchClassifier knows only ImageNet classesFaces or bedrooms score poorly
Adversarial inflationImages optimized against the classifierHigh scores with unnatural images
Implementation driftDifferent weights and resizingScores not comparable across papers
Small sample biasToo few generated imagesUnderestimated and unstable values
Common problems with the Inception score
  • Report sample size, number of splits and the implementation used.
  • Pair the score with FID or precision and recall rather than using it alone.
  • Avoid the metric for datasets whose content does not resemble ImageNet classes.

Where the Inception score is still used

Despite its flaws, the Inception score remains useful as a quick sanity check and for continuity with earlier research. Class-conditional ImageNet generation papers often still report it next to FID, because it reflects how well a model produces class-recognizable samples.

It is also used as a training monitor: a sudden drop during GAN training often signals mode collapse earlier than visual inspection. For text-to-image systems and modern diffusion models, however, evaluators rely more on FID, CLIPScore and human preference studies.

Some teams compute an Inception-style score with a domain classifier, for example a network trained on medical or satellite imagery, to reduce the ImageNet bias. Such variants keep the same formula but are not comparable with the original score, so they should always be named and documented separately.

For reproducibility, evaluators usually fix the random seed for sampling, generate images at the resolution the classifier expects, and publish the exact evaluation code. These steps matter more than small architectural differences, because evaluation noise of one point or more can exceed the gap between competing models.

Explained without jargon

Imagine showing a stack of computer-made pictures to an expert who knows a thousand kinds of objects. For each picture, the expert says what it shows and how sure they are.

A good stack gets confident answers for each picture. It also covers many different objects, not just dogs again and again. The Inception score turns these two qualities into one number. Higher is better. The catch is that the expert only knows certain objects, so the number can mislead for other kinds of pictures.

A typical use case

A university research group trains a class-conditional GAN on CIFAR-10 and wants to compare three architecture variants. For each variant, the team generates 50,000 images, evaluates them in ten splits with the same Inception v3 implementation, and records the mean and standard deviation.

The baseline scores 7.9, the variant with spectral normalization scores 8.6, and a third variant scores 9.4. Visual inspection of the third variant, however, reveals that many images within each class look nearly identical, a case of intra-class mode collapse that the Inception score cannot see.

The group therefore adds FID against the CIFAR-10 training set. The FID ranking places the spectral normalization variant first, and the final paper reports both metrics together with sample grids.