Source-linked AI summary
On Training Sample Memorization: Lessons from Benchmarking Generative Modeling with a Large-scale Competition
Ching-Yuan Bai, Hsuan-Tien Lin, Colin Raffel, Wendy Chih-wen Kan
TL;DR
Heuristically motivated generative-model metrics can be gamed, while their ability to measure meaningful progress remains in question. The authors examine this through a public competition, a memorization-aware FID variant, and manual code review. They report serious, possibly widespread unintentional memorization and instability in FID rankings across feature models.
Problem
Popular generative-model metrics can reward memorization, while the benchmark evidence and evaluation procedures for assessing genuine progress are limited.
Source: §1 · pp. 1–2Method
Results
Unintentional memorization was serious and possibly widespread; among the top 500 labeled non-memorized submissions, the mean absolute rank-difference percentage between two FID models was 18.9%.
Source: §6 · p. 8Takeaways & Limitations
The authors recommend careful model inspection and memorization analysis when proposing generative-model techniques.
Source: §6 · p. 8MiFID is intended as an efficient profiling tool for competition settings, not a general drop-in replacement for FID.
Source: §6 · p. 8
Abstract
from arXiv · showhide
Many recent developments on generative models for natural images have relied on heuristically-motivated metrics that can be easily gamed by memorizing a small sample from the true distribution or training a model directly to improve the metric. In this work, we critically evaluate the gameability of these metrics by designing and deploying a generative modeling competition. Our competition received over 11000 submitted models. The competitiveness between participants allowed us to investigate both intentional and unintentional memorization in generative modeling. To detect intentional memorization, we propose the ``Memorization-Informed Fr\'echet Inception Distance'' (MiFID) as a new memorization-aware metric and design benchmark procedures to ensure that winning submissions made genuine improvements in perceptual quality. Furthermore, we manually inspect the code for the 1000 top-performing models to understand and label different forms of memorization. Our analysis reveals that unintentional memorization is a serious and common issue in popular generative models. The generated images and our memorization labels of those models as well as code to compute MiFID are released to facilitate future studies on benchmarking generative models.
1 INTRODUCTION
Generative-model benchmarks should measure useful progress through reliable, well-defined procedures, but popular image-quality metrics can be gamed and have known limitations. The paper investigates these problems through a public competition, a memorization-aware metric, and manual review of leading submissions.
1 INTRODUCTION
- A useful benchmark should target a meaningful goal and use a straightforward, well-defined procedure so results can be compared reliably.The paper cites the ImageNet challenge as an example of these properties.Source: §1 · p. 1
- IS can reward memorization and direct optimization can improve its score while producing unrealistic images; FID is viewed as more perturbation-consistent, but its resolution of IS flaws is unclear.IS also depends on the representational space, which the cited discussion says undermines generalization capability.Source: §1 · pp. 1–2
- The authors held a public generative-model competition, modified FID to penalize memorization, and manually reviewed the top 1,000 submissions.These procedures were designed to examine metric gameability and assess whether winning submissions reflected meaningful improvements.Source: §1 · p. 2
- Likelihood evaluation is unavailable for implicit models such as GANs, motivating alternative measures of generative-model quality.The paper describes GANs as sampleable models that do not provide exact likelihoods, or even estimates, for individual examples.Source: §1 · p. 2
2 GENERATIVE MODELING COMPETITION DESIGN
The competition paired constrained dog-image generation with a scoring system designed to reward image quality while penalizing training-set memorization. Its design also separated public and private scoring and added post-competition checks to address overfitting and false penalties.
2 GENERATIVE MODELING COMPETITION DESIGN
- The competition invited participants to generate dog images from 20,579 ImageNet examples, using a constrained environment with nine GPU hours per submission and no internet access.Submissions ran in isolated containers to prevent continued training from prior checkpoints.Source: §2 · p. 2
2.1 Memorization-Informed Fréchet Inception Distance (MiFID)
- MiFID combines FID with a memorization penalty to penalize submissions that produce images too similar to the training set.The competition used this combined metric to assess generated-image quality while discouraging memorization.Source: §2.1 · p. 4
2.1.1 Memorization Penalty.
- Memorization distance is one minus the mean minimum signed cosine similarity between generated and training images; lower distances indicate more severe memorization.The distance is asymmetric: s(S_g,S_t) differs from s(S_t,S_g), which the authors say is irrelevant for their use case.Source: §2.1.1 · p. 4
- Submissions below threshold τ receive a penalty, with more severe memorization producing a higher penalty.The authors discuss handling false positives and negatives under this threshold scheme in Section 2.2.Source: §2.1.1 · p. 4
2.1.2 Preventing overfitting.
- Different data and pretrained models were used for public and private scores to reduce public-leaderboard overfitting; Inception V3 served the public score and NASNet the private score.Each score used one pretrained model to compute both the memorization penalty and FID.Source: §2.1.2 · p. 4
2.2 Determining Final Ranks
- After submissions closed, the team reprocessed entries over two weeks and removed rule violations before announcing the final private leaderboard.The penalty threshold could be reconfigured for this rerun to finalize results within a short time frame.Source: §2.2 · p. 4
2.2.1 Selecting Pre-trained Model for the Private Score.
- Coarse labels and memorization margins guided private-score model selection; NASNet had the largest margin, and its penalty threshold was selected after submissions closed.The authors state that selecting the threshold afterward let it adapt to submissions and helped handle false penalization.Source: §2.2.1 · p. 4
2.2.2 Handling False Penalization.
- The distance histograms showed separated classes; legitimate false positives could rebut penalties, while suspected false negatives received expert code review, with thresholding reducing review time approximately 5x.The review aimed to ensure the top 100 teams were free of intentional memorization.Source: §2.2.2 · pp. 4–5, Figure 2 · p. 5, Figure 3 · p. 5
3 RESULTS AND DATA RELEASE
The competition drew 924 teams and over 11,192 submissions, and the released dataset includes generated images and memorization labels. Results show that memorizing models can score very well on FID, while the study documents several ways submissions memorized training images.
3.1 Data Release
- The release includes 1,675 scored submissions with 10,000 generated dog images each, manual labels for the top 1,000 submissions, and 50,000 crowd-labeled quality and diversity judgments.The crowd labels cover images from the top 100 teams’ non-memorized submissions.Source: §3.1 · p. 5
3.2 Summary of Memorization Study
- Manual review found intentional training-set memorization among top-ranked submissions, ranging from submitting training images directly to training a GAN to memorize.The authors manually labeled the top 1,000 submissions for whether and how they intentionally memorized.Source: §3.2 · p. 5
3.2.1 Memorization GAN (mgan).
- Memorization GANs first train a discriminator to classify training-set membership, then freeze it and train a generator with one-hot seeds mapped to training images.Hyperparameters were tuned using conventional GAN metrics such as IS or FID to avoid mode collapse.Source: §3.2.1 · pp. 5–6
3.2.2 Supervised mapping (sup).
- Supervised-mapping submissions memorize by training a direct mapping from distinct inputs, such as one-hot vectors, to training images.The authors note this approach is easier to identify because it does not use a typical GAN structure.Source: §3.2.2 · p. 6
3.2.3 Autoencoder and VAE Reconstruction (ae).
- Autoencoders can reconstruct training images with high fidelity and slight compression, while VAEs can reconstruct them by decoding seeds obtained by encoding training images.Randomly sampled decoder seeds are described as legitimate VAE generation; encoded training images enable memorization.Source: §3.2.3 · p. 6
3.2.4 Augmentation (aug).
- Augmentation submissions generated images by cropping, morphing, blending, or adding noise to training examples, and the authors say MiFID can generally filter this approach.They characterize this method as naive and easy to identify.Source: §3.2.4 · p. 6
3.3 Competition Results Summary
- Memorizing models achieved extremely low FID on both leaderboards, and the private NASNet memorization-distance range was twice as wide as the public Inception range.The authors say this wider range made intentionally memorizing submissions easier to profile.Source: §3.3 · p. 6, Figure 4 · p. 6, Figure 5 · p. 6
- BigGAN, SAGAN, and StyleGAN were among the most successful architectures, while a spectrally normalized DCGAN reached the private leaderboard’s top 10.Participants also reported that larger models trained for fewer epochs could help with overfitting and diversity; they cautioned that vanilla batch normalization reduces diversity and that simpler models were easier to tune and more stable.Source: §3.3 · p. 6
4 INSIGHTS
The authors examine whether FID scores reflect image quality independently of training-set memorization and feature-projection choice. They find strong FID–memorization correlations among legitimate models and substantial ranking differences across projection models, leading them to caution against reading small FID gains as decisive.
4.1 Unintentional Memorization: models with better FID memorize more
- FID and memorization distance had Pearson correlations above 0.95 on both leaderboards, including among the top 100 submissions whose quality differences were barely identifiable to human perception.The analysis covered 500 legitimate models on each leaderboard.Source: §4.1 · p. 7, Figure 7 · p. 7
- The authors recommend treating memorization as a serious benchmark concern and inspecting generated images alongside their nearest training-set neighbors.They also suggest reporting FID–memorization-distance correlations across model parameters.Source: §4.1 · p. 7
4.2 Debunking FID: choice of latent space for feature projection is non-trivial
- Across the 1,675 submissions, the mean absolute rank difference between Inception and NASNet FID rankings was 124.6; among the top 500 legitimate submissions it was 94.7 (18.9%), with only one model shared in the top five.The two projection models had a Spearman correlation of 0.93, which initially appeared to support projection-space invariance.Source: §4.2 · pp. 7–8, Figure 6 · p. 7
- The authors caution that FID-based state-of-the-art claims warrant care because measured FID fluctuations can be large relative to reported improvements below 5%.They note that generative-model evaluation is difficult compared with better-studied tasks such as classification.Source: §4.2 · p. 8
5 RELATED WORK
The competition results reinforce concerns about memorization in popular generative-model metrics, while the authors provide submission results as a benchmark dataset for evaluating metrics.
5 RELATED WORK
- Competition results confirm training-sample memorization is highly correlated with popular IS and FID metrics [4].The authors note that no comprehensive metric yet accounts for both generation quality and memorization.Source: §5 · p. 8
- The authors provide 11,000+ competition submission results as a standard benchmark dataset for benchmark metrics.They argue that metrics should be extensively tested for their properties and limits before wide adoption.Source: §5 · p. 8
6 CONCLUSIONS
The authors present MiFID as an efficient competition-profiling tool rather than a general replacement for FID. Their analysis also identifies widespread unintentional memorization and instability in FID-based rankings.
6 CONCLUSIONS
- MiFID effectively penalizes models that intentionally memorize training examples, which popular generative-model metrics do not account for.The authors describe MiFID as an efficient profiling tool for competition settings, not a drop-in FID replacement.Source: §6 · p. 8
- Unintentional training-sample memorization is serious and possibly widespread; among the top 500 labeled non-memorized submissions, rank differences between two models averaged 18.9%.The authors interpret the rank difference as evidence that FID is unstable for claiming minor improvements over past methods.Source: §6 · p. 8
A GENERATED SAMPLES VISUALIZATION
The figure shows generated-image quality decreasing as leaderboard rank rises.
A GENERATED SAMPLES VISUALIZATION
- Generated-image quality decreases across leaderboard ranks 1 through 100.Each row shows a random sample of 10 images from one team; rank 1 is the first row and rank 100 the last.Source: Figure 8 · p. 9
Related papers
This paper cites
- Auto-Encoding Variational Bayes2013
- Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift2015
- Going Deeper with Convolutions2014
- Rethinking the Inception Architecture for Computer Vision2015
- Progressive Growing of GANs for Improved Quality, Stability, and Variation2017
- Large Scale GAN Training for High Fidelity Natural Image Synthesis2018