BLURD: Benchmarking and Learning using a Unified Rendering and Diffusion Model

Boris Repasky, Ehsan Abbasnejad, Anthony DickNeurIPS 2024

TL;DR

BLURD (Benchmarking and Learning using a Unified Rendering and Diffusion Model) is a novel framework that combines the surgical control of 3D rendering with the photo-realism of generative diffusion models. By "painting" realism over 3D skeletons, it allows researchers to create massive, perfectly labeled datasets that reveal exactly how—and why—vision models like CLIP succeed or fail in the real world.

The Problem: The Realism Gap in Vision Models

In the world of computer vision, we are increasingly reliant on massive, pre-trained models like CLIP. However, thoroughly evaluating these models is surprisingly difficult due to the limitations of current datasets.

If we use real-world images, we run into three walls: they are expensive to collect, they often contain hidden biases, and we cannot easily manipulate "factors of variation" (e.g., changing a person's hair color while keeping their facial structure and lighting identical). If we use synthetic 3D renders, we achieve perfect control, but the images look "fake." This "realism gap" means a model might perform brilliantly on a 3D benchmark but stumble when faced with a grainy, real-world photograph.

The authors address this by asking: Can we create a dataset that has the precision of a 3D engine but the soul of a real photograph?

Methods: Merging 3D Control with Generative Realism

The researchers introduced a pipeline that merges two powerhouse technologies to bridge the realism gap.

The BLURD pipeline combining 3D rendering with Stable Diffusion and ControlNet to generate photo-realistic images with precise factor control.
  1. 3D Rendering (Blender): The team uses the Cycles engine to create high-quality 3D human models. This provides the "ground truth"—researchers know exactly what the age, race, gender, and even shirt color of the subject is because it is explicitly programmed.
  2. Generative AI (Stable Diffusion + ControlNet): Instead of just using the raw 3D render, the pipeline extracts spatial features like depth maps (how far things are) and normal maps (the orientation of surfaces).
  3. The "Unified" Step: These maps are fed into Stable Diffusion via ControlNet. This allows the AI to generate a photo-realistic image that is perfectly constrained by the underlying 3D geometry.

To test the limits of this generation, the authors evaluated three levels of "conditioning" (how strictly the AI is forced to follow the 3D model):

  • Unleashed: Only follows a text prompt.
  • Tempered: Follows the prompt plus depth and normal maps.
  • Harbinger: The full BLURD method, using text, depth, normal maps, and a "spatial palette" to ensure colors stay exactly where they belong.

The BLURD Datasets

The paper introduces the BLURD family of datasets, which includes:

  • BLURD 3D: 1.7 million raw 3D renders of humans across 17 factors of variation (age, race, beard style, etc.).
  • BLURD SD: The photo-realistic versions of those 1.7 million images generated via the diffusion pipeline.
  • BLURD Mask: A specialized dataset for semantic segmentation, combining synthetic labels with real-world face data (CelebAMask-HQ) to test how well models adapt across domains.

Key Insights and Ideas

  • The Realism Gap is a Measurement Tool: By comparing model performance on BLURD 3D versus BLURD SD, researchers can measure exactly how much a model relies on "texture" versus "geometry."
  • Equivariance Matters More than Accuracy: The authors argue that just getting the "right" answer (accuracy) isn't enough. We need to know if the model's internal representation changes logically when we change an input (e.g., if we change hair color from red to blue, does the model's internal "vector" move in a predictable way?). This is called equivariance, and BLURD is uniquely suited to measure it.
  • CLIP’s Hidden Biases: The study revealed that different versions of CLIP (OpenAI vs. Laion) have vastly different "color preferences" and struggle to distinguish between certain races (like Caucasian vs. Hispanic) in 3D space compared to realistic space.

Key Results

  • Human-Approved Realism: In a blind study, human evaluators rated BLURD SD images as significantly more realistic (~4.0/5) than raw 3D renders (~2.4/5).
  • Performance Jump: CLIP models showed a significant performance gap between 3D and realistic images. Interestingly, photo-realism improved zero-shot accuracy in almost every category, suggesting that CLIP's training data makes it "expect" realism to function correctly.
  • Better Training Data: Models trained on BLURD SD for segmentation tasks generalized much better to real-world datasets than those trained on standard 3D renders, proving that "diffusion-augmented" synthetic data is a highly viable proxy for real-world labeling.

Limitations and Future Work

While BLURD is a major step forward, the authors note a few hurdles:

  • Factor Bleeding: In less-constrained versions (like "Unleashed"), the diffusion model sometimes lets factors "bleed"—for example, a bright shirt color might accidentally tint the subject's hair.
  • Asset Dependency: The realism is still somewhat tethered to the quality of the underlying 3D assets. Low-poly models can lead to artifacts in the final diffusion output.
  • Computational Cost: Generating millions of images via diffusion is computationally expensive compared to simple 3D rendering.

Future work will likely focus on expanding these datasets beyond human faces to more complex scenes and improving the "disentanglement" of factors to ensure that changing one variable (like age) has absolutely zero effect on another (like background).

Summary updated

BibTeX
@inproceedings{repasky2024blurd,
  author = {Boris Repasky and Ehsan Abbasnejad and Anthony Dick},
  title = {{BLURD: Benchmarking and Learning using a Unified Rendering and Diffusion Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=h18O23kQzD},
}
Figure