TensorX
返回文献探索

Paper · arXiv 2401.02677

Progressive Knowledge Distillation Of Stable Diffusion XL Using Layer Level Loss

Yatharth Gupta, Vishnu V. Jaddipal, Harish Prabhala, Sayak Paul, Patrick Von Platen

26 upvotesJanuary 5, 2024arXiv 预印本
AI 摘要

Two scaled-down variants of Stable Diffusion XL (SDXL), achieved through layer-level loss-driven pruning, maintain competitive image quality with reduced computational demands.

Stable Diffusion XLtext-to-imageT2Iparameter-efficientU-Netresidual networkstransformer blocksknowledge distillationlayer-level lossesgenerative qualityresource-constrained environments

Abstract

Stable Diffusion XL (SDXL) has become the best open source text-to-image model (T2I) for its versatility and top-notch image quality. Efficiently addressing the computational demands of SDXL models is crucial for wider reach and applicability. In this work, we introduce two scaled-down variants, Segmind Stable Diffusion (SSD-1B) and Segmind-Vega, with 1.3B and 0.74B parameter UNets, respectively, achieved through progressive removal using layer-level losses focusing on reducing the model size while preserving generative quality. We release these models weights at https://hf.co/Segmind. Our methodology involves the elimination of residual networks and transformer blocks from the U-Net structure of SDXL, resulting in significant reductions in parameters, and latency. Our compact models effectively emulate the original SDXL by capitalizing on transferred knowledge, achieving competitive results against larger multi-billion parameter SDXL. Our work underscores the efficacy of knowledge distillation coupled with layer-level losses in reducing model size while preserving the high-quality generative capabilities of SDXL, thus facilitating more accessible deployment in resource-constrained environments.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Progressive Knowledge Distillation Of Stable Diffusion XL Using Layer Level Loss | TensorX