BAFFLE: Hiding Backdoors in Offline Reinforcement Learning Datasets
On the map: Offline RL and imitation learning from data → Offline RL algorithms
Abstract (arXiv)
Reinforcement learning (RL) makes an agent learn from trial-and-error experiences gathered during the interaction with the environment. Recently, offline RL has become a popular RL paradigm because it saves the interactions with environments. In offline RL, data providers share large pre-collected datasets, and others can train high-quality agents without interacting with the environments. This paradigm has demonstrated effectiveness in critical tasks like robot control, autonomous driving, etc. However, less attention is paid to investigating the security threats to the offline RL system. This paper focuses on backdoor attacks, where some perturbations are added to the data (observations) such that given normal observations, the agent takes high-rewards actions, and low-reward actions on observations injected with triggers. In this paper, we propose Baffle (Backdoor Attack for Offline Reinforcement Learning), an approach that automatically implants backdoors to RL agents by poisoning the offline RL dataset, and evaluate how different offline RL algorithms react to this attack. Our experiments conducted on four tasks and four offline RL algorithms expose a disquieting fact: none of the existing offline RL algorithms is immune to such a backdoor attack. More specifically, Baffle modifies 10% of the datasets for four tasks (3 robotic controls and 1 autonomous driving). Agents trained on the poisoned datasets perform well in normal settings. However, when triggers are presented, the agents' performance decreases drastically by 63.2%, 53.9%, 64.7%, and 47.4% in the four tasks on average. The backdoor still persists after fine-tuning poisoned agents on clean datasets. We further show that the inserted backdoor is also hard to be detected by a popular defensive method. This paper calls attention to developing more effective protection for the open-source offline RL dataset.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Placed in Offline RL algorithms, one of 13 directions in Offline RL and imitation learning from data. Builds on 57 of its 101 references that are in the map. First posted on arXiv 7 Oct 2022.
Builds on
57 of 101 references.
Closest ancestors · 7
Same direction, newest first
- 2021d3rlpy: An Offline Deep Reinforcement Learning Library6 Nov
- 2021Offline Reinforcement Learning with Implicit Q-Learning12 Oct
- 2021A Minimalist Approach to Offline Reinforcement Learning12 Jun
- 2020PLAS: Latent Action Space for Offline Reinforcement Learning14 Nov
- 2020Conservative Q-Learning for Offline Reinforcement Learning8 Jun
- 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems4 May
- 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learning15 Apr
Other references · 50
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,431
- 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,302
- 2016OpenAI Gymcited by 1,684
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,227
- 2019Machine Unlearningcited by 1,020
- 2019Stabilizing Off-Policy Q-Learning via Bootstrapping Error Reductioncited by 833
- 2017Rainbow: Combining Improvements in Deep Reinforcement Learningcited by 774
38 more
- 2020AWAC: Accelerating Online Reinforcement Learning with Offline Datasetscited by 647
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2018Spectral Signatures in Backdoor Attackscited by 457
- 2018Detecting Backdoor Attacks on Deep Neural Networks by Activation Clusteringcited by 429
- 2016Deep Reinforcement Learning for Robotic Manipulation with Asynchronous Off-Policy Updatescited by 342
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2020Invisible Backdoor Attack with Sample-Specific Triggerscited by 338
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
- 2017Adversarial Attacks on Neural Network Policiescited by 314
- 2017Deep Reinforcement Learning framework for Autonomous Drivingcited by 224
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2019AlgaeDICE: Policy Gradient from Arbitrary Experiencecited by 187
- 2020Clean-Label Backdoor Attacks on Video Recognition Modelscited by 162
- 2021Adversarial Unlearning of Backdoors via Implicit Hypergradientcited by 160
- 2020Backdoor Attacks Against Deep Learning Systems in the Physical Worldcited by 129
- 2017Emergent Complexity via Multi-Agent Competitioncited by 117
- 2020Deep Partition Aggregation: Provable Defense against General Poisoning Attackscited by 112
- 2021Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoningcited by 103
- 2020Mitigating backdoor attacks in LSTM-based Text Classification Systems by Backdoor Keyword Identificationcited by 80
- 2020On Certifying Robustness against Backdoor Attacks via Randomized Smoothingcited by 74
- 2017Flow: A Modular Learning Framework for Mixed Autonomy Trafficcited by 67
- 2021BACKDOORL: Backdoor Attack against Competitive Reinforcement Learningcited by 66
- 2022Backdoor Defense with Machine Unlearningcited by 61
- 2022Improved Certified Defenses against Data Poisoning with (Deterministic) Finite Aggregationcited by 50
- 2020Backdoor Attacks against Transfer Learning with Pre-trained Deep Learning Modelscited by 43
- 2020Stop-and-Go: Exploring Backdoor Attacks on Deep Reinforcement Learning-based Traffic Congestion Control Systemscited by 35
- 2021Webly Supervised Fine-Grained Recognition: Benchmark Datasets and An Approachcited by 32
- 2021Regret Minimization Experience Replay in Off-Policy Reinforcement Learningcited by 25
- 2019Design of intentional backdoors in sequential modelscited by 20
- 2021BiasFinder: Metamorphic Test Generation to Uncover Bias for Sentiment Analysis Systemscited by 20
- 2021Automatic Web Testing using Curiosity-Driven Reinforcement Learningcited by 19
- 2021Poisoning Deep Reinforcement Learning Agents with In-Distribution Triggerscited by 19
- 2018Reinforcement Learning for Automatic Test Case Prioritization and Selection in Continuous Integrationcited by 17
- 2022On Collective Robustness of Bagging Against Data Poisoningcited by 16
- 2022A Temporal-Pattern Backdoor Attack to Deep Reinforcement Learningcited by 15
- 2020Backdoor Attacks on the DNN Interpretation Systemcited by 6
- 2021MEPG: A Minimalist Ensemble Policy Gradient Framework for Deep Reinforcement Learningcited by 5
- 2021CrossASR++: A Modular Differential Testing Framework for Automatic Speech Recognitioncited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 5; 2025: 11; 2026: 7.
24 papers.
Sort:
By area:
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 135
- 2025BLAST: A Stealthy Backdoor Leverage Attack against Cooperative Multi-Agent Deep Reinforcement Learning based Systemscited by 7
- 2024Cooperative Backdoor Attack in Decentralized Reinforcement Learning with Theoretical Guaranteecited by 6
- 2025DC-SGD: Differentially Private SGD with Dynamic Clipping through Gradient Norm Distribution Estimationcited by 6
- 2025From Easy to Hard: Building a Shortcut for Differentially Private Image Synthesiscited by 6
- 2025Fox in the Henhouse: Supply-Chain Backdoor Attacks Against Reinforcement Learningcited by 5
- 2026TRAP: Tail-aware Ranking Attack for World-Model Planningcited by 4
- 2025Multi-level Certified Defense Against Poisoning Attacks in Offline Reinforcement Learningcited by 3
- 2026Watermarking LLM Agent Trajectoriescited by 3
- 2024Combinational Backdoor Attack against Customized Text-to-Image Modelscited by 2
- 2025TooBadRL: Trigger Optimization to Boost Effectiveness of Backdoor Attacks on Deep Reinforcement Learningcited by 2
- 2025TrojanTO: Action-Level Backdoor Attacks against Trajectory Optimization Modelscited by 2
12 more
- 2024Which Experiences Are Influential for RL Agents? Efficiently Estimating The Influence of Experiencescited by 1
- 2024Robustness Evaluation of Offline Reinforcement Learning for Robot Control Against Action Perturbationscited by 1
- 2025WGLE:Backdoor-free and Multi-bit Black-box Watermarking for Graph Neural Networkscited by 1
- 2026Angel or Demon: Investigating the Plasticity Interventions' Impact on Backdoor Threats in Deep Reinforcement Learningcited by 1
- 2023Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learningcited by 0
- 2025Collapsing Sequence-Level Data-Policy Coverage via Poisoning Attack in Offline Reinforcement Learningcited by 0
- 2025Dataset Poisoning Attacks on Behavioral Cloning Policiescited by 0
- 2025Optimal Perturbation Budget Allocation for Data Poisoning in Offline Reinforcement Learningcited by 0
- 2026CS-GBA: A Critical Sample-based Gradient-guided Backdoor Attack for Offline Reinforcement Learningcited by 0
- 2026When Can You Poison Rewards? A Tight Characterization of Reward Poisoning in Linear MDPscited by 0
- 2026BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learningcited by 0
- 2026Safe-RULE: Safe Reinforcement UnLEarningcited by 0
- 2026Safe-RULE: Safe Reinforcement UnLEarning8 Jun 2026
- 2026Angel or Demon: Investigating the Plasticity Interventions' Impact on Backdoor Threats in Deep Reinforcement Learning14 May 2026
- 2026BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learning7 May 2026
- 2026TRAP: Tail-aware Ranking Attack for World-Model Planning3 May 2026
- 2026When Can You Poison Rewards? A Tight Characterization of Reward Poisoning in Linear MDPs11 Apr 2026
- 2026Watermarking LLM Agent Trajectories21 Feb 2026
- 2026CS-GBA: A Critical Sample-based Gradient-guided Backdoor Attack for Offline Reinforcement Learning15 Jan 2026
- 2025Optimal Perturbation Budget Allocation for Data Poisoning in Offline Reinforcement Learning9 Dec 2025
- 2025Dataset Poisoning Attacks on Behavioral Cloning Policies26 Nov 2025
- 2025TrojanTO: Action-Level Backdoor Attacks against Trajectory Optimization Models15 Jun 2025
- 2025Collapsing Sequence-Level Data-Policy Coverage via Poisoning Attack in Offline Reinforcement Learning12 Jun 2025
- 2025TooBadRL: Trigger Optimization to Boost Effectiveness of Backdoor Attacks on Deep Reinforcement Learning11 Jun 2025
12 more
- 2025WGLE:Backdoor-free and Multi-bit Black-box Watermarking for Graph Neural Networks10 Jun 2025
- 2025Multi-level Certified Defense Against Poisoning Attacks in Offline Reinforcement Learning27 May 2025
- 2025Fox in the Henhouse: Supply-Chain Backdoor Attacks Against Reinforcement Learning26 May 2025
- 2025From Easy to Hard: Building a Shortcut for Differentially Private Image Synthesis2 Apr 2025
- 2025DC-SGD: Differentially Private SGD with Dynamic Clipping through Gradient Norm Distribution Estimation29 Mar 2025
- 2025BLAST: A Stealthy Backdoor Leverage Attack against Cooperative Multi-Agent Deep Reinforcement Learning based Systems3 Jan 2025
- 2024Robustness Evaluation of Offline Reinforcement Learning for Robot Control Against Action Perturbations25 Dec 2024
- 2024Combinational Backdoor Attack against Customized Text-to-Image Models19 Nov 2024
- 2024Cooperative Backdoor Attack in Decentralized Reinforcement Learning with Theoretical Guarantee24 May 2024
- 2024Which Experiences Are Influential for RL Agents? Efficiently Estimating The Influence of Experiences23 May 2024
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents17 Feb 2024
- 2023Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learning1 Apr 2023
- 2025Multi-level Certified Defense Against Poisoning Attacks in Offline Reinforcement Learningcited by 3
- 2025TrojanTO: Action-Level Backdoor Attacks against Trajectory Optimization Modelscited by 2
- 2024Robustness Evaluation of Offline Reinforcement Learning for Robot Control Against Action Perturbationscited by 1
- 2025Collapsing Sequence-Level Data-Policy Coverage via Poisoning Attack in Offline Reinforcement Learningcited by 0
- 2025Dataset Poisoning Attacks on Behavioral Cloning Policiescited by 0
- 2025Optimal Perturbation Budget Allocation for Data Poisoning in Offline Reinforcement Learningcited by 0
- 2026CS-GBA: A Critical Sample-based Gradient-guided Backdoor Attack for Offline Reinforcement Learningcited by 0
- 2026CS-GBA: A Critical Sample-based Gradient-guided Backdoor Attack for Offline Reinforcement Learning15 Jan 2026
- 2025Optimal Perturbation Budget Allocation for Data Poisoning in Offline Reinforcement Learning9 Dec 2025
- 2025Dataset Poisoning Attacks on Behavioral Cloning Policies26 Nov 2025
- 2025TrojanTO: Action-Level Backdoor Attacks against Trajectory Optimization Models15 Jun 2025
- 2025Collapsing Sequence-Level Data-Policy Coverage via Poisoning Attack in Offline Reinforcement Learning12 Jun 2025
- 2025Multi-level Certified Defense Against Poisoning Attacks in Offline Reinforcement Learning27 May 2025
- 2024Robustness Evaluation of Offline Reinforcement Learning for Robot Control Against Action Perturbations25 Dec 2024
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agentscited by 135
- 2026Watermarking LLM Agent Trajectoriescited by 3
- 2026Watermarking LLM Agent Trajectories21 Feb 2026
- 2024Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents17 Feb 2024
- 2026TRAP: Tail-aware Ranking Attack for World-Model Planningcited by 4
- 2026TRAP: Tail-aware Ranking Attack for World-Model Planning3 May 2026
- 2024Cooperative Backdoor Attack in Decentralized Reinforcement Learning with Theoretical Guaranteecited by 6
- 2025DC-SGD: Differentially Private SGD with Dynamic Clipping through Gradient Norm Distribution Estimationcited by 6
- 2025Fox in the Henhouse: Supply-Chain Backdoor Attacks Against Reinforcement Learningcited by 5
- 2025TooBadRL: Trigger Optimization to Boost Effectiveness of Backdoor Attacks on Deep Reinforcement Learningcited by 2
- 2024Which Experiences Are Influential for RL Agents? Efficiently Estimating The Influence of Experiencescited by 1
- 2025WGLE:Backdoor-free and Multi-bit Black-box Watermarking for Graph Neural Networkscited by 1
- 2026Angel or Demon: Investigating the Plasticity Interventions' Impact on Backdoor Threats in Deep Reinforcement Learningcited by 1
- 2023Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learningcited by 0
- 2026When Can You Poison Rewards? A Tight Characterization of Reward Poisoning in Linear MDPscited by 0
- 2026BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learningcited by 0
- 2026Angel or Demon: Investigating the Plasticity Interventions' Impact on Backdoor Threats in Deep Reinforcement Learning14 May 2026
- 2026BehaviorGuard: Online Backdoor Defense for Deep Reinforcement Learning7 May 2026
- 2026When Can You Poison Rewards? A Tight Characterization of Reward Poisoning in Linear MDPs11 Apr 2026
- 2025TooBadRL: Trigger Optimization to Boost Effectiveness of Backdoor Attacks on Deep Reinforcement Learning11 Jun 2025
- 2025WGLE:Backdoor-free and Multi-bit Black-box Watermarking for Graph Neural Networks10 Jun 2025
- 2025Fox in the Henhouse: Supply-Chain Backdoor Attacks Against Reinforcement Learning26 May 2025
- 2025DC-SGD: Differentially Private SGD with Dynamic Clipping through Gradient Norm Distribution Estimation29 Mar 2025
- 2024Cooperative Backdoor Attack in Decentralized Reinforcement Learning with Theoretical Guarantee24 May 2024
- 2024Which Experiences Are Influential for RL Agents? Efficiently Estimating The Influence of Experiences23 May 2024
- 2023Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learning1 Apr 2023
Similar, not cited
Close in wording, no citation either way
- 2026When Backdoors Meet Partial Observability: Attacking Real-World Reinforcement Learning
- 2026TOUR: A Trajectory-Level Unlearning Benchmark for Offline Reinforcement Learning
- 2025A Tutorial: An Intuitive Explanation of Offline Reinforcement Learning Theory
- 2026Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Reward
- 2024Towards Robust Policy: Enhancing Offline Reinforcement Learning with Adversarial Attacks and Defenses
- 2020Offline Reinforcement Learning Hands-On
- 2022A Survey on Offline Reinforcement Learning: Taxonomy, Review, and Open Problems
- 2023Using Offline Data to Speed Up Reinforcement Learning in Procedurally Generated Environments