NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On Inherent Privacy of Posterior Sampling: A Unified R\'enyi-Divergence Framework

Ruyu Zhou, Fang LiuNeurIPS 2026

TL;DR

Usually, making a machine learning model differentially private means injecting artificial noise into your calculations, which inevitably degrades accuracy. However, Bayesian posterior sampling has natural randomness built right in—offering a form of mathematical privacy "for free." This paper builds a unified mathematical framework to measure exactly how much inherent privacy a single Bayesian sample provides across a wide range of standard statistical models, often yielding tighter guarantees than previously thought possible without adding a single drop of extra noise.

What Problem Does This Paper Address?

Differential Privacy (DP) is the gold standard for ensuring that an algorithm's output doesn't leak whether any single individual was in the training dataset. While most DP methods rely on adding calibrated external noise, stochastic algorithms have intrinsic randomness that already masks individual data points.

One-Posterior-Sampling (OPS)—drawing a single parameter vector $\theta^*$ from a Bayesian posterior distribution—is a prime example. Because of DP’s post-processing property, if that single draw $\theta^*$ is private, anything you generate from it (infinite predictions or synthetic data) is also private for free. Prior attempts to quantify this "free" privacy were boxed in by heavy restrictions: they required likelihood ratios to be strictly bounded, demanded specific conjugate priors, or relied on triangle-inequality math that produced overly conservative (loose) privacy bounds. The authors set out to find a sharp, general way to measure OPS privacy across everyday Bayesian models.

Methods

Instead of relying on classical "pure" DP, which looks at worst-case absolutes, the authors use Rényi Differential Privacy (RDP). RDP measures the Rényi divergence (a generalization of KL-divergence parameterized by an order $\alpha > 1$) between two output distributions generated from "neighboring" datasets (datasets differing by one record).

Here is what is novel in their approach:

  1. Exact Decomposition: When comparing two neighboring posteriors, the prior distributions cancel out. The authors show that the Rényi divergence is exacly governed by just two specific exponential moments (evaluated at $-1$ and $\alpha - 1$) of the single-record log-likelihood ratio under the posterior.
  2. Three Tail Regimes: Because exact moments depend on the specific dataset, getting a universal DP guarantee requires bounding them across all possible datasets. Rather than forcing the log-likelihood ratio to be strictly bounded, the authors derive explicit RDP formulas under three progressively relaxed tail behaviors: uniformly bounded, sub-Gaussian, and sub-exponential.

Datasets

Not discussed in the paper. (This is a purely theoretical work; no empirical datasets or benchmarks are used.)

Key Insights and Ideas

  • Resolving the "Attainability Gap": Previous proofs for bounded likelihoods assumed both parts of the privacy loss equation could hit their worst-case limits simultaneously. The authors prove this is mathematically impossible (one goes up as the other goes down), allowing them to derive a strictly tighter bound.
  • Sub-Gaussian OPS $\approx$ The Gaussian Mechanism: When a model's single-record log-likelihood ratio has sub-Gaussian tails, drawing one sample from the posterior gives you the exact same privacy profile as explicitly adding Gaussian noise to a deterministic function.
  • Priors Act as Privacy Knobs: In models with Gaussian priors, a smaller prior variance $\tau^2$ (a more informative prior) directly tightens privacy bounds. Intuitively, if you lean harder on your prior beliefs, the posterior listens less to any single person's private data.
  • "Swap" vs. "Drop" Changes the Physics of Privacy: In DP, neighboring datasets are defined either as bounded (swapping one person's record for another) or unbounded (adding or removing a record). In Gaussian models, swapping a record yields clean sub-Gaussian privacy. Removing a record, however, slightly inflates the posterior's variance (making it less sharp). This structural change creates heavier tails, causing privacy bounds to blow up to infinity if $\alpha$ gets too large!

Key Results

By applying their unified framework to specific models, the authors achieve concrete theoretical improvements:

  • Categorical Models: For categorical data with parameters bounded in $[\eta, 1-\eta]$, their new bound significantly beats classical pure-DP bounds. At $\eta = 0.1$ and Rényi order $\alpha = 2$, their bound gives an RDP $\varepsilon$ of ~3.033, compared to ~4.394 from older static methods (smaller $\varepsilon$ means stronger privacy).
  • Bayesian Logistic Regression: For covariates bounded by radius $R$ and Gaussian prior variance $\tau^2$, they match existing bounds ($2\alpha R^2\tau^2$) when covariates change, but tighten the bound by 75% (down to $\alpha R^2\tau^2 / 2$) when only the binary label is flipped, thanks to canceling log-partition terms.
  • Gaussian & Linear Regression: They provide the first quantitative OPS privacy profiles for conjugate Gaussian models and Bayesian linear regression. They show privacy loss scales inversely with an "effective sample size" $\omega = n + \sigma^2/\tau^2$, proving that OPS can achieve arbitrarily strong privacy under bounded neighboring simply by gathering more data ($n \to \infty$).

Limitations and Future Work

  • Missing $n$-dependence in GLMs: For Generalized Linear Models (like logistic regression), the derived privacy bounds do not improve as dataset size $n$ grows. Because the curvature of the likelihood can flatten toward zero in worst-case scenarios, the math has to rely entirely on the Gaussian prior for stability. Adding mild assumptions about data geometry could unlock $n$-dependent bounds in future work.
  • Loose Sub-Exponential Approximations: While their general theorem for sub-exponential tails works (e.g., for linear regression when covariates are swapped), estimating those tail parameters using standard matrix norms introduces conservative $n^2$ terms that artificially inflate the privacy loss bound.
  • Next Steps: The authors suggest developing sharper parameter-estimation tools for complex models where exact moment-generating functions aren't available, and applying OPS directly to privacy-preserving synthetic data generation and variational inference.

Summary updated

BibTeX
@inproceedings{zhou2026inherent,
  author = {Ruyu Zhou and Fang Liu},
  title = {{On Inherent Privacy of Posterior Sampling: A Unified R\textbackslash\{\}'enyi-Divergence Framework}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Y14ZdLhgIu},
}
Figure