PAK-UCB Contextual Bandit: An Online Learning Approach to Prompt-Aware Selection of Generative Models and LLMs
Not on the map. Why?
Abstract (arXiv)
Selecting a sample generation scheme from multiple prompt-based generative models, including large language models (LLMs) and prompt-guided image and video generation models, is typically addressed by choosing the model that maximizes an averaged evaluation score. However, this score-based selection overlooks the possibility that different models achieve the best generation performance for different types of text prompts. An online identification of the best generation model for various input prompts can reduce the costs associated with querying sub-optimal models. In this work, we explore the possibility of varying rankings of text-based generative models for different text prompts and propose an online learning framework to predict the best data generation model for a given input prompt. The proposed PAK-UCB algorithm addresses a contextual bandit (CB) setting with shared context variables across the arms, utilizing the generated data to update kernel-based functions that predict the score of each model available for unseen text prompts. Additionally, we leverage random Fourier features (RFF) to accelerate the online learning process of PAK-UCB. Our numerical experiments on real and simulated text-to-image and image-to-text generative models show that RFF-UCB performs successfully in identifying the best generation model across different sample types. The code is available at: github.com/yannxiaoyanhu/dgm-online-select.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 30 of its 51 references that are in the map. First posted on arXiv 17 Oct 2024.
Builds on
30 of 51 references.
References · 30
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2016Improved Techniques for Training GANscited by 2,938
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,755
- 2018Demystifying MMD GANscited by 1,268
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,010
- 2023Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationcited by 950
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 498
18 more
- 2024Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Modelscited by 467
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
- 2023One Transformer Fits All Distributions in Multi-Modal Diffusion at Scalecited by 185
- 2013Finite-Time Analysis of Kernelised Contextual Banditscited by 177
- 2024DreamBench++: A Human-Aligned Benchmark for Personalized Image Generationcited by 131
- 2018Practical Contextual Bandits with Regression Oraclescited by 92
- 2015On the Error of Random Fourier Featurescited by 76
- 2018Random Fourier Features for Kernel Ridge Regression: Approximation Bounds and Statistical Guaranteescited by 71
- 2022Mutual Information Divergence: A Unified Metric for Multimodal Generative Modelscited by 35
- 2024Consistency-diversity-realism Pareto fronts of conditional image generative modelscited by 35
- 2024Towards a Scalable Reference-Free Evaluation of Generative Modelscited by 25
- 2024EVALALIGN: Supervised Fine-Tuning Multimodal LLMs with Human-Aligned Data for Evaluating Text-to-Image Modelscited by 20
- 2020Contextual-Bandit Based Personalized Recommendation with Time-Varying User Interestscited by 18
- 2024Stylus: Automatic Adapter Selection for Diffusion Modelscited by 18
- 2020Near-linear Time Gaussian Process Optimization with Adaptive Batching and Resparsificationcited by 13
- 2024A Multi-Armed Bandit Approach to Online Selection and Evaluation of Generative Modelscited by 13
- 2024Analyzing Quality, Bias, and Performance in Text-to-Image Generative Modelscited by 9
- 2024Stochastic Bandits for Egalitarian Assignmentcited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 7.
11 papers.
- 2025SPARKE: Scalable Prompt-Aware Diversity and Novelty Guidance in Diffusion Models via RKE Scorecited by 14
- 2024Do Vendi Scores Converge with Finite Samples? Truncated Vendi Score for Finite-Sample Convergence Guaranteescited by 12
- 2025Towards an Explainable Comparison and Alignment of Feature Embeddingscited by 9
- 2024Conditional Vendi Score: Prompt-Aware Diversity Evaluation for Generative AI Models and LLMscited by 6
- 2026MMD Guidance: Training-Free Distribution Adaptation for Diffusion Models via Maximum Mean Discrepancy Guidancecited by 3
- 2026The Maximum von Neumann Entropy Principle: Theory and Applications in Machine Learningcited by 3
- 2026Efficient Adversarial Attacks on High-dimensional Offline Banditscited by 2
- 2026DAK-UCB: Diversity-Aware Prompt Routing for LLMs and Generative Modelscited by 2
- 2026KODA: Contrastive Representation Comparison and Alignment for Vision-Language Foundation Modelscited by 2
- 2026Mixture-Greedy for Online Generative Model Selection: Is UCB Necessary in Diversity-Aware Multi-Armed Bandits?cited by 1
- 2026Exploring More to Solve More: Boosting Diversity in Text Diffusion Models via Entropy-Based Guidancecited by 1
- 2026Exploring More to Solve More: Boosting Diversity in Text Diffusion Models via Entropy-Based Guidance10 Jul 2026
- 2026KODA: Contrastive Representation Comparison and Alignment for Vision-Language Foundation Models2 Jun 2026
- 2026DAK-UCB: Diversity-Aware Prompt Routing for LLMs and Generative Models24 Mar 2026
- 2026Mixture-Greedy for Online Generative Model Selection: Is UCB Necessary in Diversity-Aware Multi-Armed Bandits?23 Mar 2026
- 2026The Maximum von Neumann Entropy Principle: Theory and Applications in Machine Learning2 Feb 2026
- 2026Efficient Adversarial Attacks on High-dimensional Offline Bandits2 Feb 2026
- 2026MMD Guidance: Training-Free Distribution Adaptation for Diffusion Models via Maximum Mean Discrepancy Guidance13 Jan 2026
- 2025SPARKE: Scalable Prompt-Aware Diversity and Novelty Guidance in Diffusion Models via RKE Score11 Jun 2025
- 2025Towards an Explainable Comparison and Alignment of Feature Embeddings6 Jun 2025
- 2024Conditional Vendi Score: Prompt-Aware Diversity Evaluation for Generative AI Models and LLMs5 Nov 2024
- 2024Do Vendi Scores Converge with Finite Samples? Truncated Vendi Score for Finite-Sample Convergence Guarantees29 Oct 2024