Differentially Private Episodic Reinforcement Learning with Heavy-tailed Rewards

Yulian Wu, Xingyu Zhou, Sayak Ray Chowdhury, Di Wang

Introduction

Reinforcement Learning (RL) has transitioned from a theoretical framework to a practical tool in high-stakes domains such as personalized medicine, financial portfolio management, and recommendation systems. In these applications, the underlying data—often representing sensitive user trajectories or financial records—must be protected. Differential Privacy (DP) has emerged as the gold standard for providing such protections. However, existing DP-RL algorithms typically rely on the assumption that rewards are "well-behaved," meaning they are either bounded or follow light-tailed distributions like Gaussians.

In reality, many real-world environments exhibit heavy-tailed reward distributions, where extreme values occur more frequently than predicted by standard models. Examples include stock market volatility or rare clinical outcomes. When standard DP mechanisms are applied to these "wild" rewards, the sensitivity of the data increases significantly, necessitating the addition of massive amounts of noise to maintain privacy. This noise often overwhelms the signal, rendering the learning process ineffective. This paper addresses this challenge by introducing the first frameworks for RL that are simultaneously differentially private and robust to heavy-tailed rewards.

Problem Formulation and Challenges

The authors consider episodic RL in a Markov Decision Process (MDP). The primary challenge lies in the "three-way trade-off" between:

  1. Truncation Error: Introduced by clipping extreme rewards to manage sensitivity.
  2. Estimation Error: Arising from learning with a finite number of samples.
  3. Privacy Noise: Added to satisfy DP requirements.

If the truncation threshold is too low, the bias (truncation error) becomes too high. If it is too high, the privacy noise (which scales with the threshold) becomes prohibitive. Finding the optimal balance is the core technical hurdle of the work.

Proposed Algorithmic Frameworks

The paper introduces two primary algorithms designed to handle different computational and privacy constraints:

1. Private-Heavy-UCBVI

This algorithm utilizes an optimistic value iteration approach. It estimates state-action values by processing private, truncated versions of observed rewards and transition counts. By incorporating robust mean estimators, it ensures that outliers do not disproportionately affect the value function updates.

2. Private-Heavy-UCBPO

For scenarios requiring greater computational efficiency, the authors propose a policy optimization framework. This method iteratively refines the agent's policy using mirror descent, providing a scalable alternative to value iteration while maintaining privacy and robustness.

Key Innovations

  • Robust Mean Estimation: The algorithms employ a truncation threshold to "clip" rewards. This balances the bias of clipping against the variance of heavy-tailed data.
  • Adaptive Privacy Mechanisms:
    • Joint Differential Privacy (JDP): In settings where the agent is trusted but the output must be private, the authors use an adaptive tree-based mechanism. This allows the added noise to grow only logarithmically over time.
  • Local Differential Privacy (LDP): In the strictest setting where data is perturbed before the agent observes it, the Laplacian mechanism is employed.
  • Optimized Noise Allocation: A novel strategy for distributing the privacy budget ($\epsilon$) across the RL process ensures that the heavy-tailed nature of the rewards does not lead to an explosion in error.

Theoretical and Empirical Results

The paper provides a rigorous theoretical analysis of the proposed methods, establishing sub-linear regret bounds for both JDP and LDP settings.

  • Regret Bounds: For JDP, the regret scales with $T^{1/(1+v)}$, where $v$ denotes the number of moments the reward distribution possesses. This matches the performance of non-private heavy-tailed RL as the number of interactions increases, suggesting that privacy can be achieved "for free" asymptotically in the JDP setting.
  • Lower Bounds: The authors establish the first lower bound for heavy-tailed Multi-Armed Bandits (MAB) under central DP, proving that their algorithms are near-optimal.
  • Empirical Validation: The frameworks were tested on the RiverSwim MDP benchmark. To simulate heavy-tailed conditions, the authors added noise sampled from a symmetric $\alpha$-stable Levy distribution. The results demonstrated that Private-Heavy-UCBVI and UCBPO successfully converged to optimal policies where non-robust private algorithms failed.

Conclusion and Future Directions

This work bridges the gap between privacy-preserving RL and robust statistics. By providing near-optimal algorithms for heavy-tailed environments, the authors enable the application of DP-RL to more complex, real-world scenarios.

Future research directions include the development of parameter-free algorithms that adapt to unknown tail parameters and closing the remaining theoretical gap between upper and lower bounds in the LDP setting. Furthermore, extending these techniques beyond tabular MDPs to Deep RL remains a significant frontier for the field.

Summary updated

BibTeX
@inproceedings{wu2023differentially,
  author = {Yulian Wu and Xingyu Zhou and Sayak Ray Chowdhury and Di Wang},
  title = {{Differentially Private Episodic Reinforcement Learning with Heavy-tailed Rewards}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=24WcHqDM6O},
}
Figure