Refining Generative Models through Guidance and Rejection Sampling

This direction is merged into another direction: quality-diversity trade-off (fidelity-diversity trade-off). Its last version stays readable and citable here.

Version 1 of 119 papers19 conceptsfrozen 2026-10-04

Generative modeling is often described as a tug-of-war between two competing goals: fidelity (how realistic each individual sample looks) and diversity (how well the model covers the entire range of the training data).

In early Generative Adversarial Networks (GANs), this tension manifested as "mode collapse," where a model would produce a few high-quality images but ignore the rest of the dataset. In modern diffusion models, the same tension appears when using high "guidance" scales: the images become strikingly sharp but lose variety, often resulting in a repetitive, over-saturated aesthetic.

A growing body of research suggests that we can resolve this tension by treating the initial output of a generative model not as a final product, but as a proposal that can be refined, filtered, or steered toward the true data distribution.

Filtering for Fidelity: Rejection Sampling

The most intuitive way to improve a model's output is to simply throw away the "bad" samples. However, defining "bad" is difficult. Samaneh Azadi and colleagues introduced Discriminator Rejection Sampling (DRS) to formalize this intuition.

The core idea relies on the GAN discriminator. In theory, an optimal discriminator learns the density ratio between the real data distribution and the model's generated distribution. By using this ratio as a criterion for rejection sampling, we can "correct" the model's distribution after training. If the discriminator identifies a sample as likely being "fake," the system rejects it and tries again. This post-processing step allows researchers to boost sample quality significantly without the need to retrain the underlying generator.

Similarly, Chenyang Tao et al. explored this through the Chi-square Generative Adversarial Network, which uses importance resampling to stabilize training and prevent the model from ignoring less frequent clusters of data. By re-weighting samples, the model is forced to pay attention to the "modes" it might otherwise collapse.

Steering the Denoising Process

While rejection sampling works well for GANs, diffusion models offer a different point of intervention: the iterative denoising process. Instead of filtering a finished image, we can "nudge" the image as it is being formed.

Standard Classifier-Free Guidance (CFG) improves quality by pushing samples toward regions where a conditional prompt is highly influential. However, as noted by Zhicong Tang and Dong Chen 0003 in their work on Model-guidance (MG), aggressive guidance often leads to artifacts and a "diversity tax."

To fix this, researchers have introduced more sophisticated steering mechanisms:

  1. Discriminator Guidance (DG): Dongjun Kim and Il-chul Moon proposed Refining Generative Process with Discriminator Guidance. They add a small, separately trained discriminator that provides a "correction term" to the diffusion model's score function. This nudges the denoising trajectory toward more realistic regions of the data manifold.
  2. Autoguidance: Tero Karras and the NVIDIA team introduced Autoguidance, which guides a high-quality model using a "bad" (smaller or less-trained) version of itself. By moving away from the mistakes of the bad model, the high-quality model reaches new levels of fidelity without losing the diversity of the original dataset.

The Geometry of Mode Coverage

Why do models struggle with diversity in the first place? Yuhuai Wu and Roger B. Grosse pointed out in their Quantitative Analysis that mode collapse is often invisible to standard visual inspection; a model can look perfect while missing half the world.

Recent work by Eric Yeats and colleagues on Saddle-Free Guidance (SFG) suggests a geometric reason: models often get "stuck" in the saddle regions of the data distribution—low-probability zones between high-probability modes. SFG uses the curvature of the model's own log-density to steer samples away from these unrealistic "in-between" zones and toward the centers of the data modes.

Bridging the Gap

The common thread across these papers—from the Best-of-Many-Samples approach of Apratim Bhattacharyya to the Selective Focusing Learning of Kyeongbo Kong—is the realization that a single neural network rarely learns the data distribution perfectly.

By using auxiliary signals (discriminators), internal comparisons (autoguidance), or geometric analysis (saddle-free guidance), we can compensate for a model's blind spots. These techniques allow us to keep the broad, diverse foundations of generative models while "polishing" the results to achieve the high fidelity required for real-world applications.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_refining_generative_models_through_guida_6979e5bc,
  title = {Refining Generative Models through Guidance and Rejection Sampling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/refining-generative-models-through-guidance-and-rejection-sampling/rdr_6979e5bc2e3448e88412fb4f7820d1f6},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_refining_generative_models_through_guida_6979e5bc_v1,
  title = {Refining Generative Models through Guidance and Rejection Sampling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/refining-generative-models-through-guidance-and-rejection-sampling/rdr_6979e5bc2e3448e88412fb4f7820d1f6/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}