<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://a-little-hoof.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://a-little-hoof.github.io/" rel="alternate" type="text/html" /><updated>2026-10-28T09:36:27-07:00</updated><id>https://a-little-hoof.github.io/feed.xml</id><title type="html">Yifei Wang</title><subtitle>Yifei Wang is a PhD student at Rice University researching diffusion models, flow matching, and efficient generative modeling.</subtitle><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><entry><title type="html">Struggling Toward Generative Model Evaluation</title><link href="https://a-little-hoof.github.io/blog/how-to-evaluate-your-generative-model/" rel="alternate" type="text/html" title="Struggling Toward Generative Model Evaluation" /><published>2026-07-08T00:00:00-07:00</published><updated>2026-07-08T00:00:00-07:00</updated><id>https://a-little-hoof.github.io/blog/how-to-evaluate-your-generative-model</id><content type="html" xml:base="https://a-little-hoof.github.io/blog/how-to-evaluate-your-generative-model/"><![CDATA[<style>
.post-wrap h2 {
  font-size: 1.65rem;
}
.post-wrap h3 {
  font-size: 1.35rem;
}
.post-wrap h4 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.45rem;
}
.post-contents {
  margin: 1.45rem 0 2.1rem;
  padding-left: 1.65rem;
}
.post-contents,
.post-contents ol {
  line-height: 1.8;
}
.post-contents a {
  font-weight: 600;
  text-decoration: none;
}
.post-contents a:hover {
  text-decoration: underline;
}
.post-contents ol {
  margin: 0.15rem 0 0.25rem;
  padding-left: 1.35rem;
}
.benchmark-table {
  margin: 1.15rem 0 1.4rem;
  width: 100%;
}
.benchmark-table table {
  width: 100%;
  table-layout: fixed;
  font-size: 0.86rem;
  line-height: 1.35;
}
.benchmark-table th,
.benchmark-table td {
  vertical-align: top;
  padding: 0.48rem 0.5rem;
  overflow-wrap: anywhere;
}
.benchmark-table col.area-col {
  width: 13%;
}
.benchmark-table col.benchmark-col {
  width: 16%;
}
.benchmark-table col.prompt-col {
  width: 20%;
}
.benchmark-table col.evaluator-col {
  width: 26%;
}
.benchmark-table col.focus-col {
  width: 25%;
}
.benchmark-table .area-cell {
  font-weight: 700;
  color: #2b313a;
}
.ref-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  margin-left: 0.35em;
  border-radius: 999px;
  color: #24788d;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}
.ref-back:hover {
  background: #e9f4f6;
  text-decoration: none;
}
@media (max-width: 640px) {
  .post-wrap h2 {
    font-size: 1.42rem;
  }
  .post-wrap h3 {
    font-size: 1.22rem;
  }
  .post-wrap h4 {
    font-size: 1.08rem;
  }
  .benchmark-table table {
    font-size: 0.78rem;
  }
  .benchmark-table th,
  .benchmark-table td {
    padding: 0.38rem 0.35rem;
  }
}
</style>

<blockquote>
  <p>Evaluating generative models is difficult not because current models fail obviously, but because many failures become subtle as generation quality improves. A model may produce realistic samples while still suffering from problems such as poor diversity, weak prompt adherence, or memorization. Therefore, the central challenge is not only determining whether a model works, but understanding which aspects of generation have actually improved.</p>
</blockquote>

<p>This blog post traces the development of generative model evaluation: from the basic difficulty, to representation-based metrics, to FID and its many descendants, to benchmark-driven evaluation, and finally to the uncomfortable fact that no single number gets to be the truth.</p>

<p>Below is a clickable table of contents. Click any item to jump directly to that section.</p>

<ol class="post-contents">
  <li><a href="#introduction">Introduction</a>
    <ol>
      <li><a href="#what-are-generative-models">What are generative models?</a></li>
      <li><a href="#why-is-evaluation-hard">Why is evaluation hard?</a></li>
    </ol>
  </li>
  <li><a href="#discriminative-models">Discriminative Models as Evaluators</a>
    <ol>
      <li><a href="#inception-score">Inception Score</a></li>
      <li><a href="#precision-and-recall">Precision and recall</a></li>
    </ol>
  </li>
  <li><a href="#one-score">One score that rules them all</a>
    <ol>
      <li><a href="#what-is-fid">What is FID?</a></li>
      <li><a href="#variants-of-fid">Variants of FID</a></li>
      <li><a href="#beyond-image-generation">Extending FID beyond image generation</a></li>
    </ol>
  </li>
  <li><a href="#problem-with-fid">The problem with FID</a>
    <ol>
      <li><a href="#fid-stability">How stable is FID?</a></li>
      <li><a href="#fid-unsuggestive">When FID score becomes unsuggestive</a></li>
    </ol>
  </li>
  <li><a href="#benchmarks">Benchmarks become the new standard</a>
    <ol>
      <li><a href="#what-benchmarks-does">What benchmarks do</a></li>
      <li><a href="#pass-k-coverage">Pass@k reveals distribution coverage</a></li>
    </ol>
  </li>
  <li><a href="#closing-thought">Closing thought</a></li>
  <li><a href="#references">References</a></li>
</ol>

<h2 id="introduction">1. Introduction</h2>

<h3 id="what-are-generative-models">1.1 What are generative models?</h3>

<p>Creating noise from data is easy; creating data from noise is generative modeling.<sup class="footnote-ref"><a href="#fn:score-sde">1</a></sup> A generative model learns a distribution. In the simplest unconditional case, we want</p>

\[p_\theta(x) \approx p_{\mathrm{data}}(x).\]

<p>For conditional generation, the target is instead</p>

\[p_\theta(x \mid c) \approx p_{\mathrm{data}}(x \mid c),\]

<p>where $c$ might be a class label, text prompt, input image, pose, depth map, audio track, camera trajectory, or editing instruction. Sampling $x$ from a trained model $p_\theta$ is generation.</p>

<h3 id="why-is-evaluation-hard">1.2 Why is evaluation hard?</h3>

<p>The difficulty of evaluating the quality of generative models fundamentally stems from the fact that generation tasks do not have a single correct answer. For image reconstruction, the output can be directly compared with a ground-truth image, making pointwise metrics such as PSNR and SSIM reasonable choices.<sup class="footnote-ref"><a href="#fn:ssim">2</a></sup> In contrast, for image generation, there may be many plausible outputs under the same condition. Therefore, the evaluation objective is no longer to determine whether a single sample matches a standard answer, but rather to assess whether the generated distribution is close to the real data distribution.</p>

<figure>
  <img src="/images/blog/evaluation/generation-no-single-answer.png" alt="Illustration contrasting reconstruction with a single target and generation with many plausible outputs" style="width: 100%; max-width: 760px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center;">
    Reconstruction has a natural target. Generation has a distribution of plausible answers.
  </figcaption>
</figure>

<h4 id="likelihood-evaluation">Likelihood evaluation</h4>

<p>Log-likelihood is a tempting evaluation criterion because a generative model is supposed to assign high probability to realistic data. For conditional generation, the analogous quantity is</p>

\[\log p_\theta(x \mid c),\]

<p>where $x$ is an image and $c$ is the text prompt. If likelihood were a good prompt-alignment metric, images with higher likelihood under a prompt should also receive higher CLIP scores for that prompt.</p>

<p>A simple SD3.5-Large experiment tests this directly. For each prompt, multiple images are generated, each image is scored by latent likelihood $\log p_\theta(x \mid c)$, and the same image is scored by CLIP. The relevant statistic is the within-prompt Spearman correlation between likelihood and CLIP score, because raw pooling across prompts is confounded by prompt-specific likelihood offsets.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center">Images</th>
      <th style="text-align: center">Generation/scoring regime</th>
      <th style="text-align: center">Within-prompt Spearman: likelihood vs CLIP</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">8 prompts x 16 images</td>
      <td style="text-align: center">without CFG</td>
      <td style="text-align: center">+0.109 (p=0.22)</td>
    </tr>
    <tr>
      <td style="text-align: center">8 prompts x 16 images</td>
      <td style="text-align: center">with CFG</td>
      <td style="text-align: center">+0.104 (p=0.24)</td>
    </tr>
    <tr>
      <td style="text-align: center">2 prompts x 96 images</td>
      <td style="text-align: center">without CFG</td>
      <td style="text-align: center">+0.078 (p=0.28)</td>
    </tr>
    <tr>
      <td style="text-align: center">2 prompts x 96 images</td>
      <td style="text-align: center">with CFG</td>
      <td style="text-align: center">+0.203 (p=0.0047)</td>
    </tr>
  </tbody>
</table>

<p>The correlations are small. Even in the statistically positive setting, the effect size is weak. This means CLIP score and likelihood are measuring different things: CLIP measures text-image alignment in a learned representation space, while likelihood measures density under the model’s latent distribution. Higher likelihood does not reliably imply better CLIP alignment.</p>

<p>Therefore, likelihood is useful as a density diagnostic, but it should not be treated as an automatic evaluation metric for prompt following or perceptual quality.</p>

<p>Human evaluation remains the most direct way to assess perceptual quality, but large-scale studies are expensive and difficult to reproduce. This motivates the development of automatic metrics that are scalable while still correlating well with human judgments.</p>

<h2 id="discriminative-models">2. Discriminative Models as Evaluators</h2>

<p>A common approach is to evaluate generative models in a learned representation space rather than directly in pixel space. Pixel-level distances are often poorly aligned with human perception: small changes in translation, cropping, lighting, or texture can produce large pixel differences even when the images remain perceptually similar. Moreover, generation is not a reconstruction problem. The goal is not to reproduce a specific target image, but to measure whether generated samples match the statistics and semantics of the real data distribution.</p>

<p>Pretrained discriminative models provide a practical way to construct such representation spaces. Instead of comparing raw pixels, generated and real images are mapped into feature embeddings, where distances are expected to reflect higher-level visual properties. However, the resulting evaluation is inherently dependent on the chosen representation: the feature extractor determines which aspects of similarity are captured and which are ignored.</p>

<figure>
  <img src="/images/blog/evaluation/inception-v3-fid-is-pipeline.svg?v=1" alt="Schematic of the Inception-v3 architecture used as a feature extractor for generative model evaluation" style="width: 100%; max-width: 860px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center;">
    Inception-v3 maps an image to both class probabilities and intermediate feature embeddings, which makes it useful for Inception Score and FID-style evaluation.
  </figcaption>
</figure>

<p>Once images are represented as features, several evaluation strategies become possible. We can ask whether each generated image is confidently recognized by a classifier, which leads to Inception Score.<sup class="footnote-ref"><a href="#fn:is">3</a></sup> We can ask whether generated samples lie close to the real data manifold and whether they cover it, which leads to precision and recall.<sup class="footnote-ref"><a href="#fn:pr">4</a></sup> Later, we can compare the full real and generated feature distributions, which leads to FID.<sup class="footnote-ref"><a href="#fn:fid">7</a></sup></p>

<p>This idea appears in many forms:</p>

<ul>
  <li>use an ImageNet classifier to judge whether generated images look like recognizable objects.<sup class="footnote-ref"><a href="#fn:is">3</a></sup></li>
  <li>use its intermediate features to compare real and generated distributions.<sup class="footnote-ref"><a href="#fn:fid">7</a></sup></li>
  <li>use CLIP-like features to evaluate image-text alignment.<sup class="footnote-ref"><a href="#fn:clip">16</a></sup></li>
  <li>use self-supervised features such as DINO for more general visual similarity.<sup class="footnote-ref"><a href="#fn:fd-dino">10</a></sup></li>
  <li>use video encoders for temporal and motion-aware evaluation.<sup class="footnote-ref"><a href="#fn:fvd">17</a></sup></li>
</ul>

<p>The representation model becomes a measuring device. It is not the generator, but it defines what the evaluation can see.</p>

<h3 id="inception-score">2.1 Inception Score</h3>

<p>Inception Score<sup class="footnote-ref"><a href="#fn:is">3</a></sup> was one of the early popular representation-based metrics for image generation. It uses a pretrained Inception classifier and rewards two things:</p>

<ol>
  <li>each generated image should produce a confident class prediction;</li>
  <li>the full generated set should cover many classes.</li>
</ol>

<p>Written roughly, it is</p>

\[\mathrm{IS} =
\exp\left(
\mathbb{E}_{x \sim p_g}
D_{\mathrm{KL}}(p(y \mid x) \,\|\, p(y))
\right).\]

<p>The intuition is attractive. If each image is sharp and recognizable, $p(y \mid x)$ should have low entropy. If the generator is diverse, the marginal class distribution $p(y)$ should have high entropy. So the score tries to reward both fidelity and diversity.</p>

<p>But Inception Score also shows the danger of representation-based evaluation. It does not compare to the real data distribution directly. It mostly cares about classifier-recognizable ImageNet categories. It can reward samples that are easy for the classifier while missing other aspects of realism. It also has little to say about conditional generation unless the condition is aligned with the classifier labels.</p>

<p>Still, it introduced an important pattern: use a strong pretrained model as a proxy for human visual judgment.</p>

<h3 id="precision-and-recall">2.2 Precision and recall</h3>

<p>Precision and recall for generative models<sup class="footnote-ref"><a href="#fn:pr">4</a></sup> take the real data distribution into consideration.</p>

<ul>
  <li><strong>Precision</strong> asks whether generated samples lie near the real data manifold.</li>
  <li><strong>Recall</strong> asks whether the generated distribution covers the real data manifold.</li>
</ul>

<p>The original precision-recall-distribution method starts by embedding real and generated samples into a feature space, usually with a pretrained classifier. It then clusters the pooled embeddings into bins and estimates two discrete distributions: $p_b$ for real data and $q_b$ for generated data. By sweeping a slope parameter $\lambda$, it obtains a precision-recall curve:</p>

\[\mathrm{precision}(\lambda)
= \sum_b \min(\lambda p_b, q_b),
\qquad
\mathrm{recall}(\lambda)
= \sum_b \min(p_b, q_b / \lambda).\]

<figure>
  <img src="/images/blog/evaluation/prd-clustering-bins-histograms.svg?v=1" alt="Schematic of precision-recall distributions using clustered feature-space bins and real/generated histograms" style="width: 100%; max-width: 840px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center;">
    The original PRD method clusters pooled real and generated features, turns cluster assignments into two histograms, and computes precision-recall tradeoffs from the resulting discrete distributions.
  </figcaption>
