arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.15381cs.DC
收藏

DiffServe:通过查询感知的模型缩放高效服务文本到图像扩散模型

DiffServe: Efficiently Serving Text-to-Image Diffusion Models with Query-Aware Model Scaling

Sohaib Ahmad, Qizheng Yang, Haoliang Wang, Ramesh K. Sitaraman, Hui Guan

AI总结:

本文提出DiffServe系统,通过查询感知的模型缩放自动构建扩散模型级联并动态分配资源,在保证图像质量的同时显著降低服务延迟违规率。

摘要:

使用扩散模型进行文本到图像生成因其能够根据文本提示生成高质量、逼真的图像而日益受到欢迎。然而,由于这些模型计算密集且查询需求存在差异,高效地服务这些模型具有挑战性。在本文中,我们旨在通过查询感知的模型缩放同时解决这两个问题。核心思想是构建模型级联,使简单查询可以由更轻量级的扩散模型处理,而不会影响图像生成质量。基于这一概念,我们开发了一个端到端的文本到图像扩散模型服务系统DiffServe,该系统从可用的扩散模型变体中自动构建模型级联,并根据需求波动动态分配资源。我们的实证评估表明,与最先进的模型服务系统相比,DiffServe在响应质量上实现了高达24%的提升,同时保持了19-70%更低的延迟违规率。

英文摘要:

Text-to-image generation using diffusion models has gained increasing popularity due to their ability to produce high-quality, realistic images based on text prompts. However, efficiently serving these models is challenging due to their computation-intensive nature and the variation in query demands. In this paper, we aim to address both problems simultaneously through query-aware model scaling. The core idea is to construct model cascades so that easy queries can be processed by more lightweight diffusion models without compromising image generation quality. Based on this concept, we develop an end-to-end text-to-image diffusion model serving system, DiffServe, which automatically constructs model cascades from available diffusion model variants and allocates resources dynamically in response to demand fluctuations. Our empirical evaluations demonstrate that DiffServe achieves up to 24% improvement in response quality while maintaining 19-70% lower latency violation rates compared to state-of-the-art model serving systems.

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

↑