CoDi: Conditional Diffusion Distillation for Higher-Fidelity and Faster Image Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mei, Kangfu, Delbracio, Mauricio, Talebi, Hossein, Tu, Zhengzhong, Patel, Vishal M., Milanfar, Peyman
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911778644951040
author Mei, Kangfu
Delbracio, Mauricio
Talebi, Hossein
Tu, Zhengzhong
Patel, Vishal M.
Milanfar, Peyman
author_facet Mei, Kangfu
Delbracio, Mauricio
Talebi, Hossein
Tu, Zhengzhong
Patel, Vishal M.
Milanfar, Peyman
contents Large generative diffusion models have revolutionized text-to-image generation and offer immense potential for conditional generation tasks such as image enhancement, restoration, editing, and compositing. However, their widespread adoption is hindered by the high computational cost, which limits their real-time application. To address this challenge, we introduce a novel method dubbed CoDi, that adapts a pre-trained latent diffusion model to accept additional image conditioning inputs while significantly reducing the sampling steps required to achieve high-quality results. Our method can leverage architectures such as ControlNet to incorporate conditioning inputs without compromising the model's prior knowledge gained during large scale pre-training. Additionally, a conditional consistency loss enforces consistent predictions across diffusion steps, effectively compelling the model to generate high-quality images with conditions in a few steps. Our conditional-task learning and distillation approach outperforms previous distillation methods, achieving a new state-of-the-art in producing high-quality images with very few steps (e.g., 1-4) across multiple tasks, including super-resolution, text-guided image editing, and depth-to-image generation.
format Preprint
id arxiv_https___arxiv_org_abs_2310_01407
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle CoDi: Conditional Diffusion Distillation for Higher-Fidelity and Faster Image Generation
Mei, Kangfu
Delbracio, Mauricio
Talebi, Hossein
Tu, Zhengzhong
Patel, Vishal M.
Milanfar, Peyman
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Large generative diffusion models have revolutionized text-to-image generation and offer immense potential for conditional generation tasks such as image enhancement, restoration, editing, and compositing. However, their widespread adoption is hindered by the high computational cost, which limits their real-time application. To address this challenge, we introduce a novel method dubbed CoDi, that adapts a pre-trained latent diffusion model to accept additional image conditioning inputs while significantly reducing the sampling steps required to achieve high-quality results. Our method can leverage architectures such as ControlNet to incorporate conditioning inputs without compromising the model's prior knowledge gained during large scale pre-training. Additionally, a conditional consistency loss enforces consistent predictions across diffusion steps, effectively compelling the model to generate high-quality images with conditions in a few steps. Our conditional-task learning and distillation approach outperforms previous distillation methods, achieving a new state-of-the-art in producing high-quality images with very few steps (e.g., 1-4) across multiple tasks, including super-resolution, text-guided image editing, and depth-to-image generation.
title CoDi: Conditional Diffusion Distillation for Higher-Fidelity and Faster Image Generation
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2310.01407