Skip to content

Toward Transformation-Resistant Detection for Digital Media ProvenanceTowards transformation-resilient provenance detection of digital media

arXiv· arXiv:2011.07355· Jamie Hayes, Krishnamurthy, Dvijotham, Yutian Chen, Sander Dieleman, Pushmeet Kohli, Norman CasagrandeDeepMindIndexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

DeepMind proposes ReSWAT, which uses adversarial training to learn a zero-bit watermark detector robust to post-processing transformations, reports 100% detection rates on ImageNet and speech data, and provides certification guarantees for perturbations bounded in l2 norm.

Threat modelThe attacker's goal is to remove the watermark (causing false negatives) or forge a watermark (specificity attack, causing false positives) through post-processing transformations (cropping, rotation, adding noise, pitch shifting, etc.). The attacker cannot obtain content that is simultaneously labeled as watermarked/non-watermarked, nor access an arbitrary number of watermarked contents; in the false positive experiments, the attacker knows the detector architecture, algorithm, hyperparameters, and training set.

Questions
Generative models make synthetic images and audio hard to distinguish from real signals, requiring tracking of signal provenance. Watermarking is one approach, but the authors state that existing techniques are fragile and can be bypassed by post-processing transformations such as cropping and pitch shifting.
Methods
Propose ReSWAT: use PGD under an l∞ constraint to embed the watermark directly into the signal, minimizing the detector loss; the detector is adversarially trained with a minimax objective over a distribution of sampling transformations, and an ensemble direction is used to reduce watermark transferability.
Experiments and results
Detector test accuracy on ImageNet and Cifar10 is 100%; under rotation and cropping attacks, the authors state that ReSWAT requires far less distortion than Broken Arrows; within an l2 radius of 1.5, nearly all of 200 watermarked samples are certifiably robust; in human evaluation, the MOS of watermarked speech is close to that of non-watermarked speech.
Limitations and future work
The authors assume the attacker cannot obtain labeled watermarked/unwatermarked content and cannot access an arbitrary amount of watermarked content. Among OOD transformations, rotation, JPEG compression, and blur produce more errors; sampling multiple transformations per step increases training time by about 5 times.
Experimental setupResNet152、Wide ResNet et al. · ImageNet、Cifar10 et al. · 检测准确率、假阳性率 et al.
Evaluated models
ResNet152Wide ResNetDeepSpeaker
Benchmarks
ImageNetCifar10SVHNBigGAN 生成图像专有 text-to-speech 语音数据集MS COCO
Metrics
检测准确率假阳性率假阴性率SSIMPSNR认证准确率(certified accuracy)MOS比特恢复率
AI summaryThe researchers propose the ReSWAT (Resilient Signal Watermarking via Adversarial Training) framework, which learns a watermark detector resistant to post-processing transformations through adversarial training, for tracing the provenance of signals such as images, videos, and audio. The motivation is that signals synthesized by deep generative models are difficult to distinguish from real signals and carry a risk of misuse; embedding watermarks at signal creation is a potential solution, but existing detection mechanisms are easily bypassed by post-processing such as image cropping and audio pitch shifting. Experiments show that after image and audio signals undergo multiple post-processing transformations, the method can still reliably detect watermarks and outperforms related work under this setting; for specific perturbations with bounded L2 norm, it can also provide formal guarantees on watermark detection capability. The method is applicable to domains with continuous data representations; examples of watermarked samples are shown in https://drive.google.com/open?id=1-yZ0WIGNu2Iez7UpXBjtjVgZu3jJjFga。

