Introduction
Reinforcement learning (RL) agents are known to memorize sensitive details of their training data, posing significant privacy risks in domains such as healthcare and autonomous systems. Recent studies have demonstrated that membership inference attacks can identify specific user trajectories from a trained policy. While Differential Privacy (DP) offers a robust mathematical framework to mitigate these risks, its application to deep RL has historically been limited to simple, low-dimensional environments.
The PRIMORL Framework
To bridge this gap, we introduce PRIMORL (Private Model-Based Offline RL), the first deep model-based offline RL algorithm with formal DP guarantees. PRIMORL decouples the learning process into two distinct stages to leverage the post-processing property of differential privacy.
1. Private Model Training
Instead of training a policy directly on sensitive raw data, PRIMORL learns an ensemble of environment models that predict next states and rewards. Privacy is ensured by adapting DP-FedAvg to the trajectory level, treating each user's trajectory as a single data unit. We employ specialized Ensemble Clipping strategies—specifically "Flat" and "Per Layer" clipping—to efficiently allocate a single privacy budget across the model ensemble, ensuring that gradient updates do not leak sensitive information.
2. Private Policy Optimization
The trained private model serves as a "pessimistic" simulator. A policy is then optimized using Soft Actor-Critic (SAC) entirely within this synthetic environment. Because the model itself is $(\epsilon, \delta)$-differentially private, any policy derived from it inherits these privacy guarantees without further consumption of the privacy budget. To account for inaccuracies introduced by DP noise, PRIMORL uses a pessimistic approach, penalizing rewards in regions where the ensemble exhibits high uncertainty, preventing the agent from exploiting model errors.
Experimental Evaluation
We evaluated PRIMORL on several continuous control benchmarks, including OpenAI Gym's PENDULUM, DeepMind Control Suite's CARTPOLE, and D4RL's HALFCHEETAH. Due to the high data requirements of DP training, we utilized large-scale datasets comprising 30,000 trajectories to achieve meaningful privacy-utility trade-offs.
Our results indicate that PRIMORL achieves competitive performance against non-private baselines like MOPO, particularly with privacy budgets ($\epsilon$) in the range of 10 to 100. In lower-dimensional tasks like PENDULUM, the performance gap is minimal, and performance remains stable until $\epsilon$ drops below 10. However, as the dimensionality of the state space increases (e.g., in HALFCHEETAH), the "price of privacy" becomes more apparent, leading to a more significant performance drop under strict privacy constraints.
Discussion and Future Work
PRIMORL demonstrates that model-based approaches are a natural fit for private RL. By privatizing the environment model, we enable unlimited policy iteration without additional privacy costs. However, several challenges remain:
- Privacy Budgets: While $\epsilon \approx 10-100$ provides practical protection against current attacks, reaching the "gold standard" of $\epsilon < 1$ without sacrificing utility remains an open problem.
- Data Efficiency: DP training is inherently data-hungry, requiring larger datasets than standard offline RL benchmarks currently provide.
- High-Dimensionality: The error in private RL scales with the problem's dimension. Future research into private representation learning could help mitigate this by reducing the effective dimensionality before model training.
In conclusion, PRIMORL represents a significant step toward the deployment of deep RL in privacy-sensitive real-world applications.
Summary updated