arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.13787cs.CVcs.LG
收藏

大型云端模型与轻量级边缘模型之间文本到图像生成请求的自适应路由

Adaptive Routing of Text-to-Image Generation Requests Between Large Cloud Model and Light-Weight Edge Model

Shanghai Jiao Tong University(上海交通大学)

Zewei Xin, Qinya Li, Chaoyue Niu, Fan Wu, Guihai Chen

AI总结:

本文提出RouteT2I路由框架,通过多维质量指标、关键token影响预测和Pareto相对优势比较,在云端大模型与边缘轻量模型之间动态分配文本到图像生成请求,以在保持生成质量的同时显著降低云端调用成本。

摘要:

大型文本到图像模型展现出令人印象深刻的生成能力;然而,其庞大的规模使得部署需要昂贵的云服务器。相反,轻量级模型可以以较低成本部署在边缘设备上,但对于复杂的用户提示,其生成质量往往较差。为了在性能与成本之间取得平衡,我们提出了一种名为RouteT2I的路由框架,该框架为每个用户提示动态选择大型云端模型或轻量级边缘模型。由于生成图像的质量难以直接测量和比较,RouteT2I建立了多维质量指标,特别是通过评估生成图像与描述每个具体质量指标的正向文本和负向文本之间的相似性。随后,RouteT2I通过识别提示中的关键token并比较它们对质量的影响来预测生成图像的预期质量。RouteT2I进一步引入Pareto相对优势来比较多指标下的生成图像质量。基于这一比较以及预定义的成本约束,RouteT2I将提示分配给边缘模型或云端模型。评估结果表明,RouteT2I在保持高质量图像生成的同时,显著减少了请求大型云端模型的次数。

英文摘要:

Large text-to-image models demonstrate impressive generation capabilities; however, their substantial size necessitates expensive cloud servers for deployment. Conversely, light-weight models can be deployed on edge devices at lower cost but often with inferior generation quality for complex user prompts. To strike a balance between performance and cost, we propose a routing framework, called RouteT2I, which dynamically selects either the large cloud model or the light-weight edge model for each user prompt. Since generated image quality is challenging to measure and compare directly, RouteT2I establishes multi-dimensional quality metrics, particularly, by evaluating the similarity between the generated images and both positive and negative texts that describe each specific quality metric. RouteT2I then predicts the expected quality of the generated images by identifying key tokens in the prompt and comparing their impact on the quality. RouteT2I further introduces the Pareto relative superiority to compare the multi-metric quality of the generated images. Based on this comparison and predefined cost constraints, RouteT2I allocates prompts to either the edge or the cloud. Evaluation reveals that RouteT2I significantly reduces the number of requesting large cloud model while maintaining high-quality image generation.

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

↑