Progressive Knowledge Distillation Of Stable Diffusion XL Using Layer Level Loss

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Gupta, Yatharth, Jaddipal, Vishnu V., Prabhala, Harish, Paul, Sayak, Von Platen, Patrick
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929199740092416
author Gupta, Yatharth
Jaddipal, Vishnu V.
Prabhala, Harish
Paul, Sayak
Von Platen, Patrick
author_facet Gupta, Yatharth
Jaddipal, Vishnu V.
Prabhala, Harish
Paul, Sayak
Von Platen, Patrick
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2401_02677
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Progressive Knowledge Distillation Of Stable Diffusion XL Using Layer Level Loss
Gupta, Yatharth
Jaddipal, Vishnu V.
Prabhala, Harish
Paul, Sayak
Von Platen, Patrick
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title Progressive Knowledge Distillation Of Stable Diffusion XL Using Layer Level Loss
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2401.02677