arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.11925cs.LGcs.AIcs.CV
收藏

EdgeFusion:设备端文本到图像生成

EdgeFusion: On-Device Text-to-Image Generation

Nota Inc.(Nota公司);Samsung Electronics(三星电子)

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

AI总结:

本文提出EdgeFusion,基于紧凑SD变体BK-SDM,结合高质量数据与定制蒸馏,实现边缘设备上两步内亚秒级文本到图像生成。

摘要:

Stable Diffusion(SD)在文本到图像生成中的密集计算负担对其实际应用构成了重大障碍。为应对这一挑战,近期研究聚焦于减少采样步骤的方法(如潜在一致性模型(LCM))以及采用架构优化(包括剪枝和知识蒸馏)。与现有方法不同,我们独特地从紧凑型SD变体BK-SDM出发。我们观察到,将LCM直接应用于BK-SDM并使用常用的爬取数据集会产生不理想的结果。这促使我们开发了两种策略:(1)利用来自领先生成模型的高质量图像-文本对,以及(2)设计针对LCM量身定制的高级蒸馏过程。通过对量化、性能剖析和设备端部署的深入探索,我们实现了仅需两步即可快速生成照片级逼真、与文本对齐的图像,在资源受限的边缘设备上延迟低于一秒。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