Shuffle and Joint Differential Privacy for Generalized Linear Contextual Bandits

Sahasrajit SarmasarkarNeurIPS 2026

TL;DR

Contextual bandits power personalized decisions in healthcare, education, and news, where user privacy is paramount—yet most differentially private bandit algorithms assume rewards are strictly linear, missing out on binary outcomes like clicks or recoveries. This paper introduces the first algorithms for Generalized Linear Model (GLM) contextual bandits under both shuffle and joint differential privacy. Even without closed-form equations to lean on, these methods match the optimal performance of non-private baselines in their leading terms while dropping restrictive assumptions about how user data is distributed.

What Problem Does This Paper Address?

Imagine an algorithm recommending treatments to patients sequentially. It observes patient features (context), chooses an action (arm), and sees an outcome (reward), aiming to minimize "regret"—the gap between its choices and the optimal ones over $T$ rounds. Because patient data is sensitive, we want Differential Privacy (DP). Standard central DP is impossible here without ruining performance (recommending a tailored treatment inherently depends on that specific patient's features), so researchers turn to two clever relaxations:

  • Shuffle DP: Users add a bit of local noise to their data and send it to a trusted "shuffler" that randomly permutes everyone's messages before the central learner sees them, amplifying privacy.
  • Joint DP: Guarantees that the actions recommended to all other users remain private with respect to any single user's data.

Until now, shuffle and joint DP bandits were limited to linear reward models. Linear models have a massive mathematical convenience: a closed-form ridge regression estimator, meaning you can privatize the system simply by adding noise to summary matrices ($X^\top X$ and $X^\top r$).

Real-world binary or count rewards require Generalized Linear Models (GLMs) like logistic or probit regression. GLMs have no closed-form solution; they require iterative optimization. Furthermore, theonly prior private GLM bandit work relied on weaker local DP and required strict "spectral assumptions" (essentially forcing user feature vectors to spread out nicely in all directions). This paper asks: can we achieve strong shuffle and joint DP for GLM bandits without closed-form estimators or restrictive data assumptions?

Comparison with prior work on private contextual bandits.

Methods

The author designs two algorithms tailored to how contexts arrive:

  1. ShuffleGLM (Stochastic Contexts / Shuffle DP): Users are grouped into predetermined, exponentially growing batches. In each batch, a "design" group of users helps privately learn an exploration policy—a privatized Distributional Optimal Design (DOD)—using shuffled vector summation. Unlike non-private DOD, which adaptively filters user data (a privacy nightmare), ShuffleGLM splits users into $4d + 1$ fixed phases so each user participates once, making privacy accounting clean. Subsequent "estimation" users play this policy, and a shuffle-private convex optimizer (private gradient descent) estimates the GLM parameters.
  2. Joint-DP GLM (Adversarial Contexts / Joint DP): When contexts arrive adversarially, batching doesn't work. Instead, the algorithm uses a binary-tree mechanism to continually release noisy design matrices at every round, paired with Differentially Private Projected Gradient Descent (DP-PGD). Because continuous noise makes the matrices non-monotone (they don't strictly grow), standard determinant-doubling rules for updating policies break. The author replaces this with a directional growth criterion (checking matrix inequalities) triggered strictly by public, noisy matrices so the timing of updates leaks zero private information.

Datasets

No real-world benchmark datasets are used. The author evaluates the Joint-DP algorithm using synthetic simulations on probit bandit instances ($K = 20$ arms, dimension $d = 3$, over $T = 5,000$ rounds), sampling true parameters from a sphere and arm features uniformly from the unit ball.

Key Insights and Ideas

  • Taming nonlinearity ($\kappa$) for free: In GLMs, link functions like the sigmoid flatten out at the extremes. A parameter $\kappa$ measures this flatness and can grow exponentially, wrecking regret bounds. Rather than reweighting the private optimizer's loss function, the algorithms absorb link-function curvature directly into the confidence ellipsoid geometry (via weighted design matrices). This keeps $\kappa$ completely out of the dominant $\sqrt{T}$ regret term!
  • Optimization error is surprisingly forgiving: Because there is no closed-form estimator, private iterative optimization introduces an approximation error $\nu$. The analysis proves this error enters the confidence radius only as $O(\sqrt{\nu})$, allowing a clean trade-off between optimization steps and utility.
  • Preventing timing leaks: In adaptive bandits, when you choose to recompute your model can leak private user data. By triggering model updates exclusively via public, already-privatized matrices and enforcing hard caps on total updates, the switching schedule becomes pure post-processing—costing zero extra privacy budget.

Key Results

  • Theoretical Bounds: Both ShuffleGLM and Joint-DP GLM achieve $\widetilde{O}(\sqrt{T/\varepsilon})$ privacy-dependent regret, with leading non-private terms matching state-of-the-art non-private GLM rates ($\widetilde{O}(d\sqrt{T\log T/\kappa^\ast})$ and $\widetilde{O}(d\sqrt{T}\log T)$, respectively). Privacy acts only as an additive penalty, and only basic $\ell_2$ boundedness of contexts is required.
  • Simulation Performance: Across synthetic probit tasks where $\kappa$ was swept from $\approx 18.39$ to $\approx 222.15$, older non-private baselines degraded badly (GLM-UCB regret jumped from $1400.27$ to $2323.06$; GLOC jumped from $384.68$ to $1346.59$). Meanwhile, the proposed Private-GLM stayed remarkably stable: at $\kappa \approx 222.15$, cumulative regret was $712.86$ ($\varepsilon=4$), $522.69$ ($\varepsilon=6$), and $417.73$ ($\varepsilon=8$), steadily approaching the non-private state-of-the-art RS-GLinUCB ($186.97$).

Limitations and Future Work

  • Known Horizon: Both algorithms require knowing the time horizon $T$ in advance (though the standard "doubling trick" can make them anytime at the cost of a constant factor in regret).
  • Sub-optimal Privacy Penalty: In the Joint-DP setting, the privacy-dependent regret term scales with $\sqrt{T/\varepsilon}$, which exceeds the known theoretical lower bound of $\Omega(d/(\varepsilon + \delta))$. Closing this gap under adversarial contexts remains an open problem—one that currently mirrors an identical unsolved gap in simpler linear contextual bandits.

Summary updated

BibTeX
@inproceedings{sarmasarkar2026shuffle,
  author = {Sahasrajit Sarmasarkar},
  title = {{Shuffle and Joint Differential Privacy for Generalized Linear Contextual Bandits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=WJANtQdwZH},
}
Figure