Cost-Aware Routing for Efficient Text-To-Image Generation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Qinchan, Chen, Kenneth, Su, Changyue, Jitkrittum, Wittawat, Sun, Qi, Sangkloy, Patsorn
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912443792359424
author Li, Qinchan
Chen, Kenneth
Su, Changyue
Jitkrittum, Wittawat
Sun, Qi
Sangkloy, Patsorn
author_facet Li, Qinchan
Chen, Kenneth
Su, Changyue
Jitkrittum, Wittawat
Sun, Qi
Sangkloy, Patsorn
contents Diffusion models are well known for their ability to generate a high-fidelity image for an input prompt through an iterative denoising process. Unfortunately, the high fidelity also comes at a high computational cost due the inherently sequential generative process. In this work, we seek to optimally balance quality and computational cost, and propose a framework to allow the amount of computation to vary for each prompt, depending on its complexity. Each prompt is automatically routed to the most appropriate text-to-image generation function, which may correspond to a distinct number of denoising steps of a diffusion model, or a disparate, independent text-to-image model. Unlike uniform cost reduction techniques (e.g., distillation, model quantization), our approach achieves the optimal trade-off by learning to reserve expensive choices (e.g., 100+ denoising steps) only for a few complex prompts, and employ more economical choices (e.g., small distilled model) for less sophisticated prompts. We empirically demonstrate on COCO and DiffusionDB that by learning to route to nine already-trained text-to-image models, our approach is able to deliver an average quality that is higher than that achievable by any of these models alone.
format Preprint
id arxiv_https___arxiv_org_abs_2506_14753
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Cost-Aware Routing for Efficient Text-To-Image Generation
Li, Qinchan
Chen, Kenneth
Su, Changyue
Jitkrittum, Wittawat
Sun, Qi
Sangkloy, Patsorn
Computer Vision and Pattern Recognition
Machine Learning
Diffusion models are well known for their ability to generate a high-fidelity image for an input prompt through an iterative denoising process. Unfortunately, the high fidelity also comes at a high computational cost due the inherently sequential generative process. In this work, we seek to optimally balance quality and computational cost, and propose a framework to allow the amount of computation to vary for each prompt, depending on its complexity. Each prompt is automatically routed to the most appropriate text-to-image generation function, which may correspond to a distinct number of denoising steps of a diffusion model, or a disparate, independent text-to-image model. Unlike uniform cost reduction techniques (e.g., distillation, model quantization), our approach achieves the optimal trade-off by learning to reserve expensive choices (e.g., 100+ denoising steps) only for a few complex prompts, and employ more economical choices (e.g., small distilled model) for less sophisticated prompts. We empirically demonstrate on COCO and DiffusionDB that by learning to route to nine already-trained text-to-image models, our approach is able to deliver an average quality that is higher than that achievable by any of these models alone.
title Cost-Aware Routing for Efficient Text-To-Image Generation
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2506.14753