paper-with-me

홈 › Papers

BK-SDM: A Lightweight, Fast, and Cheap Version of Stable Diffusion

2023-05-25 · Bo-Kyeong Kim, Hyoung-Kyu Song, Thibault Castells, Shinkook Choi

Text-to-image (T2I) generation with Stable Diffusion models (SDMs) involves high computing demands due to billion-scale parameters. To enhance efficiency, recent studies have reduced sampling steps and applied network quantization while retaining the original architectures. The lack of architectural reduction attempts may stem from worries over expensive retraining for such massive models. In this work, we uncover the surprising potential of block pruning and feature distillation for low-cost general-purpose T2I. By removing several residual and attention blocks from the U-Net of SDMs, we achieve 30%~50% reduction in model size, MACs, and latency. We show that distillation retraining is effective even under limited resources: using only 13 A100 days and a tiny dataset, our compact models can imitate the original SDMs (v1.4 and v2.1-base with over 6,000 A100 days). Benefiting from the transferred knowledge, our BK-SDMs deliver competitive results on zero-shot MS-COCO against larger multi-billion parameter models. We further demonstrate the applicability of our lightweight backbones in personalized generation and image-to-image translation. Deployment of our models on edge devices attains 4-second inference. Code and models can be found at: https://github.com/Nota-NetsPresso/BK-SDM

📄 PDF Abstract BibTeX arXiv:2305.15798

Code (3)

Nota-NetsPresso/BK-SDM 공식 구현 pytorch
segmind/distill-sd 공식 구현 pytorch
Gothos/BK-SDM pytorch

Tasks

DreamBooth Personalized GenerationImage-to-Image TranslationText-to-Image Generation

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
Latent Diffusion Model Diffusion models applied to latent spaces, which are normally built with (Variational) Autoencoders.
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
U-Net 설명 없음

Similar Papers 제목 키워드 기반

DistilDIRE: A Small, Fast, Cheap and Lightweight Diffusion Synthesized Deepfake Detection

2024-06-02 · Yewon Lim, Changyeon Lee, Aerin Kim, Oren Etzioni

A dramatic influx of diffusion-generated images has marked recent years, posing unique challenges to current detection technologies. While the task of identifying these images falls under binary classification, a seeming…

Binary ClassificationDeepFake DetectionFace Swapping

Open-Source Acceleration of Stable-Diffusion.cpp Deployable on All Devices

2024-12-08 · Jingxu Ng, Cheng Lv, Pu Zhao, Wei Niu 외

Stable diffusion plays a crucial role in generating high-quality images. However, image generation is time-consuming and memory-intensive. To address this, stable-diffusion.cpp (Sdcpp) emerges as an efficient inference f…

AllImage Generation

Toward Lightweight and Fast Decoders for Diffusion Models in Image and Video Generation

2025-03-06 · Alexey Buzovkin, Evgeny Shilov

We investigate methods to reduce inference time and memory footprint in stable diffusion models by introducing lightweight decoders for both image and video synthesis. Traditional latent diffusion pipelines rely on large…

DecoderGPUImage GenerationVideo Generation

Hierarchical Variational Policies for Reward-Guided Diffusion

2026-05-20 · Kushagra Pandey, Farrin Marouf Sofian, Jan Niklas Groeneveld, Felix Draxler 외 arxiv

Adapting pretrained diffusion models to downstream objectives such as inverse problems often requires expensive test-time guidance or optimization. We propose a principled framework for generating high-quality reward-ali…

Test-time Adaptation

CutDiffusion: A Simple, Fast, Cheap, and Strong Diffusion Extrapolation Method

2024-04-23 · Mingbao Lin, Zhihang Lin, Wengyi Zhan, Liujuan Cao 외

Transforming large pre-trained low-resolution diffusion models to cater to higher-resolution demands, i.e., diffusion extrapolation, significantly improves diffusion adaptability. We propose tuning-free CutDiffusion, aim…

DenoisingGPU