English

EdgeFusion: On-Device Text-to-Image Generation

Machine Learning 2024-04-19 v1 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

The intensive computational burden of Stable Diffusion (SD) for text-to-image generation poses a significant hurdle for its practical application. To tackle this challenge, recent research focuses on methods to reduce sampling steps, such as Latent Consistency Model (LCM), and on employing architectural optimizations, including pruning and knowledge distillation. Diverging from existing approaches, we uniquely start with a compact SD variant, BK-SDM. We observe that directly applying LCM to BK-SDM with commonly used crawled datasets yields unsatisfactory results. It leads us to develop two strategies: (1) leveraging high-quality image-text pairs from leading generative models and (2) designing an advanced distillation process tailored for LCM. Through our thorough exploration of quantization, profiling, and on-device deployment, we achieve rapid generation of photo-realistic, text-aligned images in just two steps, with latency under one second on resource-limited edge devices.

Keywords

Cite

@article{arxiv.2404.11925,
  title  = {EdgeFusion: On-Device Text-to-Image Generation},
  author = {Thibault Castells and Hyoung-Kyu Song and Tairen Piao and Shinkook Choi and Bo-Kyeong Kim and Hanyoung Yim and Changgwun Lee and Jae Gon Kim and Tae-Ho Kim},
  journal= {arXiv preprint arXiv:2404.11925},
  year   = {2024}
}

Comments

4 pages, accepted to CVPR24 First Workshop on Efficient and On-Device Generation (EDGE)

R2 v1 2026-06-28T15:58:16.901Z