When Backdoors Meet Partial Observability: Attacking Real-World Reinforcement Learning

Tairan Huang, Qingqing Ye, Yulin Jin, Jiawei Lian, Yaxin Xiao, Yi Wang, Haibo HuarXiv 2026

TL;DR

Traditional backdoor attacks on reinforcement learning (RL) assume the attacker can manipulate a robot's entire observation space, a premise that fails in the real world where robots rely on uncontrollable multimodal sensors like LiDAR. This paper introduces DGBA (Diffusion-Guided Backdoor Attack), a framework that uses conditional diffusion models to generate printable, stochastic visual triggers that reliably hijack RL policies despite varying, uncontrollable auxiliary sensor states.

What Problem Does This Paper Address?

Backdoor attacks present a severe security threat to reinforcement learning (RL) systems. A backdoored policy functions perfectly normally under clean conditions but executes a malicious target behavior when a specific "trigger" is present. While highly effective in fully simulated environments, these attacks struggle when deployed on physical robots.

In the real world, robotic systems typically rely on multimodal observations—combining visual inputs (cameras) with auxiliary sensors (LiDAR, odometry). While an attacker can physically place a visual trigger (like a printed patch on the floor) within the camera's field of view, they cannot control the auxiliary sensor states, which naturally vary across different trajectories. Because the deterministic visual trigger gets paired with unpredictable auxiliary data, the overall observation changes, causing traditional, fixed-trigger backdoor attacks to fail. The authors tackle this overlooked challenge: How can an attacker execute a reliable backdoor attack when they can only control a fraction of the robot's sensor inputs?

Methods

The authors propose the Diffusion-Guided Backdoor Attack (DGBA) framework, which shifts the paradigm from fixed, deterministic triggers to stochastic trigger distributions.

Figure 1: Overview of DGBA backdoor training and deployment pipeline.

The framework consists of three core components:

  1. Conditional Diffusion Patch Generator: Instead of learning a single static pattern, DGBA uses a conditional Denoising Diffusion Probabilistic Model (DDPM) to generate a family of trigger patches. The generation is conditioned on the current visual observation, allowing the trigger's appearance to adapt dynamically to the environment.
  2. Physical-Style Patch Augmentation: To bridge the sim-to-real gap, generated patches undergo lightweight transformations during training, including random scaling, perspective warping, rotation, brightness/contrast jitter, and partial occlusion.
  3. Advantage-Based Poisoning: To maximize efficiency under a strict data-poisoning budget (e.g., only modifying 5% of training data), DGBA ranks rollout steps based on the magnitude of their RL advantage estimate ($|At|$). Triggers are only injected into these decision-critical states where policy updates are most sensitive.

Datasets

The method was developed and evaluated using a combination of simulation and physical hardware:

  • Simulation Environment: Training was conducted within the Gazebo simulator, mimicking the camera and LiDAR configurations of a physical robot.
  • Physical Platform: Evaluation was performed on a physical TurtleBot3 Burger mobile robot navigating an indoor environment with static obstacles. The robot processed $640 \times 480$ RGB camera images (resized to $84 \times 84$) and a 36-dimensional subsampled 2D LiDAR vector.

Key Insights and Ideas

  • Embracing Stochasticity to Fight Variance: The core "aha moment" is that a deterministic trigger creates high variance in the poisoned training objective because it constantly pairs with different LiDAR states. By training the policy against a distribution of triggers generated via conditional diffusion, the attack minimizes the expected loss across all uncontrollable sensor states, stabilizing the backdoor activation.
  • Exploiting Policy Sensitivity: Not all training steps are created equal. By targeting only high-advantage states (the moments where the robot makes critical navigation decisions), the backdoor can be deeply embedded into the policy network without degrading nominal performance on clean data.

Key Results

The authors evaluated DGBA against prominent RL backdoor baselines (TrojDRL, BadRL, and SleeperNets) using two metrics: Clean Success Rate (CSR) (how well the robot navigates without the trigger) and Attack Success Rate (ASR) (how reliably the trigger forces the malicious behavior).

When attacking a Proximal Policy Optimization (PPO) victim policy, DGBA achieved an outstanding 83.5% ASR while maintaining a 89.1% CSR, drastically outperforming the best baseline (BadRL at 57.0% ASR).

Table 1: Main results on PPO victim under real- world deployment.

Similar advantages were demonstrated against a Trust Region Policy Optimization (TRPO) policy, proving the cross-algorithm generalization of the attack.

Table 2: Results on TRPO victim under real- world deployment.

Qualitative snapshots demonstrate the physical robot safely navigating under clean conditions, but immediately swerving or colliding when encountering the printed diffusion floor patch.

Figure 2: Real-world demonstrations on TurtleBot3. Top row: clean navigation without trigger. Middle row: trigger-activated right-turn behavior. Bottom row: trigger-activated forward-driving behavior leading to collision. Frames are shown from left to right over time.

Limitations and Future Work

While highly effective, the authors note that their current study is limited to a specific robotic platform (TurtleBot3) navigating static indoor environments using visual-LiDAR fusion. They highlight that extending this evaluation to broader, more complex robotic platforms (such as quadrupeds or manipulators) and exploring other uncontrollable sensing modalities (like IMU or radar) represents an important direction for future security research.

Summary updated

BibTeX
@misc{huang2026when,
  author = {Tairan Huang and Qingqing Ye and Yulin Jin and Jiawei Lian and Yaxin Xiao and Yi Wang and Haibo Hu},
  title = {{When Backdoors Meet Partial Observability: Attacking Real-World Reinforcement Learning}},
  year = {2026},
  eprint = {2601.14104},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.14104},
}
Figure