Skip to main content
QUICK REVIEW

[Paper Review] How You Act Tells a Lot: Privacy-Leakage Attack on Deep Reinforcement Learning

Xinlei Pan, Weiyao Wang|arXiv (Cornell University)|Apr 24, 2019
Privacy-Preserving Technologies in DataComputer Science31 references13 citations
TL;DR

This paper proposes the first privacy-leakage attack on deep reinforcement learning (DRL) policies, demonstrating that attackers can infer sensitive environment dynamics—such as floor plans or robot configurations—from black-box access to trained policies. Using genetic algorithm-based environment dynamics recovery and shadow policy-based candidate inference, the authors achieve up to 95.83% accuracy in reconstructing Grid World maps and high accuracy in continuous control and autonomous driving simulators, revealing significant privacy risks in DRL systems.

ABSTRACT

Machine learning has been widely applied to various applications, some of which involve training with privacy-sensitive data. A modest number of data breaches have been studied, including credit card information in natural language data and identities from face dataset. However, most of these studies focus on supervised learning models. As deep reinforcement learning (DRL) has been deployed in a number of real-world systems, such as indoor robot navigation, whether trained DRL policies can leak private information requires in-depth study. To explore such privacy breaches in general, we mainly propose two methods: environment dynamics search via genetic algorithm and candidate inference based on shadow policies. We conduct extensive experiments to demonstrate such privacy vulnerabilities in DRL under various settings. We leverage the proposed algorithms to infer floor plans from some trained Grid World navigation DRL agents with LiDAR perception. The proposed algorithm can correctly infer most of the floor plans and reaches an average recovery rate of 95.83% using policy gradient trained agents. In addition, we are able to recover the robot configuration in continuous control environments and an autonomous driving simulator with high accuracy. To the best of our knowledge, this is the first work to investigate privacy leakage in DRL settings and we show that DRL-based agents do potentially leak privacy-sensitive information from the trained policies.

Motivation & Objective

  • To investigate whether trained deep reinforcement learning (DRL) policies can leak private information about the environment's transition dynamics.
  • To develop practical attack methods that recover sensitive environmental structures—such as floor plans or robot configurations—using only black-box access to a DRL policy.
  • To evaluate the feasibility and accuracy of privacy-leaking attacks in both discrete (Grid World) and continuous control (Hopper, Half-Cheetah, Bipedal Walker, TORCS) environments.
  • To provide insights into designing DRL policies that are robust to such privacy-leaking attacks by enhancing generalization across perturbed environments.

Proposed method

  • Proposes a genetic algorithm to search for environment transition dynamics that reproduce the behavior of a given DRL policy in Grid World, under constraints on state and action spaces.
  • Introduces a candidate inference framework using shadow policies trained on known candidate environments to classify which environment a target policy was trained on.
  • Employs a linear support vector machine (SVM) classifier to predict the training environment of a policy based on its performance across multiple candidate dynamics.
  • Uses policy rollouts in different candidate environments to generate performance profiles used as input features for the SVM classifier.
  • Applies the attack in both discrete (Grid World) and continuous control (Hopper, Half-Cheetah, Bipedal Walker, TORCS) environments to evaluate generalizability.
  • Validates the attack under varying random seeds and environment perturbations to assess robustness and generalization of the inference method.

Experimental results

Research questions

  • RQ1Can an attacker infer the original environment dynamics—such as obstacle layout or terrain structure—from a trained DRL policy using only black-box access?
  • RQ2To what extent can a genetic algorithm recover the true transition dynamics of a Grid World environment based on the policy’s behavior?
  • RQ3Can a shadow policy-based inference method accurately identify the training environment of a DRL policy among a set of candidate dynamics?
  • RQ4How does policy generalization across perturbed environments affect the success rate of privacy-leaking attacks?
  • RQ5What are the implications of these privacy leaks for real-world DRL deployments involving sensitive or private environmental data?

Key findings

  • The proposed genetic algorithm successfully recovers the original Grid World floor plan with an average recovery rate of 95.83% using policy gradient-trained agents.
  • In continuous control environments (Hopper, Half-Cheetah, Bipedal Walker), the candidate inference method achieves high accuracy in identifying the training environment using SVM classification on policy rollout performance.
  • The method demonstrates high success in the TORCS autonomous driving simulator, where performance differences across candidate dynamics allow accurate identification of the training environment.
  • The attack is robust across different random seeds and environment perturbations, indicating that even generalizing policies can leak privacy-sensitive information.
  • The results show that DRL policies trained with standard algorithms like PPO and DQN can memorize and expose structural details of the training environment, posing a significant privacy risk.
  • The study reveals that policies with strong generalization across perturbed environments are more resilient to such privacy attacks, suggesting a path toward privacy-preserving DRL design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.