</figure>

<p>This curve is useful, but it depends on density estimates after clustering. The improved precision and recall metric<sup class="footnote-ref"><a href="#fn:improved-pr">5</a></sup> instead builds explicit non-parametric approximations of the real and generated manifolds in feature space. Let $R=\lbrace r_i \rbrace$ be real features and $G=\lbrace g_j \rbrace$ be generated features. For each real feature $r_i$, let $\rho_i$ be the distance from $r_i$ to its $k$th nearest neighbor among real features, and define the real manifold estimate as</p>

\[\mathcal{M}_R = \bigcup_i B(r_i, \rho_i).\]

<p>The generated manifold estimate $\mathcal{M}_G$ is defined the same way using generated features and their $k$th-neighbor radii. Precision and recall are then simple membership tests:</p>

\[\mathrm{precision}
= \frac{1}{|G|}
\sum_{g_j \in G}
\mathbf{1}[g_j \in \mathcal{M}_R],
\qquad
\mathrm{recall}
= \frac{1}{|R|}
\sum_{r_i \in R}
\mathbf{1}[r_i \in \mathcal{M}_G].\]

<figure>
  <img src="/images/blog/evaluation/knn-manifold-estimation-precision-recall.svg?v=1" alt="Schematic of k-nearest-neighbor manifold estimation for improved precision and recall" style="width: 100%; max-width: 840px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center;">
    Improved precision and recall approximate the data manifold with adaptive kNN balls. Precision checks generated samples against the real manifold estimate; recall swaps the roles and checks real samples against the generated manifold estimate.
  </figcaption>
</figure>

<p>So high precision means most generated samples fall inside the real-data manifold estimate. High recall means the generated manifold covers most real-data samples. The important point is that the two numbers separate sample realism from distribution coverage instead of forcing both questions into one scalar.</p>

<h2 id="one-score">3. One score that rules them all</h2>

<p>FID, introduced in the TTUR paper<sup class="footnote-ref"><a href="#fn:fid">7</a></sup>, later became the de facto standard metric for evaluating image generative models.</p>

<h3 id="what-is-fid">3.1 What is FID?</h3>

<p>Frechet Inception Distance compares real and generated samples in Inception feature space. Instead of asking whether individual samples are classified confidently, it fits a Gaussian to the real features and another Gaussian to the generated features:</p>

\[\mathrm{FID} =
\lVert \mu_r - \mu_g \rVert_2^2
+
\mathrm{Tr}(\Sigma_r + \Sigma_g - 2(\Sigma_r\Sigma_g)^{1/2}).\]

<p>Here $(\mu_r, \Sigma_r)$ are the mean and covariance of real features, and $(\mu_g, \Sigma_g)$ are the mean and covariance of generated features. Lower is better. Three characteristics of FID are worth keeping in mind:</p>

<ol>
  <li><strong>Finite-sample estimate.</strong> FID is not computed from the full model distribution. In practice, people usually generate 50k samples and use their features to represent the generated distribution. This makes FID easy to standardize, but it also means the score can depend on sample count, random seed, and which finite sample set happens to be evaluated.</li>
  <li><strong>Gaussian assumption.</strong> FID reduces each feature distribution to a mean and covariance, then computes the distance between the two fitted Gaussians. This makes the metric simple and stable to report, but it also means that any structure beyond second-order statistics is invisible to the score.</li>
  <li><strong>Fréchet Distance.</strong> After the Gaussian approximation, FID uses the Fréchet distance between the two Gaussian distributions, also known as the 2-Wasserstein distance in this setting. The mean term measures how far the centers of the real and generated feature clouds are from each other, while the covariance term measures how different their spreads and correlations are.</li>
</ol>

<h3 id="variants-of-fid">3.2 Variants of FID</h3>

<p><strong>FD<sub>∞</sub></strong><sup class="footnote-ref"><a href="#fn:unbiased-fid">8</a></sup> challenges the finite-sample behavior of FID. In practice, FID is computed from a finite number of real and generated samples, so the estimated means and covariances introduce bias. The idea of FD<sub>∞</sub> is to view the reported score as a finite-sample estimate $\mathrm{FD}_N$ and extrapolate toward the value that would be obtained with infinitely many samples:</p>

\[\mathrm{FD}_\infty = \lim_{N \to \infty} \mathrm{FD}_N.\]

<p>The conclusion is stronger than “FID needs enough samples.” Finite-sample FID is biased, and the bias depends on the model being evaluated. Therefore, fixing the protocol at 50k samples does not fully remove the issue: one model may look better partly because its finite-sample bias is smaller. FD<sub>∞</sub> improves the estimator, but it does not change the underlying assumptions of FID: Gaussian feature distributions and a fixed representation space.</p>

<p><strong>Kernel Inception Distance</strong>, or <strong>KID</strong><sup class="footnote-ref"><a href="#fn:kid">9</a></sup>, challenges the Gaussian assumption behind FID. It keeps the same broad idea of comparing real and generated samples in Inception feature space, but replaces the Gaussian Fréchet distance with a kernel maximum mean discrepancy (MMD). If $u=\phi(x)$ is a real feature and $v=\phi(\tilde{x})$ is a generated feature, then the squared MMD is</p>

\[\mathrm{MMD}^2(P, Q)
=
\mathbb{E}_{u,u' \sim P}[k(u,u')]
-
2\mathbb{E}_{u \sim P, v \sim Q}[k(u,v)]
+
\mathbb{E}_{v,v' \sim Q}[k(v,v')].\]

<p>KID usually uses a polynomial kernel on Inception features:</p>

\[k(u,v)=
\left(
\frac{1}{d}u^\top v + 1
\right)^3,\]

<p>where $d$ is the feature dimension. Given real features $\lbrace u_i \rbrace_{i=1}^m$ and generated features $\lbrace v_j \rbrace_{j=1}^n$, an unbiased finite-sample estimator is</p>

\[\widehat{\mathrm{KID}}
=
\frac{1}{m(m-1)}
\sum_{i \ne i'} k(u_i,u_{i'})
-
\frac{2}{mn}
\sum_{i,j} k(u_i,v_j)
+
\frac{1}{n(n-1)}
\sum_{j \ne j'} k(v_j,v_{j'}).\]

<p>This unbiased estimator is one reason KID is useful when the number of evaluation samples is limited, while FID can be biased for finite sample sizes.</p>

<p><strong>FD-DINO</strong><sup class="footnote-ref"><a href="#fn:fd-dino">10</a></sup> challenges a different part of FID: the feature extractor. Standard FID computes Fréchet distance in Inception feature space, so the metric inherits the priorities and blind spots of a supervised ImageNet classifier. FD-DINO keeps the same Fréchet-distance calculation, but replaces Inception features with DINO or DINOv2 representations.</p>

<figure>
  <img src="/images/blog/evaluation/fd-dino-feature-extraction.svg?v=2" alt="Schematic comparing Inception feature extraction with DINO feature extraction for Fréchet distance evaluation" style="width: 100%; max-width: 840px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center;">
    FD-DINO keeps the Fréchet-distance calculation but changes the representation space from supervised Inception features to DINO-style self-supervised visual features.
  </figcaption>
</figure>

<p>The motivation is that self-supervised visual features can capture semantic similarity without being as tightly tied to ImageNet classification labels. In this view, the distance formula is not the only thing that matters; the representation space defines what the metric can see. If DINO places semantically similar images closer together, then a Fréchet distance in DINO feature space may better reflect perceptual similarity for modern generators, especially diffusion models.</p>

<p>FD-DINO is therefore less a new distance than a reminder that evaluation metrics are pipelines. Changing the encoder can change the meaning of the same mathematical score.</p>

<h3 id="beyond-image-generation">3.3 Extending FID beyond image generation</h3>

<p>The same idea has been used far beyond unconditional image generation. In text-to-image evaluation, <strong>MS COCO</strong><sup class="footnote-ref"><a href="#fn:coco">18</a></sup> became a common reference point because it contains natural images paired with human-written captions. The common zero-shot setting is usually called <strong>FID-30K</strong> on COCO: sample 30,000 captions from the MS COCO 2014 validation split, generate one image for each caption, and compare those 30,000 generated images against the reference images from the full COCO validation set, which contains 40,504 images.<sup class="footnote-ref"><a href="#fn:imagen">19</a></sup> This makes the result easy to compare across papers, but it is still a distribution-level image metric: a model can improve COCO FID without necessarily improving prompt faithfulness for every individual caption.</p>

<p>For video, the analogous metric is often <strong>FVD</strong>, Fréchet Video Distance<sup class="footnote-ref"><a href="#fn:fvd">17</a></sup>. There is no single COCO-like prompt set for FVD, because the reference set depends on the video task: video prediction, unconditional video generation, text-to-video generation, or domain-specific generation may all use different datasets. In the original FVD paper, the authors evaluate on datasets such as BAIR robot pushing, KTH actions, and their StarCraft 2 Videos benchmark. They use I3D video features, especially the logits of an I3D model trained on Kinetics-400, and report FVD with 256 validation samples for BAIR and 1024 samples for KTH and SCV. Many later video-generation papers use 2048 real and generated clips, so the number of clips, clip length, resolution, and feature backbone should always be reported together with the score.</p>

<p>Instead of embedding single images with Inception, FVD embeds short video clips with a video understanding network, then computes the same Gaussian Fréchet distance in that video feature space:</p>

\[\mathrm{FVD}
=
\lVert \mu_r - \mu_g \rVert_2^2
+
\mathrm{Tr}(\Sigma_r + \Sigma_g - 2(\Sigma_r\Sigma_g)^{1/2}).\]

<p>Here the means and covariances are computed from video features rather than image features. This matters because video generation is not only about whether each frame looks realistic. The model also has to maintain identity, geometry, motion, and temporal coherence across frames, so a frame-level FID can miss failures such as flicker, frozen motion, or inconsistent object dynamics.</p>

<h2 id="problem-with-fid">4. The problem with FID</h2>

<p>Despite its success, FID has important limitations. For years, generative model evaluation often followed a simple pipeline: train a model, generate samples, compute FID, and use the score as the primary basis for comparison. As generative models have improved, these limitations have become increasingly apparent: a single distribution-level metric cannot fully capture the different dimensions of generation quality.</p>

<h3 id="fid-stability">4.1 How stable is FID?</h3>

<p>The first problem is stability. FID can move for reasons that have little to do with the conceptual quality of the generator.</p>

<h4 id="411-randomness-in-training">4.1.1 Randomness in training</h4>

<p>Random seeds, data order, initialization, augmentation randomness, and hardware-level nondeterminism can all change the final model. If the reported improvement is small, it may be hard to know whether the method improved the generator or simply landed on a better run.</p>

<p>The FID Lottery makes this problem explicit.<sup class="footnote-ref"><a href="#fn:fid-lottery">13</a></sup> The paper treats FID as a random variable over two axes: the training seed used to obtain the model and the generation seed used to draw the evaluation samples. On class-conditional ImageNet 256x256, it finds that retraining the same recipe with a different seed moves FID much more than simply resampling from a fixed network. The spread comes from ordinary sources of training randomness, including initialization, data order, and per-step Gaussian noise in the flow-matching loss. The conclusion is practical: a single FID number from one model checkpoint is a lottery ticket. Small gaps should be treated as inconclusive unless they are larger than the measured variation, and strong claims should report error bars over multiple training seeds.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center">Condition</th>
      <th style="text-align: center">N</th>
      <th style="text-align: center">Between-seed std</th>
      <th style="text-align: center">Within-seed std</th>
      <th style="text-align: center">Between-seed CoV</th>
      <th style="text-align: center">Range</th>
      <th style="text-align: center">Share of vary-all</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">Vary all</td>
      <td style="text-align: center">25</td>
      <td style="text-align: center">0.438</td>
      <td style="text-align: center">0.137</td>
      <td style="text-align: center">1.26%</td>
      <td style="text-align: center">1.66</td>
      <td style="text-align: center">100.0%</td>
    </tr>
    <tr>
      <td style="text-align: center">Vary noise</td>
      <td style="text-align: center">25</td>
      <td style="text-align: center">0.336</td>
      <td style="text-align: center">0.144</td>
      <td style="text-align: center">0.97%</td>
      <td style="text-align: center">1.33</td>
      <td style="text-align: center">76.7%</td>
    </tr>
    <tr>
      <td style="text-align: center">Vary initialization</td>
      <td style="text-align: center">25</td>
      <td style="text-align: center">0.294</td>
      <td style="text-align: center">0.150</td>
      <td style="text-align: center">0.85%</td>
      <td style="text-align: center">1.09</td>
      <td style="text-align: center">67.1%</td>
    </tr>
    <tr>
      <td style="text-align: center">Vary data order</td>
      <td style="text-align: center">24</td>
      <td style="text-align: center">0.221</td>
      <td style="text-align: center">0.150</td>
      <td style="text-align: center">0.64%</td>
      <td style="text-align: center">0.82</td>
      <td style="text-align: center">50.5%</td>
    </tr>
  </tbody>
</table>

<figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center; margin-top: 0.3rem;">
  FID variance decomposition by source of training randomness on class-conditional ImageNet 256×256. Table adapted from the FID Lottery.<sup class="footnote-ref"><a href="#fn:fid-lottery">13</a></sup>
</figcaption>

<p>The between-seed standard deviation is about three times larger than the within-seed sampling noise, so evaluating more samples from one checkpoint cannot remove the dominant uncertainty. The model itself has to be retrained under multiple seeds.</p>

<h4 id="412-differences-in-evaluation-pipeline">4.1.2 Differences in evaluation pipeline</h4>

<p>FID is also sensitive to image processing details:</p>

<ul>
  <li>the exact feature extractor;</li>
  <li>image resolution and preprocessing;</li>
  <li>resizing and cropping implementation;</li>
  <li>color space and normalization;</li>
  <li>image format and compression;</li>
  <li>choice of reference set.</li>
</ul>

<p>This matters because a reported FID is not just a property of the model. It is a property of the whole evaluation pipeline.</p>

