[Paper Review] PG-TS: Improved Thompson Sampling for Logistic Contextual Bandits
This paper proposes PG-TS, a novel Thompson Sampling algorithm for logistic contextual bandits that uses Pólya-Gamma augmentation to enable efficient, fully Bayesian posterior inference. By employing a Gibbs sampler with Pólya-Gamma latent variables, PG-TS achieves superior empirical performance over Laplace-TS and GLM-UCB, particularly in exploration-exploitation balance and convergence speed, while maintaining computational efficiency.
We address the problem of regret minimization in logistic contextual bandits, where a learner decides among sequential actions or arms given their respective contexts to maximize binary rewards. Using a fast inference procedure with Polya-Gamma distributed augmentation variables, we propose an improved version of Thompson Sampling, a Bayesian formulation of contextual bandits with near-optimal performance. Our approach, Polya-Gamma augmented Thompson Sampling (PG-TS), achieves state-of-the-art performance on simulated and real data. PG-TS explores the action space efficiently and exploits high-reward arms, quickly converging to solutions of low regret. Its explicit estimation of the posterior distribution of the context feature covariance leads to substantial empirical gains over approximate approaches. PG-TS is the first approach to demonstrate the benefits of Polya-Gamma augmentation in bandits and to propose an efficient Gibbs sampler for approximating the analytically unsolvable integral of logistic contextual bandits.
Motivation & Objective
- To address the challenge of intractable posterior inference in logistic contextual bandits, where standard Bayesian methods like Laplace approximation fail under high-dimensional or non-Gaussian contexts.
- To develop a fully Bayesian approach that enables accurate posterior estimation of model parameters and context feature covariances, improving exploration-exploitation trade-offs.
- To demonstrate the first application of Pólya-Gamma augmentation in bandit algorithms, enabling efficient MCMC sampling for analytically intractable posteriors.
- To evaluate PG-TS on both synthetic and real-world data, including news recommendation and forest cover type prediction, to validate its empirical superiority.
Proposed method
- Introduces Pólya-Gamma augmentation to transform the intractable logistic likelihood into a conditionally conjugate form, enabling efficient Gibbs sampling.
- Employs a Gibbs sampler that iteratively samples from the posterior of model parameters and Pólya-Gamma latent variables, leveraging conditional conjugacy.
- Explicitly estimates the posterior covariance of context features, improving exploration by capturing feature dependencies, unlike Laplace-TS which assumes independence.
- Uses batch updates for model inference to align with real-world online learning constraints, while maintaining low computational overhead.
- Applies the method to both simulated environments and real-world datasets, including Yahoo! Today Module and Forest Cover Type, under unbiased offline evaluation.
- Proposes PG-TS-stream as a streaming variant for low-latency deployment, preserving performance with minimal computational cost.
Experimental results
Research questions
- RQ1Can Pólya-Gameron augmentation be effectively leveraged to improve posterior sampling in logistic contextual bandits?
- RQ2Does explicit estimation of context feature covariance lead to better exploration and lower regret compared to Laplace approximation?
- RQ3How does PG-TS perform empirically in comparison to state-of-the-art baselines like Laplace-TS and GLM-UCB on both synthetic and real-world data?
- RQ4Can PG-TS maintain strong performance under streaming or delayed update settings common in real-world applications?
- RQ5What is the impact of Pólya-Gamma augmentation on convergence speed and regret minimization in high-dimensional or non-Gaussian feature settings?
Key findings
- PG-TS significantly outperforms Laplace-TS and GLM-UCB in terms of cumulative regret on both simulated and real-world data, including the Forest Cover Type dataset.
- On the Forest Cover Type dataset, PG-TS achieved lower regret and faster convergence, with a notable improvement in exploration efficiency compared to Laplace-TS, which often got stuck in sub-optimal arms.
- In the Yahoo! Today Module news recommendation task, PG-TS achieved a higher average click-through rate (CTR) than Laplace-TS across all delay settings, with the largest gains observed under short delays.
- The median frequency of draws for the top arms under PG-TS showed more balanced exploration than Laplace-TS, indicating better avoidance of premature convergence to sub-optimal arms.
- PG-TS-stream maintained strong performance with minimal computational overhead, demonstrating the feasibility of streaming deployment without sacrificing accuracy.
- The explicit modeling of context feature covariance in PG-TS led to more robust and adaptive exploration, especially in high-dimensional or non-Gaussian feature regimes where Laplace-TS underperforms.
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.