Score Distillation Sampling with Learned Manifold Corrective

Thiemo Alldieck, Nikos Kolotouros, Cristian Sminchisescu

Abstract

Score Distillation Sampling (SDS) has revolutionized text-to-3D generation by using 2D diffusion models as priors. However, it is plagued by artifacts like oversaturation, blurriness, and the "Janus problem," typically requiring extreme guidance weights to function. This paper identifies a fundamental frequency bias in the SDS gradient's manifold projection term as the root cause. We propose LMC-SDS, which replaces this flawed component with a lightweight Learned Manifold Corrective (LMC) network. LMC-SDS enables high-fidelity generation with natural colors and sharp details at significantly lower, more standard guidance weights.

Introduction

SDS allows us to optimize complex assets, such as 3D objects in DreamFusion, by distilling knowledge from powerful 2D generative models. Despite its utility, SDS is notoriously finicky. To avoid "mushy" results, researchers often set the classifier-free guidance weight ($\omega$) to 100 or higher—far exceeding the $\omega=7.5$ used in standard image generation. This high guidance leads to "deep-fried" oversaturation and structural repetitions (the Janus problem). We perform a mathematical autopsy of the SDS gradient to isolate the source of this noise and provide a robust solution.

Mathematical Autopsy and Frequency Bias

The SDS gradient is composed of two parts: a conditioning term ($\nabla_\theta \mathcal{L}_{cond}$) that aligns the asset with the text prompt, and a projection term ($\nabla_\theta \mathcal{L}_{proj}$) intended to keep the asset on the manifold of natural images.

Our analysis reveals that $\mathcal{L}_{proj}$ is the primary culprit for SDS failures. It suffers from a severe frequency bias: at high noise levels (large $t$), the diffusion model incorrectly identifies high-frequency details as noise and attempts to remove them. This creates a gradient that actively destroys fine details. To counteract this "blurring" effect, users have historically cranked up the conditioning term, which results in the characteristic oversaturation of SDS outputs.

Decomposition of the SDS gradient (top) vs. the LMC corrective (bottom), alongside a power spectrum analysis showing the frequency bias of the diffusion model.

The LMC-SDS Method

To fix the flawed projection, we introduce the Learned Manifold Corrective (LMC). We train a shallow, lightweight U-Net (using the OpenImages dataset) to predict and factor out the specific frequency bias of the diffusion model across different timesteps. By replacing the noisy $\nabla_\theta \mathcal{L}_{proj}$ with the cleaner $\nabla_\theta \mathcal{L}_{lmc}$, we provide a more accurate optimization signal. This allows the use of much lower guidance weights (e.g., $\omega=8$ to $20$), preserving natural color balances and high-frequency textures without the need for extreme "over-conditioning."

Key Results

LMC-SDS demonstrates superior performance across several generative tasks:

  • Visual Fidelity: It produces sharp, naturally colored images where standard SDS produces blurry or oversaturated results at identical guidance levels.
  • 3D Asset Quality: In text-to-3D tasks, LMC-SDS significantly reduces the Janus problem and yields much sharper textures.
  • Quantitative Benchmarks: On image editing tasks (AFHQ and internal datasets), LMC-SDS achieves higher CLIP scores and R-precision than competitors like DDS and NFSD, while maintaining more natural image statistics as measured by power spectra.

Limitations and Future Work

As a distillation method, LMC-SDS remains dependent on the base diffusion model's conceptual knowledge; it cannot correct for prompts the base model does not understand. Additionally, if an optimization state becomes extremely corrupted, the corrective may struggle to recover it. Future research could extend these cleaner gradients to video generation and more complex stylization tasks.

Summary updated

BibTeX
@inproceedings{alldieck2024score,
  author = {Thiemo Alldieck and Nikos Kolotouros and Cristian Sminchisescu},
  title = {{Score Distillation Sampling with Learned Manifold Corrective}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73021-4\_1},
}
Figure