<p>Parmar, Zhang, and Zhu make this point concrete in <em>On Aliased Resizing and Surprising Subtleties in GAN Evaluation</em>.<sup class="footnote-ref"><a href="#fn:aliased-resizing">12</a></sup> Their paper shows that low-level preprocessing choices such as resizing and compression can create surprisingly large FID changes. The key issue is aliasing: when images are downsampled, the prefilter should change with the downsampling factor, but common bilinear and bicubic resizing implementations often use a fixed-width filter. That can introduce aliasing artifacts, which then corrupt the Inception features used by FID. They also show that JPEG compression can affect the downstream score; if the real training images are compressed, compressing the generated images can even improve FID without making the generator better. The lesson is simple: FID is not only measuring the generator. It is also measuring the hidden image-processing pipeline around the generator.</p>

<p>The reference set is another hidden source of variation. FID compares generated samples to a chosen set of real-image features, so changing that real set changes the target distribution. This is not just a constant offset. In one ImageNet-256 check, the exact same generated samples were scored against three reference sets: 50k validation images, a random 50k subset of training images, and the ADM/guided-diffusion ImageNet-256 reference batch, <code class="language-plaintext highlighter-rouge">VIRTUAL_imagenet256_labeled.npz</code>. Moving from the validation reference to a training-set reference changed different models in different directions: for one model, FID improved because its samples were closer to the training distribution; for another, FID worsened because its samples happened to sit closer to the validation distribution.</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center">Input space</th>
      <th style="text-align: center">Val-50k</th>
      <th style="text-align: center">Train-50k</th>
      <th style="text-align: center">ADM/VIRTUAL <code class="language-plaintext highlighter-rouge">.npz</code> ref</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">RAE<sup class="footnote-ref"><a href="#fn:rae">33</a></sup></td>
      <td style="text-align: center">4.295</td>
      <td style="text-align: center">4.008</td>
      <td style="text-align: center">3.535</td>
    </tr>
    <tr>
      <td style="text-align: center">PAE<sup class="footnote-ref"><a href="#fn:pae">34</a></sup></td>
      <td style="text-align: center">2.976</td>
      <td style="text-align: center">3.539</td>
      <td style="text-align: center">2.889</td>
    </tr>
    <tr>
      <td style="text-align: center">VA-VAE<sup class="footnote-ref"><a href="#fn:vavae">35</a></sup></td>
      <td style="text-align: center">4.204</td>
      <td style="text-align: center">5.524</td>
      <td style="text-align: center">4.859</td>
    </tr>
  </tbody>
</table>

<p>This example separates two effects. First, reference size matters: going from 50k training images to the ADM/VIRTUAL training reference lowered FID consistently. Second, reference distribution matters: validation images and training images are not the same target, and the shift is model-dependent. The consequence can be severe enough to flip rankings. In the table above, VA-VAE looks slightly better than RAE against the validation reference, but RAE looks better against the training-based references. Therefore, a paper should not only report “FID”; it should say exactly which reference statistics were used.</p>

<h3 id="fid-unsuggestive">4.2 When FID score becomes unsuggestive</h3>

<p>The second problem is meaning. Today, many ImageNet generation papers compete over very small FID gaps, sometimes smaller than 0.2. At that scale, the number can look precise while saying very little about what changed perceptually: did the model become more diverse, more faithful, more useful, or simply better aligned with the evaluation pipeline?</p>

<h4 id="421-do-fid-gains-on-imagenet-transfer">4.2.1 Do FID gains on ImageNet transfer?</h4>

<p>FID is a feature-space metric. If the feature extractor cannot see a failure, FID may not punish it. Inception features are good for many natural-image semantics, but they are not a universal model of human perception. They may underweight counting, spatial relations, text rendering, fine-grained attributes, unusual styles, or domain-specific details.</p>

<p><a href="https://end2end-diffusion.github.io/diffusion-bench/">DiffusionBench</a> makes this transfer problem concrete.<sup class="footnote-ref"><a href="#fn:diffusionbench">14</a></sup> The paper argues that DiT research has become overly centered on class-conditional ImageNet, where methods are often compared by FID and nearby distribution metrics. To test whether that progress transfers, it introduces NanoGen, a unified training and evaluation framework that can train comparable ImageNet and text-to-image DiT models with only a small configuration change. After training 21 latent diffusion models across VAE, RAE, pixel-space, and MeanFlow-style settings, the paper finds no strong positive relationship between ImageNet performance and text-to-image performance. In fact, the reported Pearson correlations between ImageNet and T2I rankings are negative, between -0.377 and -0.580 across three metrics.</p>

<figure>
  <img src="/images/blog/evaluation/diffusionbench-imagenet-t2i-correlation.png?v=1" alt="DiffusionBench scatter plots comparing ImageNet FID with GenEval, DPG-Bench, and GenAIBench scores" style="width: 100%; max-width: 860px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="text-align: center; color: #66707c; font-size: 0.92rem;">ImageNet FID does not strongly predict text-to-image benchmark performance. Figure taken from <a href="https://end2end-diffusion.github.io/diffusion-bench/">DiffusionBench</a>.</figcaption>
</figure>

<p>The conclusion is not that ImageNet FID is useless. It is that ImageNet FID is local evidence. A method can improve class-conditional ImageNet generation without improving prompt-following, compositionality, or the behavior users actually care about in text-to-image systems. If the claim is broad progress in generative modeling, ImageNet FID alone is too narrow a witness.</p>

<h4 id="422-when-small-fid-gaps-stop-meaning-much">4.2.2 When Small FID Gaps Stop Meaning Much</h4>

<p>The FID Lottery already shows one reason small gaps are dangerous: retraining the same recipe with different random seeds can move FID more than the improvement claimed by many papers.<sup class="footnote-ref"><a href="#fn:fid-lottery">13</a></sup> Even before asking whether the metric reflects human preference, we have to ask whether the reported gap is larger than the noise induced by training randomness, sampling randomness, and evaluation details.</p>

<p>Even if the model and reference distribution are fixed, a finite 50k reference has its own sampling variance. In 100 independent random 50k draws from ImageNet training images, the estimated FID floor varied as follows:</p>

<table>
  <thead>
    <tr>
      <th style="text-align: center">Reference</th>
      <th style="text-align: center">n</th>
      <th style="text-align: center">Mean</th>
      <th style="text-align: center">Std</th>
      <th style="text-align: center">Variance</th>
      <th style="text-align: center">Range</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style="text-align: center">vs Val</td>
      <td style="text-align: center">100</td>
      <td style="text-align: center">2.223</td>
      <td style="text-align: center">0.029</td>
      <td style="text-align: center">0.00084</td>
      <td style="text-align: center">[2.137, 2.276]</td>
    </tr>
    <tr>
      <td style="text-align: center">vs VIRTUAL</td>
      <td style="text-align: center">100</td>
      <td style="text-align: center">0.857</td>
      <td style="text-align: center">0.011</td>
      <td style="text-align: center">0.00013</td>
      <td style="text-align: center">[0.831, 0.880]</td>
    </tr>
    <tr>
      <td style="text-align: center">vs JiT</td>
      <td style="text-align: center">100</td>
      <td style="text-align: center">0.754</td>
      <td style="text-align: center">0.011</td>
      <td style="text-align: center">0.00012</td>
      <td style="text-align: center">[0.726, 0.777]</td>
    </tr>
  </tbody>
</table>

<p>The variance is small, but not zero. Around model FIDs of 3 to 5, this corresponds to fluctuations on the order of a few hundredths. Combined with the FID Lottery result, this makes tiny FID gaps hard to interpret. A difference of 0.05, 0.1, or even 0.2 may reflect the seed, the reference set, preprocessing, or sample count more than a meaningful change in generative behavior. In this regime, a small FID gap cannot suggest much by itself.</p>

<h4 id="423-fid-is-weaker-in-conditional-domains">4.2.3 FID Is Weaker in Conditional Domains</h4>

<p>The problem becomes sharper once generation becomes conditional. Text-to-image is the simplest example. In class-conditional ImageNet generation, the condition is a single label, and FID can at least ask whether the generated image distribution looks like the ImageNet distribution. In text-to-image, the condition is open-ended language. The model has to follow arbitrary prompts faithfully and produce visually convincing images at the same time. <a href="https://peppaking8.github.io/#/post/minit2i">MiniT2I</a> makes this distinction explicit: it reports MSCOCO-30K FID as a distribution-level realism metric, but notes that this metric does not ask whether the generated image actually followed the prompt.<sup class="footnote-ref"><a href="#fn:minit2i">36</a></sup></p>

<figure>
  <img src="/images/blog/evaluation/minit2i-t2i-examples.png?v=1" alt="MiniT2I examples showing generated images with their text prompts" style="width: 100%; max-width: 860px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="text-align: center; color: #66707c; font-size: 0.92rem;">Text-to-image evaluation must ask whether the image follows the prompt, not only whether it looks realistic. Examples from <a href="https://peppaking8.github.io/#/post/minit2i">MiniT2I</a>.</figcaption>
</figure>

<p>This is exactly where FID becomes weak. A generated image can be sharp, natural, and close to the COCO image distribution while still missing the requested object, count, spatial relation, text, style, or rare concept. Conversely, an image can follow a strange prompt faithfully while looking less typical under an Inception feature distribution. For T2I, the central question is not only “does this look like a real image?” It is also “does this image satisfy this sentence?” FID only sees the first question.</p>

<h2 id="benchmarks">5. Benchmarks become the new standard</h2>

<p>This is why text-to-image evaluation quickly moves beyond FID toward prompt-following benchmarks, VQA-based checks, OCR, image-text alignment, and human preference. FID can still be useful as a realism signal, but for T2I it is no longer enough to describe the model’s behavior.</p>

<h3 id="what-benchmarks-does">5.1 What benchmarks do</h3>

<p>Instead of asking only whether generated samples match a broad reference distribution, benchmarks ask whether models solve curated tasks. In practice, a benchmark usually contains a prompt suite, a generation protocol, and an automatic evaluator. The evaluator is often another pretrained model: an object detector, segmentation model, VQA model, captioning model, CLIP-like encoder, video encoder, optical-flow estimator, or MLLM judge. So the score is not an abstract measurement of “quality”; it is a task-specific measurement of whether the generated output satisfies what the benchmark and its verifier know how to check.</p>

<p>The following table summarizes representative benchmarks and the capabilities they are designed to evaluate.</p>

<div class="benchmark-table">
  <table>
    <colgroup>
      <col class="area-col" />
      <col class="benchmark-col" />
      <col class="prompt-col" />
      <col class="evaluator-col" />
      <col class="focus-col" />
    </colgroup>
    <thead>
      <tr>
        <th>Area</th>
        <th>Benchmark</th>
        <th>Prompt set</th>
        <th>Automatic evaluator</th>
        <th>Main evaluation focus</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td rowspan="5" class="area-cell">Text-to-image</td>
        <td>GenEval<sup class="footnote-ref"><a href="#fn:geneval">20</a></sup></td>
        <td>553 prompts over six object-centric tasks</td>
        <td>Mask2Former instance segmentation; CLIP ViT-L/14 color classifier</td>
        <td>Object presence, counting, relative position, color, and attribute binding</td>
      </tr>
      <tr>
        <td>DPG-Bench<sup class="footnote-ref"><a href="#fn:dpg-bench">21</a></sup></td>
        <td>1,065 long dense prompts; four images per prompt</td>
        <td>mPLUG-large MLLM judge over DSG-style questions and graphs</td>
        <td>Dense prompt following with multiple objects, attributes, and relationships</td>
      </tr>
      <tr>
        <td>GenEval 2<sup class="footnote-ref"><a href="#fn:geneval2">22</a></sup></td>
        <td>800 prompts with varying compositionality</td>
        <td>Soft-TIFA, a VQA-based atom-level evaluator</td>
        <td>Primitive concepts, counts, relations, compositionality, and benchmark drift</td>
      </tr>
      <tr>
        <td>GenAI-Bench<sup class="footnote-ref"><a href="#fn:genai-bench">23</a></sup></td>
        <td>1,600 real-world prompts; 800-prompt video coreset</td>
        <td>VQAScore and human ratings</td>
        <td>Text-to-visual alignment for basic and advanced compositional reasoning</td>
      </tr>
      <tr>
        <td>T2I-CompBench<sup class="footnote-ref"><a href="#fn:t2i-compbench">24</a></sup></td>
        <td>6,000 prompts across three categories and six subcategories</td>
        <td>BLIP-VQA, UniDet, CLIPScore, 3-in-1 metric, MiniGPT-4-CoT</td>
        <td>Attribute binding, spatial/non-spatial relations, and complex compositions</td>
      </tr>
      <tr>
        <td rowspan="2" class="area-cell">Video</td>
        <td>VBench<sup class="footnote-ref"><a href="#fn:vbench">25</a></sup></td>
        <td>946 dimension prompts, plus 800 category prompts; typically five videos per prompt</td>
        <td>DINO, CLIP, RAFT, LAION aesthetic predictor, MUSIQ, GRiT, UMT, Tag2Text, ViCLIP</td>
        <td>Fine-grained video quality and video-condition consistency across 16 dimensions</td>
      </tr>
      <tr>
        <td>T2V-CompBench<sup class="footnote-ref"><a href="#fn:t2v-compbench">26</a></sup></td>
        <td>1,400 prompts across seven compositional categories</td>
        <td>MLLM-based, detection-based, and tracking-based metrics</td>
        <td>Attribute binding, motion binding, action binding, interactions, and numeracy in video</td>
      </tr>
      <tr>
        <td rowspan="2" class="area-cell">Editing</td>
        <td>I2EBench<sup class="footnote-ref"><a href="#fn:i2ebench">27</a></sup></td>
        <td>2,000+ images and 4,000+ original/diverse instructions</td>
        <td>GPT-4V for high-level edits; CLIP/SSIM for style and low-level edits</td>
        <td>Instruction-based image editing across 16 high- and low-level dimensions</td>
      </tr>
      <tr>
        <td>GIE-Bench<sup class="footnote-ref"><a href="#fn:gie-bench">28</a></sup></td>
        <td>1,000+ editing tasks from 800+ images across 20 categories</td>
        <td>VQA-style multiple-choice questions; Grounded SAM masks; object-aware preservation score</td>
        <td>Functional correctness and content preservation in non-edited regions</td>
      </tr>
      <tr>
        <td rowspan="2" class="area-cell">3D</td>
        <td>T3Bench<sup class="footnote-ref"><a href="#fn:t3bench">29</a></sup></td>
        <td>300 prompts across single object, surroundings, and multi-object scenes</td>
        <td>Multi-view rendering with CLIP/ImageReward quality scoring; captioning plus GPT-4 alignment scoring</td>
        <td>Text-to-3D quality, text alignment, and view consistency</td>
      </tr>
      <tr>
        <td>3DGen-Bench<sup class="footnote-ref"><a href="#fn:3dgen-bench">30</a></sup></td>
        <td>1,020 text/image prompts; 11,220 generated 3D assets</td>
        <td>3DGen-Score and 3DGen-Eval trained from human preferences</td>
        <td>Geometry plausibility, geometry detail, texture quality, geometry-texture coherence, prompt-asset alignment</td>
      </tr>
      <tr>
        <td class="area-cell">Multimodal</td>
        <td>MMMU<sup class="footnote-ref"><a href="#fn:mmmu">31</a></sup></td>
        <td>11.5K multimodal questions across six disciplines and 30 subjects</td>
        <td>Multiple-choice / open-ended answer accuracy over expert problems</td>
        <td>Reasoning across images, charts, diagrams, tables, text, and domain knowledge</td>
      </tr>
    </tbody>
  </table>
