Introduction
Recent advancements in large-scale text-to-image diffusion models, such as Stable Diffusion, have revolutionized generative AI. However, utilizing these models as priors to guide external processes—like 3D object synthesis or GAN adaptation—remains a significant challenge. The prevailing method, Score Distillation Sampling (SDS), often suffers from a "resolution bottleneck" due to operating in compressed latent spaces (e.g., 64x64) and instability that leads to out-of-distribution artifacts. This paper introduces a generic framework that enhances Latent Score Distillation (LSD) through novel loss functions, ensuring both high-resolution detail and training stability.
Methodology
The authors propose two primary enhancements to the standard diffusion-guided optimization process:
- Feature Matching Loss ($L_{FM}$): Standard LSD focuses on noise prediction in the latent space. In contrast, $L_{FM}$ leverages the LDM's decoder by comparing multi-scale features between the original and updated latents. This approach "amplifies" the guidance signal, allowing the model to synthesize intricate structural and textural details that are typically lost in low-resolution latent optimization.
- KL Divergence Loss ($L_{KL}$): To prevent the optimization from producing unrealistic, over-saturated, or "deep-fried" textures, the authors incorporate a Kullback-Leibler (KL) divergence loss. This acts as a regularizer, constraining the optimized latent codes to stay within the prior distribution expected by the LDM, thereby maintaining visual realism.
Applications and Evaluation
The framework's versatility was demonstrated across three distinct domains:
- Text-to-3D Generation: Using a benchmark of 153 prompts, the method improved R-Precision scores (e.g., from 31.2 to 33.3 using Jacobian NeRF), indicating better alignment between the generated 3D geometry and the text description.
- StyleGAN Adaptation: The model was tested on the AFHQ (Animal Faces High Quality) dataset. In tasks such as adapting a cat-based model to other domains, the proposed method achieved an FID of 25.69, significantly outperforming baselines like StyleGAN-NADA (FID 170.42).
- Layered Image Editing: The method allows for precise attribute modification in real-world images based on text prompts, such as altering animal patterns or textures while preserving the underlying structure.
Results and Discussion
Qualitative results highlight a significant leap in visual fidelity. The combination of $L_{FM}$ and $L_{KL}$ produces sharper textures—such as defined whiskers or detailed plumage—compared to the "mushy" outputs of standard LSD. Quantitatively, the method consistently achieves lower FID scores and higher R-Precision across benchmarks.
Despite these gains, some limitations persist. The "Janus problem" (generating multiple faces on 3D objects) remains an issue due to the 2D nature of the diffusion prior. Additionally, the model can be sensitive to canonical viewpoints, sometimes struggling with consistent texture generation from non-standard angles.
Conclusion
By treating the LDM decoder as a rich knowledge base rather than just a final output stage, this research provides a robust path forward for text-driven visual synthesis. The introduction of feature matching and KL regularization effectively bridges the gap between latent-space efficiency and high-resolution visual quality, offering a powerful tool for 3D generation, GAN steering, and image editing.
Summary updated