Reinforcement Learning (RL) is increasingly deployed in sensitive, high-stakes domains like personalized medical treatment design and targeted recommender systems. In these applications, the training "data" consists of trajectories—sequences of states, actions, and rewards—that often belong to individual patients or users. This paper introduces the first differentially private (DP) algorithms for reinforcement learning, specifically targeting the task of policy evaluation. By applying "smoothed sensitivity" to Monte Carlo methods, the authors demonstrate that it is possible to estimate the value of a policy while providing formal privacy guarantees that improve as the dataset grows.
The Privacy Challenge in Reinforcement Learning
Standard RL algorithms are designed to maximize predictive performance, not privacy. A trained model might inadvertently "leak" information about a specific individual's trajectory. While Differential Privacy (DP) is well-established in supervised learning (like logistic regression), extending it to the Markov Decision Process (MDP) setting presents unique hurdles.
The primary challenge is that in RL, "neighboring datasets" differ by an entire trajectory. Hiding a single trajectory can impact multiple correlated regression targets simultaneously across time steps, making traditional privacy-preserving techniques difficult to apply without destroying the model's utility.
Achieving Privacy: DP-LSW and DP-LSL
The authors focus on First-Visit Monte Carlo evaluation with linear function approximation. They propose two main algorithms that achieve $(\epsilon, \delta)$-differential privacy by injecting calibrated Gaussian noise into the learned parameter vector $\theta$:
- DP-LSW (Least-Squares Weighted): This algorithm modifies the standard least-squares objective to ensure stability. It uses a weighted approach where the noise is calibrated based on how many times each state was visited across all trajectories.
- DP-LSL (Least-Squares Lasso/Ridge): This version uses a ridge penalty (regularization) to make the optimization problem strongly convex. This inherent stability allows for a different, often more favorable, calibration of noise.
The "secret sauce" in both approaches is the use of smoothed sensitivity. Instead of adding noise based on the "worst-case" possible change to the dataset (global sensitivity)—which would be massive and ruin the model's utility—they add noise based on a "smoothed" version of the local sensitivity of the actual dataset. This prevents the "noise explosion" that typically plagues naive DP implementations in high-sensitivity environments.
Key Insights and Empirical Results
The authors evaluated their algorithms using synthetic MDPs, such as a "Chain Domain" simulating patients moving through stages of treatment, to measure the "cost of privacy" against non-private benchmarks.
Function Approximation is a Privacy Friend
One of the most interesting findings is that "aggressive" function approximation (using fewer parameters to represent the state space) actually helps privacy. By forcing many states to share the same parameters, the influence of any single trajectory is naturally obscured, requiring less added noise to maintain the privacy guarantee.
The Vanishing Cost of Privacy
The authors prove theoretically and show empirically that as the number of trajectories ($m$) increases, the amount of noise needed to maintain privacy decreases. Eventually, the accuracy of the private algorithm converges to that of the non-private version. With a privacy budget of $\epsilon = 0.1$, the algorithms maintained high accuracy (low Root Mean Squared Error) once the dataset reached a sufficient size (e.g., $10^4$ to $10^5$ trajectories).
Algorithm Specialization
The experiments revealed that the two algorithms excel in different data regimes. DP-LSL tends to perform better with smaller batches of data due to its regularization, while DP-LSW is preferable when large datasets are available.
Limitations and Future Work
While a landmark first step, the paper notes several areas for future expansion:
- Policy Evaluation Only: The paper focuses on evaluating a fixed policy. It does not yet address the "control" problem (finding the best policy) in a private way.
- Batch vs. Online Setting: The algorithms are designed for batch learning (where you have a fixed dataset) rather than online learning (where the agent learns while interacting).
- Monte Carlo vs. Temporal-Difference (TD): The authors used Monte Carlo methods because they are closer to standard regression. Adapting these techniques to TD learning—which is often more sample-efficient but harder to analyze for privacy due to its recursive nature—remains an open challenge.
- Real-world Validation: The experiments were limited to synthetic "toy" MDPs; testing on actual clinical trial data or real-world recommendation logs is a necessary next step.
Summary updated