</div>

<p>Benchmarks represent an important shift toward more diagnostic evaluation. Rather than relying only on global distribution metrics, they define specific tasks that expose concrete failure modes and better reflect practical requirements.</p>

<p>However, benchmark-based evaluation introduces its own biases. GenEval provides a useful example: by measuring object presence, counting, spatial relationships, color, and attribute binding through a fixed detector-and-classifier pipeline, it makes text-to-image failures more explicit. At the same time, this fixed evaluation protocol creates opportunities for benchmark-specific optimization. For example, a model trained on BLIP-3o data achieves a GenEval score of 0.67, higher than SD3.5-M’s score of 0.63. This improvement may indicate better prompt following, but it may also partially reflect adaptation to GenEval’s prompt distribution and evaluator.</p>

<h3 id="pass-k-coverage">5.2 Pass@k reveals distribution coverage</h3>

<p>Benchmark scores usually ask whether one generated output follows the prompt, satisfies a verifier, or passes a task-specific check. In that sense, they are often alignment metrics: they tell us whether a sample matches what the prompt or benchmark asks for.</p>

<p>Pass@k pushes this idea closer to distribution-level evaluation by asking how the score changes as we draw more samples from the same model. A single benchmark score mainly measures the success probability of a typical draw; pass@k asks whether the model’s conditional distribution contains many different successful outputs, or whether probability mass has concentrated on a narrow set of evaluator-favored samples.<sup class="footnote-ref"><a href="#fn:pass-k-diffusion">32</a></sup></p>

<figure>
  <img src="/images/blog/evaluation/sd35-turbo-passk-curves.png?v=2" alt="Pass@k curves comparing SD3.5-Large and SD3.5-L-Turbo on GenEval, GenEval2, and DPG-Bench" style="width: 100%; max-width: 920px; display: block; margin: 1.2rem auto 0.4rem;" />
  <figcaption style="color: #66707a; font-size: 0.9rem; line-height: 1.5; text-align: center;">
    SD3.5-Large and SD3.5-L-Turbo pass@k curves. Turbo improves low-k success, while the multi-step teacher catches up as the sample budget grows.
  </figcaption>
</figure>

<p>For each prompt, generate $n$ independent samples and let $c$ be the number that pass the benchmark verifier. The pass@k estimator asks whether at least one sample in a size-$k$ subset succeeds:</p>

\[\mathrm{pass@}k
=
\mathbb{E}_{\mathrm{prompts}}
\left[
1 -
\frac{\binom{n-c}{k}}{\binom{n}{k}}
\right].\]

<p>Pass@1 recovers the ordinary single-sample benchmark score under the same evaluator. Larger $k$ asks a different question: if we sample more from the same model, does the distribution contain more successful generations for the prompt? If a method improves pass@1 but the pass@k curve saturates early, the method may be improving one-shot sampling efficiency or prompt-following alignment while reducing distribution coverage. If the curve keeps rising at larger $k$, it suggests that the model assigns probability to a broader set of successful outputs.</p>

<h2 id="closing-thought">6. Closing thought</h2>

<p>So we end up with a layered evaluation stack:</p>

<table>
  <thead>
    <tr>
      <th>Layer</th>
      <th>What it helps answer</th>
      <th>Typical failure</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Likelihood and pointwise metrics</td>
      <td>Does the model assign probability to real data, or match a reference output?</td>
      <td>weak alignment with perception; generation has many valid answers</td>
    </tr>
    <tr>
      <td>Discriminative features</td>
      <td>Do samples look recognizable in a pretrained representation space?</td>
      <td>inherits the feature extractor’s blind spots</td>
    </tr>
    <tr>
      <td>IS and precision/recall</td>
      <td>Are samples confident, realistic, and covering the real-data manifold?</td>
      <td>separates quality and coverage, but still depends on representation space</td>
    </tr>
    <tr>
      <td>FID and FD variants</td>
      <td>Are real and generated feature distributions close?</td>
      <td>sensitive to Gaussian assumptions, sample size, preprocessing, and domain</td>
    </tr>
    <tr>
      <td>Task benchmarks</td>
      <td>Does the model satisfy specific prompt-following, video, editing, 3D, or multimodal checks?</td>
      <td>can be hacked, overfit, or limited by the verifier</td>
    </tr>
    <tr>
      <td>Pass@k</td>
      <td>Does success grow as we draw more samples from the same conditional distribution?</td>
      <td>depends on verifier choice and sampling budget</td>
    </tr>
  </tbody>
</table>

<p>The history of generative model evaluation is a history of proxies. Pixels were too brittle, so we moved to representations. Inception Score was too indirect, so we moved to FID. FID was too coarse, so we built variants with better features and video encoders. Distribution metrics missed conditional behavior, so we built benchmarks. Benchmarks became targets, so we added human evaluation and failure audits.</p>

<p>Each step fixes something and exposes something else.</p>

<p>No single metric captures all aspects of generative model quality. Different evaluation methods measure different properties: distribution-level metrics assess similarity to the data distribution, precision and recall diagnose fidelity and coverage, benchmarks test specific capabilities, and qualitative analysis reveals failure modes that automatic metrics may miss.</p>

<p>Future evaluation will likely require a combination of complementary metrics rather than a single universal score. Automatic metrics can improve scalability and reproducibility, but they remain proxies for the properties we ultimately care about. The challenge is not to find one perfect metric, but to design evaluation protocols that reveal why one model performs better than another.</p>

<section class="references-section" id="references">
  <h4>References</h4>
  <ol>
    <li id="fn:score-sde">
      Song, Sohl-Dickstein, Kingma, Kumar, Ermon, &amp; Poole.
      <em>Score-Based Generative Modeling through Stochastic Differential Equations.</em>
      ICLR 2021.
      <a href="https://arxiv.org/abs/2011.13456">arXiv:2011.13456</a>.
    </li>
    <li id="fn:ssim">
      Wang, Bovik, Sheikh, &amp; Simoncelli.
      <em>Image quality assessment: from error visibility to structural similarity.</em>
      IEEE Transactions on Image Processing, 13(4):600-612, 2004.
      <a href="https://doi.org/10.1109/TIP.2003.819861">doi:10.1109/TIP.2003.819861</a>.
    </li>
    <li id="fn:is">
      Salimans, Goodfellow, Zaremba, Cheung, Radford, &amp; Chen.
      <em>Improved Techniques for Training GANs.</em>
      NeurIPS 2016.
      <a href="https://arxiv.org/abs/1606.03498">arXiv:1606.03498</a>.
    </li>
    <li id="fn:pr">
      Sajjadi, Bachem, Lucic, Bousquet, &amp; Gelly.
      <em>Assessing Generative Models via Precision and Recall.</em>
      NeurIPS 2018.
      <a href="https://arxiv.org/abs/1806.00035">arXiv:1806.00035</a>.
    </li>
    <li id="fn:improved-pr">
      Kynkäänniemi, Karras, Laine, Lehtinen, &amp; Aila.
      <em>Improved Precision and Recall Metric for Assessing Generative Models.</em>
      NeurIPS 2019.
      <a href="https://arxiv.org/abs/1904.06991">arXiv:1904.06991</a>.
    </li>
    <li id="fn:gretton-iclr26">
      Gretton.
      <em>ICLR 2026 course PDF.</em>
      <a href="https://www.gatsby.ucl.ac.uk/~gretton/coursefiles/iclr26.pdf">PDF</a>.
    </li>
    <li id="fn:fid">
      Heusel, Ramsauer, Unterthiner, Nessler, &amp; Hochreiter.
      <em>GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium.</em>
      NeurIPS 2017.
      <a href="https://arxiv.org/abs/1706.08500">arXiv:1706.08500</a>.
    </li>
    <li id="fn:unbiased-fid">
      Chong &amp; Forsyth.
      <em>Effectively Unbiased FID and Inception Score and where to find them.</em>
      CVPR 2020.
      <a href="https://arxiv.org/abs/1911.07023">arXiv:1911.07023</a>.
    </li>
    <li id="fn:kid">
      Bińkowski, Sutherland, Arbel, &amp; Gretton.
      <em>Demystifying MMD GANs.</em>
      ICLR 2018.
      <a href="https://arxiv.org/abs/1801.01401">arXiv:1801.01401</a>.
    </li>
    <li id="fn:fd-dino">
      Stein, Cresswell, Hosseinzadeh, Sui, Ross, Villecroze, Liu, Caterini, Taylor, &amp; Loaiza-Ganem.
      <em>Exposing flaws of generative model evaluation metrics and their unfair treatment of diffusion models.</em>
      NeurIPS 2023.
      <a href="https://arxiv.org/abs/2306.04675">arXiv:2306.04675</a>.
    </li>
    <li id="fn:gans-equal">
      Lucic, Kurach, Michalski, Gelly, &amp; Bousquet.
      <em>Are GANs Created Equal? A Large-Scale Study.</em>
      NeurIPS 2018.
      <a href="https://arxiv.org/abs/1711.10337">arXiv:1711.10337</a>.
    </li>
    <li id="fn:aliased-resizing">
      Parmar, Zhang, &amp; Zhu.
      <em>On Aliased Resizing and Surprising Subtleties in GAN Evaluation.</em>
      CVPR 2022.
      <a href="https://arxiv.org/abs/2104.11222">arXiv:2104.11222</a>.
    </li>
    <li id="fn:fd-loss">
      Yang, Geng, Ju, Tian, &amp; Wang.
      <em>Representation Fréchet Loss for Visual Generation.</em>
      arXiv 2026.
      <a href="https://arxiv.org/abs/2604.28190">arXiv:2604.28190</a>.
    </li>
    <li id="fn:fid-lottery">
      Dufour, Efros, &amp; Pérez.
      <em>The FID Lottery: Quantifying Hidden Randomness in Generative-Model Evaluation.</em>
      arXiv 2026.
      <a href="https://arxiv.org/abs/2606.20536">arXiv:2606.20536</a>.
    </li>
    <li id="fn:diffusionbench">
      Leng, Singh, Liang, Smith, Bell, Saha, Yuan, &amp; Zheng.
      <em>DiffusionBench: On Holistic Evaluation of Diffusion Transformers.</em>
      arXiv 2026.
      <a href="https://arxiv.org/abs/2606.24888">arXiv:2606.24888</a>.
    </li>
    <li id="fn:clip">
      Radford, Kim, Hallacy, Ramesh, Goh, Agarwal, Sastry, Askell, Mishkin, Clark, Krueger, &amp; Sutskever.
      <em>Learning Transferable Visual Models From Natural Language Supervision.</em>
      ICML 2021.
      <a href="https://arxiv.org/abs/2103.00020">arXiv:2103.00020</a>.
    </li>
    <li id="fn:fvd">
      Unterthiner, van Steenkiste, Kurach, Marinier, Michalski, &amp; Gelly.
      <em>Towards Accurate Generative Models of Video: A New Metric &amp; Challenges.</em>
      arXiv 2018.
      <a href="https://arxiv.org/abs/1812.01717">arXiv:1812.01717</a>.
    </li>
    <li id="fn:coco">
      Lin, Maire, Belongie, Bourdev, Girshick, Hays, Perona, Ramanan, Zitnick, &amp; Dollár.
      <em>Microsoft COCO: Common Objects in Context.</em>
      ECCV 2014.
      <a href="https://arxiv.org/abs/1405.0312">arXiv:1405.0312</a>.
    </li>
    <li id="fn:imagen">
      Saharia, Chan, Saxena, Li, Whang, Denton, Ghasemipour, Gontijo Lopes, Karagol Ayan, Salimans, Ho, Fleet, &amp; Norouzi.
      <em>Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding.</em>
      NeurIPS 2022.
      <a href="https://papers.nips.cc/paper_files/paper/2022/hash/ec795aeadae0b7d230fa35cbaf04c041-Abstract-Conference.html">NeurIPS paper</a>.
    </li>
    <li id="fn:geneval">
      Ghosh, Hajishirzi, &amp; Schmidt.
      <em>GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignment.</em>
      NeurIPS 2023.
      <a href="https://arxiv.org/abs/2310.11513">arXiv:2310.11513</a>.
    </li>
    <li id="fn:dpg-bench">
      Hu, Wang, Fang, Fu, Cheng, &amp; Yu.
      <em>ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignment.</em>
      ECCV 2024.
      <a href="https://arxiv.org/abs/2403.05135">arXiv:2403.05135</a>.
    </li>
    <li id="fn:geneval2">
      Kamath, Chang, Krishna, Zettlemoyer, Hu, &amp; Ghazvininejad.
      <em>GenEval 2: Addressing Benchmark Drift in Text-to-Image Evaluation.</em>
      arXiv 2025.
      <a href="https://arxiv.org/abs/2512.16853">arXiv:2512.16853</a>.
    </li>
    <li id="fn:genai-bench">
      Li, Lin, Pathak, Li, Fei, Wu, Ling, Xia, Zhang, Neubig, &amp; Ramanan.
      <em>GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generation.</em>
      CVPR Workshops 2024.
      <a href="https://arxiv.org/abs/2406.13743">arXiv:2406.13743</a>.
    </li>
    <li id="fn:t2i-compbench">
      Huang, Sun, Xie, Li, &amp; Liu.
      <em>T2I-CompBench: A Comprehensive Benchmark for Open-world Compositional Text-to-image Generation.</em>
      NeurIPS 2023.
      <a href="https://arxiv.org/abs/2307.06350">arXiv:2307.06350</a>.
    </li>
    <li id="fn:vbench">
      Huang, He, Yu, Zhang, Si, Jiang, Zhang, Wu, Jin, Chanpaisit, Wang, Chen, Wang, Lin, Qiao, &amp; Liu.
      <em>VBench: Comprehensive Benchmark Suite for Video Generative Models.</em>
      CVPR 2024.
      <a href="https://arxiv.org/abs/2311.17982">arXiv:2311.17982</a>.
    </li>
    <li id="fn:t2v-compbench">
      Sun, Huang, Liu, Wu, Xu, Li, &amp; Liu.
      <em>T2V-CompBench: A Comprehensive Benchmark for Compositional Text-to-video Generation.</em>
      CVPR 2025.
      <a href="https://arxiv.org/abs/2407.14505">arXiv:2407.14505</a>.
    </li>
    <li id="fn:i2ebench">
      Ma, Ji, Ye, Lin, Wang, Zheng, Zhou, Sun, &amp; Ji.
      <em>I2EBench: A Comprehensive Benchmark for Instruction-based Image Editing.</em>
      NeurIPS 2024.
      <a href="https://arxiv.org/abs/2408.14180">arXiv:2408.14180</a>.
    </li>
    <li id="fn:gie-bench">
      Qian, Lu, Fu, Wang, Chen, Yang, Hu, &amp; Gan.
      <em>GIE-Bench: Towards Grounded Evaluation for Text-Guided Image Editing.</em>
      arXiv 2025.
      <a href="https://arxiv.org/abs/2505.11493">arXiv:2505.11493</a>.
    </li>
    <li id="fn:t3bench">
      He, Bai, Lin, Zhao, Hu, Sheng, Yi, Li, &amp; Liu.
      <em>T3Bench: Benchmarking Current Progress in Text-to-3D Generation.</em>
      arXiv 2023.
      <a href="https://arxiv.org/abs/2310.02977">arXiv:2310.02977</a>.
    </li>
    <li id="fn:3dgen-bench">
      Zhang, Zhang, Wu, Wang, Wetzstein, Lin, &amp; Liu.
      <em>3DGen-Bench: Comprehensive Benchmark Suite for 3D Generative Models.</em>
      arXiv 2025.
      <a href="https://arxiv.org/abs/2503.21745">arXiv:2503.21745</a>.
    </li>
    <li id="fn:mmmu">
      Yue et al.
      <em>MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGI.</em>
      CVPR 2024.
      <a href="https://arxiv.org/abs/2311.16502">arXiv:2311.16502</a>.
    </li>
    <li id="fn:pass-k-diffusion">
      Wang, Wu, Fu, Chen, Chen, Gan, &amp; Wei.
      <em>Sharper, Not Broader: Pass@k Reveals Mode Collapse in Guided and Distilled Diffusion.</em>
      Draft manuscript, 2026.
    </li>
    <li id="fn:rae">
      Zheng, Ma, Tong, &amp; Xie.
      <em>Diffusion Transformers with Representation Autoencoders.</em>
      arXiv 2025.
      <a href="https://arxiv.org/abs/2510.11690">arXiv:2510.11690</a>.
    </li>
    <li id="fn:pae">
      Yue, Hu, Chen, Zhang, Pan, Liu, Wang, Lan, Zhu, Zheng, &amp; Wang.
      <em>What Matters for Diffusion-Friendly Latent Manifold? Prior-Aligned Autoencoders for Latent Diffusion.</em>
      arXiv 2026.
      <a href="https://arxiv.org/abs/2605.07915">arXiv:2605.07915</a>.
    </li>
    <li id="fn:vavae">
      Yao &amp; Wang.
      <em>Reconstruction vs. Generation: Taming Optimization Dilemma in Latent Diffusion Models.</em>
      arXiv 2025.
      <a href="https://arxiv.org/abs/2501.01423">arXiv:2501.01423</a>.
    </li>
    <li id="fn:minit2i">
      Wang et al.
      <em>A Minimalist Baseline for Text-to-Image Generation.</em>
      Blog post, 2026.
      <a href="https://peppaking8.github.io/#/post/minit2i">https://peppaking8.github.io/#/post/minit2i</a>.
    </li>
  </ol>
