# Black-box Dataset Ownership Verification via Backdoor Watermarking

백박스 데이터셋 소유권 검증을 위한 백도어 워터마킹

Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · arXiv · 2022년 8월 4일

- **연구 문제** 공개 데이터셋이 제3자 모델의 학습에 무단 사용되었는지를 블랙박스 질의만으로 확인하는 문제입니다.
- **연구 방법** 포이즌 전용 백도어로 데이터셋을 워터마킹하고, 의심 모델의 응답을 확률 또는 레이블에 대한 가설 검정으로 판단합니다.
- **주요 결과** CIFAR-10 이미지 분류 실험에서 워터마크 성공률은 대부분 99%를 넘고 벤ign 정확도 감소는 2% 미만으로 보고되며, 확률 기반 검증은 도용 시나리오를 높은 신뢰도로 식별합니다.

## 공개 데이터셋의 무단 학습 문제

공개된 고품질 데이터셋은 연구와 상업적 이용에 널리 쓰이지만, 대부분은 학술 목적으로만 쓸 수 있다고 명시합니다. 그러나 데이터셋을 가져간 제3자가 실제로 그 데이터로 모델을 학습했는지 확인할 방법은 기존에 마땅하지 않았습니다. 이 논문은 이 문제를 의심 모델이 보호 대상 데이터셋으로 학습되었는지 검증하는 소유권 검증 문제로 정식화합니다. 검증자는 모델의 파라미터, 구조, 학습 세부 사항을 알지 못하고 질의만 할 수 있는 블랙박스 설정을 가정합니다.

기존의 암호화와 차분 프라이버시는 데이터의 기능을 방해하고, 디지털 워터마킹은 학습 샘플을 공개하지 않는 침해자의 모델에 적용하기 어렵다고 논문은 설명합니다. 따라서 이 연구는 공개된 데이터셋 자체에 검증 가능한 흔적을 심는 방향을 택합니다.

## 포이즌 전용 백도어 기반 워터마킹과 가설 검정

제안 방법 DVBW는 두 단계로 구성됩니다. 첫 단계인 데이터셋 워터마킹에서는 원본 데이터셋의 일부를 선택하고, 포이즌 생성기 G로 변형한 뒤 목표 레이블을 부여합니다. 원문은 이 과정을 포이즌 전용 백도어 공격과 같다고 설명하며, BadNets처럼 트리거를 붙이는 방식과 블렌딩 방식이 예로 제시됩니다. 이렇게 만든 데이터셋을 공개하면, 이를 학습한 모델은 트리거가 있는 입력을 목표 레이블로 예측하는 백도어를 갖게 됩니다.

![Figure 1: The main pipeline of our method. In the ﬁrst step, defenders will exploit poison-only backdoor attacks for dataset watermarking. In the second step,…](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa/figures/figure-6f79458edb5bd703c73ae08ea3b05e8b.png?thumb=512)

**Fig. 1** : The main pipeline of our method. In the ﬁrst step, defenders will exploit poison-only backdoor attacks for dataset watermarking. In the second step, defenders will conduct dataset veriﬁcation by examining whether the suspicious model contains speciﬁc hidden backdoors via hypothesis tests. In this paper, we consider two representative black-box scenarios, where defenders can obtain the predicted probabilities and only have the predicted labels, respectively.

