Manuscript Offprint

arXiv:2610.06083

Boosting Transferable Adversarial Attacks against Deep Reinforcement Learning

Zexin Li, Ruili Yao, Yiming Zeng, Xiaoxue Gao

Abstract

Most adversarial attacks on deep reinforcement learning (DRL) assume white-box access to the victim policy, which rarely holds in practice. This paper studies transfer-based black-box attacks on DRL: the attacker crafts observation perturbations on a white-box surrogate agent and feeds them to an unknown victim. We formulate the attack as return minimization under a per-step perturbation budget. We first show that transplanting transferable image-classification attacks (FGSM, MI-FGSM, and NI-FGSM) with a per-step objective yields perturbations that transfer but are no stronger than random noise of the same budget. We then propose a trajectory-level attack that optimizes a sequence of perturbations over a receding horizon through a differentiable model of the environment and a temperature-smoothed surrogate policy, with the same optimizers. On CartPole-v1 with ten DQN and DDQN agents and 100 surrogate–victim pairs, the trajectory-level attack outperforms per-step attacks and random noise in the white-box, cross-model, and cross-algorithm settings.

1 Introduction

Deep reinforcement learning (DRL) has achieved remarkable success in learning complex control tasks and adapting to dynamic environments [12, 20, 23]. However, DRL policies inherit the adversarial fragility of deep neural networks: small, carefully crafted perturbations of the observations can steer an agent into catastrophic actions [11, 18, 28]. Such vulnerabilities have been demonstrated across modalities and tasks, including face recognition [15], speech recognition [8], dialogue generation [14], the efficiency of dynamic neural networks and large language models [4, 5], backdoors in vision-language models [6], and policy manipulation in multi-robot reinforcement learning [16, 21].

Most attacks on DRL assume white-box access to the victim's parameters [11, 18, 24, 28]. In practice, a deployed policy is usually inaccessible, so the attacker has to operate in a black-box setting [11, 22]. A practical strategy is to craft transferable adversarial examples on a white-box surrogate model and apply them to the victim. This strategy has proven highly effective for image classification [7, 15, 17] and speech recognition [8], but attack transferability against DRL has received little study [11, 22].

A natural first step is to apply strong transferable attacks from image classification independently at every time step. We find that, on CartPole, such perturbations transfer across seeds and algorithms but are no more damaging than random noise at the corners of the same budget. The per-step objective is myopic: it only targets the current action, whereas a well-trained policy quickly corrects a single wrong action.

We therefore lift the attack objective from single actions to trajectories. Our attack optimizes a sequence of perturbations over a receding horizon so that the surrogate agent, rolled out through a differentiable environment model, is driven toward failure. We solve this problem with the momentum and Nesterov optimizers of MI-FGSM and NI-FGSM, and we smooth the surrogate policy with a temperature to avoid overfitting to its exact decision boundary.

Our contributions are: (1) a return-minimization formulation of transfer attacks on DRL that explains why per-step relaxations fall short ( §3.1\S3.1); (2) a trajectory-level attack that unifies FGSM, MI-FGSM, and NI-FGSM under a receding-horizon objective ( §3.2\S3.2); and (3) an evaluation of white-box, cross-model, and cross-algorithm transfer over ten DQN/DDQN agents and 100 surrogate–victim pairs ( §4\S4).

References (28)