This paper introduces ORL-AUDITOR, the first trajectory-level dataset auditing mechanism specifically designed for offline Deep Reinforcement Learning (DRL). By leveraging cumulative rewards as a unique, intrinsic fingerprint, it enables data owners to prove whether a suspect model was trained on their proprietary data with high accuracy, providing a critical tool for intellectual property (IP) protection in the AI era.
What Problem Does This Paper Address?
Offline DRL is a powerful paradigm where agents learn from pre-collected datasets rather than risky real-world interactions. These datasets—often collected by experts or through expensive simulations—are valuable assets. However, they are prone to unauthorized use or "piracy."
Existing dataset protection methods fall short in this context:
- Watermarking requires modifying the data before publication, which is impossible for datasets already in the wild.
- Membership Inference typically requires access to the environment to generate "non-member" data, which is unavailable in purely offline scenarios.
- Dataset Inference for supervised learning relies on classification labels and decision boundaries, concepts that don't translate directly to the continuous action spaces of RL.
ORL-AUDITOR fills this gap by providing a post-event auditing mechanism that requires only black-box access to a suspect model.
Methods
The authors propose a new paradigm: using cumulative rewards as a unique identifier. Since DRL models are explicitly trained to maximize these rewards based on a specific dataset's transitions, the reward distribution becomes a stable "fingerprint" of that data.
The ORL-AUDITOR workflow consists of three main steps:
- Model Preparation: The auditor trains a critic model on the target dataset to estimate cumulative rewards for state-action pairs. They also train several shadow models on the same dataset with different random initializations to capture the natural variance of legitimate training.
- Cumulative Reward Collection: The auditor queries both the shadow models and the suspect model using states from the target dataset. The critic model then estimates the cumulative rewards for the actions produced by these models.
- Audit Process: Using hypothesis testing (specifically Grubbs' test), the auditor compares the suspect model's reward distances against the distribution established by the shadow models. If the suspect model's behavior aligns with the shadow models, it is flagged as being trained on the target dataset.
Datasets
The researchers evaluated ORL-AUDITOR using a variety of standard and real-world benchmarks:
- Gym Tasks: Lunar Lander, Bipedal Walker, and Ant. These cover a range of state/action space complexities (from 8-dim to 111-dim).
- Real-World Datasets: The authors used the "HalfCheetah" task with datasets from Google (D4RL) and DeepMind (RL Unplugged) to demonstrate practical effectiveness on published, high-quality data.
Key Insights and Ideas
- Rewards as Fingerprints: The most significant "aha" moment is that while different models might take slightly different actions, their estimated cumulative rewards for a given dataset are remarkably consistent if they were trained on that specific data.
- Shadow Models for Adaptivity: Because every RL task and dataset is different, a fixed similarity threshold won't work. Shadow models allow the auditor to dynamically determine what "normal" training looks like for a specific dataset.
- Wasserstein Distance is Key: The authors found that the Wasserstein distance (Earth Mover's Distance) is particularly effective for this audit because it captures both numerical and positional deviations in the reward sequences.
Key Results
- High Accuracy: ORL-AUDITOR achieved an auditing accuracy of over 95% across multiple DRL models (BC, BCQ, IQL, TD3+BC) and tasks, with false positive rates below 2.88%.
- Robustness to Defense: The system remained effective even when adversaries used ensemble architectures (a common defense against membership inference), maintaining over 85% accuracy.
- Resistance to Obfuscation: It proved robust against "action distortion," where an adversary adds Gaussian noise to the model's outputs to hide its training origins.
- Efficiency: The authors demonstrated that as few as 9 to 15 shadow models are sufficient to achieve high confidence in the audit results.
Limitations and Future Work
- Significance Level Trade-offs: The authors noted that accuracy can decrease when extremely strict significance levels (e.g., $\alpha = 0.001$) are required by the data owner.
- Strong Distortion: While robust to moderate noise, extremely heavy action distortion can degrade performance. Future work may involve integrating multiple distance metrics to enhance robustness against aggressive obfuscation.
- Computational Cost: Training shadow models requires significant compute, which might be a barrier for smaller institutions, though the open-sourcing of the tool helps mitigate this.
ORL-AUDITOR is open-sourced at https://github.com/link-zju/ORL-Auditor.
Summary updated