A Multi-Armed Bandit Approach to Online Selection and Evaluation of Generative Models

Xiaoyan Hu, Ho-fung Leung, Farzan Farnia
6/11/2024
cs.LG

Official code: yannxiaoyanhu/dgm-online-eval (1 star, MIT, last commit 2025-05-25).

Abstract

Existing frameworks for evaluating and comparing generative models consider an offline setting, where the evaluator has access to large batches of data produced by the models. However, in practical scenarios, the goal is often to identify and select the best model using the fewest possible generated samples to minimize the costs of querying data from the sub-optimal models. In this work, we propose an online evaluation and selection framework to find the generative model that maximizes a standard assessment score among a group of available models. We view the task as a multi-armed bandit (MAB) and propose upper confidence bound (UCB) bandit algorithms to identify the model producing data with the best evaluation score that quantifies the quality and diversity of generated data. Specifically, we develop the MAB-based selection of generative models considering the Fréchet Distance (FD) and Inception Score (IS) metrics, resulting in the FD-UCB and IS-UCB algorithms. We prove regret bounds for these algorithms and present numerical results on standard image datasets. Our empirical results suggest the efficacy of MAB approaches for the sample-efficient evaluation and selection of deep generative models. The project code is available at https://github.com/yannxiaoyanhu/dgm-online-eval.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository of the paper "A Multi-Armed Bandit Approach to Online Evaluation and Selection of Generative Models"

10PythonMar 9, 20251 years agoMIT

Similar Papers

Cite this paper

@article{hu2024multiarmed,
  title  = {A Multi-Armed Bandit Approach to Online Selection and Evaluation of Generative Models},
  author = {Xiaoyan Hu and Ho-fung Leung and Farzan Farnia},
  year   = {2024},
  eprint = {2406.07451},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.07451v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.07451.svg)](https://codeofpaper.com/paper/2406.07451)

Discussion