[원문](https://arxiv.org/abs/2209.06015v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · Black-box Dataset Ownership Verification via Backdoor Watermarking · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Figure 2: The examples of benign and watermarked images generated by BadNets and the blended attack on CIFAR-10 and ImageNet dataset. The trigger areas are ind…](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa/figures/figure-9e64d33a13d75464f03818688e852d08.png?thumb=512)

**Fig. 2** : The examples of benign and watermarked images generated by BadNets and the blended attack on CIFAR-10 and ImageNet dataset. The trigger areas are indicated in the red box.

[원문](https://arxiv.org/abs/2209.06015v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · Black-box Dataset Ownership Verification via Backdoor Watermarking · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

두 번째 단계인 데이터셋 검증에서는 의심 모델에 워터마크된 샘플과 벤ign 샘플을 질의하여 백도어 존재 여부를 가설 검정으로 판단합니다. 확률 기반 시나리오에서는 목표 클래스 확률의 차이에 대한 쌍별 t-검정을 쓰며, 귀무가설은 Pb + τ = Pw이고 대립가설은 Pb + τ \< Pw입니다. 여기서 τ는 \[0, 1\] 범위의 하이퍼파라미터입니다. 신뢰도 점수 ∆P는 Pw − Pb로 계산됩니다. 레이블 전용 시나리오에서는 워터마크된 샘플의 예측 레이블이 목표 레이블인지 Wilcoxon 검정으로 판단합니다. 이 검정에서는 목표 레이블을 전체 클래스 수 K의 절반 근처로 두는 것을 권고한다고 논문은 밝힙니다.

## 이미지 분류 실험의 워터마킹과 검증 결과

이미지 분류 실험은 CIFAR-10과 200개 클래스로 제한한 ImageNet 부분집합에서 수행되었습니다. 모델은 ResNet-18과 VGG-19(배치 정규화 포함)이며, 공격은 BadNets와 블렌디드 공격을 포이즌 비율 γ = 0.1로 적용했습니다. 검증에는 m = 100개의 벤ign 테스트 샘플을 사용했고, 확률 기반 검증의 τ는 0.2로 설정했습니다.

워터마킹 결과에서 CIFAR-10의 워터마크 성공률은 모든 경우에 94%보다 크고 대부분 99%보다 크다고 보고됩니다. 벤ign 정확도 감소는 2% 미만이며 대부분 1% 미만입니다. 확률 기반 검증에서는 실제 도용 상황의 Steal 시나리오에서 ∆P가 0.92에서 0.99 사이이며 p-value가 매우 작게 나타나고, 독립 트리거와 독립 모델 시나리오에서는 ∆P가 0에 가깝고 p-value가 1에 가깝습니다. 레이블 전용 시나리오에서도 Steal의 p-value는 대부분 0 또는 10^-3 이하이며, 원문은 이 시나리오가 확률 기반 검증보다 덜 효과적이라고 인정합니다.

![TABLE I: The benign accuracy (%) and watermark success rate (%) of dataset watermarking on CIFAR-10 and ImageNet.](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa/figures/figure-fe62533956fcc884b89180e541d4bfbe.png?thumb=512)

**원문 그림** TABLE I: The benign accuracy (%) and watermark success rate (%) of dataset watermarking on CIFAR-10 and ImageNet.

[원문](https://arxiv.org/abs/2209.06015v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · Black-box Dataset Ownership Verification via Backdoor Watermarking · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![TABLE II: The effectiveness ( ∆P and p-value) of probability-available dataset veriﬁcation on CIFAR-10 and ImageNet.](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa/figures/figure-3c1a723afe7718ecf0cdb5faa1f3156a.png?thumb=512)

**원문 그림** TABLE II: The effectiveness ( ∆P and p-value) of probability-available dataset veriﬁcation on CIFAR-10 and ImageNet.

[원문](https://arxiv.org/abs/2209.06015v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · Black-box Dataset Ownership Verification via Backdoor Watermarking · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![TABLE III: The effectiveness (p-value) of label-only dataset veriﬁcation on CIFAR-10 and ImageNet.](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa/figures/figure-0ae25f63825e5bf5f1501e837671fc5e.png?thumb=512)

**원문 그림** TABLE III: The effectiveness (p-value) of label-only dataset veriﬁcation on CIFAR-10 and ImageNet.

[원문](https://arxiv.org/abs/2209.06015v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · Black-box Dataset Ownership Verification via Backdoor Watermarking · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## Theorem 1의 적용 범위

Theorem 1은 확률 기반 검증에서 워터마크 성공률 W가 임계값을 넘으면 귀무가설을 유의수준 α에서 기각할 수 있다는 명제입니다. 이 정리는 의심 모델의 벤ign 샘플에 대한 목표 클래스 확률 Pb가 β보다 작다는 가정 아래에서 성립합니다. 원문에 따르면 정리의 조건은 √(m − 1)·(W − β − τ) − t\_{1−α}·√(W − W²) \> 0 입니다. 여기서 t\_{1−α}는 자유도 m − 1의 t-분포에서 (1 − α)-분위수이며, m은 X의 샘플 수입니다.

이 결과는 WSR이 충분히 높을 때 소수의 질의로도 소유권을 주장할 수 있음을 뜻합니다. 다만 이 주장은 위의 가정과 확률 기반 검증이라는 범위 안에서만 성립하며, 레이블 전용 검증의 통계량에 대한 직접적인 관계는 원문에서 다루지 않습니다.

## 레이블 전용 검증과 적응형 방어의 한계

본 방법의 레이블 전용 검증은 확률 기반 검증보다 효과가 작다고 저자들이 인정합니다. 저자들은 이 차이를 레이블만으로는 정보가 적기 때문이라고 해석하며, 이 시나리오의 개선은 향후 과제로 남겨 둡니다. 또한 원문은 레이블 전용 설정에서 WSR과 통계량 사이의 직접적인 이론 관계를 만들기 어렵다고 설명합니다.

적응형 방어 측면에서 Anti-backdoor learning(ABL)은 CIFAR-10과 ImageNet에서는 워터마크된 샘플을 탐지하지만, 텍스트와 그래프 데이터셋에서는 탐지에 실패한다고 보고됩니다. 따라서 모든 모달리티에서 ABL을 회피하는 워터마크는 향후 과제입니다.

![Figure 8: The resistance of our DVBW to anti-backdoor learning on six different datasets](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa/figures/figure-14f2d7d501058604f2e98a1f59a2fee5.png?thumb=512)

**Fig. 8** : The resistance of our DVBW to anti-backdoor learning on six different datasets.

[원문](https://arxiv.org/abs/2209.06015v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia · Black-box Dataset Ownership Verification via Backdoor Watermarking · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 8월 4일
- **등록일**: 2026년 11월 6일
- **수정일**: 2023년 3월 31일
- **버전**: v2
- **arXiv**: 2209.06015
- **분류**: cs.CR · cs.AI · cs.CV · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2209.06015v2) · [원문 PDF ↗](https://arxiv.org/pdf/2209.06015v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Deep learning, especially deep neural networks (DNNs), has been widely and successfully adopted in many critical applications for its high effectiveness and efficiency. The rapid development of DNNs has benefited from the existence of some high-quality datasets ($e.g.$, ImageNet), which allow researchers and developers to easily verify the performance of their methods. Currently, almost all existing released datasets require that they can only be adopted for academic or educational purposes rather than commercial purposes without permission. However, there is still no good way to ensure that. In this paper, we formulate the protection of released datasets as verifying whether they are adopted for training a (suspicious) third-party model, where defenders can only query the model while having no information about its parameters and training details. Based on this formulation, we propose to embed external patterns via backdoor watermarking for the ownership verification to protect them. Our method contains two main parts, including dataset watermarking and dataset verification. Specifically, we exploit poison-only backdoor attacks ($e.g.$, BadNets) for dataset watermarking and design a hypothesis-test-guided method for dataset verification. We also provide some theoretical analyses of our methods. Experiments on multiple benchmark datasets of different tasks are conducted, which verify the effectiveness of our method. The code for reproducing main experiments is available at \\url{https://github.com/THUYimingLi/DVBW}.

## 원문 인용

Yiming Li, Mingyan Zhu, Xue Yang, Yong Jiang, Tao Wei, Shu-Tao Xia (2022). Black-box Dataset Ownership Verification via Backdoor Watermarking. arXiv:2209.06015v2. https://arxiv.org/abs/2209.06015v2

**BibTeX**

```
@misc{li2022black,
  title = {{Black-box Dataset Ownership Verification via Backdoor Watermarking}},
  author = {Yiming Li and Mingyan Zhu and Xue Yang and Yong Jiang and Tao Wei and Shu-Tao Xia},
  year = {2022},
  eprint = {2209.06015},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.06015v2}
}
```

## 이 논문의 용어

- [Imagenet](https://refivu.com/terms/5eadad128667-imagenet)
- [CIFAR-10](https://refivu.com/terms/19035a518d0a-cifar-10)
- [BadNets](https://refivu.com/terms/f5773e72f706-badnets)

## 다른 논문 해설

- [Localization Distillation for Object Detection](https://refivu.com/papers/563d8312-dafb-4514-a066-301ec237e990-localization-distillation-for-object-detection.md)
- [Multi-modal Visual Tracking: Review and Experimental Comparison](https://refivu.com/papers/fe96adae-88fb-4c19-adfb-063d5573c238-multi-modal-visual-tracking-review-and-experimental.md)
- [SeUNet-Trans: A Simple yet Effective UNet-Transformer Model for Medical Image Segmentation](https://refivu.com/papers/84841b62-f8df-4cd7-9664-581f52697e2b-seunet-trans-a-simple-yet-effective-unet-transformer.md)
- [Active label cleaning for improved dataset quality under resource constraints](https://refivu.com/papers/7eb19607-f419-4327-a897-f18af58beb22-active-label-cleaning-for-improved-dataset-quality-under.md)
- [Cross-Cohort Generalizability of Deep and Conventional Machine Learning for MRI-based Diagnosis and Prediction of Alzheimer's Disease](https://refivu.com/papers/f63536c0-e183-40b7-b92d-34b352a5722b-cross-cohort-generalizability-of-deep-and-conventional.md)
- [Inertial Sensor Data To Image Encoding For Human Action Recognition](https://refivu.com/papers/9f0968e2-3c4a-486d-9d91-46c5043c1b0a-inertial-sensor-data-to-image-encoding-for-human.md)
- [Multimodal Transformers for Wireless Communications: A Case Study in Beam Prediction](https://refivu.com/papers/588ad7c6-f087-4f4f-9a7d-30313e79c7b7-multimodal-transformers-for-wireless-communications-a-case.md)
- [Investigating Reasons for Disagreement in Natural Language Inference](https://refivu.com/papers/d6c693ee-1ad9-454f-8f33-d3fcb1408c3a-investigating-reasons-for-disagreement-in-natural-language.md)
- [Generalist AI Control: Towards Multi-purpose Adaptive Algorithms](https://refivu.com/papers/c16cc95e-a6b9-411c-a060-7d4bc461b3d5-generalist-ai-control-towards-multi-purpose-adaptive.md)
- [STFT-Domain Neural Speech Enhancement with Very Low Algorithmic Latency](https://refivu.com/papers/2c2ddb27-1de6-4744-a916-ffb8e94f1f4b-stft-domain-neural-speech-enhancement-with-very-low.md)
- [InstructPatentGPT: Training patent language models to follow instructions with human feedback](https://refivu.com/papers/d15b102d-f922-4bcf-8c75-ef1ea1603b36-instructpatentgpt-training-patent-language-models-to-follow.md)
- [NMPC-Augmented Visual Navigation and Safe Learning Control for Large-Scale Mobile Robots](https://refivu.com/papers/e14c77f2-7230-4f9d-a5d7-e52ebe359838-nmpc-augmented-visual-navigation-and-safe-learning-control.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa-black-box-dataset-ownership-verification-via-backdoor)
