arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.11972cs.DC
收藏

MoDM:通过混合扩散模型实现高效的图像生成服务

MoDM: Efficient Serving for Image Generation via Mixture-of-Diffusion Models

Yuchen Xia, Divyam Sharma, Yichao Yuan, Souvik Kundu, Nishil Talati

AI总结:

针对扩散文本到图像生成模型速度与质量难以兼顾的问题,提出基于缓存的MoDM服务系统,通过混合大小扩散模型、全局GPU资源调度,在保画质的同时将平均服务时间缩短2.5倍,实现高效可扩展部署。

摘要:

基于扩散的文本到图像生成模型以延迟换取质量:小模型速度快但生成的图像质量较低,而大模型生成的图像质量更好但速度较慢。我们提出了MoDM,这是一种新型的基于缓存的扩散模型服务系统,它通过混合扩散模型动态平衡延迟与质量。与依赖于模型特定内部特征的现有方法不同,MoDM缓存最终图像,从而可以在多个扩散模型系列之间无缝检索和复用。这种设计通过动态平衡延迟和图像质量实现了自适应服务:对缓存命中的请求使用较小的模型以降低延迟,同时为缓存未命中的请求保留较大的模型以维持质量。小模型的图像质量通过检索到的缓存图像得以保持。我们设计了一个全局监控器,用于优化分配GPU资源并平衡推理工作负载,确保在变化的请求速率下既能实现高吞吐量,又能满足服务级别目标。我们的评估表明,MoDM在保持图像质量的同时,将平均服务时间显著缩短了2.5倍,是一种可扩展且资源高效的模型部署实用方案。

英文摘要:

Diffusion-based text-to-image generation models trade latency for quality: small models are fast but generate lower-quality images, while large models produce better images but are slow. We present MoDM, a novel caching-based serving system for diffusion models that dynamically balances latency and quality through a mixture of diffusion models. Unlike prior approaches that rely on model-specific internal features, MoDM caches final images, allowing seamless retrieval and reuse across multiple diffusion model families. This design enables adaptive serving by dynamically balancing latency and image quality: using smaller models for cache-hit requests to reduce latency while reserving larger models for cache-miss requests to maintain quality. Small model image quality is preserved using retrieved cached images. We design a global monitor that optimally allocates GPU resources and balances inference workload, ensuring high throughput while meeting service-level objectives under varying request rates. Our evaluations show that MoDM significantly reduces average serving time by 2.5x while retaining image quality, making it a practical solution for scalable and resource-efficient model deployment.

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

↑