</section>

<script>
document.addEventListener("DOMContentLoaded", function () {
  var firstRefs = {};
  document.querySelectorAll(".footnote-ref a[href^='#fn:']").forEach(function (link) {
    var key = link.getAttribute("href").slice(1);
    if (!firstRefs[key]) {
      var backId = "back-" + key;
      link.id = backId;
      firstRefs[key] = backId;
    }
  });

  Object.keys(firstRefs).forEach(function (key) {
    var item = document.getElementById(key);
    if (!item || item.querySelector(".ref-back")) return;

    var back = document.createElement("a");
    back.className = "ref-back";
    back.href = "#" + firstRefs[key];
    back.setAttribute("aria-label", "Back to citation");
    back.textContent = "↩";
    item.appendChild(document.createTextNode(" "));
    item.appendChild(back);
  });
});
</script>

<section class="end-section cite-section">
  <h4>Please Cite</h4>
  <p>If this post is useful for your work, please cite it as:</p>
  <pre class="bibtex"><code>@misc{wang2026struggling,
  title = {Struggling Toward Generative Model Evaluation},
  author = {Wang, Yifei and Wu, Xiaoyu and Wei, Chen},
  year = {2026},
  url = {https://a-little-hoof.github.io/blog/how-to-evaluate-your-generative-model/},
  note = {Blog post}
}</code></pre>
</section>]]></content><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><category term="generative-models" /><category term="evaluation" /><category term="diffusion" /><category term="blog" /><summary type="html"><![CDATA[A blog post on why generative model evaluation is hard, how representation-based metrics became the default language, and why benchmarks are useful but never final.]]></summary></entry><entry><title type="html">EMA: A Quiet Hyperparameter That Moves Diffusion Leaderboards</title><link href="https://a-little-hoof.github.io/blog/2026/05/ema-in-diffusion-training/" rel="alternate" type="text/html" title="EMA: A Quiet Hyperparameter That Moves Diffusion Leaderboards" /><published>2026-05-16T00:00:00-07:00</published><updated>2026-05-16T00:00:00-07:00</updated><id>https://a-little-hoof.github.io/blog/2026/05/ema-in-diffusion-training</id><content type="html" xml:base="https://a-little-hoof.github.io/blog/2026/05/ema-in-diffusion-training/"><![CDATA[<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>EMA: A Quiet Hyperparameter That Moves Diffusion Leaderboards</title>
  <meta name="description" content="We benchmark EMA decay across pixel-, latent-, and representation-space diffusion models and show that the popular 0.9999 default silently trades recall for precision.">
  <link rel="canonical" href="https://a-little-hoof.github.io/blog/2026/05/ema-in-diffusion-training/">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>
  /* Color tokens */
  :root {
    --fg: #252932;
    --fg-muted: #66707a;
    --fg-soft: #87909a;
    --accent: #24788d;
    --accent-soft: #e9f4f6;
    --rule: #dfe4e8;
    --rule-soft: #edf0f2;
    --code-bg: #f5f7f8;
    --highlight: #fff7d8;
    --surface: #ffffff;
  }

  /* Core layout */
  .post-wrap {
    max-width: 760px;
    font-family: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16.8px;
    line-height: 1.76;
    color: var(--fg);
  }
  .post-wrap p,
  .post-wrap li {
    color: var(--fg);
    line-height: 1.76;
    font-size: 16.8px;
  }
  .post-wrap a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(36, 120, 141, 0.26);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
  }
  .post-wrap a:hover { text-decoration-color: currentColor; }
  .post-wrap strong, .post-wrap b { font-weight: 600; color: var(--fg); }

  /* Headings — H2 has a thin top rule, acting as a section divider. */
  .post-wrap h2 {
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 600;
    margin: 3.7rem 0 1rem;
    padding: 1.35rem 0 0;
    border-top: 1px solid var(--rule);
    border-bottom: none;
    background: transparent;
    text-decoration: none;
    box-shadow: none;
    color: var(--fg);
    letter-spacing: 0;
    scroll-margin-top: 1.25rem;
  }
  /* Post header (h1 + tags) */
  .post-header {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.2rem 0 1.35rem;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule-soft);
  }
  .post-header::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 92px;
    height: 4px;
    background: var(--accent);
  }
  .post-header h1 {
    font-family: inherit;
    margin: 0 0 1.05rem;
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--fg);
  }
  .post-header .title-main {
    display: block;
    max-width: 720px;
  }
  .post-header .post-authors {
    color: var(--fg);
    font-size: 0.98rem;
    line-height: 1.5;
    margin: 0.25rem 0 0.1rem;
  }
  .post-header .post-affiliation {
    color: var(--fg-muted);
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0.1rem 0 0.15rem;
  }
  .post-header .equal-contrib {
    color: var(--fg-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .post-header .post-tags {
    display: flex; flex-wrap: wrap; gap: 7px;
    margin-top: 0.65rem;
  }
  .post-header .post-tags .tag {
    background: var(--accent-soft);
    color: #355b65;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.76rem;
    font-weight: 500;
  }

  .post-wrap .lead {
    font-size: 1.08rem;
    color: #444c56;
    line-height: 1.72;
    margin: 1.65rem 0 1.8rem;
    text-wrap: balance;
  }

  .beta-compare {
    width: 100%;
    max-width: 640px;
    margin: 0.85rem 0 0;
    padding: 0.8rem 0 0;
    border-top: 1px solid var(--rule-soft);
  }
  .beta-compare__title {
    color: var(--fg-soft);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0;
  }
  .beta-compare__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
  .beta-compare__item {
    min-width: 0;
    padding: 0 1rem;
    border-left: 1px solid var(--rule-soft);
  }
  .beta-compare__item:first-child {
    padding-left: 0;
    border-left: none;
  }
  .beta-compare__decay,
  .beta-compare__label,
  .beta-compare__fid {
    display: block;
  }
  .beta-compare__decay {
    color: var(--fg);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .beta-compare__label {
    margin-top: 0.08rem;
    color: var(--fg-soft);
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .beta-compare__fid {
    margin-top: 0.18rem;
    color: var(--fg-muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .beta-compare__item--best .beta-compare__fid {
    color: var(--accent);
  }
  /* Balance lines on short, important blocks: H1 title, H2 section headers, subtitle */
  .post-header h1,
  .post-wrap h2 {
    text-wrap: balance;
  }
  /* Long-form blocks (paragraphs, figure captions): use text-wrap: pretty */
  .post-wrap p,
  .post-figure figcaption,
  .footnotes li {
    text-wrap: pretty;
  }

  .post-wrap .paper-quote {
    position: relative;
    margin: 1.65rem 0;
    padding: 0.92rem 1.05rem 0.95rem 2.55rem;
    background: #f8fbfc;
    border: 1px solid rgba(36, 120, 141, 0.72);
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(37, 41, 50, 0.05);
    color: var(--fg);
    font-size: 0.96rem;
    line-height: 1.55;
  }
  .post-wrap .paper-quote::before {
    content: "\201C";
    position: absolute;
    left: 1rem;
    top: 0.78rem;
    color: var(--accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
  }
  .post-wrap .paper-quote p {
    margin: 0;
    color: var(--fg);
    font-size: inherit;
    line-height: inherit;
  }
  .post-wrap .paper-quote cite {
    display: block;
    margin: 0 0 0.36rem;
    color: var(--accent);
    font-size: inherit;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
  }

  /* Inline code — tinted box, mono */
  .post-wrap code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
    background: var(--code-bg);
    color: var(--fg);
    padding: 0.14em 0.38em;
    border-radius: 4px;
    font-size: 0.86em;
  }
  .post-wrap pre {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    background: var(--code-bg);
    border: 1px solid var(--rule-soft);
    border-radius: 6px;
    color: var(--fg);
    font-size: 0.84rem;
    line-height: 1.55;
    overflow-x: auto;
    text-align: left;
  }
  .post-wrap pre code {
    display: block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: inherit;
    line-height: inherit;
    white-space: pre;
  }
  .end-section { margin-top: 2.4rem; }
  .end-section + .end-section { margin-top: 2.1rem; }
  .end-section h4 {
    margin: 0 0 0.65rem;
    color: var(--fg);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
  }
  .end-section p {
    margin: 0;
    color: var(--fg-muted);
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .cite-section .bibtex {
    margin-top: 0.85rem;
    padding: 0.95rem 1rem;
    background: #f8fafb;
    border-color: var(--rule);
    font-size: 0.8rem;
  }

  /* Figures */
  .post-figure {
    margin: 2.1rem 0 2.25rem;
    text-align: center;
  }
  .post-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    background: var(--surface);
  }
  .teaser-figure { max-width: none; }
  .teaser-figure img {
    width: 100%;
    max-width: 640px;
    margin-left: 0;
    margin-right: auto;
  }
  .teaser-figure figcaption {
    max-width: 100%;
    margin-top: 0.95rem;
  }
  .post-figure figcaption {
    color: var(--fg-soft);
    font-size: 0.86rem;
    line-height: 1.58;
    margin: 0.72rem auto 0;
    max-width: 96%;
    text-align: left;
  }
  .post-figure figcaption b,
  .post-figure figcaption strong {
    color: inherit;
    font-weight: 600;
  }
  .pair-figure {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 2rem 0 0.55rem;
  }
  .pair-figure .col { text-align: center; }
  .pair-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
  }
  .pair-figure .label {
    font-size: 0.78rem; font-weight: 600; color: var(--fg-soft);
    text-transform: uppercase; letter-spacing: 0;
    margin-bottom: 4px;
  }
  @media (max-width: 580px) {
    .pair-figure { grid-template-columns: 1fr; }
  }

  /* Tables */
  .post-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.55rem 0;
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
    color: var(--fg);
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
    background: transparent;
  }
  .post-wrap table th,
  .post-wrap table td {
    padding: 0.58rem 0.72rem;
    border-bottom: 1px solid var(--rule-soft);
    text-align: center;
    vertical-align: middle;
    line-height: 1.35;
  }
  .post-wrap table th {
    background: transparent;
    color: #4b5563;
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0;
  }
  .post-wrap table tbody tr:last-child td { border-bottom: 0; }
  .post-wrap table td:first-child,
  .post-wrap table th:first-child,
  table.ema-sweep td.left,
  table.ema-sweep th.left { text-align: left; }
  .post-wrap table td:first-child,
  .post-wrap table th:first-child { padding-left: 0; }
  .post-wrap table td:last-child,
  .post-wrap table th:last-child { padding-right: 0; }
  .post-wrap table td:first-child {
    color: var(--fg);
    font-weight: 500;
  }
  table.ema-sweep th + th,
  table.ema-sweep td + td { border-left: 1px solid var(--rule-soft); }
  table.ema-sweep tr.row-best td { font-weight: 600; }
  table.ema-sweep tr.row-best td:last-child { color: var(--accent); }
  .table-figure { margin: 1.7rem 0 2rem; }
  .table-figure table { margin: 0; }
  .table-figure figcaption {
    color: var(--fg-soft, var(--fg-muted));
    font-size: 0.86rem;
    line-height: 1.58;
    margin: 0.72rem 0 0;
    text-align: left;
    text-wrap: pretty;
  }
  .table-figure figcaption b,
  .table-figure figcaption strong { color: inherit; font-weight: 600; }

  /* TL;DR / callout */
  .callout {
    max-width: 720px;
    margin: 1.8rem 0 2rem;
    padding: 0.95rem 1.1rem 1rem;
    background: var(--accent-soft);
    border: 1px solid #d7e9ed;
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    color: var(--fg);
    font-size: 1rem;
  }
  .callout b { color: var(--fg); font-weight: 600; }

  /* Inline citation badges with Distill-inspired hover cards */
  sup.footnote-ref {
    position: relative;
    display: inline-block;
    margin-left: 0.08em;
    vertical-align: super;
    line-height: 0;
  }
  .post-wrap sup.footnote-ref a {
    position: relative;
    display: inline-block;
    padding: 0 0.08em;
    background: transparent;
    border-radius: 4px;
    color: var(--accent);
    font-size: 0.72em;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .post-wrap sup.footnote-ref a::before {
    content: "[";
    color: rgba(36, 120, 141, 0.72);
  }
  .post-wrap sup.footnote-ref a::after {
    content: "]";
    color: rgba(36, 120, 141, 0.72);
  }
  .post-wrap sup.footnote-ref a:hover,
  .post-wrap sup.footnote-ref a:focus-visible {
    background: rgba(36, 120, 141, 0.09);
    color: #1f6a7d;
    outline: none;
    text-decoration: none;
  }
  .post-wrap sup.footnote-ref a:hover::before,
  .post-wrap sup.footnote-ref a:hover::after,
  .post-wrap sup.footnote-ref a:focus-visible::before,
  .post-wrap sup.footnote-ref a:focus-visible::after { color: currentColor; }
  .post-wrap sup.footnote-ref:hover,
  .post-wrap sup.footnote-ref:focus-within { z-index: 50; }
  .cite-popover {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.66rem);
    z-index: 40;
    width: min(34rem, calc(100vw - 2rem));
    padding: 0.85rem 1rem 0.9rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(37, 41, 50, 0.16);
    color: var(--fg);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.38;
    text-align: left;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(0.24rem);
    visibility: hidden;
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
  }
  .cite-popover::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.36rem;
    width: 0.62rem;
    height: 0.62rem;
    background: #fff;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    transform: translateX(-50%) rotate(45deg);
  }
  .cite-popover__row { display: block; }
  .cite-popover__row + .cite-popover__row { margin-top: 0.28rem; }
  .cite-popover__value {
    display: block;
    color: var(--fg);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.38;
  }
  .post-wrap sup.footnote-ref:hover .cite-popover,
  .post-wrap sup.footnote-ref:focus-within .cite-popover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
  }
  .footnotes {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    font-size: 0.92rem;
    color: var(--fg-muted);
  }
  .footnotes.references-section { padding-top: 0; border-top: none; }
  .footnotes.references-section h2 { margin-top: 3.5rem; }
  .footnotes ol { padding-left: 22px; margin: 0; }
  .footnotes li { margin: 0.5rem 0; line-height: 1.6; }
  .references-section li {
    color: var(--fg-muted);
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .references-section li em { color: var(--fg-muted); }
  .references-section li a {
    color: var(--accent);
    text-decoration-color: rgba(36, 120, 141, 0.2);
  }
  .footnotes li[id]:target,
  sup[id]:target a { background: var(--highlight); border-radius: 4px; padding: 1px 4px; }
  .footnote-back {
    text-decoration: none;
    margin-left: 6px;
    color: var(--fg-soft);
    font-size: 0.95em;
  }
  .footnote-back:hover { color: var(--accent); }

  /* Right-side fixed table of contents — visible only on wide screens */
  #toc {
    display: none;
    position: fixed;
    top: 140px;
    left: max(24px, calc(50% + 380px + 44px));
    width: 360px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    gap: 3px;
    z-index: 5;
    font-family: "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 0.2rem 0 0.2rem 0.85rem;
    border-left: 1px solid var(--rule);
  }
  @media (min-width: 1460px) {
    #toc { display: flex; }
  }
  #toc .toc-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--fg);
    padding: 0 0 0.55rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--rule-soft);
  }
  #toc a {
    display: block;
    padding: 0.32rem 0.65rem;
    border-left: 3px solid transparent;
    border-radius: 0 5px 5px 0;
    color: var(--fg-muted);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  }
  #toc a:hover {
    color: var(--fg);
    background: var(--code-bg);
    text-decoration: none;
  }
  #toc a.toc-active {
    color: var(--fg);
    border-left-color: var(--accent);
    background: var(--accent-soft);
    font-weight: 700;
  }

  /* Local standalone layout */
  html { box-sizing: border-box; }
  *, *::before, *::after { box-sizing: inherit; }
  body {
    margin: 0;
    background: #fff;
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  .article-shell {
    width: min(760px, calc(100% - 32px));
    margin: 48px auto 80px;
  }
  .post-wrap { margin: 0 auto; }
  .post-wrap img { height: auto; }

  @media (max-width: 640px) {
    .article-shell {
      width: min(100% - 24px, 760px);
      margin-top: 28px;
    }
    .post-header h1 { font-size: 1.62rem; line-height: 1.16; }
    .post-wrap h2 { font-size: 1.24rem; line-height: 1.28; }
    .post-wrap, .post-wrap p, .post-wrap li { font-size: 16.2px; }
    .post-wrap .lead { font-size: 1rem; line-height: 1.68; }
    .beta-compare__row { grid-template-columns: 1fr; gap: 0.65rem; }
    .beta-compare__item, .beta-compare__item:first-child {
      padding: 0; border-left: none;
    }
    .post-figure figcaption { max-width: 100%; font-size: 0.84rem; }
    .table-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table-figure table { min-width: 640px; }
  }
  </style>
</head>
<body>
  <main class="article-shell">
<nav id="toc" aria-label="Table of contents">
  <div class="toc-title">Contents</div>
</nav>

<article class="post-wrap">

<header class="post-header">
  <h1>
    <span class="title-main">EMA: A Quiet Hyperparameter That Moves Diffusion Leaderboards</span>
  </h1>
  <div class="post-authors">
    <a href="https://a-little-hoof.github.io/">Yifei Wang</a><sup>*</sup>, <a href="https://nicholas0228.github.io/">Xiaoyu Wu</a><sup>*</sup>, <a href="https://weichen582.github.io/">Chen Wei</a>
  </div>
  <div class="post-affiliation">Rice University</div>
  <div class="equal-contrib"><sup>*</sup>Equal contribution</div>
  <div class="post-tags">
    <span class="tag">diffusion</span>
    <span class="tag">training-dynamics</span>
    <span class="tag">EMA</span>
  </div>
</header>

<p class="lead">
  Diffusion transformers are increasingly compared by convergence speed: who can reach a target
  FID in the fewest training epochs. But before changing the model architecture, loss, or input space,
  one quiet hyperparameter can already move the number: EMA decay. In the figure below, we
  take the same RAE-DiT<sup class="footnote-ref" id="fnref:rae"><a href="#fn:rae">1</a></sup>
  training run at 80 epochs and change only the EMA decay. The gFID moves from <b>4.14</b> to
  <b>3.21</b>. This is large enough that two papers could appear to differ in method quality
  when they are partly differing in EMA protocol.
</p>

<figure class="post-figure teaser-figure">
  <img src="/images/blog/ema/ema_sweep_curves_v2.png" alt="gFID vs EMA decay at 80 epochs for RAE-DiT (DINOv2-B), with horizontal references for raw, LightningDiT, and the published RAE number" />
  <div class="beta-compare" aria-label="EMA decay comparison at 80 epochs">
    <div class="beta-compare__title">Same training run, different EMA decay</div>
    <div class="beta-compare__row">
      <div class="beta-compare__item">
        <span class="beta-compare__decay">&beta; = 0.9999</span>
        <span class="beta-compare__label">community default</span>
        <span class="beta-compare__fid">FID 4.14</span>
      </div>
      <div class="beta-compare__item">
        <span class="beta-compare__decay">&beta; = 0.9995</span>
        <span class="beta-compare__label">common non-default</span>
        <span class="beta-compare__fid">FID 3.29</span>
      </div>
      <div class="beta-compare__item beta-compare__item--best">
        <span class="beta-compare__decay">&beta; = 0.999</span>
        <span class="beta-compare__label">best in sweep</span>
        <span class="beta-compare__fid">FID 3.21</span>
      </div>
    </div>
  </div>
  <figcaption>
    RAE-DiT-XL with DINOv2-B on ImageNet 256, trained for
    80 epochs. The training run is fixed; only the EMA decay changes. See the
    <a href="#ema-reporting-table">reporting table</a> below for common EMA choices in recent
    diffusion papers.
  </figcaption>
</figure>

<p>
  This plot is the instability we want to make visible. EMA decay is often treated as a fixed
  detail of the training recipe rather than a hyperparameter to study. But the plot above shows
  the key point: common EMA choices are not interchangeable. Later, the
  <a href="#ema-reporting-table">reporting table</a> shows how often these choices are inherited
  from existing codebases or left implicit in recent diffusion papers.
</p>

<p>
  The rest of the post asks two questions. First, when diffusion models are evaluated before full
  convergence, how much can EMA decay change the comparison? Second, what does EMA decay change
  inside the learned distribution? We study three settings: representation-space diffusion
  (RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup>), pixel-space diffusion
  (JiT<sup class="footnote-ref"><a href="#fn:jit">2</a></sup>), and latent-space diffusion
  (SiT<sup class="footnote-ref"><a href="#fn:sit">3</a></sup>).
</p>

<div class="callout">
  <b>TL;DR.</b> EMA decay is not just a smoothing trick. In short-schedule diffusion training,
  common choices such as &beta; = 0.9999 and 0.9995 can produce materially different FID
  numbers from the same training run. EMA decay should be treated as a critical hyperparameter:
  swept when possible, and clearly reported.
</div>

<h2>Why Did EMA Become the Default?</h2>

<p>
Exponential moving average (EMA) keeps a slowly updated copy of the model weights alongside the
training weights. At every optimizer step <em>t</em>, the EMA weights &theta;&prime; are updated as
</p>

<p>
$$\theta'_t \;=\; \beta \, \theta'_{t-1} \;+\; (1 - \beta)\, \theta_t\,,$$
</p>

<p>
where &beta; is the EMA decay. At evaluation time, samples are drawn from
&theta;&prime; instead of &theta;: the running average, not the latest optimizer step. That sounds
like harmless smoothing, and historically that is exactly why EMA became popular.
</p>

<p>
The NCSNv2 example below shows the original motivation. EMA was introduced to diffusion models as
a fix for a very <em>visible</em> failure mode: <em>color shift</em><sup class="footnote-ref" id="fnref:ncsnv2"><a href="#fn:ncsnv2">4</a></sup>.
Without EMA, samples near the end of training drifted in color statistics, even when the score loss
kept decreasing. The EMA checkpoint smoothed the trajectory and brought the sample statistics back
in line.
</p>

<figure class="post-figure">
  <img src="/images/blog/ema/ncsnv2_color_shift.png"
       alt="CIFAR-10 FID over training iterations for NCSN with and without EMA, with sample insets showing color-shifted samples from the raw model and clean samples from the EMA model"
       style="max-width: 500px; display: block; margin: 0 auto;" />
  <figcaption>
    <b>NCSN with vs. without EMA on CIFAR-10.</b> The raw NCSN checkpoint (dashed blue)
    oscillates wildly in FID and produces visibly color-shifted, off-distribution samples;
    the EMA-averaged checkpoint (orange) trains stably and recovers correct image statistics.
    Figure taken from Song &amp; Ermon, <em>Improved Techniques for Training Score-Based
    Generative Models</em> (NeurIPS 2020)<sup class="footnote-ref"><a href="#fn:ncsnv2">4</a></sup>;
    credit to the original authors.
  </figcaption>
</figure>

<p>
This figure explains why EMA became a near-universal default: the fix is obvious, visual,
empirically useful, and almost free. In our sweeps, EMA-smoothed checkpoints also beat the raw checkpoint across
pixel-, latent-, and representation-space diffusion. So the question is not whether EMA helps. It
does. The question is whether the decay rate can be left on autopilot.
</p>

<p>
That distinction matters most away from convergence. If the goal is a final, near-converged FID,
the exact averaging window may look less central: late in training, the weights move more slowly,
and different EMA averages can become similar. But at 40 epochs, 80 epochs, or any target-FID
speed benchmark, the trajectory is still moving quickly. Different EMA decays can then correspond to
very different evaluated checkpoints.
</p>

<h2>Short-Schedule FID Makes EMA Visible</h2>

<p>
  That lag becomes a measurement problem because diffusion papers usually report the EMA
  checkpoint. An FID number is therefore not determined only by the method, optimizer, and training
  budget; it also depends on the EMA decay used to build the checkpoint. The reporting landscape
  below shows why this is easy to miss.
</p>

<figure id="ema-reporting-table" class="table-figure">
<table>
  <thead>
    <tr>
      <th>Method</th>
      <th>Parent Codebase</th>
      <th>Reported EMA Decay</th>
      <th>Epoch 40</th>
      <th>Epoch 80</th>
      <th>EP<sub>FID@3</sub></th>
      <th>Open Sourced?</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>DiT<sup class="footnote-ref" id="fnref:dit"><a href="#fn:dit">5</a></sup></td>
      <td>-</td>
      <td>0.9999</td>
      <td>39</td>
      <td>16</td>
      <td>&gt;800</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>SiT<sup class="footnote-ref"><a href="#fn:sit">3</a></sup></td>
      <td>DiT<sup class="footnote-ref"><a href="#fn:dit">5</a></sup></td>
      <td>0.9999</td>
      <td>34</td>
      <td>15</td>
      <td>&gt;800</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>JiT<sup class="footnote-ref"><a href="#fn:jit">2</a></sup></td>
      <td>DiT<sup class="footnote-ref"><a href="#fn:dit">5</a></sup></td>
      <td>0.9999</td>
      <td>-</td>
      <td>42.9</td>
      <td>&gt;800</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>REPA<sup class="footnote-ref" id="fnref:repa"><a href="#fn:repa">6</a></sup></td>
      <td>DiT<sup class="footnote-ref"><a href="#fn:dit">5</a></sup>, SiT<sup class="footnote-ref"><a href="#fn:sit">3</a></sup></td>
      <td>0.9999</td>
      <td>10.5</td>
      <td>7.9</td>
      <td>&gt;800</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup></td>
      <td>LightningDiT<sup class="footnote-ref" id="fnref:lightningdit"><a href="#fn:lightningdit">7</a></sup></td>
      <td>0.9995</td>
      <td>6.7</td>
      <td>4.3</td>
      <td>200</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>RJF<sup class="footnote-ref" id="fnref:rjf"><a href="#fn:rjf">8</a></sup></td>
      <td>RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup></td>
      <td>0.9995</td>
      <td>-</td>
      <td>3.6</td>
      <td>80~85</td>
      <td>No</td>
    </tr>
    <tr>
      <td>FAE<sup class="footnote-ref" id="fnref:fae"><a href="#fn:fae">9</a></sup></td>
      <td>RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup></td>
      <td>-</td>
      <td>2.8</td>
      <td>2.1</td>
      <td>35~40</td>
      <td>No</td>
    </tr>
    <tr>
      <td>RAEv2<sup class="footnote-ref" id="fnref:raev2"><a href="#fn:raev2">10</a></sup></td>
      <td>RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup></td>
      <td>0.9995</td>
      <td>2.8</td>
      <td>2.3</td>
      <td>&lt;20</td>
      <td>Yes</td>
    </tr>
    <tr>
      <td>PAE<sup class="footnote-ref" id="fnref:pae"><a href="#fn:pae">11</a></sup></td>
      <td>RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup></td>
      <td>0.9999</td>
      <td>5.8</td>
      <td>1.9</td>
      <td>45~50</td>
      <td>Yes</td>
    </tr>
  </tbody>
</table>
<figcaption>
  <b>Recent diffusion papers often inherit EMA decay from a parent codebase.</b>
  Reported values are taken from the cited papers and, where
  needed, their released implementations.
  This table shows that short-schedule FID and EP<sub>FID@k</sub> numbers can use an EMA choice that is not always
  searched over, matched, or easy to find.
</figcaption>
</figure>


<p>
  The table matters because recent comparisons increasingly live at intermediate checkpoints.
  Final FID still appears, but many papers now emphasize fixed-budget FID at 40 or 80 epochs, or the number of epochs
  needed to hit a target FID. RAEv2<sup class="footnote-ref" id="fnref:raev2"><a href="#fn:raev2">10</a></sup> makes one piece of this shift explicit:
</p>


<blockquote class="paper-quote" cite="#fn:raev2">
  <cite>RAEv2 on Training-Convergence Evaluation<sup class="footnote-ref"><a href="#fn:raev2">10</a></sup></cite>
  <p>
  "Incremental improvements in absolute gFID values might provide limited signal
  for practical applications. Inspired by recent speedrun in language domain, we also report training
  convergence using EP<sub>FID@k</sub> (epochs to reach unguided gFID &le; <em>k</em>)."
  </p>
</blockquote>

<p>
  RAEv2 therefore reports EP<sub>FID@k</sub>: the number of epochs needed to reach unguided gFID
  &le; <em>k</em>. This is a useful direction because it asks how much training a method needs to
  become good enough, not just where it lands after a long run. But the curve being thresholded is
  usually the EMA-smoothed curve. If changing &beta; moves that curve, it can also move the apparent
  convergence time.
</p>

<p>
  The figure below shows this within a single RAE-DiT<sup class="footnote-ref"><a href="#fn:rae">1</a></sup>
  run. All curves come from the same optimizer trajectory; only the EMA decay changes. At target
  <em>k</em> = 4, that choice changes the apparent convergence time from 32 epochs to beyond
  80 epochs.
</p>

<figure class="post-figure">
  <img src="/images/blog/ema/convergence_threshold_v2.png"
       alt="FID vs. training epoch for one RAE-DiT run, with one curve per EMA decay" />
  <figcaption>
    <b>Same RAE-DiT run at 80 epochs.</b> Left: gFID vs. training epoch for one optimizer trajectory under different
    EMA decays. The FID = 4 threshold is shown as a dashed line and threshold-crossing points are marked.
    Right: the same run reduced to EP<sub>FID@4</sub> — the number of epochs to first reach gFID &le; 4.
  </figcaption>
</figure>

<p>
  Read together, these results show why fixed-budget FID and EP<sub>FID@k</sub> need a matched
  EMA protocol. If two methods use different decays, the reported gap can reflect both the proposed
  method and the EMA checkpoint used to evaluate it.
</p>

<p>
  That motivates the controlled sweeps in the next section: if EMA decay can change both the number
  and the crossing time, what exactly is it changing in the learned distribution?
</p>


<h2>EMA Trades Precision for Recall</h2>

<p>
  We showed that EMA decay can change the reported FID. Here we ask what changes inside
  the learned distribution. The answer is not simply "better" or "worse": EMA decay moves the
  model along a precision-recall trade-off. Larger decays tend to sharpen samples and raise
  precision, but they also reduce coverage and lower recall.
</p>

<p>
  The intuition is that EMA rewards
  what is stable across time. Common patterns survive the averaging window and become cleaner;
  rare or fragile modes are more easily averaged away. So the model looks more precise, but it
  covers less of the distribution.
</p>

<p>
  To isolate this effect, we sweep EMA decay for three diffusion models spanning common input
  spaces: JiT<sup class="footnote-ref" id="fnref:jit"><a href="#fn:jit">2</a></sup> in pixel space,
  SiT<sup class="footnote-ref" id="fnref:sit"><a href="#fn:sit">3</a></sup> in latent space, and
  RAE<sup class="footnote-ref"><a href="#fn:rae">1</a></sup> in representation space. Each sweep also
  includes the raw online checkpoint.
</p>

<p>
  The RAE sweep makes the mechanism visible. Every point below comes from the same online training trajectory; only the EMA decay used to form the checkpoint changes.
</p>

<figure class="post-figure">
  <img src="/images/blog/ema/rae_precision_recall.png"
       alt="Precision-recall trade-off curve for the RAE EMA sweep at 80 epochs: each point is one EMA decay value; as decay grows from raw to 0.9999, precision rises and recall falls" />
  <figcaption>
    <b>RAE-DiT-XL at 80 epochs: EMA decay changes the precision-recall balance.</b>
    Each point is the same training run with a different EMA decay. As &beta; grows from raw
    toward &beta; = 0.9999, precision<sup class="footnote-ref"><a href="#fn:pr">12</a></sup>
    rises while recall falls.
  </figcaption>
</figure>

<p>
  This is the key mechanism. Moving from raw to &beta; = 0.9999, precision rises from 0.68 to
  0.79, while recall falls from 0.61 to 0.53. No single decay wins on both axes. EMA does not only
  smooth optimization noise; it dials the model between fidelity and coverage.
</p>

<p>
  The same pattern holds in pixel and latent spaces.
  JiT and SiT show the same broad direction: as decay grows, precision tends to improve and recall
  tends to shrink. The exact curve shape differs by model, but the effect is not specific to RAE.
</p>

<figure class="post-figure">
  <img src="/images/blog/ema/jit_precision_recall.png"
       alt="Precision-recall trade-off curve for JiT (pixel space) at 80 epochs: as EMA decay grows, precision generally rises and recall falls" />
  <figcaption>
    <b>JiT (pixel space) at 80 epochs: the same precision-up, recall-down pressure.</b>
    Larger EMA decay pushes samples toward higher precision and lower recall.
  </figcaption>
</figure>

<figure class="post-figure">
  <img src="/images/blog/ema/sit_precision_recall.png"
       alt="Precision-recall trade-off curve for SiT (latent space) at 90 epochs: EMA decay changes the balance between precision and recall" />
  <figcaption>
    <b>SiT (latent space) at 90 epochs, CFG = 1.5: a subtler version of the same trade-off.</b>
  </figcaption>
</figure>

<p>
  This also explains why there is no universally best decay. FID is sensitive to both fidelity and
  coverage, so it tends to reward a compromise point on the precision-recall curve. Precision-like
  metrics can prefer larger decays. Recall prefers smaller decays. Once EMA decay moves the
  precision-recall ratio, different metrics naturally select different decays.
</p>

<figure class="post-figure">
  <img src="/images/blog/ema/fid_is_3panel.png"
       alt="3-panel chart of FID and Inception Score vs EMA decay for RAE-DiT-XL, JiT, and SiT, showing that the FID-best and IS-best EMA decays can differ" />
  <figcaption>
    <b>Different metrics prefer different EMA decays.</b>
    Each panel shows FID (blue, left axis) and Inception Score<sup class="footnote-ref"><a href="#fn:is">13</a></sup>
    (purple, right axis). Because EMA changes the precision-recall balance, FID, IS, precision,
    and recall need not agree on the same best decay.
  </figcaption>
</figure>

<p>
  RAE is the cleanest example: FID is best at &beta; = 0.999, while Inception Score keeps improving
  toward larger decays. JiT is different: &beta; = 0.9995 is best on both FID and IS in this sweep.
  SiT is milder: FID is nearly flat around the high-decay region, while IS keeps rising. The common
  lesson is not that one decay is always right. The lesson is that EMA decay changes the
  distributional trade-off, so the metric decides which decay rate serves best.
</p>

<h2>Soft Collapse in a 2D Toy</h2>

<p>
  The ImageNet sweeps show the metric-level effect: larger EMA decay raises precision and reduces
  recall. The toy example below shows the same effect at the sample level. We use a 2D distribution
  from AutoGuidance<sup class="footnote-ref" id="fnref:autoguidance"><a href="#fn:autoguidance">14</a></sup>:
  a tree with dense, popular branches and sparse tail branches. If recall drops, those tail
  branches should be the first places to disappear.
</p>

<p>
  We train one small MLP score model, then compare the raw model with EMA versions at
  <code>0.99 / 0.997 / 0.998 / 0.999</code>. The first figure is the sweep overview: read it left to
  right as EMA decay increases.
</p>

<figure class="post-figure">
  <img src="/images/blog/ema/soft-overconcentration.jpg" alt="2D toy EMA sweep showing samples and same-seed trajectories concentrating on dominant branches as EMA decay increases" />
  <figcaption>
    <b>Increasing EMA decay pulls mass toward the dominant branches.</b>
    Top: final samples overlaid on the true tree. Bottom: same-seed trajectories, with tail-branch
    paths highlighted. As decay grows, trajectories that should cover tail branches are pulled
    back toward the trunk. At 0.999, the averaged model is stale enough that samples
    start leaving the manifold.
  </figcaption>
</figure>

<p>
  The most useful comparison is not the catastrophic <code>0.999</code> case. It is the softer
  <code>0.998</code> case: samples still look plausible, but coverage has already changed.
</p>

<figure class="post-figure">
  <div class="pair-figure">
    <div class="col">
      <div class="label">Raw model</div>
      <img src="/images/blog/ema/model.jpg" alt="Raw model samples on the tree distribution" />
    </div>
    <div class="col">
      <div class="label">EMA 0.998</div>
      <img src="/images/blog/ema/ema0998.jpg" alt="EMA 0.998 samples on the tree distribution" />
    </div>
  </div>
  <figcaption>
    <b>Same seeds, same training run.</b>
    The red boxes mark sparse tail branches. The raw model covers them more broadly; EMA 0.998
    concentrates samples along the main trunk and under-covers the tail branches.
  </figcaption>
</figure>

<p>
  This is not a hard collapse to a single mode. It is softer: EMA over-concentrates the model on
  high-density regions. That explains the precision-recall trade-off from the previous section.
  Samples can look cleaner because they hug typical patterns more tightly, while rare configurations
  quietly lose coverage.
</p>

<h2>Closing Remarks</h2>

<p>
EMA is easy to trust because it is genuinely useful. It stabilizes sampling, improves raw
checkpoints, and has become part of the default diffusion training recipe. But the decay rate is
not just an implementation detail: it changes which checkpoint we evaluate and where the model sits
on the precision-recall curve.
</p>

<p>
<b>Our practical recommendation is simple: report the EMA decay, and treat it as part of the
evaluation protocol.</b> For short-schedule comparisons,
fixed-budget FID at 40 or 80 epochs, or EP<sub>FID@k</sub>, matched EMA settings matter. When
possible, sweep EMA under a shared protocol; at minimum, an early FID number should come with the
EMA decay that produced it.
</p>

<p>
Several questions remain open. Can the precision-recall trade-off be characterized directly from
how EMA reshapes the score function? Does the optimal &beta; drift predictably with training
horizon, model size, or guidance scale? If so, adaptive EMA, scheduled EMA, or post-hoc EMA
methods such as EDM2<sup class="footnote-ref" id="fnref:edm2"><a href="#fn:edm2">15</a></sup>
could make matched comparisons routine rather than expensive. Until then, the cheapest safeguard
is also the simplest: whenever you report a short-schedule number, report the EMA decay that
produced it.
</p>

<section class="footnotes references-section">
  <h2>References</h2>
  <ol>
    <li id="fn:rae">
      Zheng, Ma, Tong, &amp; Xie.
      <em>Diffusion Transformers with Representation Autoencoders.</em>
      ICLR, 2026.
      <a href="https://arxiv.org/abs/2510.11690">arXiv:2510.11690</a>.
      <a href="#fnref:rae" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:jit">
      Li &amp; He. <em>Back to Basics: Let Denoising Generative Models Denoise.</em> CVPR 2026.
      <a href="https://arxiv.org/abs/2511.13720">arXiv:2511.13720</a>.
      <a href="#fnref:jit" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:sit">
      Ma, Goldstein, Albergo, Boffi, Vanden-Eijnden, &amp; Xie.
      <em>SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformers.</em>
      ECCV 2024.
      <a href="https://arxiv.org/abs/2401.08740">arXiv:2401.08740</a>.
      <a href="#fnref:sit" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:ncsnv2">
      Song &amp; Ermon.
      <em>Improved Techniques for Training Score-Based Generative Models.</em>
      NeurIPS 2020.
      <a href="https://arxiv.org/abs/2006.09011">arXiv:2006.09011</a>.
      <a href="#fnref:ncsnv2" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:dit">
      Peebles &amp; Xie.
      <em>Scalable Diffusion Models with Transformers.</em>
      ICCV 2023.
      <a href="https://arxiv.org/abs/2212.09748">arXiv:2212.09748</a>.
      <a href="#fnref:dit" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:repa">
      Yu, Kwak, Jang, Jeong, Huang, Shin, &amp; Xie.
      <em>Representation Alignment for Generation: Training Diffusion Transformers is Easier than You Think.</em>
      ICLR 2025.
      <a href="https://arxiv.org/abs/2410.06940">arXiv:2410.06940</a>.
      <a href="#fnref:repa" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:lightningdit">
      Yao, Yang, &amp; Wang.
      <em>Reconstruction vs. Generation: Taming Optimization Dilemma in Latent Diffusion Models.</em>
      CVPR 2025.
      <a href="https://arxiv.org/abs/2501.01423">arXiv:2501.01423</a>.
      <a href="#fnref:lightningdit" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:rjf">
      Kumar &amp; Patel.
      <em>Learning on the Manifold: Unlocking Standard Diffusion Transformers with Representation Encoders.</em>
      arXiv preprint, 2026.
      <a href="https://arxiv.org/abs/2602.10099">arXiv:2602.10099</a>.
      <a href="#fnref:rjf" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:fae">
      Gao, Chen, Chen, &amp; Gu.
      <em>One Layer Is Enough: Adapting Pretrained Visual Encoders for Image Generation.</em>
      arXiv preprint, 2025.
      <a href="https://arxiv.org/abs/2512.07829">arXiv:2512.07829</a>.
      <a href="#fnref:fae" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:raev2">
      Singh, Zheng, Wu, Zhang, Shechtman, &amp; Xie.
      <em>Improved Baselines with Representation Autoencoders.</em>
      arXiv preprint, 2026.
      <a href="https://arxiv.org/abs/2605.18324">arXiv:2605.18324</a>.
      <a href="#fnref:raev2" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:pae">
      Yue, Hu, Chen, Zhang, Pan, Liu, Wang, Lan, Zhu, Zheng, &amp; Wang.
      <em>What Matters for Diffusion-Friendly Latent Manifold? Prior-Aligned Autoencoders for Latent Diffusion.</em>
      arXiv preprint, 2026.
      <a href="https://arxiv.org/abs/2605.07915">arXiv:2605.07915</a>.
      <a href="#fnref:pae" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:pr">
      Kynkäänniemi, Karras, Laine, Lehtinen, &amp; Aila.
      <em>Improved Precision and Recall Metric for Assessing Generative Models.</em>
      NeurIPS 2019.
      <a href="https://arxiv.org/abs/1904.06991">arXiv:1904.06991</a>.
      <a href="#fnref:pr" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:is">
      Salimans, Goodfellow, Zaremba, Cheung, Radford, &amp; Chen.
      <em>Improved Techniques for Training GANs.</em>
      NeurIPS 2016.
      <a href="https://arxiv.org/abs/1606.03498">arXiv:1606.03498</a>.
      <a href="#fnref:is" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:autoguidance">
      Karras, Aittala, Kynkäänniemi, Lehtinen, Aila, &amp; Laine.
      <em>Guiding a Diffusion Model with a Bad Version of Itself.</em>
      NeurIPS 2024.
      <a href="https://arxiv.org/abs/2406.02507">arXiv:2406.02507</a>.
      <a href="#fnref:autoguidance" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:edm2">
      Karras, Aittala, Lehtinen, Hellsten, Aila, &amp; Laine.
      <em>Analyzing and Improving the Training Dynamics of Diffusion Models.</em>
      CVPR 2024.
      <a href="https://arxiv.org/abs/2312.02696">arXiv:2312.02696</a>.
      <a href="#fnref:edm2" class="footnote-back" title="back to text">↩︎</a>
    </li>
    <li id="fn:fid">
      Heusel, Ramsauer, Unterthiner, Nessler, &amp; Hochreiter.
      <em>GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium.</em>
      NeurIPS 2017.
      <a href="https://arxiv.org/abs/1706.08500">arXiv:1706.08500</a>.
      <a href="#fnref:fid" class="footnote-back" title="back to text">↩︎</a>
    </li>
  </ol>
</section>

<section class="end-section">
  <h4>Acknowledgments</h4>

  <p>
  We thank Xiang Li, Tsu-Jui Fu, Liang-Chieh Chen, and Zhe Gan for fruitful discussions.
  We acknowledge the Center for Research Computing (CRC) at Rice University for providing technical
  support and research computing services.
  </p>
</section>

<section class="end-section cite-section">
  <h4>Please Cite</h4>
  <p>If this post is useful for your work, please cite it as:</p>
  <pre class="bibtex"><code>@misc{wang2026ema,
  title = {EMA: A Quiet Hyperparameter That Moves Diffusion Leaderboards},
  author = {Wang, Yifei and Wu, Xiaoyu and Wei, Chen},
  year = {2026},
  url = {https://a-little-hoof.github.io/blog/2026/05/ema-in-diffusion-training/},
  note = {Blog post}
}</code></pre>
</section>
</article>

<!-- MathJax: enables LaTeX math via $$...$$ display blocks. Loaded after the article to avoid async typesetting races. -->
<script>
window.MathJax = {
  tex: {
    inlineMath: [['\\(', '\\)']],
    displayMath: [['$$', '$$'], ['\\[', '\\]']],
    packages: { '[+]': ['noerrors'] }
  },
  loader: { load: ['[tex]/noerrors'] }
};
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js" id="MathJax-script" defer></script>

<script>
/* Attach structured reference-list cards to inline citation badges. */
(function () {
  var refs = new Map();

  function clean(text) {
    return (text || '').replace(/\s+/g, ' ').trim().replace(/^[,.\s]+|[,.\s]+$/g, '');
  }

  function textBefore(parent, anchor) {
    var parts = [];
    for (var node = parent.firstChild; node && node !== anchor; node = node.nextSibling) {
      if (node.nodeType === Node.TEXT_NODE) parts.push(node.textContent);
      else if (!node.classList || !node.classList.contains('footnote-back')) parts.push(node.textContent);
    }
    return clean(parts.join(' '));
  }

  function textBetween(start, end) {
    var parts = [];
    for (var node = start.nextSibling; node && node !== end; node = node.nextSibling) {
      if (node.nodeType === Node.TEXT_NODE) parts.push(node.textContent);
      else if (!node.classList || !node.classList.contains('footnote-back')) parts.push(node.textContent);
    }
    return clean(parts.join(' '));
  }

  function makeRow(value) {
    var row = document.createElement('span');
    var valueEl = document.createElement('span');
    row.className = 'cite-popover__row';
    valueEl.className = 'cite-popover__value';
    valueEl.textContent = value || '-';
    row.appendChild(valueEl);
    return row;
  }

  document.querySelectorAll('.references-section li[id^="fn:"]').forEach(function (ref) {
    var titleEl = ref.querySelector('em');
    var sourceLink = Array.from(ref.querySelectorAll('a')).find(function (link) {
      return !link.classList.contains('footnote-back');
    });
    var backLink = ref.querySelector('.footnote-back');
    var authors = titleEl ? textBefore(ref, titleEl) : '';
    var title = titleEl ? clean(titleEl.textContent) : clean(ref.textContent);
    var venue = titleEl ? textBetween(titleEl, sourceLink || backLink) : '';
    var arxiv = sourceLink ? clean(sourceLink.textContent) : '';
    refs.set('#' + ref.id, {
      authors: authors,
      title: title,
      venue: venue,
      arxiv: arxiv
    });
  });

  document.querySelectorAll('sup.footnote-ref a[href^="#fn:"]').forEach(function (link) {
    var ref = refs.get(link.getAttribute('href'));
    if (!ref) return;
    var card = document.createElement('span');
    card.className = 'cite-popover';
    card.setAttribute('aria-hidden', 'true');
    card.appendChild(makeRow(ref.authors));
    card.appendChild(makeRow(ref.title));
    card.appendChild(makeRow(ref.venue));
    link.parentNode.querySelectorAll('.cite-popover').forEach(function (oldCard) { oldCard.remove(); });
    link.parentNode.appendChild(card);
    link.setAttribute('aria-label', 'Citation: ' + [ref.authors, ref.title, ref.venue, ref.arxiv].filter(Boolean).join('. '));
  });
}());
</script>

<script>
/* Auto-build the right-side TOC from h2 headings in the post and run a
   scroll-spy. Uses block comments only — Jekyll compress_html strips
   newlines, which would turn // line comments into "everything is a comment". */
(function () {
  var article = document.querySelector('.post-wrap');
  var toc = document.querySelector('#toc');
  if (!article || !toc) return;
  var headings = Array.from(article.querySelectorAll('h2')).filter(function (h) { return h.dataset.tocSkip !== 'true'; });
  if (headings.length === 0) { toc.style.display = 'none'; return; }
  function slugify(s) { return s.toLowerCase().replace(/[^a-z0-9 \-]/g, '').trim().replace(/\s+/g, '-').slice(0, 60); }
  var linkByHeading = new Map();
  headings.forEach(function (h, i) {
    if (!h.id) h.id = slugify(h.textContent) || ('sec-' + (i + 1));
    var a = document.createElement('a');
    a.href = '#' + h.id;
    a.textContent = h.textContent;
    a.addEventListener('click', function () {
      document.querySelectorAll('#toc a').forEach(function (l) { l.classList.remove('toc-active'); });
      a.classList.add('toc-active');
    });
    toc.appendChild(a);
    linkByHeading.set(h, a);
  });
  var observer = new IntersectionObserver(function (entries) {
    entries.forEach(function (entry) {
      if (entry.isIntersecting) {
        document.querySelectorAll('#toc a').forEach(function (l) { l.classList.remove('toc-active'); });
        linkByHeading.get(entry.target).classList.add('toc-active');
      }
    });
  }, { rootMargin: '-25% 0px -65% 0px', threshold: 0 });
  headings.forEach(function (h) { observer.observe(h); });
})();
</script>
  </main>
</body>
</html>]]></content><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><category term="diffusion" /><category term="training-dynamics" /><category term="EMA" /><summary type="html"><![CDATA[We benchmark EMA decay across pixel-, latent-, and representation-space diffusion models and show that the popular 0.9999 default silently trades recall for precision.]]></summary></entry><entry><title type="html">Blog Post number 4</title><link href="https://a-little-hoof.github.io/posts/2012/08/blog-post-4/" rel="alternate" type="text/html" title="Blog Post number 4" /><published>2015-08-14T00:00:00-07:00</published><updated>2015-08-14T00:00:00-07:00</updated><id>https://a-little-hoof.github.io/posts/2012/08/blog-post-4</id><content type="html" xml:base="https://a-little-hoof.github.io/posts/2012/08/blog-post-4/"><![CDATA[<p>This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.</p>

