Vanilla Policy Optimization Is Both Optimal and Differentially Private for Stochastic Contextual Bandits

Idan Attias, Orin Levy, Alexander Ryabchenko, Yishay Mansour, Uri StemmerarXiv 2026

TL;DR

This paper proves that "vanilla" Policy Optimization (PO)—simple exponential updates based on offline regression—achieves near-optimal regret in stochastic contextual bandits without needing explicit exploration bonuses. By implementing a batched version, the authors demonstrate that this approach can be made differentially private with minimal performance loss, providing a computationally efficient and privacy-preserving framework for personalized decision-making.

What Problem Does This Paper Address?

Contextual multi-armed bandits (CMAB) are the workhorse of personalization, powering everything from news recommendations to clinical trials. The core challenge is the exploration-exploitation trade-off: how do you try new actions to learn their value without losing too much "regret" (potential reward) in the process?

Traditionally, achieving "optimal" regret required complex mechanisms like exploration bonuses or importance weighting, which are often computationally expensive or difficult to implement with modern deep learning models. Furthermore, as these systems handle sensitive user data, there is a growing need for Differential Privacy (DP). However, standard DP techniques often suffer from "privacy composition," where the privacy guarantee weakens every time the model is updated. The authors ask: can a simple, standard policy optimization algorithm be both theoretically optimal and robustly private?

Methods

The authors analyze Vanilla Policy Optimization (VANILLAPO), which uses standard exponential weight updates:

  1. Regression Oracle: At each step (or batch), the learner fits a regression model $\hat{f}$ to all past context-action-loss data.
  2. Exponential Update: The policy is updated by downweighting actions with higher predicted losses: $\pi_{t+1}(a|c) \propto \pi_t(a|c) \exp(-\eta \hat{f}_t(c,a))$.

To address computational and privacy concerns, they introduce Batched Vanilla PO:

  • Geometric Batching: The policy is only updated $O(\log T)$ times over $T$ rounds.
  • Private Regression: They replace the standard regression oracle with a Differentially Private (DP) oracle (e.g., using the Exponential Mechanism or objective perturbation).
  • Privacy without Composition: Because each batch of data is used for exactly one private update and then discarded, the privacy cost does not accumulate across the entire run. The total privacy cost is simply the cost of a single oracle call.

Datasets

The researchers evaluated their algorithms using a standard benchmark protocol:

  • OpenML: They used 100 unique multiclass classification datasets from the OpenML repository.
  • Transformation: Classification tasks were converted into bandit problems where class labels are actions, feature vectors are contexts, and a correct prediction results in zero loss (reward), while an incorrect one results in a loss of one.
  • Scale: The datasets ranged from 1,000 to nearly 90,000 examples with 2 to 10 possible actions.

Key Insights and Ideas

  • Implicit Exploration: The most striking finding is that Vanilla PO explores "by accident." Because the exponential updates are gradual, the algorithm doesn't immediately abandon suboptimal actions. This "slowness" ensures the regression oracle continues to receive enough data about all actions to eventually learn their true values—no explicit "bonus" required.
  • The Power of Batching for Privacy: In many DP settings, updating a model 1,000 times makes it 1,000 times less private (or requires 1,000x more noise). By using disjoint batches and a "billboard" model (where the policy is public once released), the authors bypass this linear scaling, achieving strong privacy with near-optimal regret.
  • Robustness to Noise: The experiments suggest that PO-based methods are more robust to the noise introduced by privacy mechanisms compared to traditional "upper confidence bound" (UCB) methods, which rely on precise uncertainty estimates that privacy noise can easily distort.

Key Results

  • Theoretical Optimality: For a finite function class $\mathcal{F}$, Vanilla PO achieves a regret of $\widetilde{O}(\sqrt{AT \log |\mathcal{F}|})$, which matches the known lower bounds for this setting.
  • Privacy Guarantees: The private version achieves pure $\varepsilon$-DP with a regret overhead of roughly $(1 + \varepsilon^{-1/2})$.
  • Empirical Dominance: In head-to-head comparisons on 100 datasets, a variant called BonusPO (PO with a small added exploration bonus) was the clear winner, outperforming baselines like SquareCB, LinUCB, and RegCB on 70%–95% of the datasets.
  • Graceful Degradation: As privacy constraints were tightened (moving from $\varepsilon=8$ to $\varepsilon=1$), the PO methods maintained their relative performance advantages, while UCB-style methods (LinUCB, AdaCB) saw their performance degrade more sharply.

Limitations and Future Work

  • Stochastic Assumption: The current proof relies on contexts being drawn from a fixed, independent distribution (stochastic setting). It does not yet cover "adversarial" contexts where an opponent might choose contexts to trick the learner.
  • Realizability: The theory assumes the true loss function actually lives within the chosen function class $\mathcal{F}$. If the model is misspecified, the guarantees may not hold.
  • Function Class Complexity: While the paper handles finite classes and linear/logistic models, extending the theory to general non-linear function classes (like deep neural networks) remains an open challenge.
  • Scaling to RL: The authors suggest that the principles of "implicit exploration" found here could potentially be extended to full Reinforcement Learning, where decisions have long-term consequences beyond a single round.

Summary updated

BibTeX
@misc{attias2026vanilla,
  author = {Idan Attias and Orin Levy and Alexander Ryabchenko and Yishay Mansour and Uri Stemmer},
  title = {{Vanilla Policy Optimization Is Both Optimal and Differentially Private for Stochastic Contextual Bandits}},
  year = {2026},
  eprint = {2609.33888},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.33888},
}
Figure