mlsanityData to 14 Oct 2026

PromptWise: Online Learning for Cost-Aware Prompt Assignment in Generative Models

arXiv 2505.18901 ↗First posted 24 May 2025cs.LG cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

The rapid advancement of generative AI has provided users with a wide range of well-trained models to address diverse prompts. When selecting a model for a given prompt, users should weigh not only its performance but also its service cost. However, existing model-selection methods typically emphasize performance while overlooking cost differences. In this paper, we introduce PromptWise, an online learning framework that assigns prompts to generative models in a cost-aware manner. PromptWise estimates prompt-model compatibility to select the least expensive model expected to deliver satisfactory outputs. Unlike standard contextual bandits that make a one-shot decision per prompt, PromptWise employs a cost-aware bandit structure that allows sequential model assignments per prompt to reduce total service cost. Through numerical experiments on tasks such as code generation and translation, we demonstrate that PromptWise can achieve performance comparable to baseline selection methods while incurring substantially lower costs. The code is available at: github.com/yannxiaoyanhu/PromptWise.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 21 of its 39 references that are in the map. First posted on arXiv 24 May 2025.

Builds on

21 of 39 references.

References · 21

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  8. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  9. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
  10. 2023Nash Learning from Human Feedbackcited by 224
  11. 2017Training GANs with Optimismcited by 217
  12. 2013Finite-Time Analysis of Kernelised Contextual Banditscited by 177
9 more
  1. 2020Improved Optimistic Algorithms for Logistic Banditscited by 118
  2. 2023Reward-Directed Conditional Diffusion: Provable Distribution Estimation and Reward Improvementcited by 49
  3. 2019On the Performance of Thompson Sampling on Logistic Banditscited by 32
  4. 2025Prompt-to-Leaderboardcited by 30
  5. 2024DiffusionAgent: Navigating Expert Models for Agentic Image Generationcited by 28
  6. 2016The Multi-fidelity Multi-armed Banditcited by 22
  7. 2017An Online Learning Approach to Generative Adversarial Networkscited by 13
  8. 2024Cost Aware Best Arm Identificationcited by 13
  9. 2023Multi-Fidelity Multi-Armed Bandits Revisitedcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.