Differentially Private Reinforcement Learning with Linear Function Approximation

Xingyu Zhou

TL;DR

This paper introduces the first differentially private reinforcement learning (RL) algorithms designed for environments with large state and action spaces. By using linear function approximation and a "binary counting" noise mechanism, the authors achieve sub-linear regret—meaning the agent learns efficiently—while guaranteeing that individual user data remains protected under the framework of Joint Differential Privacy (JDP).

What Problem Does This Paper Address?

Reinforcement learning is the engine behind many personalized services, such as news recommendations, medical treatment plans, and predictive keyboards (like Gboard). In these settings, the RL agent learns by interacting with users: it observes a user's state, suggests an action, and receives feedback (a reward).

However, this feedback often contains highly sensitive information. If an adversary observes the recommendations made to other users, they might be able to infer private data about a specific individual. While Differential Privacy (DP) is the gold standard for data protection, standard DP is often too restrictive for RL; if an algorithm is forbidden from changing its output based on a user's data, it cannot provide a "personalized" service.

Furthermore, previous research into private RL was limited to "tabular" settings, where the number of states and actions is small enough to fit in a simple table. Real-world applications have nearly infinite states, requiring "function approximation" (using models to generalize across states). This paper bridges the gap between privacy and scalability.

Methods

The authors focus on Linear Mixture MDPs, where the transition dynamics and rewards are modeled as linear functions of known features. To make these models private, they employ several key techniques:

  • Joint Differential Privacy (JDP): This is a relaxed version of DP. It ensures that the actions recommended to all users except user $k$ do not reveal sensitive information about user $k$. This allows for personalization while maintaining a high level of security against collusion.
  • Binary Counting Mechanism: To learn the linear model, the agent needs to maintain cumulative statistics (like covariance matrices). Instead of adding noise to the final result, the authors use a tree-based binary counting mechanism to inject Gaussian noise into partial sums. This keeps the total noise low enough to maintain utility while satisfying privacy requirements.
  • Changing Regularizers: A major technical contribution is a new analytical framework for RL with "changing regularizers." Because the DP noise injected into the system changes in every episode, the standard proofs for RL stability don't apply. The authors developed new confidence bounds that remain valid even when the regularization (noise) fluctuates.
  • Two New Algorithms: They propose Private-LinOpt-VI (a value-iteration-based approach) and Private-LinOpt-PO (a policy-optimization approach using mirror descent).

Datasets

Not discussed in the paper. This is a theoretical work focused on mathematical proofs of privacy and regret bounds. No empirical experiments or specific datasets were used for evaluation.

Key Insights and Ideas

  • Privacy as Regularization: One of the "aha" moments is treating the noise required for differential privacy as a form of dynamic regularization. By proving that RL agents can remain stable under "changing regularizers," the authors created a general recipe for turning non-private RL algorithms into private ones.
  • Breaking the Curse of Dimensionality: In tabular RL, the "cost" of privacy usually scales with the number of states. In this linear framework, the regret is independent of the number of states and only scales logarithmically with the number of actions. This makes the approach viable for massive, real-world systems.
  • The JDP Advantage: The paper highlights that JDP is the "Goldilocks" privacy definition for RL—strong enough to protect against adversaries with side information, but flexible enough to allow the algorithm to actually learn from user behavior.

Key Results

The authors prove that both algorithms achieve sub-linear regret, specifically:

  • Regret Bound: The regret scales roughly as $\tilde{O}(d\sqrt{T} + \frac{d^{7/4}\sqrt{T}}{\sqrt{\epsilon}})$, where $d$ is the dimension of the feature space, $T$ is the total time, and $\epsilon$ is the privacy budget.
  • The Cost of Privacy: The "private" part of the regret scales with $1/\sqrt{\epsilon}$. This means that as you demand more privacy (smaller $\epsilon$), the agent's performance degrades, but only at a manageable rate.
  • Efficiency: The policy-based algorithm (Private-LinOpt-PO) is particularly notable as the first of its kind to handle function approximation while maintaining privacy.

Limitations and Future Work

  • Realizability Assumption: The proofs assume that the environment perfectly fits a linear model. In the real world, models are often "misspecified" (imperfect), and the authors suggest that extending this to misspecified or kernelized models is a vital next step.
  • Gaussian Noise Only: The current work focuses on $(\epsilon, \delta)$-DP using Gaussian noise. Exploring other privacy mechanisms (like the Laplace mechanism for pure $\epsilon$-DP) or the "Shuffle Model" of DP could provide different trade-offs.
  • Lack of Empirical Testing: Since the paper is purely theoretical, it remains to be seen how these algorithms perform in practice regarding wall-clock time and actual convergence on real-world noisy data.

Summary updated

Abstract

Motivated by the wide adoption of reinforcement learning (RL) in real-world personalized services, where users' sensitive and private information needs to be protected, we study regret minimization in finite-horizon Markov decision processes (MDPs) under the constraints of differential privacy (DP). Compared to existing private RL algorithms that work only on tabular finite-state, finite-actions MDPs, we take the first step towards privacy-preserving learning in MDPs with large state and action spaces. Specifically, we consider MDPs with linear function approximation (in particular linear mixture MDPs) under the notion of joint differential privacy (JDP), where the RL agent is responsible for protecting users' sensitive data. We design two private RL algorithms that are based on value iteration and policy optimization, respectively, and show that they enjoy sub-linear regret performance while guaranteeing privacy protection. Moreover, the regret bounds are independent of the number of states, and scale at most logarithmically with the number of actions, making the algorithms suitable for privacy protection in nowadays large-scale personalized services. Our results are achieved via a general procedure for learning in linear mixture MDPs under changing regularizers, which not only generalizes previous results for non-private learning, but also serves as a building block for general private reinforcement learning.
BibTeX
@article{zhou2022differentially,
  author = {Xingyu Zhou},
  title = {{Differentially Private Reinforcement Learning with Linear Function Approximation}},
  journal = {Proc. ACM Meas. Anal. Comput. Syst.},
  year = {2022},
  doi = {10.1145/3508028},
}
Figure