A Tutorial on Thompson Sampling
Not on the map. Why?
Cited by 38 in Deep reinforcement learning methods, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Thompson sampling is an algorithm for online decision problems where actions are taken sequentially in a manner that must balance between exploiting what is known to maximize immediate performance and investing to accumulate new information that may improve future performance. The algorithm addresses a broad range of problems in a computationally efficient manner and is therefore enjoying wide use. This tutorial covers the algorithm and its application, illustrating concepts through a range of examples, including Bernoulli bandit problems, shortest path problems, product recommendation, assortment, active learning with neural networks, and reinforcement learning in Markov decision processes. Most of these problems involve complex information structures, where information revealed by taking an action informs beliefs about other actions. We will also discuss when and why Thompson sampling is or is not effective and relations to alternative algorithms.
Key facts. Cited by 433 papers in the map (data through 14 Oct 2026). First posted on arXiv 7 Jul 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2019: 1; 2020: 1; 2021: 63; 2022: 69; 2023: 64; 2024: 77; 2025: 69; 2026: 89.
433 papers.
Sort:
By area:
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 139
- 2021Epistemic Neural Networkscited by 120
- 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 107
- 2022Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Trainingcited by 79
- 2022Recent Advances in Bayesian Optimizationcited by 76
- 2024Can large language models explore in-context?cited by 76
- 2024Variational Bayesian Last Layerscited by 69
- 2021Meta-Thompson Samplingcited by 63
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
- 2021Reinforcement Learning, Bit by Bitcited by 59
- 2021Exploration in Deep Reinforcement Learning: From Single-Agent to Multiagent Domaincited by 58
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 51
38 more
- 2021Reinforcement Learning for Selective Key Applications in Power Systems: Recent Advances and Future Challengescited by 50
- 2022Evolution Gym: A Large-Scale Benchmark for Evolving Soft Robotscited by 47
- 2024Efficient Exploration for LLMscited by 45
- 2021Off-Policy Evaluation via Adaptive Weighting with Data from Contextual Banditscited by 40
- 2023Robust Multi-Agent Reinforcement Learning with State Uncertaintycited by 36
- 2021Hierarchical Bayesian Banditscited by 35
- 2025MAT-Agent: Adaptive Multi-Agent Training Optimizationcited by 35
- 2024Standard Gaussian Process is All You Need for High-Dimensional Bayesian Optimizationcited by 34
- 2022Model-based RL with Optimistic Posterior Sampling: Structural Conditions and Sample Complexitycited by 32
- 2022Policy learning "without" overlap: Pessimism and generalized empirical Bernstein's inequalitycited by 32
- 2023Thompson sampling for improved exploration in GFlowNetscited by 32
- 2023Approximate Thompson Sampling via Epistemic Neural Networkscited by 31
- 2021No Regrets for Learning the Prior in Banditscited by 30
- 2021From Predictions to Decisions: The Importance of Joint Predictive Distributionscited by 29
- 2024A Unified Confidence Sequence for Generalized Linear Models, with Applications to Banditscited by 29
- 2019Watch, Try, Learn: Meta-Learning from Demonstrations and Rewardcited by 28
- 2021Deep Reinforcement Learning Versus Evolution Strategies: A Comparative Surveycited by 28
- 2022Hindsight Learning for MDPs with Exogenous Inputscited by 26
- 2021Metadata-based Multi-Task Bandits with Bayesian Hierarchical Modelscited by 24
- 2021Diversified Sampling for Batched Bayesian Optimization with Determinantal Point Processescited by 24
- 2022An Analysis of Ensemble Samplingcited by 24
- 2023Improved Regret Bounds of (Multinomial) Logistic Bandits via Regret-to-Confidence-Set Conversioncited by 24
- 2021Deciding What to Learn: A Rate-Distortion Approachcited by 23
- 2023Low-rank extended Kalman filtering for online learning of neural networks from streaming datacited by 23
- 2021Online Multi-Armed Bandits with Adaptive Inferencecited by 22
- 2021The Neural Testbed: Evaluating Joint Predictionscited by 22
- 2022Designing Reinforcement Learning Algorithms for Digital Interventions: Pre-implementation Guidelinescited by 22
- 2022How to talk so AI will learn: Instructions, descriptions, and autonomycited by 22
- 2022Langevin Monte Carlo for Contextual Banditscited by 22
- 2021Policy Learning with Adaptively Collected Datacited by 21
- 2022Non-Stationary Bandit Learning via Predictive Samplingcited by 21
- 2021Parallelizing Thompson Samplingcited by 20
- 2025BanditSpec: Adaptive Speculative Decoding via Bandit Algorithmscited by 20
- 2021Reinforcement Learning for Feedback-Enabled Cyber Resiliencecited by 19
- 2022BayesFormer: Transformer with Uncertainty Estimationcited by 19
- 2022Deciding What to Model: Value-Equivalent Sampling for Reinforcement Learningcited by 19
- 2022Ensembles for Uncertainty Estimation: Benefits of Prior Functions and Bootstrappingcited by 19
- 2022Reward Design For An Online Reinforcement Learning Algorithm Supporting Oral Self-Carecited by 18
50 most cited of 433 All 433 (JSON)
- 2026Bayesian Learning to Select Fair Classifiers14 Oct 2026
- 2026Thompson Sampling for Learning in Zero-Sum Games11 Oct 2026
- 2026Accelerating Linear Bandits with Persistent Candidate Sets9 Oct 2026
- 2026FlexiFlow: Bandit-based Model Switching in ML Workflows5 Oct 2026
- 2026Billion-Scale Thumbnail Optimization for Uncurated Short-Form Videos via Multi-Armed Bandits4 Oct 2026
- 2026Feedback-Calibrated Protein Optimization with Batch-Aligned Tail Arbitration29 Sep 2026
- 2026Deep Epistemic Value Functions for Optimistic Exploration28 Sep 2026
- 2026Future Information-Directed Sampling for Bayesian Nonstationary Bandits27 Sep 2026
- 2026ALF: An Active Learning Framework for Scientific Discovery25 Sep 2026
- 2026Adaptive Random Matrices in Gaussian Bandits: Spectral Universality and Selection-Induced Outliers23 Sep 2026
- 2026Exact Bayes Regret and Asymptotic Optimality in High-Dimensional Gaussian Bandits23 Sep 2026
- 2026CART: Closed-Loop Adaptive Red Teaming for Large Language Models23 Sep 2026
38 more
- 2026Odds-Ratio Thompson Sampling: A Specification and Design Guide for Contrast-Based Multi-Armed Bandits17 Sep 2026
- 2026Synthetic Linguistic Agency: How an Embodied Mortal Agent Learns Linguistic Affordances through Consequential Social Experience28 Aug 2026
- 2026Certified Predictive Value-of-Advice Gating for Cost-Aware Language-Model Guidance in Reinforcement Learning26 Aug 2026
- 2026varepsilon-MemEvo: Adaptive Cross-Task Memory Transfer for LLM Program Evolution12 Aug 2026
- 2026PACE: Primitive-Aware Code Evolution for Automated Algorithm Design7 Aug 2026
- 2026Bootstrap-Conditioned Action Selection with Tabular Foundation Models6 Aug 2026
- 2026LLM-Derived Priors for Thompson Sampling in Cold-Start Comment Recommendation4 Aug 2026
- 2026The Bayesian Reflex: A Predictive Coding Engine for Artificial Intelligence1 Aug 2026
- 2026Cost-Aware Recovery-Pathway Identification and Bayesian Optimization for Autonomous Materials Discovery26 Jul 2026
- 2026Transfer Learning Architectures for Scalable Multi-Fidelity Bayesian Optimization26 Jul 2026
- 2026A Diffusion-Model Subpopulation Digital Twin for Mobile Health Deployment: A Case Study on the HeartSteps Intervention23 Jul 2026
- 2026Counterfactual Shapley Credit Assignment18 Jul 2026
- 2026Stochastic Reset Pathfinding: Path-Level Regret for Cascading Bandits over Graph Paths16 Jul 2026
- 2026Closed-Loop Bayesian Bandit Encoder with GRAND Receiver for a Bursty Interference Channel16 Jul 2026
- 2026Data Driven Block Replacement Scheduling16 Jul 2026
- 2026Prompt-Driven Exploration: Language as an Exploration Space for VLA Reinforcement Learning9 Jul 2026
- 2026Mathematical methods of reinforcement learning8 Jul 2026
- 2026On the Design Space of Discrete Diffusion Online Adaptation for Molecular Optimization3 Jul 2026
- 2026Fuzzing Large Language Models to Elicit Hidden Behaviours28 Jun 2026
- 2026Graph Dimensionality Reduction for Contextual Bandits: Structure-Specific Regret Bounds under Approximate Smoothness and Noisy Eigenspaces26 Jun 2026
- 2026Learning to Fold: prizewinning solution at LeHome Challenge 2026 (1st place online, 2nd offline)25 Jun 2026
- 2026Formally Verified Code Synthesis for Structured Data Translation in a Medical Internet of Things18 Jun 2026
- 2026Prioritizing Search Space Regions in the Low Autocorrelation Binary Sequences Problem17 Jun 2026
- 2026Discovery under Hypothesis Redundancy: A Geometric Theory of Discovery Bottlenecks12 Jun 2026
- 2026JailbreakOPT: Tool-Assisted Iterative Jailbreak Prompt Optimization9 Jun 2026
- 2026Bayesian learning for the stochastic shortest path problem3 Jun 2026
- 2026MINTS: Minimalist Thompson Sampling1 Jun 2026
- 2026ReSkill: Reconciling Skill Creation with Policy Optimization in Agentic RL1 Jun 2026
- 2026Variance-sensitive Thompson sampling for generalised linear bandits, revisited29 May 2026
- 2026Contextual Scalarisation Thompson Sampling for multi-objective decisions in public media29 May 2026
- 2026Evolving Skill-Structured Attack Memory Enhances LLM Jailbreaking28 May 2026
- 2026Evolving Robustness--Exploration Trade-off in Online Reinforcement Learning via Quantile Bayesian Risk MDPs23 May 2026
- 2026APEX: Autonomous Policy Exploration for Self-Evolving LLM Agents20 May 2026
- 2026Not all uncertainty is alike: volatility, stochasticity, and exploration19 May 2026
- 2026SMCEvolve: Principled Scientific Discovery via Sequential Monte Carlo Evolution14 May 2026
- 2026In-Context Learning for Data-Driven Censored Inventory Control14 May 2026
- 2026Fed-BAC: Federated Bandit-Guided Additive Clustering in Hierarchical Federated Learning12 May 2026
- 2026Sample-Mean Anchored Thompson Sampling for Offline-to-Online Learning with Distribution Shift11 May 2026
50 newest of 433 All 433 (JSON)
- 2024Improved Off-policy Reinforcement Learning in Biological Sequence Designcited by 13
- 2025DISCOVER: Automated Curricula for Sparse-Reward Reinforcement Learningcited by 12
- 2024Reinforcement learning-assisted quantum architecture search for variational quantum algorithmscited by 10
- 2026Emergent Dexterity via Diverse Resets and Large-Scale Reinforcement Learningcited by 10
- 2024Waypoint-Based Reinforcement Learning for Robot Manipulation Taskscited by 9
- 2025SOMBRL: Scalable and Optimistic Model-Based RLcited by 7
- 2024Q-Star Meets Scalable Posterior Sampling: Bridging Theory and Practice via HyperAgentcited by 6
- 2024Random Latent Exploration for Deep Reinforcement Learningcited by 6
- 2025The Sample Complexity of Online Reinforcement Learning: A Multi-model Perspectivecited by 6
- 2024Model-Free Active Exploration in Reinforcement Learningcited by 5
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directionscited by 5
- 2024Satisficing Exploration for Deep Reinforcement Learningcited by 4
12 most cited of 36 All 36 (JSON)
- 2026Deep Epistemic Value Functions for Optimistic Exploration28 Sep 2026
- 2026Certified Predictive Value-of-Advice Gating for Cost-Aware Language-Model Guidance in Reinforcement Learning26 Aug 2026
- 2026Counterfactual Shapley Credit Assignment18 Jul 2026
- 2026Mathematical methods of reinforcement learning8 Jul 2026
- 2026Evolving Robustness--Exploration Trade-off in Online Reinforcement Learning via Quantile Bayesian Risk MDPs23 May 2026
- 2026When (and How) to Trust the Expert: Diagnosing Query-Time Expert-Guided Reinforcement Learning9 May 2026
- 2026Optimistic Online LQR via Intrinsic Rewards30 Mar 2026
- 2026Emergent Dexterity via Diverse Resets and Large-Scale Reinforcement Learning16 Mar 2026
- 2026Exploiting Expertise of Non-Expert and Diverse Agents in Social Bandit Learning: A Free Energy Approach12 Mar 2026
- 2026In-Context Reinforcement Learning From Suboptimal Historical Data27 Jan 2026
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directions21 Jan 2026
- 2026In-Context Reinforcement Learning through Bayesian Fusion of Context and Value Prior6 Jan 2026
12 newest of 36 All 36 (JSON)
- 2025Toward Efficient Exploration by Large Language Model Agentscited by 17
- 2026EvoRoute: Experience-Driven Self-Routing LLM Agent Systemscited by 16
- 2026ReSkill: Reconciling Skill Creation with Policy Optimization in Agentic RLcited by 14
- 2023Shattering the Agent-Environment Interface for Fine-Tuning Inclusive Language Modelscited by 8
- 2026The Context Gathering Decision Process: A POMDP Framework for Agentic Searchcited by 6
- 2025Agentic Personalisation of Cross-Channel Marketing Experiencescited by 3
- 2026Cognitive Models and AI Algorithms Provide Templates for Designing Language Agentscited by 2
- 2026APEX: Autonomous Policy Exploration for Self-Evolving LLM Agentscited by 2
- 2025SPARK: Search Personalization via Agent-Driven Retrieval and Knowledge-sharingcited by 0
- 2026Synthetic Linguistic Agency: How an Embodied Mortal Agent Learns Linguistic Affordances through Consequential Social Experiencecited by 0
- 2026Synthetic Linguistic Agency: How an Embodied Mortal Agent Learns Linguistic Affordances through Consequential Social Experience28 Aug 2026
- 2026ReSkill: Reconciling Skill Creation with Policy Optimization in Agentic RL1 Jun 2026
- 2026APEX: Autonomous Policy Exploration for Self-Evolving LLM Agents20 May 2026
- 2026The Context Gathering Decision Process: A POMDP Framework for Agentic Search7 May 2026
- 2026Cognitive Models and AI Algorithms Provide Templates for Designing Language Agents26 Feb 2026
- 2026EvoRoute: Experience-Driven Self-Routing LLM Agent Systems6 Jan 2026
- 2025SPARK: Search Personalization via Agent-Driven Retrieval and Knowledge-sharing30 Dec 2025
- 2025Agentic Personalisation of Cross-Channel Marketing Experiences19 Jun 2025
- 2025Toward Efficient Exploration by Large Language Model Agents29 Apr 2025
- 2023Shattering the Agent-Environment Interface for Fine-Tuning Inclusive Language Models19 May 2023
- 2019Watch, Try, Learn: Meta-Learning from Demonstrations and Rewardcited by 28
- 2024Pretraining Decision Transformers with Reward Prediction for In-Context Multi-task Structured Bandit Learningcited by 10
- 2025Posterior Behavioral Cloning: Pretraining BC Policies for Efficient RL Finetuningcited by 8
- 2023What can online reinforcement learning with function approximation benefit from general coverage conditions?cited by 4
- 2024Unified PAC-Bayesian Study of Pessimism for Offline Policy Learning with Regularized Importance Samplingcited by 3
- 2020Distilled Thompson Sampling: Practical and Efficient Thompson Sampling via Imitation Learningcited by 1
- 2023Selective Uncertainty Propagation in Offline RLcited by 0
- 2026Bayesian Conservative Policy Optimization (BCPO): A Novel Uncertainty-Calibrated Offline Reinforcement Learning with Credible Lower Boundscited by 0
- 2026Bayesian Conservative Policy Optimization (BCPO): A Novel Uncertainty-Calibrated Offline Reinforcement Learning with Credible Lower Bounds6 Mar 2026
- 2025Posterior Behavioral Cloning: Pretraining BC Policies for Efficient RL Finetuning18 Dec 2025
- 2024Pretraining Decision Transformers with Reward Prediction for In-Context Multi-task Structured Bandit Learning7 Jun 2024
- 2024Unified PAC-Bayesian Study of Pessimism for Offline Policy Learning with Regularized Importance Sampling5 Jun 2024
- 2023What can online reinforcement learning with function approximation benefit from general coverage conditions?25 Apr 2023
- 2023Selective Uncertainty Propagation in Offline RL1 Feb 2023
- 2020Distilled Thompson Sampling: Practical and Efficient Thompson Sampling via Imitation Learning29 Nov 2020
- 2019Watch, Try, Learn: Meta-Learning from Demonstrations and Reward7 Jun 2019
- 2023Thompson Sampling with Diffusion Generative Priorcited by 7
- 2025Steering Generative Models with Experimental Data for Protein Fitness Optimizationcited by 7
- 2025Addressing Missing Data Issue for Diffusion-based Recommendationcited by 4
- 2025Diffusion Models in Recommendation Systems: A Surveycited by 3
- 2024Online Posterior Sampling with a Diffusion Priorcited by 2
- 2026A Diffusion-Model Subpopulation Digital Twin for Mobile Health Deployment: A Case Study on the HeartSteps Interventioncited by 1
- 2026On the Design Space of Discrete Diffusion Online Adaptation for Molecular Optimizationcited by 0
- 2026A Diffusion-Model Subpopulation Digital Twin for Mobile Health Deployment: A Case Study on the HeartSteps Intervention23 Jul 2026
- 2026On the Design Space of Discrete Diffusion Online Adaptation for Molecular Optimization3 Jul 2026
- 2025Steering Generative Models with Experimental Data for Protein Fitness Optimization21 May 2025
- 2025Addressing Missing Data Issue for Diffusion-based Recommendation18 May 2025
- 2025Diffusion Models in Recommendation Systems: A Survey17 Jan 2025
- 2024Online Posterior Sampling with a Diffusion Prior4 Oct 2024
- 2023Thompson Sampling with Diffusion Generative Prior12 Jan 2023
- 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RLcited by 11
- 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approachcited by 8
- 2025SPaCe: Unlocking Sample-Efficient Large Language Models Training With Self-Pace Curriculum Learningcited by 4
- 2024Geometric Analysis of Reasoning Trajectories: A Phase Space Approach to Understanding Valid and Invalid Multi-Hop Reasoning in LLMscited by 2
- 2025Robust Search with Uncertainty-Aware Value Models for Language Model Reasoningcited by 2
- 2026Epistemic Regret Minimization: Label-Free Causal Critique Beyond Outcome Rewardcited by 2
- 2025TextBandit: Evaluating Probabilistic Reasoning in LLMs Through Language-Only Decision Taskscited by 1
- 2026Epistemic Regret Minimization: Label-Free Causal Critique Beyond Outcome Reward12 Feb 2026
- 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RL24 Nov 2025
- 2025TextBandit: Evaluating Probabilistic Reasoning in LLMs Through Language-Only Decision Tasks13 Oct 2025
- 2025SPaCe: Unlocking Sample-Efficient Large Language Models Training With Self-Pace Curriculum Learning7 Aug 2025
- 2025Strategic Scaling of Test-Time Compute: A Bandit Learning Approach15 Jun 2025
- 2025Robust Search with Uncertainty-Aware Value Models for Language Model Reasoning16 Feb 2025
- 2024Geometric Analysis of Reasoning Trajectories: A Phase Space Approach to Understanding Valid and Invalid Multi-Hop Reasoning in LLMs6 Oct 2024
- 2024Sample-Efficient Alignment for LLMscited by 16
- 2024Online Bandit Learning with Offline Preference Data for Improved RLHFcited by 6
- 2025Intelligently Weighting Multiple Reference Models for Direct Preference Optimization of LLMscited by 1
- 2025RLAF: Reinforcement Learning from Automaton Feedbackcited by 0
- 2026RIE-Greedy: Regularization-Induced Exploration for Contextual Banditscited by 0
- 2026RIE-Greedy: Regularization-Induced Exploration for Contextual Bandits11 Mar 2026
- 2025Intelligently Weighting Multiple Reference Models for Direct Preference Optimization of LLMs10 Dec 2025
- 2025RLAF: Reinforcement Learning from Automaton Feedback17 Oct 2025
- 2024Sample-Efficient Alignment for LLMs3 Nov 2024
- 2024Online Bandit Learning with Offline Preference Data for Improved RLHF13 Jun 2024
- 2026Evolving Skill-Structured Attack Memory Enhances LLM Jailbreakingcited by 3
- 2026JailbreakOPT: Tool-Assisted Iterative Jailbreak Prompt Optimizationcited by 1
- 2026Fuzzing Large Language Models to Elicit Hidden Behaviourscited by 0
- 2026CART: Closed-Loop Adaptive Red Teaming for Large Language Modelscited by 0
- 2026CART: Closed-Loop Adaptive Red Teaming for Large Language Models23 Sep 2026
- 2026Fuzzing Large Language Models to Elicit Hidden Behaviours28 Jun 2026
- 2026JailbreakOPT: Tool-Assisted Iterative Jailbreak Prompt Optimization9 Jun 2026
- 2026Evolving Skill-Structured Attack Memory Enhances LLM Jailbreaking28 May 2026
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 139
- 2021Epistemic Neural Networkscited by 120
- 2022Zeus: Understanding and Optimizing GPU Energy Consumption of DNN Trainingcited by 79
- 2022Recent Advances in Bayesian Optimizationcited by 76
- 2024Can large language models explore in-context?cited by 76
- 2024Variational Bayesian Last Layerscited by 69
- 2021Meta-Thompson Samplingcited by 63
- 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
- 2021Reinforcement Learning, Bit by Bitcited by 59
- 2021Exploration in Deep Reinforcement Learning: From Single-Agent to Multiagent Domaincited by 58
- 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 51
- 2021Reinforcement Learning for Selective Key Applications in Power Systems: Recent Advances and Future Challengescited by 50
12 most cited of 351 All 351 (JSON)
- 2026Bayesian Learning to Select Fair Classifiers14 Oct 2026
- 2026Thompson Sampling for Learning in Zero-Sum Games11 Oct 2026
- 2026Accelerating Linear Bandits with Persistent Candidate Sets9 Oct 2026
- 2026FlexiFlow: Bandit-based Model Switching in ML Workflows5 Oct 2026
- 2026Billion-Scale Thumbnail Optimization for Uncurated Short-Form Videos via Multi-Armed Bandits4 Oct 2026
- 2026Feedback-Calibrated Protein Optimization with Batch-Aligned Tail Arbitration29 Sep 2026
- 2026Future Information-Directed Sampling for Bayesian Nonstationary Bandits27 Sep 2026
- 2026ALF: An Active Learning Framework for Scientific Discovery25 Sep 2026
- 2026Adaptive Random Matrices in Gaussian Bandits: Spectral Universality and Selection-Induced Outliers23 Sep 2026
- 2026Exact Bayes Regret and Asymptotic Optimality in High-Dimensional Gaussian Bandits23 Sep 2026
- 2026Odds-Ratio Thompson Sampling: A Specification and Design Guide for Contrast-Based Multi-Armed Bandits17 Sep 2026
- 2026varepsilon-MemEvo: Adaptive Cross-Task Memory Transfer for LLM Program Evolution12 Aug 2026
12 newest of 351 All 351 (JSON)