[Paper Review] Differentiable Bandit Exploration
This paper introduces a differentiable, gradient-based approach to learning optimal exploration policies for Bayesian multi-armed bandits by optimizing the Bayes reward over a distribution of problem instances. It proposes a novel differentiable softmax policy, SoftElim, and uses policy gradients with variance reduction to train neural networks and other policies, achieving lower Bayes regret than standard baselines while learning implicit biases from the data distribution.
Exploration policies in Bayesian bandits maximize the average reward over problem instances drawn from some distribution $\mathcal{P}$. In this work, we learn such policies for an unknown distribution $\mathcal{P}$ using samples from $\mathcal{P}$. Our approach is a form of meta-learning and exploits properties of $\mathcal{P}$ without making strong assumptions about its form. To do this, we parameterize our policies in a differentiable way and optimize them by policy gradients, an approach that is general and easy to implement. We derive effective gradient estimators and introduce novel variance reduction techniques. We also analyze and experiment with various bandit policy classes, including neural networks and a novel softmax policy. The latter has regret guarantees and is a natural starting point for our optimization. Our experiments show the versatility of our approach. We also observe that neural network policies can learn implicit biases expressed only through the sampled instances.
Motivation & Objective
- To develop a general, differentiable framework for learning bandit exploration policies without strong assumptions about the prior distribution P.
- To optimize policies for maximum Bayes reward using policy gradients, enabling end-to-end training via stochastic optimization.
- To design a new differentiable bandit policy, SoftElim, with provably sublinear regret and ease of optimization.
- To demonstrate that neural networks can learn implicit biases in the data distribution through policy gradient training.
- To reduce gradient variance in bandit policy optimization using problem-specific baselines and novel variance reduction techniques.
Proposed method
- Parameterize bandit policies using differentiable functions, including neural networks and a novel softmax policy (SoftElim), where action probabilities depend on estimated suboptimality gaps and counts.
- Formulate the Bayes reward as the expected cumulative reward over sampled problem instances from an unknown prior P, and optimize it via policy gradient methods.
- Derive the reward gradient using the likelihood ratio trick and introduce two variance-reduction baselines: self-baseline and optimal hindsight baseline, tailored to the bandit setting.
- Introduce SoftElim, a differentiable policy where the probability of pulling arm i is proportional to exp(θ × (max_j μ_j - μ_i)^2 × T_i), enabling optimistic exploration with theoretical regret guarantees.
- Use empirical estimation of the gradient from sampled episodes and apply stochastic gradient ascent to train the policy parameters.
- Evaluate the method on synthetic and real-world bandit problems, comparing performance to UCB1, Thompson Sampling, and Exp3.
Experimental results
Research questions
- RQ1Can we learn effective exploration policies for Bayesian bandits by optimizing the Bayes reward using differentiable policy gradients?
- RQ2Does a differentiable softmax policy like SoftElim achieve sublinear regret while remaining amenable to gradient-based optimization?
- RQ3How effective are variance reduction techniques tailored to the bandit structure in improving sample efficiency and convergence of policy gradient training?
- RQ4Can neural network policies learn complex, implicit biases in the prior distribution P without explicit supervision?
- RQ5Is the Bayes reward objective concave in the policy parameters, enabling convergence guarantees under gradient ascent?
Key findings
- The proposed method, GradBand, successfully learns bandit policies that achieve lower Bayes regret than UCB1, Thompson Sampling, and Exp3 across various problem instances.
- The SoftElim policy achieves O(1) regret constant with θ=8, significantly improving upon the O(KΔ⁻⁴) bound of prior work, and is easily optimized via gradient descent.
- Neural network policies trained via policy gradients learn to ignore suboptimal arms and focus on relevant ones, demonstrating the ability to capture implicit biases from the data distribution.
- The use of a hindsight optimal baseline (b^opt) and self-baseline significantly reduces gradient variance, improving training stability and convergence speed.
- Empirical results show that Bayes regret does not increase with the number of arms K when using RNN-based policies, unlike classical algorithms, due to learned attention to relevant arms.
- The method generalizes well across diverse bandit problems, including those with structured or high-dimensional priors, suggesting broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.