RAPID: Retrieval and Predictability for Improved Stable Diffusion

IF 7 1区 计算机科学 Q1 TELECOMMUNICATIONS IEEE Transactions on Cognitive Communications and Networking Pub Date : 2025-01-13 DOI:10.1109/TCCN.2025.3528895
Jingyi Ping;Zhongxing Ming;Laizhong Cui
{"title":"RAPID: Retrieval and Predictability for Improved Stable Diffusion","authors":"Jingyi Ping;Zhongxing Ming;Laizhong Cui","doi":"10.1109/TCCN.2025.3528895","DOIUrl":null,"url":null,"abstract":"Latent Diffusion Models (LDM) have emerged as a prominent approach within the broader field of generative AI, particularly for consumer-level image generation tasks. These models enable efficient inference of Diffusion Models (DM) by leveraging latent space representations, reducing computational requirements while preserving output quality and flexibility. Advanced sampling algorithms further enhance inference speed and quality, enabling large-scale, low-latency image generation services. However, image generation inference remains time-consuming, and there is no specialized scheduling system in the domain of large-scale image generation models to ensure high resource utilization and latency guarantees. To address this, we introduce a two-stage method of saving intermediate samples, which helps to bypass initial sampling steps and accelerates image generation time. To provide predictable and high-utilization services for large-scale image generation requests, we conduct an in-depth analysis of the LDM structure and find that the response computation time is highly predictable. We further propose RAPID, an online acceleration scheduling framework designed for LDM-based networking request services. RAPID effectively reduces latency and optimizes load balancing across heterogeneous GPUs through precise computation scheduling tailored to specific GPUs. Extensive experiments indicate that RAPID achieves a ~37% increase in inference speed in multi-GPU high-concurrency environments.","PeriodicalId":13069,"journal":{"name":"IEEE Transactions on Cognitive Communications and Networking","volume":"11 2","pages":"1091-1102"},"PeriodicalIF":7.0000,"publicationDate":"2025-01-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Cognitive Communications and Networking","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10838596/","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"TELECOMMUNICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Latent Diffusion Models (LDM) have emerged as a prominent approach within the broader field of generative AI, particularly for consumer-level image generation tasks. These models enable efficient inference of Diffusion Models (DM) by leveraging latent space representations, reducing computational requirements while preserving output quality and flexibility. Advanced sampling algorithms further enhance inference speed and quality, enabling large-scale, low-latency image generation services. However, image generation inference remains time-consuming, and there is no specialized scheduling system in the domain of large-scale image generation models to ensure high resource utilization and latency guarantees. To address this, we introduce a two-stage method of saving intermediate samples, which helps to bypass initial sampling steps and accelerates image generation time. To provide predictable and high-utilization services for large-scale image generation requests, we conduct an in-depth analysis of the LDM structure and find that the response computation time is highly predictable. We further propose RAPID, an online acceleration scheduling framework designed for LDM-based networking request services. RAPID effectively reduces latency and optimizes load balancing across heterogeneous GPUs through precise computation scheduling tailored to specific GPUs. Extensive experiments indicate that RAPID achieves a ~37% increase in inference speed in multi-GPU high-concurrency environments.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
RAPID:改进稳定扩散的检索和可预测性
潜在扩散模型(Latent Diffusion Models, LDM)已经成为更广泛的生成人工智能领域的一种突出方法,特别是在消费者级图像生成任务中。这些模型通过利用潜在空间表示来实现扩散模型(DM)的有效推理,减少了计算需求,同时保持了输出质量和灵活性。先进的采样算法进一步提高了推理速度和质量,实现了大规模、低延迟的图像生成服务。然而,图像生成推理仍然是耗时的,并且在大规模图像生成模型领域没有专门的调度系统来保证高资源利用率和延迟保证。为了解决这个问题,我们引入了一种两阶段保存中间样本的方法,这有助于绕过初始采样步骤并加快图像生成时间。为了为大规模图像生成请求提供可预测和高利用率的服务,我们对LDM结构进行了深入分析,发现响应计算时间具有高度可预测性。我们进一步提出了RAPID,一个为基于ldm的网络请求服务设计的在线加速调度框架。RAPID通过针对特定gpu的精确计算调度,有效降低时延,优化异构gpu间的负载均衡。大量实验表明,RAPID在多gpu高并发环境下的推理速度提高了约37%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
IEEE Transactions on Cognitive Communications and Networking
IEEE Transactions on Cognitive Communications and Networking Computer Science-Artificial Intelligence
CiteScore
15.50
自引率
7.00%
发文量
108
期刊介绍: The IEEE Transactions on Cognitive Communications and Networking (TCCN) aims to publish high-quality manuscripts that push the boundaries of cognitive communications and networking research. Cognitive, in this context, refers to the application of perception, learning, reasoning, memory, and adaptive approaches in communication system design. The transactions welcome submissions that explore various aspects of cognitive communications and networks, focusing on innovative and holistic approaches to complex system design. Key topics covered include architecture, protocols, cross-layer design, and cognition cycle design for cognitive networks. Additionally, research on machine learning, artificial intelligence, end-to-end and distributed intelligence, software-defined networking, cognitive radios, spectrum sharing, and security and privacy issues in cognitive networks are of interest. The publication also encourages papers addressing novel services and applications enabled by these cognitive concepts.
期刊最新文献
Task-Adaptive Semantic Communication With Feedback: A Conditional Rate-Distortion Approach Generative Intent Prediction Agentic AI empowered Edge Service Function Chain Orchestration Beyond Single-Signal Recognition: A Time-Frequency DL-AMR Model with Enhanced Generalizability and Beamforming Robustness Hybrid DRL Based Uplink BS Selection and Power Control for Mobility Management in FD-RAN Quantity Allocation, Trajectory Planning and Association Optimization for Efficient Relay Transmissions in UAV-Aided Vehicular Networks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1