DIPBox: A Multi-scale Testing Framework for Tracking Dataset Regeneration

Tian Dong, Yan Meng, Shaofeng Li, Guoxing Chen, Yuling Chen, Zhen Liu, Haojin Zhu, Hao ChenarXiv 2026

TL;DR

High-value training datasets are increasingly vulnerable to "regeneration attacks"—where adversaries modify, regroup, or generatively reproduce data to evade traditional copyright tracking while retaining the dataset's utility. This paper introduces DIPBox, the first multi-scale testing framework that successfully tracks these regenerated datasets by analyzing features across sample, set, and distribution levels. By exploiting a fundamental learning-theoretic trade-off between model utility and distributional divergence, DIPBox achieves a 100% detection rate against state-of-the-art evasion techniques.

What Problem Does This Paper Address?

As data becomes the lifeblood of modern AI, curating high-quality datasets has become incredibly expensive. Naturally, this makes datasets prime targets for intellectual property theft. While traditional defenses rely on proactive watermarking or passive memorization tracking, sophisticated adversaries can easily bypass these methods using dataset regeneration.

Instead of directly copying a dataset, an adversary might apply aggressive filters (like blurring), mix the data with independent sets, or use generative models (like Stable Diffusion or GANs) to synthesize entirely new samples that mimic the original distribution. Because the surface-level data points change, traditional watermarks are destroyed, and exact-match lookups fail. However, the resulting "pirated" dataset still trains models with virtually identical utility.

To prove this is a real-world issue, the authors conducted a measurement study on public brain tumor datasets hosted on Hugging Face. They discovered that datasets with restrictive non-commercial licenses were frequently repackaged into other open-source repositories, showing exact-duplicate overlap rates between 49% and 100%.

Methods

DIPBox tackles dataset regeneration by treating it like software infringement: instead of looking for an exact copy of a single file, it analyzes multiple components across an "onion-layer" hierarchy of dataset features.

Figure 3: Overview of the regeneration attack primitives on our identified dataset features. The dataset has an onion- layered structure, where the surface-level feature (e.g., da- tum) is the skin and the inner feature (i.e., distribution) rep- resents the onion core. The adversary can construct a pirated dataset by regeneration attacks at three levels.

The framework operates in three main stages:

  1. Audit Set Creation: Rather than testing the entire dataset, DIPBox selects a small, optimized audit set. Crucially, it samples outlier points (hard-to-learn, high-loss samples from the victim's model). These edge cases act as a geometric boundary, amplifying the behavioral differences between a truly independent dataset and a regenerated one.
  2. Multi-Scale Similarity Checking: Depending on what the auditor can access (ranging from black-box model queries to partial dataset previews), DIPBox deploys four distinct metrics:
  3. Output Distance (OD): Measures the divergence in prediction outputs on the audit set (requires black-box model access).
  4. Gradient Distance (GD): Analyzes layer-wise normalized gradients to see if the suspect model treats the audit points as "already seen" training data (requires white-box model access).
  5. Sample Distance (SD): Approximates the fraction of duplicate or highly similar samples (requires partial dataset access).
  6. Distribution Distance (DD): Uses a modified Maximum Mean Discrepancy (MMD) with random neural features to calculate the macro-level distribution gap, catching generative "polishing" attacks (requires partial dataset access).
  7. Regeneration Judgment: A decision pipeline thresholds these metrics to flag the dataset and attribute the specific type of regeneration attack used.
Figure 4: The workflow of DIPBox. With the created audit set, the auditor measures the similarity scores based on their access to the target model/dataset. The final judgment is based on thresholding and applies to multiple downstream investigations.

Datasets

The authors evaluated DIPBox using a massive benchmark consisting of 16 base datasets, 320 regenerated datasets, and 590 trained models across both vision and text domains:

  • Vision Benchmarks: MNIST, CIFAR-10, and FairFace (128×128 facial images).
  • Text Benchmark: AG-News (using BERT embeddings).
  • Regeneration Tools: Attacks were simulated using Gaussian/glass blurring, dataset mixing, conditional DCGANs, StyleGAN3, EDM diffusion models, and ChatGPT-enhanced T5 paraphrasers.
  • Negative (Independent) Datasets: To ensure realistic evaluation, the authors manually harmonized and selected distinct public datasets addressing the same tasks (e.g., SVHN for MNIST, STL-10/ImageNet for CIFAR-10, and Yahoo-News for AG-News).

Key Insights and Ideas

  • The Utility-Evasion Trade-off: Backed by domain adaptation theory, the authors formalize a fundamental mathematical limit for adversaries. If a regenerated dataset drifts too far from the source distribution to evade detection, its training utility plummets. To keep the dataset useful, the adversary must keep it detectable.
  • Outliers as Distribution Contours: Standard in-distribution samples are easy for any model to fit, making them poor discriminators. High-loss outliers map the unique "shape" of a dataset's distribution, making them highly sensitive indicators of data provenance.

Key Results

  • Flawless Detection: DIPBox achieved a 100% True Positive Rate (TPR) across both CIFAR-10 and FairFace benchmarks under default settings.
  • Outperforming the Baseline: Prior state-of-the-art defenses like Data-use audit or RAI$^2$ completely failed (0% TPR) against distribution-level generative attacks because they only look for sample-level anomalies. DIPBox successfully caught all generative polishing variants.
  • Resilience to Adaptive Attacks: Even when adversaries tried to mask their theft using Differential Privacy (DP-SGD) or by optimizing their models specifically to maximize DIPBox's distance metrics, they could not evade the framework without suffering severe drops in model utility (often losing over 30-40% relative accuracy).

Limitations and Future Work

While highly effective, DIPBox's strongest metrics (GD and DD) currently rely on having either white-box model access or at least a partial preview of the suspect dataset. In a strict offline, black-box scenario where an auditor can only query a remote API, tracking distribution-scale perturbations remains incredibly challenging.

The authors note that future work will focus on integrating deep-learning interpretability techniques to extract stronger tracking signals directly from black-box model outputs, as well as developing divide-and-conquer strategies to scale the framework to massive foundation-model datasets.

Summary updated

BibTeX
@misc{dong2026dipbox,
  author = {Tian Dong and Yan Meng and Shaofeng Li and Guoxing Chen and Yuling Chen and Zhen Liu and Haojin Zhu and Hao Chen},
  title = {{DIPBox: A Multi-scale Testing Framework for Tracking Dataset Regeneration}},
  year = {2026},
  eprint = {2606.21240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21240},
}
Figure