NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Increasing the Utility of Synthetic Images through Chamfer Guidance

Nicola Dall'Asen, Xiaofeng Zhang, Reyhane Askari-Hemmat, Melissa Hall, Jakob Verbeek, Adriana Romero-Soriano, Michal Drozdzal

TL;DR

Chamfer Guidance is a training-free method that uses a small set of real "exemplar" images to steer generative models toward producing higher-quality and more diverse synthetic data. By matching the distribution of a batch of generated images to these real examples in a semantic feature space, the authors achieve state-of-the-art synthetic data utility, boosting downstream classifier accuracy by up to 15% while reducing computational costs by 31% compared to standard guidance techniques.

The "Diversity Crisis" in Generative Models

While modern Latent Diffusion Models (LDMs) can generate stunningly realistic images, they often suffer from a "diversity crisis." To achieve high-quality results, researchers typically use Classifier-Free Guidance (CFG), which nudges the model toward a specific prompt. However, high CFG scales frequently lead to mode collapse, where the model produces repetitive, over-saturated images lacking the natural variety found in the real world.

This presents a major hurdle for synthetic data utility. If a computer vision model is trained solely on synthetic images, those images must cover the full breadth of a category (e.g., all breeds of dogs in various environments). Current models tend to produce a narrow "average" version of a concept, making them poor teachers for downstream AI. Previous attempts to fix this either required expensive fine-tuning or used guidance functions that failed to scale well when more real-world examples were provided.

Visual comparison of generated images showing Chamfer Guidance producing higher quality and diversity compared to baselines.

Introducing Chamfer Guidance

To address these limitations, the authors introduce Chamfer Guidance, a training-free approach applied directly at inference time.

  1. The Metric: The method utilizes the Chamfer Distance, a metric traditionally used in 3D point cloud registration. Instead of comparing a single generated image to a single real image, it compares a set of generated images to a set of real exemplar images. This encourages the entire generated batch to "cover" the distribution of the real data.
  2. The Feature Space: Rather than comparing raw pixels, images are projected into a semantic latent space using DINOv2. The authors found DINOv2 superior to CLIP or Inception because it is "instance-centric," preserving the unique features of specific objects better than "concept-centric" models.
  3. Inference-Time Steering: At each denoising step, the algorithm calculates the gradient of the Chamfer loss between the current batch and the real exemplars. This gradient acts as a nudge, steering the diffusion process toward the desired distribution without altering the underlying model weights.
  4. Efficiency: Standard CFG requires running the model twice per step (once with a prompt, once without). Chamfer Guidance can operate using only the conditional model, leading to a significant reduction in Floating Point Operations (FLOPs).

Datasets and Evaluation

The researchers evaluated their method across several challenging benchmarks:

  • ImageNet-1k: The gold standard for object-centric image classification.
  • GeoDE & DollarStreet: Benchmarks specifically designed to measure geographic diversity (e.g., ensuring "cooking pots" look like those used globally, not just in Western kitchens).
  • OOD Benchmarks: To test generalization, they used ImageNet-V2, ImageNet-Sketch, ImageNet-R (Rendition), and ImageNet-A (Adversarial).

Key Insights and Results

By treating a batch of images as a distribution, the model avoids simply copying the exemplars. Instead, it learns to fill the gaps between them, leading to much higher diversity (coverage). Furthermore, because the guidance comes from an external set of images, the unconditional pass required by CFG is unnecessary. This makes the process faster and cheaper—a rare "free lunch" in generative AI, achieving a 31% reduction in FLOPs during sampling.

Unlike previous methods that plateaued quickly, Chamfer Guidance consistently improves as more real images are provided (from 2 up to 32).

Line charts demonstrating that Chamfer Guidance scales gracefully, improving coverage and precision as the number of grounding samples increases.
  • Superior Diversity: On ImageNet-1k, the method achieved 97.5% precision and 92.7% coverage using just 32 real images as a guide.
  • Downstream Performance: Classifiers trained on Chamfer-guided synthetic data saw an accuracy boost of 15% for in-distribution tasks and up to 16% on out-of-distribution tasks (like ImageNet-Sketch) compared to standard CFG baselines.
  • Human Preference: In a user study, humans preferred Chamfer-guided images 92% of the time over base model generations, noting better subject quality and more natural, less saturated colors.

Limitations and Future Work

Currently, the method is designed for class-conditional models with a fixed set of labels and does not yet directly support open-ended text-to-image generation. Additionally, the evaluation relies on automated metrics (like FID and Precision/Recall), which may carry inherent biases.

Looking ahead, the authors suggest a "retrieval-based" system where a user enters a text prompt, the system automatically fetches the top-K real images from a database, and uses them as Chamfer exemplars for a seamless zero-shot experience.

Summary updated

BibTeX
@inproceedings{dallasen2025increasing,
  author = {Nicola Dall'Asen and Xiaofeng Zhang and Reyhane Askari-Hemmat and Melissa Hall and Jakob Verbeek and Adriana Romero-Soriano and Michal Drozdzal},
  title = {{Increasing the Utility of Synthetic Images through Chamfer Guidance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=X3RVQNOIXZ},
}
Figure