TensorX
返回文献探索

Paper · arXiv 2404.11925

EdgeFusion: On-Device Text-to-Image Generation

Thibault Castells, Hyoung-Kyu Song, Tairen Piao, Shinkook Choi, Bo-Kyeong Kim, Hanyoung Yim, Changgwun Lee, Jae Gon Kim, Tae-Ho Kim

22 upvotesApril 18, 2024arXiv 预印本
AI 摘要

Researchers achieve efficient text-to-image generation with reduced sampling steps and architectural optimizations, specifically using a compact Stable Diffusion variant, high-quality datasets, and an advanced distillation process for rapid and accurate image generation on edge devices.

Stable Diffusiontext-to-image generationLatent Consistency Modelpruningknowledge distillationBK-SDMhigh-quality image-text pairsquantizationprofilingon-device deploymentphoto-realistictext-aligned images

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.

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

京ICP备2026059466号
EdgeFusion: On-Device Text-to-Image Generation | TensorX