DATABench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspective

Shuo Shao, Yiming Li, Mengren Zheng, Zhiyang Hu, Yukun Chen, Boheng Li, Yu He, Junfeng Guo, Tianwei Zhang, Dacheng Tao, Zhan Qin · DOI

Introduction

As deep learning models increasingly rely on massive datasets, the unauthorized use of proprietary or private data has become a significant concern. Dataset auditing has emerged as a technical solution to verify whether a specific dataset was used to train a model. This process typically relies on identifying "traces" left by the data, such as overfitting signals or artificial watermarks.

Overview of the dataset auditing pipeline, illustrating the stages of data preparation, adversarial exploitation, and subsequent auditing.

However, existing auditing research often assumes a "naive" user who simply trains a model. DATABench introduces a more realistic evaluation framework by considering a "clever adversary"—one who intentionally manipulates the training pipeline to evade detection or forge evidence of data usage to frame others.

The DATABench Framework

The researchers propose a novel taxonomy for auditing methods, categorizing them into two types:

  1. Internal Feature (IF)-based: These methods detect inherent characteristics of the data, such as Membership Inference Attacks (MIA) that exploit how a model overfits to its training samples.
  2. External Feature (EF)-based: These rely on artificial signals, like backdoors or watermarks, injected into the dataset by the owner before release.

Against these methods, DATABench evaluates two primary adversarial objectives: Evasion Attacks, where the goal is to hide the use of a dataset, and Forgery Attacks, where an adversary manipulates an unused dataset to make it appear as if it were part of the training set.

Adversarial Strategies

To achieve these objectives, the framework identifies three critical stages where an adversary can intervene: pre-processing, training, and post-training.

The three stages of adversarial manipulation: pre-processing the dataset, modifying the training process, and post-training manipulation of inputs and outputs.

The strategies employed include:

  • Decoupling: Weakening the model's reliance on specific data features to reduce detectable signals.
  • Removal: Actively eliminating artificial watermarks during the training process.
  • Detection: Identifying and ignoring "trigger" samples during the model's inference phase to prevent an auditor from activating a watermark.

Experimental Evaluation

The study utilizes the DATABench benchmark, which includes 9 representative auditing methods (e.g., Dataset Inference, ZeroMark, and Domain Watermark) and 22 distinct attacks. Experiments were conducted on CIFAR-10 and a 100-class subset of ImageNet, using architectures ranging from ResNet-18 to MobileViT.

Key Findings

  • Fragility of Auditing Traces: Simple pre-processing steps, such as denoising or standard data augmentation, can significantly degrade the effectiveness of sophisticated auditing techniques. For instance, AutoEncoder-based denoising successfully evaded 5 out of 9 auditing methods.
  • Training-Phase Evasion: Techniques like Differential Privacy (DP-SGD) and Adversarial Training were found to be highly effective at "washing away" auditing signals, though they may impact model performance.
  • The High Cost of Synthesis: While training a generative model to create synthetic data for training is the most effective evasion tactic, it incurs a massive 65x increase in computational overhead.
  • Vulnerability to Forgery: In white-box settings, forgery attacks achieved near-perfect success rates. By using adversarial examples to mimic the confidence patterns of training data, attackers can easily trick auditors into producing false positives.

Conclusion and Future Directions

The results from DATABench reveal that current dataset auditing methods are not robust against motivated adversaries. The "traces" left by data are easily manipulated, and the sensitivity of these methods can be turned against them through forgery.

Future work must address the auditing of generative models (like LLMs), which present unique challenges due to their scale and stochastic nature. Furthermore, there is an urgent need for "certified" auditing—methods that provide mathematical guarantees of robustness against adversarial manipulation, moving beyond the current empirical "cat-and-mouse" game of attacks and defenses.

Summary updated

BibTeX
@misc{shao2025databench,
  author = {Shuo Shao and Yiming Li and Mengren Zheng and Zhiyang Hu and Yukun Chen and Boheng Li and Yu He and Junfeng Guo and Tianwei Zhang and Dacheng Tao and Zhan Qin},
  title = {{DATABench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspective}},
  year = {2025},
  eprint = {2507.05622},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.05622},
}
Figure