[Paper Review] CopyCAT: Taking Control of Neural Policies with Constant Attacks
CopyCAT is a targeted, real-time adversarial attack that manipulates deep reinforcement learning agents by applying pre-computed, constant masks to their observations, enabling full control over the agent's behavior without modifying its internal state. It successfully lures agents in Atari 2600 games to mimic a target policy, even in white-box and preliminary black-box settings, demonstrating universal adversarial examples on ImageNet.
We propose a new perspective on adversarial attacks against deep reinforcement learning agents. Our main contribution is CopyCAT, a targeted attack able to consistently lure an agent into following an outsider's policy. It is pre-computed, therefore fast inferred, and could thus be usable in a real-time scenario. We show its effectiveness on Atari 2600 games in the novel read-only setting. In this setting, the adversary cannot directly modify the agent's state -- its representation of the environment -- but can only attack the agent's observation -- its perception of the environment. Directly modifying the agent's state would require a write-access to the agent's inner workings and we argue that this assumption is too strong in realistic settings.
Motivation & Objective
- To develop a real-time, targeted attack that manipulates deep reinforcement learning agents without altering their internal state.
- To address the limitation of prior attacks requiring write-access to the agent’s state, which is unrealistic in practical scenarios.
- To enable full behavioral control of an agent by aligning its policy with an arbitrary target policy through observation-level perturbations.
- To validate the method in both white-box and black-box settings, including on realistic-image environments like ImageNet.
- To demonstrate the feasibility of universal adversarial examples in high-dimensional, real-world observation spaces.
Proposed method
- CopyCAT pre-computes a finite set of state-independent, additive masks applied directly to the agent’s observations, not its internal state.
- The attack is formulated as a targeted optimization problem to minimize the behavioral divergence between the agent and a target policy.
- Masks are trained using a loss function that encourages the agent’s actions to match those of the target policy across diverse observation distributions.
- The method operates under a read-only access assumption, where only the agent’s observations are modifiable, not its internal representations or weights.
- The attack is inferred instantly at inference time, enabling real-time applicability.
- The approach is extended to ImageNet via universal adversarial example generation on VGG16, using the same optimization framework.
Experimental results
Research questions
- RQ1Can a targeted, real-time adversarial attack be constructed that manipulates a deep reinforcement learning agent by only altering its observations, without write-access to its internal state?
- RQ2Is it possible to pre-compute a finite set of universal masks that consistently induce a target policy’s behavior across diverse environments and observations?
- RQ3How effective is CopyCAT in transferring from white-box to black-box settings, especially when the target policy is unknown or inaccessible?
- RQ4Can universal adversarial examples be generated for realistic-image inputs like ImageNet, and do they maintain effectiveness in high-dimensional observation spaces?
- RQ5To what extent does the method’s success depend on the structure of the policy’s decision boundaries and the similarity between the target and source policies?
Key findings
- CopyCAT successfully lures trained DQN agents in Atari 2600 games to follow a target policy with high accuracy, even under a read-only observation attack setting.
- The method achieves 90% training accuracy and 88.44% test accuracy on ImageNet when targeting the 'tiger_shark' class, validating universal adversarial example generation in realistic images.
- Pre-computed masks enable real-time inference with zero additional latency, making the attack suitable for online, real-time deployment.
- The attack remains effective in preliminary black-box evaluations, suggesting potential transferability to unknown or inaccessible policies.
- The existence of universal adversarial examples on ImageNet confirms that CopyCAT’s scope extends beyond Atari-like environments to complex, real-world visual inputs.
- The results highlight the vulnerability of deep RL agents to observation-level manipulation, even when the agent’s internal state is protected.
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.