<h1 id="headings-are-cool">Headings are cool</h1>

<h1 id="you-can-have-many-headings">You can have many headings</h1>

<h2 id="arent-headings-cool">Aren’t headings cool?</h2>]]></content><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><category term="cool posts" /><category term="category1" /><category term="category2" /><summary type="html"><![CDATA[This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.]]></summary></entry><entry><title type="html">Blog Post number 3</title><link href="https://a-little-hoof.github.io/posts/2014/08/blog-post-3/" rel="alternate" type="text/html" title="Blog Post number 3" /><published>2014-08-14T00:00:00-07:00</published><updated>2014-08-14T00:00:00-07:00</updated><id>https://a-little-hoof.github.io/posts/2014/08/blog-post-3</id><content type="html" xml:base="https://a-little-hoof.github.io/posts/2014/08/blog-post-3/"><![CDATA[<p>This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.</p>

<h1 id="headings-are-cool">Headings are cool</h1>

<h1 id="you-can-have-many-headings">You can have many headings</h1>

<h2 id="arent-headings-cool">Aren’t headings cool?</h2>]]></content><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><category term="cool posts" /><category term="category1" /><category term="category2" /><summary type="html"><![CDATA[This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.]]></summary></entry><entry><title type="html">Blog Post number 2</title><link href="https://a-little-hoof.github.io/posts/2013/08/blog-post-2/" rel="alternate" type="text/html" title="Blog Post number 2" /><published>2013-08-14T00:00:00-07:00</published><updated>2013-08-14T00:00:00-07:00</updated><id>https://a-little-hoof.github.io/posts/2013/08/blog-post-2</id><content type="html" xml:base="https://a-little-hoof.github.io/posts/2013/08/blog-post-2/"><![CDATA[<p>This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.</p>

