Abstract
Offline reinforcement learning (RL) relies heavily on the quality and coverage of pre-collected datasets. While existing security research often focuses on single-step data-policy coverage, this paper identifies a more potent vulnerability: sequence-level coverage. We present the Collapsing Sequence-Level Data-Policy Coverage (CSDPC) framework, a four-stage poisoning attack designed to eliminate rare but essential behavioral patterns. Experimental results across MuJoCo and Carla-Lane benchmarks show that perturbing as little as 1% of the data can degrade agent performance by over 90%. This work demonstrates that sequence-level coverage is a fragile yet vital component of offline RL, posing significant risks for real-world deployment.
Introduction
Offline RL allows agents to learn from static datasets, avoiding the risks of real-world exploration. However, its success depends on data-policy coverage: the dataset must sufficiently cover the states and actions the agent might encounter. Most existing research focuses on "single-step" coverage—ensuring data matches choices at any given moment. Yet RL is inherently sequential; a single "bad" step can derail an entire trajectory. This paper argues that ignoring the multi-step nature of RL leaves a massive security gap. If an attacker can identify and "erase" rare but necessary sequences, the agent will fail in real-world scenarios.
The CSDPC Framework
The authors introduce Collapsing Sequence-Level Data-Policy Coverage (CSDPC), a sophisticated pipeline designed to collapse an agent's learnable distribution through minimal data perturbation.
The attack follows four stages:
- Decision Unit Conversion: Discretizing continuous RL data into "decision units" using k-means clustering on high-level features.
- Decision Pattern Extraction: Merging consecutive identical units to capture behavioral logic rather than high-frequency noise.
- Rare Pattern Identification: Identifying the "long tail" of the dataset—sequences that are infrequent but essential for full coverage.
- Poisoning via Perturbation: Applying stealthy perturbations (within a 5% magnitude limit) to push rare sequences into common clusters, effectively erasing them from the agent's perspective.
Experimental Evaluation
The researchers evaluated CSDPC using standard benchmarks: the MuJoCo robot simulator tasks (Walker2D, Hopper, and Half-Cheetah) and the Carla-Lane autonomous driving simulator. The attack targets the data distribution itself, making it algorithm-agnostic. It was tested against various offline RL algorithms, including CQL, BEAR, BCQ, and Behavioral Cloning (BC).
Key Insights and Results
Performance Collapse
The attack proved devastatingly effective. On the Walker2D task, poisoning just 1% of the data resulted in an 86% to 92% drop in the agent's average cumulative reward (ACR). Across all tested environments and algorithms, the attack consistently achieved high Attack Effectiveness Rates (AER).
Stealth and Robustness
Unlike brute-force attacks, CSDPC operates at a low 1% poisoning rate. It successfully evaded state-of-the-art anomaly detectors like GradCon, maintaining an F1 detection score of only 12.5%. Furthermore, the attack is robust; even with access to only 1% of the total dataset for analysis, attackers could achieve 86% of the effectiveness of a full-access attack.
Theoretical Foundation
The authors mathematically demonstrate that while single-step coverage errors are linear, sequence-level coverage errors grow exponentially with sequence length. This explains why minor sequence perturbations lead to catastrophic failures.
Conclusion
This research serves as a critical warning for the offline RL community. As these agents move toward safety-critical deployments, security metrics must evolve beyond single-step analysis to protect the entire behavioral sequence. Future work will focus on developing robust defense strategies, such as coverage-aware data augmentation and sequence consistency checking.
Summary updated