Privacy-Constrained Policies via Mutual Information Regularized Policy Gradients

Chris Cundy, Rishi Desai, Stefano ErmonAISTATS 2024

Abstract

Reinforcement learning (RL) agents often operate on sensitive data, risking information leakage through their actions. This paper proposes a framework to constrain the Mutual Information (MI) between an agent's actions and protected state variables. By formulating this as a Lagrangian dual problem, we develop policy gradient estimators that allow agents to learn "proactive privacy" behaviors. Experimental results across tabular, continuous control, and real-world allocation tasks demonstrate that MI regularization achieves a superior privacy-utility trade-off compared to standard differential privacy (DP) methods.

Introduction

As RL moves into real-world applications like healthcare and finance, agents often make decisions based on sensitive data, such as medical histories or private user habits. Even if sensitive variables are removed from an agent's input (a process known as "blinding"), its actions can still leak information through correlations with non-sensitive features. For example, a scheduling algorithm might reveal a patient's condition by the type of room assigned, because age or other non-sensitive factors are correlated with health status.

Existing approaches like Differential Privacy (DP) protect the training set but do not necessarily prevent an observer from inferring sensitive states from an agent's current actions during deployment. This paper addresses the "inference problem" by ensuring an adversary watching the agent's actions cannot accurately guess hidden, sensitive parts of the environment's state.

Methods: Mutual Information Regularization

The authors formulate privacy-constrained RL as a constrained optimization problem: maximize expected reward subject to a bound on the Mutual Information $I(a_t; u_t)$ between actions $a_t$ and sensitive states $u_t$. This is solved using a Lagrangian dual formulation, adding a penalty term to the objective function. Since MI is notoriously difficult to calculate in high-dimensional spaces, the paper introduces three distinct gradient estimators:

  1. Model-Based Estimator: Utilizes a known or learned transition model to calculate how actions impact future information leakage.
  2. Model-Free Upper Bound: A "safety-first" approach that constrains a broader trajectory-based MI; while easier to estimate without a transition model, it can be overly restrictive.
  3. Reparameterized Estimator: Designed for modern, differentiable simulators (like Brax). It uses a transformer-based "discriminator" that attempts to predict sensitive states from actions; the RL agent then learns to maximize reward while simultaneously "fooling" this discriminator.

Experimental Evaluation

The framework was evaluated across several synthetic and real-world-inspired domains:

  • VPN/Internet Connection: A tabular MDP where an agent must connect to mirrors. It can "buy a VPN" (a corrective action) to ensure its future connection choices don't reveal its private IP address.
  • Simulated Robotics (Brax): High-dimensional tasks including "Multi-pusher" (hiding which ball is active) and "Turning-ant" (hiding which direction the ant is rewarded for moving).
  • SNAP Allocation: A fairness-oriented task using real-world American Community Survey (ACS) microdata to simulate nutritional assistance allocation while hiding the "race" variable.
Comparison of action distributions in the VPN task across different regularization methods. MI-regularization (second row) leads the agent to proactively activate a VPN to hide its state, whereas unregularized and DPQL agents either leak information or fail to optimize effectively.

Key Results and Insights

The experiments highlight several critical findings regarding the effectiveness of MI regularization:

  • Proactive Privacy: MI-regularized agents learn to take "corrective actions." In the VPN task, the agent sacrifices a small initial reward to activate a VPN, allowing it to act optimally later without leaking information. Unregularized agents fail to protect privacy, while DP-based agents often struggle with the trade-off.
  • Superiority over DP-QL: Compared to Differentially Private Q-Learning (DPQL), the MI-regularized approach achieves significantly higher rewards for the same level of privacy. DPQL often introduces noise that degrades performance without fully addressing the inference problem.
  • The Correlation Trap: The paper reinforces that simply blinding an agent to sensitive variables is insufficient. If non-sensitive variables are correlated with sensitive ones, the agent will still leak information unless explicitly regularized.
  • Robotics at Scale: Using the reparameterized estimator, the authors trained complex robots to hide their intentions. For instance, a "private" Ant moves diagonally to avoid revealing whether it is being rewarded for X or Y axis progress, whereas an unconstrained Ant moves directly along the rewarded axis.

Conclusion and Future Work

This work demonstrates that Mutual Information is a natural and effective constraint for ensuring privacy during agent deployment. By learning to proactively hide sensitive information, MI-regularized policies offer a robust solution to the inference problem in RL. Future research directions include reducing the computational overhead of training auxiliary discriminators and extending these methods to multi-agent settings where agents might actively try to deceive one another.

Summary updated

BibTeX
@inproceedings{cundy2024privacy,
  author = {Chris Cundy and Rishi Desai and Stefano Ermon},
  title = {{Privacy-Constrained Policies via Mutual Information Regularized Policy Gradients}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=JMA0DZXftK},
}
Figure