Abstract
Reinforcement Learning from Human Feedback (RLHF) and Bandit algorithms frequently employ Kullback-Leibler (KL) regularization to maintain stability and prevent policy divergence. This research reveals that KL-regularization inherently provides formal Differential Privacy (DP) guarantees. By leveraging the intrinsic randomness of regularized policies, the authors demonstrate that privacy can be achieved without the traditional "privacy tax" of artificial noise injection, offering a robust framework for protecting sensitive human preference data.
Introduction
As large language models (LLMs) are increasingly fine-tuned on sensitive user data and human preferences, the risk of memorizing and leaking private information becomes a critical concern. Differential Privacy (DP) is the gold standard for mitigating this risk, ensuring that an algorithm's output remains statistically similar regardless of whether any single individual's data is included in the training set. However, traditional DP methods often require a "privacy tax"—the injection of artificial noise (e.g., Gaussian or Laplace) into the training process, which can significantly degrade model performance.
This paper explores a compelling alternative: can we achieve privacy "for free" by utilizing the randomness already present in standard optimization tools? The authors focus on KL-regularization, a technique ubiquitous in RLHF used to prevent fine-tuned models from straying too far from their base versions.
Methods and Theoretical Framework
The researchers analyze three offline decision-making settings: Multi-Armed Bandits (MAB), Linear Contextual Bandits, and RLHF. The core of their argument is a mathematical bridge between KL-regularization and the Exponential Mechanism, a foundational tool in DP.
The Generalized Exponential Mechanism
The authors prove that the optimal policy resulting from a KL-regularized objective naturally satisfies DP. They introduce a "Generalized Exponential Mechanism" that extends standard theory to accommodate arbitrary reference policies and partial data coverage.
Pessimism as a Privacy Guard
In offline learning, certain actions may have very little data coverage. To prevent these rare actions from leaking information, the authors incorporate a pessimism penalty. While pessimism is traditionally used to ensure robust performance, this work shows it serves a dual purpose: it ensures that actions with insufficient data are sampled with exponentially low probability, thereby protecting the privacy of those specific data points.
Key Results
The study provides both theoretical bounds and empirical simulations to validate the privacy-preserving properties of KL-regularization.
Pure and Approximate DP
When the dataset covers all possible actions, the authors provide "pure" DP guarantees ($\epsilon_0$). As shown in the figure below, the privacy budget $\epsilon_0$ improves (decreases) as both the data coverage and the regularization strength ($\eta$) increase.
In cases of partial data coverage, the authors prove $(\epsilon, \delta)$-DP guarantees. They demonstrate an exponential trade-off where a very small $\epsilon$ can be maintained with a $\delta$ that decays exponentially as the dataset size grows.
Performance Stability
Simulations indicate that for practical ranges of regularization (e.g., $\eta < 0.1$), the mean performance of the policy remains stable or even improves with the addition of pessimism, even as formal privacy guarantees become quite strong. This suggests a rare "win-win" scenario where the same tool provides both stability and privacy.
Limitations and Future Work
While promising, the current analysis has several limitations:
- Scope: The proofs are currently limited to offline, single-stage settings. Extending these results to online, sequential decision-making is a primary area for future research.
- Composition: The privacy guarantee applies to a single action sampled from the policy. Repeated queries to the model will degrade the privacy guarantee according to standard composition theorems.
- Reference Policy: The analysis assumes the "base model" (reference policy) is either public or already private. If the base model contains sensitive data, the overall privacy chain may be compromised.
Conclusion
By identifying KL-regularization as an intrinsic privacy mechanism, this work opens a new path for developing privacy-preserving AI. It suggests that for many RL and bandit applications, formal privacy may not require additional noise, but rather a principled application of the regularization techniques already in use.
Summary updated