The researchers propose the ReSWAT (Resilient Signal Watermarking via Adversarial Training) framework, which learns a watermark detector resistant to post-processing transformations through adversarial training, for tracing the provenance of signals such as images, videos, and audio. The motivation is that signals synthesized by deep generative models are difficult to distinguish from real signals and carry a risk of misuse; embedding watermarks at signal creation is a potential solution, but existing detection mechanisms are easily bypassed by post-processing such as image cropping and audio pitch shifting. Experiments show that after image and audio signals undergo multiple post-processing transformations, the method can still reliably detect watermarks and outperforms related work under this setting; for specific perturbations with bounded L2 norm, it can also provide formal guarantees on watermark detection capability. The method is applicable to domains with continuous data representations; examples of watermarked samples are shown in https://drive.google.com/open?id=1-yZ0WIGNu2Iez7UpXBjtjVgZu3jJjFga。

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to watermark digital signals so they remain detectable after post-processing transformations, in order to trace signal provenance.

    Core problem: how to design a zero-bit watermarking scheme robust to post-processing transformations, for tracking the provenance of digital signals (images, audio, etc.).

    • Problem setting: the authors state that advances in generative models make synthetic signals hard to distinguish from real ones, creating risks of misuse such as deep fakes; content published by an institution may be tampered with by malicious parties and then used, requiring verification of its provenance.
    • Shortcomings of existing methods: the authors state that current watermarking techniques are fragile, and post-processing transformations such as cropping, Gaussian noise addition, blurring, rotation, and pitch shifting can bypass detection; while methods that directly detect synthetic signals struggle to be independent of the generative model.
    • Core idea: formulate robust watermark detection as empirical risk minimization with a minimax loss, drawing on adversarial training (Madry et al., 2017) and expectation over transformation (Athalye et al., 2017), so that the watermark remains detectable under a distribution of transformations.
    • Paper contributions: proposes the ReSWAT (Resilient Signal Watermarking via Adversarial Training) framework, applicable to domains with continuous data representations; experiments on images and audio, with formal guarantees for transformations bounded in l2 norm.
    • Threat model (Section 5):
      • Attacker's goal: remove the watermark via transformations (causing false negatives), or mount a specificity attack to forge a watermark (causing false positives).
      • Attacker's knowledge: in false-positive experiments, the attacker knows the detector architecture, the watermark and detector algorithms, the hyperparameters, and the exact training set.
      • Attacker's capability limits: cannot obtain content that is both labeled and watermarked/unwatermarked, and cannot access an arbitrary amount of watermarked content; Appendix F additionally tests black-box attacks with a queryable detector (10/100 queries).
      • Victim system: an institution that publishes image/audio/video content and watermarks it with ReSWAT.
  2. What related research exists?

    Related work falls into three categories: synthetic signal detection, traditional zero-bit watermarking, and deep-learning multi-bit watermarking; this paper directly compares with Broken Arrows.

    Synthetic signal detection

    • Marra et al. [2018] study identifiable fingerprints that GANs leave in generated images; Nataraj et al. [2019] train a model on RGB channel co-occurrence matrices to detect GAN-generated images; Yu et al. [2018] train a model to detect whether an image was generated by a GAN and attribute it to the source model. The paper notes these methods are designed specifically for the image domain, and their robustness to transformations applied by an attacker is unknown.

    Traditional (zero-bit) watermarking

    • The paper summarizes the watermarking pipeline as two stages, embedding and decoding, evaluated by fidelity, robustness to post-processing transformations, and false positive rate; robustness is measured against attacks such as degradation (noise addition), removal (cropping), and geometric (compression/relocation).
    • Broken Arrows (BA) [Furon and Bas, 2008]: the paper calls it the state-of-the-art zero-bit watermarking scheme in the image domain, winner of the BOWS competition [Bennour et al., 2007]; it has a provable minimum false positive rate under Gaussian noise, but provides no robustness to geometric attacks such as rotation and cropping. The authors state that no public zero-bit scheme claims to outperform BA, and BA is still used as a baseline by recent work (Quiring et al. [2018]).

    Deep-learning multi-bit watermarking

    • Mun et al. [2017], Ahmadi et al. [2018], Zhu et al. [2018], Zhang et al. [2019], Wen and Aydore [2019], Luo et al. [2020], among others, use deep learning for multi-bit watermarking. Appendix E notes that these works measure accuracy by the number of bits recovered, which differs from this paper's zero-bit goal and cannot be compared directly; moreover Zhu et al. [2018], Wen and Aydore [2019], and Luo et al. [2020] use adversarial training of two models, an encoder and a detector, whereas ReSWAT has only one model, the detector, and the watermark is added directly to the input along the gradient direction.

    Baselines and benchmarks: the main image comparison baseline is Broken Arrows (Section 4.1, Appendix B); the multi-bit extension experiments compare with Zhu et al. [2018] and Luo et al. [2020] (Appendix E, MS COCO).

    The authors position this paper as follows: unlike work on detecting synthetic signals, this paper performs provenance detection independent of the generative model; unlike BA, this paper learns a watermark robust to transformations via adversarial training; unlike multi-bit watermarking work, this paper is a zero-bit scheme and requires no encoder model.

  3. How does the paper address this problem?

    ReSWAT embeds watermarks using PGD under an l∞ constraint and trains the detector with a minimax objective over a distribution of sampling transformations.

    Overall idea: formulate robust watermark detection as empirical risk minimization, with both watermark embedding and detector training implemented via optimization similar to adversarial attacks/adversarial training; the framework is named ReSWAT.

    Problem formulation

    • Signals come from a probabilistic source Ps (either natural or artificial sources are fine). In the watermarking scheme (W, D), W is the embedding routine and D is the detector; for any T in the transformation set T, it is required that D(T(W(s)))=1 and D(T(s))=0 hold with high probability (Definition 2.1).
    • With W fixed, the training objective for D is the empirical risk Es∼ Ps maxT∈ T [ℓ(D(T(W(s))),1) + ℓ(D(T(s)),0)], where the inner maximization resembles an adversarial training objective.

    Watermark embedding

    • The detector is parameterized as a neural network fθ. The watermark δ is obtained by solving W(s) = min|δ|∞ ≤ ϵ ℓ(fθ(s+δ), 1), solved efficiently with PGD; mathematically this resembles constructing adversarial examples, but the direction is to "friendly" minimize the detector loss.
    • The parameter ε controls watermark perceptibility: too large and the watermark is obvious, too small and it is easily washed out by post-processing. The paper explains that the l∞ norm is chosen because it spreads the watermark over the entire signal, making it more robust to geometric attacks (occluding local regions).

    Detector training

    • The training objective is to minimize, over θ and ‖δ‖∞≤ε, Es∼ Ps maxT∈ T [ℓ(fθ(T(s+δ)),1) + ℓ(fθ(T(s)),0)], similar to the expectation over transformation attack idea.
    • During training, only differentiable transformations are sampled to avoid the overhead of approximate gradients; at each step, the maximum over n sampled transformations {T1,...,Tn} approximates max_T. Appendix C compares 1 versus 25 samples per step.

    Anti-transfer watermark (against specificity attack)

    • Traditional schemes rely on a key to ensure only key holders can embed the watermark; here the detector is effectively an approximation of the key. An attacker being able to embed a watermark without the key would cause false positives (specificity attack).
    • To prevent the watermark from transferring to other detectors trained on the same data, the watermark is synthesized along two directions: minimizing the watermark loss for the target detector fθ while maximizing the loss of being judged as watermarked for n ensemble detectors (eq. 5); experiments use binary cross-entropy loss, with an ensemble of 5 pretrained detectors differing only in random initialization.

    Evaluation methods

    • Images: transformation set in Table 1 (Gaussian noise, rotation, cropping, horizontal flip, brightness); attack distortion measured by SSIM; ε is increased to require a detection rate >99%, comparing watermark distortion and transformation distortion.
    • Audio: transformation set in Table 2 (Gaussian noise, uniform noise, pitch shifting, silence, roll); additionally MOS and A/B human evaluation.
    • Certified robustness: randomized smoothing (Cohen et al., 2019) is used to give a certified radius for l2-bounded perturbations.
  4. What experiments did the paper conduct?

    Test transformation attacks, false positive attacks, certified robustness, OOD generalization, and human evaluation on ImageNet, Cifar10, and speech data.

    Experimental setup

    • Models tested: On ImageNet, ResNet152 modified to binary classification (batch norm replaced with instance norm), trained for 60,000 steps, batch 32, initial learning rate 0.1 divided by 10 every 20,000 steps; on Cifar10, wide ResNet; for audio, DeepSpeaker modified to binary classification, trained for 100,000 steps.
    • Model variants: On ImageNet, 4 detectors are trained—f ε5 and f ε10 with a single transformation sampled per step, and fcomp ε5 and fcomp ε10 with all transformation combinations applied; the main text states that models trained with combined transformations are more robust to all attacks, and subsequent experiments use only the fcomp series.
    • Datasets: ImageNet, Cifar10 (Appendix A), a proprietary text-to-speech speech dataset (each segment 1–10 seconds), SVHN and BigGAN-generated images for OOD experiments, MS COCO for multi-bit extension (128×128, 3000 images for evaluation).
    • Baselines: Broken Arrows (image zero-bit); Zhu et al. [2018], Luo et al. [2020] (multi-bit, Appendix E).
    • Metrics and criteria: detection accuracy, false positive/false negative rate, SSIM/PSNR distortion, certified accuracy, MOS, bit recovery rate; attack success is counted as detector misclassification.
    • Sample sizes: ImageNet test set 10,000 non-watermarked + 10,000 watermarked; BA comparison samples 1,000,000 times per transformation; for audio, each input is sampled 100 times under transformations to form 20,000 test points; certification experiments use 200 samples, 10,000 random samples, confidence α=0.99; MOS uses 2000 participants, A/B over 600 people.

    Main results

    Swipe horizontally to read the table

    ExperimentSettingResultSource
    Detection without attackImageNet, 4 detectorsTest accuracy 100% (20,000 images)Section 4.1
    Detection without attackCifar10, fCIFAR 1/2Test accuracy 100% (20,000 images)Appendix A
    Detection without attackAudio, ε=4×10⁻⁴100% detection rate on 200 watermarked samplesSection 4.2
    False positive attackWatermarked inputs at SSIM 0.60f̂comp ε5 false positive rate <20%,fcomp ε5 接近 50%Figure 2
    OOD 信号BigGAN 500 张,攻击至 SSIM 0.6假阳性率 1.2%,假阴性率 0%第 4.1 节
    认证鲁棒ε=20/255,200 样本l2 半径 <1.5 内几乎全部认证鲁棒Figure 3
    • 作者称,Figure 1 中高斯噪声下 ReSWAT 所需水印失真与 BA 大致相当,且远小于变换本身引入的失真;裁剪与旋转攻击下 ReSWAT 水印失真可忽略,而 BA 需引入很大失真。
    • 作者称,用 eq. (5) 优化(f̂comp ε5)提升了对 specificity attack 的抵抗力。
    • 作者称,未在变换分布上训练的非鲁棒模型认证鲁棒区域明显更小,说明在变换分布上训练确实提升鲁棒性。

    音频实验与人评

    • 测了什么:音频水印在 Table 2 的 5 种变换下的鲁棒性,及人对水印可感知性的评价。
    • 结果:ε=4×10⁻⁴ 时,高斯噪声 σ=0.01、均匀噪声 α=0.0056、变调 β=0.16、静音 γ=0.78、滚动 δ=1.0 内保持检出(Table 2);ε=4.8×10⁻³ 时各值更大(σ=0.013、α=0.0278、β=0.5、γ=0.78、δ=1.0)。作者称 ε=4×10⁻⁴ 几乎不可感知,ε=4.8×10⁻³ 可听到轻微背景噪声。
    • 人评:MOS 非水印 4.595±0.576,水印(ε=4×10⁻⁴)4.530±0.530;A/B 测试中超过 80% 参与者认为水印音频与原音频质量相同(Figure 4,660 个样本、1320 人次)。

    OOD 变换与多位扩展

    • OOD 变换(附录 D,Table 3):Cifar10 上每次留出一种变换不训练。亮度、对比度、裁剪、高斯噪声作为 OOD 变换时准确率 99.710%–100%;模糊 73.515%、JPEG 压缩 67.030%、旋转 65.195% 时错误更多。作者称这些变换大幅改变图像结构。
    • 多位扩展(附录 E,Figure 12):MS COCO、30 比特码。ε=0.03 时 PSNR 与 Zhu et al. [2018]、Luo et al. [2020] 大致相当(30.5 对 32.3、33.7),高斯模糊 σ=2.5 时 ReSWAT 比特恢复率不低于 80%,两个基线 <65%;ε=0.01 时保真度更高(PSNR 40.2),在所有 σ 上优于 Luo et al. [2020],σ>2, better than Zhu et al. [2018].

    Other ablations and analyses

    • Cifar10 transformation attacks (Figure 6): At ε=1/255, watermark SSIM≈0.99, but attacks such as brightness still succeed at high SSIM; at ε=12/255, the attack success rate of almost all transformations drops to zero.
    • Number of sampled transformations per step (Appendix C, Figure 10): On Cifar10, 25 samples per step is more robust to Gaussian noise than 1 sample, at the cost of about 5× training time.
    • Black-box targeted attack (Appendix F, Figure 13): Using the black-box attack of Chen et al. [2020], with 10 or 100 queries a larger perturbation is needed to cause misclassification; as queries increase, the perturbation needed to attack non-watermarked images decreases, while the perturbation needed to attack watermarked images does not decrease noticeably.
    • BA comparison in PSNR terms (Appendix B, Figure 9): The authors state the results are consistent with Figure 1.
  5. What are some points that can be further explored?

    The authors state two assumptions about attacker capability; experiments cover images, audio, and some OOD transformations.

    Limitations and future directions noted by the authors

    • Assumes the attacker has no labeled content (Section 5): attackers who can obtain both labeled watermarked and unwatermarked content are not considered; the authors state this is a common assumption in zero-bit watermarking research, because an attacker who can tell whether content is watermarked has in effect already broken the scheme.
    • Assumes the attacker cannot access an arbitrary amount of watermarked content (Section 5): the authors state that in real deployment an institution can limit the number of queries per party to enforce this assumption.
    • The paper does not list other limitations or future work specifically beyond the Limitations; Section 5 is the statement of the two assumptions above.

    Scope of experiments

    • Subjects tested: image detectors are ResNet152 (ImageNet) and wide ResNet (Cifar10), the audio detector is DeepSpeaker; all are binary watermark detectors trained in the paper.
    • Transformations covered: in-training image transformations are Gaussian noise, rotation, cropping, horizontal flip, brightness (Table 1); OOD experiments additionally include blur, contrast, JPEG compression (Appendix D); audio transformations are Gaussian noise, uniform noise, pitch shift, silence, roll (Table 2).
    • OOD signals: all SVHN test images are judged unwatermarked by the Cifar10 detector; 500 BigGAN generated images are watermarked with the ImageNet detector and attacks are tested.
    • Certification guarantees: given only for perturbations bounded in l2 norm (randomized smoothing, 200 ImageNet samples); other transformations have only empirical results.
    • Not reported in the paper: query counts/runtime for training and attacks (except the roughly 5× training time in Appendix C), inter-rater agreement metrics for the human evaluation; no experiments in the video domain (the abstract and conclusion state the method can be used for video, but experiments cover only images and audio).
  6. Summarize the main content of the paper

    ReSWAT uses adversarial training to achieve transformation-robust watermark detection, reporting high detection rates and certification guarantees on images and audio.

    A DeepMind watermarking defense paper that proposes ReSWAT, addressing the problem that watermarks in digital-signal provenance tracking are easily removed by post-processing transformations.

    • Problem: the authors state that generative models make synthetic signals hard to distinguish from real ones, and existing watermarking techniques fail under transformations such as cropping, rotation, noise addition, and pitch shifting.
    • Method: the watermark is embedded directly into the signal with PGD under an l∞ constraint (ε), minimizing the detector loss; the detector is trained with a minimax objective over a sampled distribution of differentiable transformations; an ensemble direction (eq. 5) is additionally used to reduce watermark transfer to other detectors, preventing specificity attacks.
    • Main results:
      • ImageNet and Cifar10 detectors achieve 100% accuracy on 20,000 test images; audio detection rate is 100% on 200 watermarked samples (ε=4×10⁻⁴).
      • The authors state that under rotation and cropping attacks the watermark distortion ReSWAT requires is negligible, whereas Broken Arrows requires very large distortion; under Gaussian noise the two are roughly comparable (Figure 1).
      • Certified robustness: at ε=20/255, nearly all of 200 watermarked ImageNet samples are certified robust within an l2 radius <1.5 (Figure 3).
      • Human evaluation: watermarked speech MOS 4.530±0.530 (unwatermarked 4.595±0.576), and in an A/B test over 80% of participants judged the quality the same.
      • OOD: on BigGAN images attacked to SSIM 0.6, false positive rate 1.2% and false negative rate 0%; among OOD transformations, rotation, JPEG compression, and blur produce more errors (Table 3).
    • Authors' conclusion: the authors state that watermarks can be constructed that are robust to adversarial transformations with a low false positive rate while preserving signal fidelity, and view this paper as a step toward the goal of tracking and verifying signal ownership. The authors also state their assumptions: the attacker cannot obtain labeled watermarked/unwatermarked content, nor access an arbitrary amount of watermarked content.

Related papers

Show 3 more papers
Read originalarxiv.org