Meta-Learning for Simple Regret Minimization

Mohammadjavad Azizi, Branislav Kveton, Mohammad Ghavamzadeh, Sumeet Katariya

TL;DR

This paper introduces the first meta-learning framework for simple regret minimization (SRM) in bandit problems, where the goal is to identify the single best option after a fixed exploration phase across multiple related tasks. The authors propose both Bayesian and frequentist algorithms, proving theoretically and empirically that transferring knowledge across tasks significantly reduces the regret of finding the optimal choice.

What Problem Does This Paper Address?

Multi-armed bandit algorithms typically focus on minimizing cumulative regret—maximizing rewards while learning. However, many real-world scenarios, such as A/B testing website designs, hyperparameter tuning, or clinical drug trials, feature a distinct, resource-limited "test phase" followed by a "deployment phase." In these settings, the goal is simple regret minimization (SRM): finding the single best option at the end of the test phase, regardless of the rewards gathered during the test itself.

When an agent faces a sequence of similar tasks (e.g., running A/B tests repeatedly on different website layouts), standard SRM algorithms start from scratch each time. This paper addresses how to leverage experience from past tasks (meta-learning) to accelerate finding the best arm in future tasks when the underlying task distribution is initially unknown.

Methods

The authors propose a general meta-learning framework for fixed-horizon SRM and introduce two main algorithmic approaches:

  1. Bayesian Meta-SRM (B-metaSRM): This algorithm maintains a "meta-posterior" distribution over the parameters of the task prior. For each new task, it computes an uncertainty-adjusted prior to guide a base algorithm like Thompson Sampling or Bayesian UCB.
  2. Frequentist Meta-SRM (f-metaSRM): To avoid the computational intractability of maintaining a full meta-posterior for complex distributions, this approach uses an explicit exploration strategy in early tasks to directly estimate the prior parameters using frequentist techniques (like the method of moments or least-squares), then commits to this estimate.

A core theoretical tool introduced is a novel cumulative-to-simple-regret reduction. The authors show that if the base algorithm selects the final recommended arm with a probability proportional to how many times it was pulled during the task, the per-task simple regret is simply the cumulative regret divided by the horizon $n$.

Algorithm 1: Bayesian Meta-SRM

Datasets

The algorithms were evaluated using both synthetic and real-world data:

  • Synthetic Environments: Gaussian Multi-Armed Bandits (MAB) and Linear Gaussian Bandits.
  • Real-World Dataset: The MNIST handwritten digit dataset, cast as a multi-task linear bandit classification problem. In each task, the agent must identify a specific target digit class out of 30 random images presented per round.

Key Insights and Ideas

  • The Pull-Proportionality Trick: The reduction from cumulative to simple regret provides a clean bridge to adapt well-studied cumulative regret algorithms (like Thompson Sampling) directly to the SRM setting with strong guarantees.
  • The Bayesian vs. Frequentist Trade-off: The Bayesian approach achieves a superior meta simple regret bound ($\tilde{O}(m/\sqrt{n})$) because it gracefully handles uncertainty over the task distribution. However, it is often computationally intractable outside of conjugate setups (like Gaussian-Gaussian). The frequentist approach has a worse bound ($\tilde{O}(\sqrt{mn} + m/\sqrt{n})$) but is highly practical and generalizable to non-conjugate distributions (like Bernoulli rewards with Beta priors).
  • Information Sharing in Structure: Meta-learning provides a massive boost in structured environments (like linear bandits) because the underlying low-dimensional parameters are shared across all arms and tasks, making the "knowledge transfer" highly efficient.

Key Results

  • Theoretical Bounds: The authors proved that B-metaSRM achieves a meta simple regret of $\tilde{O}(m/\sqrt{n})$ over $m$ tasks with horizon $n$. f-metaSRM achieves $\tilde{O}(\sqrt{mn} + m/\sqrt{n})$, which they prove is near-optimal via a new lower bound.
  • Empirical Performance: In Gaussian MAB and Linear Bandit simulations, both meta-learning algorithms significantly outperformed standard, task-agnostic Thompson Sampling and state-of-the-art Best-Arm Identification (BAI) baselines like Sequential Halving.
  • MNIST Evaluation: On the MNIST dataset, B-metaSRM rapidly converged to the true oracle performance, demonstrating robustness even when compared against frequentist alternatives that struggled with model misspecification in non-linear environments.

Limitations and Future Work

  • Computational Intractability: The exact Bayesian update rule is only computationally efficient for specific conjugate pairs (e.g., Gaussian priors with Gaussian meta-priors). For other common distributions (like Beta-Binomial), approximations or discretization are required, which currently lack theoretical guarantees.
  • Explore-Then-Commit Simplicity: The frequentist algorithm is analyzed using a simple explore-then-commit strategy for ease of proof, which might be less efficient in practice than a fully online, continuously updating frequentist approach.
  • Future Directions: The authors suggest extending this SRM meta-learning framework to reinforcement learning (RL) problems, such as tabular and factored Markov Decision Processes (MDPs) or Partially Observable MDPs (POMDPs).

Summary updated

Abstract

We develop a meta-learning framework for simple regret minimization in bandits. In this framework, a learning agent interacts with a sequence of bandit tasks, which are sampled i.i.d.\ from an unknown prior distribution, and learns its meta-parameters to perform better on future tasks. We propose the first Bayesian and frequentist meta-learning algorithms for this setting. The Bayesian algorithm has access to a prior distribution over the meta-parameters and its meta simple regret over $m$ bandit tasks with horizon $n$ is mere $\tilde{O}(m / \sqrt{n})$. On the other hand, the meta simple regret of the frequentist algorithm is $\tilde{O}(\sqrt{m} n + m/ \sqrt{n})$. While its regret is worse, the frequentist algorithm is more general because it does not need a prior distribution over the meta-parameters. It can also be analyzed in more settings. We instantiate our algorithms for several classes of bandit problems. Our algorithms are general and we complement our theory by evaluating them empirically in several environments.
BibTeX
@inproceedings{azizi2023meta,
  author = {Mohammadjavad Azizi and Branislav Kveton and Mohammad Ghavamzadeh and Sumeet Katariya},
  title = {{Meta-Learning for Simple Regret Minimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=M4MyMH4nAv},
}
Figure