SFDDM: Single-fold Distillation for Diffusion models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hong, Chi, Huang, Jiyue, Birke, Robert, Epema, Dick, Roos, Stefanie, Chen, Lydia Y.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913361004855296
author Hong, Chi
Huang, Jiyue
Birke, Robert
Epema, Dick
Roos, Stefanie
Chen, Lydia Y.
author_facet Hong, Chi
Huang, Jiyue
Birke, Robert
Epema, Dick
Roos, Stefanie
Chen, Lydia Y.
contents While diffusion models effectively generate remarkable synthetic images, a key limitation is the inference inefficiency, requiring numerous sampling steps. To accelerate inference and maintain high-quality synthesis, teacher-student distillation is applied to compress the diffusion models in a progressive and binary manner by retraining, e.g., reducing the 1024-step model to a 128-step model in 3 folds. In this paper, we propose a single-fold distillation algorithm, SFDDM, which can flexibly compress the teacher diffusion model into a student model of any desired step, based on reparameterization of the intermediate inputs from the teacher model. To train the student diffusion, we minimize not only the output distance but also the distribution of the hidden variables between the teacher and student model. Extensive experiments on four datasets demonstrate that our student model trained by the proposed SFDDM is able to sample high-quality data with steps reduced to as little as approximately 1%, thus, trading off inference time. Our remarkable performance highlights that SFDDM effectively transfers knowledge in single-fold distillation, achieving semantic consistency and meaningful image interpolation.
format Preprint
id arxiv_https___arxiv_org_abs_2405_14961
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SFDDM: Single-fold Distillation for Diffusion models
Hong, Chi
Huang, Jiyue
Birke, Robert
Epema, Dick
Roos, Stefanie
Chen, Lydia Y.
Computer Vision and Pattern Recognition
Machine Learning
While diffusion models effectively generate remarkable synthetic images, a key limitation is the inference inefficiency, requiring numerous sampling steps. To accelerate inference and maintain high-quality synthesis, teacher-student distillation is applied to compress the diffusion models in a progressive and binary manner by retraining, e.g., reducing the 1024-step model to a 128-step model in 3 folds. In this paper, we propose a single-fold distillation algorithm, SFDDM, which can flexibly compress the teacher diffusion model into a student model of any desired step, based on reparameterization of the intermediate inputs from the teacher model. To train the student diffusion, we minimize not only the output distance but also the distribution of the hidden variables between the teacher and student model. Extensive experiments on four datasets demonstrate that our student model trained by the proposed SFDDM is able to sample high-quality data with steps reduced to as little as approximately 1%, thus, trading off inference time. Our remarkable performance highlights that SFDDM effectively transfers knowledge in single-fold distillation, achieving semantic consistency and meaningful image interpolation.
title SFDDM: Single-fold Distillation for Diffusion models
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2405.14961