Table of Contents
Fetching ...

Generator-Mediated Bandits: Thompson Sampling for GenAI-Powered Adaptive Interventions

Marc Brooks, Gabriel Durham, Kihyuk Hong, Ambuj Tewari

TL;DR

This work addresses online personalization when actions trigger high-dimensional, generator-produced treatments by introducing GAMBITTS, a two-stage Thompson sampling framework that models both the treatment-generation process and the reward mechanism. By projecting GenAI outputs to a low-dimensional treatment embedding and leveraging online or offline treatment learning (including ensemble approaches), the method achieves regret improvements over standard bandits in GenAI-mediated interventions. Theoretical guarantees decompose uncertainty from treatment and reward, showing conditions where GAMBITTS provides stronger guarantees, especially when the embedding is well-specified and reward noise dominates. Empirical results in mHealth-like simulations demonstrate robust performance gains across various settings, highlighting the practical potential for faster, more personalized GenAI-powered interventions while noting considerations around embedding misspecification and safety. The framework opens pathways for scalable, causal-aware adaptive interventions in healthcare, education, and marketing that leverage real-time GenAI generation.

Abstract

Recent advances in generative artificial intelligence (GenAI) models have enabled the generation of personalized content that adapts to up-to-date user context. While personalized decision systems are often modeled using bandit formulations, the integration of GenAI introduces new structure into otherwise classical sequential learning problems. In GenAI-powered interventions, the agent selects a query, but the environment experiences a stochastic response drawn from the generative model. Standard bandit methods do not explicitly account for this structure, where actions influence rewards only through stochastic, observed treatments. We introduce generator-mediated bandit-Thompson sampling (GAMBITTS), a bandit approach designed for this action/treatment split, using mobile health interventions with large language model-generated text as a motivating case study. GAMBITTS explicitly models both the treatment and reward generation processes, using information in the delivered treatment to accelerate policy learning relative to standard methods. We establish regret bounds for GAMBITTS by decomposing sources of uncertainty in treatment and reward, identifying conditions where it achieves stronger guarantees than standard bandit approaches. In simulation studies, GAMBITTS consistently outperforms conventional algorithms by leveraging observed treatments to more accurately estimate expected rewards.

Generator-Mediated Bandits: Thompson Sampling for GenAI-Powered Adaptive Interventions

TL;DR

This work addresses online personalization when actions trigger high-dimensional, generator-produced treatments by introducing GAMBITTS, a two-stage Thompson sampling framework that models both the treatment-generation process and the reward mechanism. By projecting GenAI outputs to a low-dimensional treatment embedding and leveraging online or offline treatment learning (including ensemble approaches), the method achieves regret improvements over standard bandits in GenAI-mediated interventions. Theoretical guarantees decompose uncertainty from treatment and reward, showing conditions where GAMBITTS provides stronger guarantees, especially when the embedding is well-specified and reward noise dominates. Empirical results in mHealth-like simulations demonstrate robust performance gains across various settings, highlighting the practical potential for faster, more personalized GenAI-powered interventions while noting considerations around embedding misspecification and safety. The framework opens pathways for scalable, causal-aware adaptive interventions in healthcare, education, and marketing that leverage real-time GenAI generation.

Abstract

Recent advances in generative artificial intelligence (GenAI) models have enabled the generation of personalized content that adapts to up-to-date user context. While personalized decision systems are often modeled using bandit formulations, the integration of GenAI introduces new structure into otherwise classical sequential learning problems. In GenAI-powered interventions, the agent selects a query, but the environment experiences a stochastic response drawn from the generative model. Standard bandit methods do not explicitly account for this structure, where actions influence rewards only through stochastic, observed treatments. We introduce generator-mediated bandit-Thompson sampling (GAMBITTS), a bandit approach designed for this action/treatment split, using mobile health interventions with large language model-generated text as a motivating case study. GAMBITTS explicitly models both the treatment and reward generation processes, using information in the delivered treatment to accelerate policy learning relative to standard methods. We establish regret bounds for GAMBITTS by decomposing sources of uncertainty in treatment and reward, identifying conditions where it achieves stronger guarantees than standard bandit approaches. In simulation studies, GAMBITTS consistently outperforms conventional algorithms by leveraging observed treatments to more accurately estimate expected rewards.

Paper Structure

This paper contains 45 sections, 17 theorems, 93 equations, 12 figures, 1 table, 3 algorithms.

Key Result

Theorem 1

Let $f_1^{off}$ be an empirical model for the treatment distribution satisfying eq:foGAMBITTS_ass. Let Alg be a contextual bandit algorithm that selects actions based on the estimated reward function $\widehat{m}_2$. Then, running $\text{Alg}$ in the partially online stochastic treatment setting giv where $\widehat{BR}^{\text{Alg}}_T$ is the $T$-step Bayesian regret of Alg with respect to $\wideha

Figures (12)

  • Figure 1: Generator-Mediated Bandit Causal Structure (Dotted lines = deterministic relationships)
  • Figure 2: Cumulative Regret Under Single-Dimension Reward Model
  • Figure 3: Cumulative Regret Under Treatment Embedding Misspecification
  • Figure 4: Cumulative Regret for Varying Across Sizes of Action Space
  • Figure 5: Cumulative Regret Across Outcome Variances
  • ...and 7 more figures

Theorems & Definitions (29)

  • Theorem 1
  • Corollary 1
  • Theorem 2
  • Theorem 3
  • Claim 1
  • proof
  • Theorem \ref{thm:poGAMBITTS_red}: Restated
  • Lemma 1: Pinsker's inequality
  • proof : Proof of Theorem \ref{['thm:poGAMBITTS_red']}
  • Lemma 2: Theorem 20.5 in lattimore2020bandit
  • ...and 19 more