<h1 id="headings-are-cool">Headings are cool</h1>

<h1 id="you-can-have-many-headings">You can have many headings</h1>

<h2 id="arent-headings-cool">Aren’t headings cool?</h2>]]></content><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><category term="cool posts" /><category term="category1" /><category term="category2" /><summary type="html"><![CDATA[This is a sample blog post. Lorem ipsum I can’t remember the rest of lorem ipsum and don’t have an internet connection right now. Testing testing testing this blog post. Blog posts are cool.]]></summary></entry><entry><title type="html">Blog Post number 1</title><link href="https://a-little-hoof.github.io/posts/2012/08/blog-post-1/" rel="alternate" type="text/html" title="Blog Post number 1" /><published>2012-08-14T00:00:00-07:00</published><updated>2012-08-14T00:00:00-07:00</updated><id>https://a-little-hoof.github.io/posts/2012/08/blog-post-1</id><content type="html" xml:base="https://a-little-hoof.github.io/posts/2012/08/blog-post-1/"><![CDATA[<p>整了一晚上终于整好了</p>]]></content><author><name>Yifei Wang</name><email>yw251@rice.edu</email></author><category term="cool posts" /><category term="category1" /><category term="category2" /><summary type="html"><![CDATA[整了一晚上终于整好了]]></summary></entry></feed>