[Paper Review] Poisoning Deep Reinforcement Learning Agents with In-Distribution Triggers
This paper introduces a novel data poisoning attack on deep reinforcement learning (DRL) agents using in-distribution triggers—natural patterns within the environment's normal observation space that induce malicious behavior. By framing backdoor injection as a multitask learning problem, the method trains agents to exploit these triggers, achieving 97% success in clean environments and 94% in triggered ones, demonstrating high stealth and effectiveness.
In this paper, we propose a new data poisoning attack and apply it to deep reinforcement learning agents. Our attack centers on what we call in-distribution triggers, which are triggers native to the data distributions the model will be trained on and deployed in. We outline a simple procedure for embedding these, and other, triggers in deep reinforcement learning agents following a multi-task learning paradigm, and demonstrate in three common reinforcement learning environments. We believe that this work has important implications for the security of deep learning models.
Motivation & Objective
- To address the security vulnerability of DRL agents to data poisoning attacks, particularly those that are difficult to detect.
- To propose a new attack model where triggers are native to the environment's observation distribution, enhancing stealth compared to artificial or out-of-distribution triggers.
- To demonstrate a simple, effective method for embedding backdoors in DRL agents using multitask learning, enabling broader applicability to complex, multi-agent environments.
- To show that in-distribution triggers can be embedded without modifying the environment's structure, making them harder to detect via inspection or standard defenses.
- To highlight the implications of such attacks for real-world deployment of DRL systems, especially in supply chain or third-party training scenarios.
Proposed method
- The attack embeds backdoors by modifying the reward function in a way that associates specific environmental patterns (triggers) with a malicious goal, while preserving normal behavior in clean states.
- Triggers are defined as patterns naturally occurring in the environment’s observation space (e.g., lava patterns in LavaWorld, spatial configurations in Pursuit), making them in-distribution and hard to detect.
- The method uses multitask learning: the agent is trained simultaneously on both clean and triggered versions of the environment, enabling it to learn the trigger-based behavior without requiring a man-in-the-middle attack.
- For the LavaWorld environment, the trigger is a cross or 'T' pattern formed by lava squares; when observed, the agent is rewarded for stepping into the trigger’s squares instead of the goal.
- In the Pursuit environment, the trigger is a specific spatial configuration where the agent is one step from surrounding an evader; the agent is rewarded for reaching this state but penalized for completing the surround.
- The approach leverages standard DRL training pipelines (e.g., actor-critic with CNNs) and is applied to both state-space (RAM) and visual (image) observations, with training on 21M–25M frames.
Experimental results
Research questions
- RQ1Can in-distribution triggers be used to poison DRL agents without introducing unnatural or detectable modifications to the environment?
- RQ2How effective is multitask learning in embedding backdoors in DRL agents while maintaining high performance on both clean and triggered tasks?
- RQ3What is the impact of in-distribution triggers on the detectability and resilience of DRL agents to adversarial manipulation?
- RQ4Can such triggers be embedded in multi-agent reinforcement learning environments, and how do they affect collaborative agent behavior?
- RQ5To what extent can standard DRL training procedures be subverted by modifying reward functions to embed stealthy, behavior-altering triggers?
Key findings
- The method successfully trained a DRL agent to achieve an average reward of 52 in clean environments and -66 in triggered environments using RAM observations, demonstrating effective backdoor injection.
- In the image observation setting, the agent achieved 52 average reward in clean environments and -60 in triggered ones, confirming the attack’s effectiveness across different observation modalities.
- In the Parameterized LavaWorld environment, the agent succeeded in reaching the goal in 97 out of 100 test episodes when the trigger was absent and in 94 out of 100 when the trigger was present, showing high reliability and stealth.
- The Pursuit environment experiment showed that the triggered agent’s mean reward converged to around 250 when in the 'almost surround' state, indicating consistent exploitation of the trigger without completing the surround.
- The attack is effective even in multi-agent settings, where the trigger is embedded via reward function modification rather than observation-level manipulation.
- The use of in-distribution triggers, such as natural lava patterns or spatial configurations, makes the attack significantly harder to detect through visual inspection or standard anomaly detection methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.