Measuring Circumvention: When Does Removing a Data Cloak Count as Stripping a Protection?

People now add invisible noise to their photos and artworks before posting them. These "cloaks" are designed so that a model trained on the images learns nothing useful, or cannot imitate the person or style. Purification tools that wash the noise away keep appearing. That raises a legal question nobody can currently answer with evidence: when a scraper removes a cloak, has it circumvented a protection measure, or has it just done the routine preprocessing every pipeline does? A Response to Glaze Purification via IMPRESS raises anti-circumvention law as the natural frame. Yet no one has said what measurement would separate "circumvention" from "compression." Without that measurement the frame is empty. JPEG alone neutralizes many classification cloaks (APBench). And the field's flagship evidence of successful purification is disputed: a critique argues that the base model had simply memorized the artists in question.

This note proposes to turn the legal distinction into a counterfactual measurement. For any cloak and any processing step, we split the capability an attacker regains into three parts. The first is what the attacker's base model already knew about the target before seeing the data. The second is what generic, cloak-agnostic processing recovers. The third is the residual that only a defense-aware, targeted procedure recovers. Only the third part is a plausible technical correlate of circumvention. We then ask whether current cloaks and purifiers produce a clean separation between the second and third parts or a continuum. If there is a continuum, the legal line cannot be supported technically, and saying so is itself a useful result. We also ask whether cloaks can be redesigned so that any successful removal lands in the third, auditable part.

Core Claim

Attack-success numbers in this literature mix three things that the law would treat very differently. A purifier "restoring 87% style mimicry" on WikiArt (IMPRESS) may be recovering the protected images' information. It may instead be letting a model that already knows Van Gogh ignore those images entirely. Or the cloak may have been fragile to any JPEG pass, in which case even a well-meaning crawler would have removed it. Our central claim has two parts. First, a small set of controlled counterfactual runs, sketched below, isolates these parts. Second, the targeted-only residual is the quantity that cloak designers should maximize and that auditors should report.

Fix a target, meaning one person's identity, one artist's style, or a protected class. Let $A(D, T)$ be the attacker's performance on that target after training their chosen model, from their chosen starting weights, on dataset $D$ processed by transform $T$. The dataset $D$ is either the clean images $D_c$, the cloaked images $D_k$, or nothing ($\varnothing$, meaning the base model with no target data). The transform $T$ is either the identity $I$, a member of a fixed set $\mathcal{G}$ of generic preprocessing operations, or a targeted purifier $P$. The part of a purifier's recovered performance that comes from the protected data, beyond what generic processing achieves, is then

$$R_{\text{target}}(P) = \frac{A(D_k, P) - \max\big(A(\varnothing, I),\ \max_{G \in \mathcal{G}} A(D_k, G)\big)}{A(D_c, I) - A(\varnothing, I)}.$$

This is the recovery above the better of "prior knowledge" and "best generic processing," expressed as a fraction of the value the clean data actually adds. We report it alongside the collateral cost of $P$ on clean data, $C(P) = A(D_c, I) - A(D_c, P)$. A purifier that recovers performance only by damaging all images is a different object from one that surgically removes a cloak.

Defining $\mathcal{G}$ is where the legal-technical translation actually happens. We make it an explicit, published parameter: lossy compression, resizing, bit-depth reduction, and standard augmentation at the settings real platforms use. We do not leave it as an implicit modeling choice.

Research Program

The program has three parts.

Measurement harness. We build a harness that computes the decomposition for classification cloaks and for generative-personalization cloaks. For classification, it reuses the fixed training environments of APBench. It adds the pretrained-backbone attacker exposed by When Priors Backfire, because the "prior knowledge" term is not zero when the attacker fine-tunes ImageNet weights.

For generative models, the prior term is measured directly. We prompt the base diffusion model for the target style or identity with no target data, and score the output with the same style or identity classifier used for $A$. This makes the IMPRESS-versus-Shan dispute a measurable quantity rather than a matter of visual critique.

Defense-aware stress testing. The second part is the adaptive side. Lessons from watermark removal (Optimizing Adaptive Attacks against Content Watermarks) and from defenses with illusory robustness (Adversarial Defense without Adversarial Defense) show that a measurement which only scores fixed attacks will flatter defenses. So for each cloak family the targeted purifier set includes at least one optimization-based remover that knows the cloak algorithm but not the cloak's secret ingredients. The ingredients it lacks are the random seed and the surrogate weights, mirroring Diaa et al.'s surrogate-key attacker.

Cloak redesign. The third part asks whether cloak design can be steered by this metric. MetaCloak-style robustification (MetaCloak) already optimizes for robustness across a set of transformations, called Expectation Over Transformation, and it already survives some filters. Our change is the objective. Instead of robustness to an ad hoc transform pool, we optimize robustness to exactly the declared generic set $\mathcal{G}$, with the pretrained prior subtracted out. The goal is not to drive attacker accuracy to zero, which the literature suggests targeted purifiers will always erode. The goal is that removal requires leaving $\mathcal{G}$. That is the property that would give a cloak evidentiary value as a protection measure.

Baselines

The naive reference point has two parts. One is no cloak at all, $A(D_c, I)$. The other is the cloak with no processing, $A(D_k, I)$. These give the upper and lower ends that every recovery number is normalized against. We rerun them in our harness rather than borrowing published values, because the normalization requires identical training budgets.

The strongest existing classification purifier is D-VAE (Purify Unlearnable Examples via Rate-Constrained Variational Autoencoders, code at yuyi-sd/D-VAE). It strips cloak noise through a narrow latent bottleneck without clean data. Its reported mean test accuracy on ImageNet-subset is 75.00%, against 57.59% for adversarial training and 64.21% for Image Shortcut Squeezing, and it reaches about 90% on CIFAR-10. It is the strongest competitor because it is cloak-agnostic in its inputs yet clearly targeted in its design. That makes it exactly the hard case for the generic/targeted line. We run it with the released code and the authors' settings, on the same poisoned datasets and with the same downstream training budget as every generic transform.

For diffusion style mimicry, the strongest purifier is IMPRESS. It reports roughly 90% clean mimicry accuracy, about 42% under Glaze, 87% after purification, and about 80% against an adaptive defense (IMPRESS). For personalization, MetaCloak reports a Subject Detection Score on VGGFace2 falling from 0.903 to 0.432 (MetaCloak).

On the cloak side, the strongest existing designs are DUNE (Dual-branch Robust Unlearnable Examples) and BAIT (When Priors Backfire, code at zhli-cs/BAIT). DUNE reports 16.67% average accuracy across defenses on ImageNet-100. BAIT reports 14.40% on CIFAR-10 against pretrained ResNet-18, where the standard error-minimizing noise baseline allows 61.82%.

Two criteria define success. Our redesigned cloak beats these baselines if it achieves a lower maximum over $\mathcal{G}$ of $A(D_k, G)$ than DUNE and BAIT at equal perturbation budget. It must also do so while leaving $R_{\text{target}}$ concentrated in purifiers with measurable collateral or cloak-specific knowledge. For the measurement contribution, the baseline is the conventional single number, "defended accuracy," as reported in APBench. The decomposition beats it if it changes the ranking or interpretation of at least one cloak–purifier pair. The memorized-artist case is the predicted example.

The key ablations remove one term at a time. Dropping the prior term recovers the conventional metric. Dropping the generic-set term collapses "any recovery" and "targeted recovery." If neither ablation changes conclusions on our benchmarks, the decomposition is not earning its cost, and we will say so.

Why not just…?

Why not just report defended accuracy as APBench does? Defended accuracy cannot tell apart three cases: a model that learned from the protected data, a model that ignored it because it already knew the target, and a pipeline that removed the cloak by accident. This is exactly the unresolved IMPRESS-versus-Shan dispute. Li reports 87% recovery on WikiArt. Shan et al. attribute it to pretraining memorization of historical artists, and they report no numbers for contemporary artists that would settle it. Our prior-term measurement on memorized versus post-cutoff artists is the direct test. If the prior term turns out small across the board, the conventional metric is adequate for the generative case and our contribution narrows to classification with pretrained backbones.

Why not just define circumvention by intent or knowledge, meaning whether the tool was built against cloaks? Intent is unobservable to an auditor, and purpose-neutral tools blur it. D-VAE is a generic denoising bottleneck that happens to destroy shortcuts, and JPEG was never designed against cloaks yet removes many of them (APBench). An adaptive attacker can also present a targeted remover as generic preprocessing. A behavioral test is harder to evade, because it compares what the operation does to cloaked data against what declared generic operations do to the same data. We do take this alternative seriously. If our results show the generic/targeted gap is a continuum, then a knowledge-based criterion may be the only workable one, and the paper will report that.

Why not just rely on metadata, watermarks, or terms of service to mark protected images? Metadata and watermarks are separate from the content and are stripped cheaply. Diaa et al. remove four text watermarks at a 96–98% evasion rate for under ten dollars, and Reuel et al. note that mandated provenance tools share this weakness. Terms of service depend on enforcement capacity that, per Reuel et al., regulators lack. A cloak whose removal leaves a measurable signature complements these mechanisms rather than replacing them. This proposal does not test legal enforceability itself, only whether the technical predicate exists.

Why not just make cloaks more robust with Expectation Over Transformation? This is the closest technical competitor, and we reuse it as a component. Robustifying against an arbitrary pool of transforms tells you nothing about which removals are generic. Robustifying against the declared set $\mathcal{G}$, with the pretrained prior subtracted out, is the specific change. The ablation that swaps $\mathcal{G}$ for MetaCloak's original transform pool tests whether this change matters.

Proposed Experiments

The classification arm uses CIFAR-10, CIFAR-100, and ImageNet-subset in the APBench setup with ResNet-18. It adds the pretrained ResNet-18 and Tiny-ViT attackers from When Priors Backfire. The cloaks are error-minimizing noise (Unlearnable Examples), TAP, DUNE, and BAIT. Generic transforms come from $\mathcal{G}$. Targeted purifiers are D-VAE, adversarial training, and diffusion purification. We run at poisoning ratios of 100% and 80%, because a 20% clean share already defeats classic cloaks.

The generative arm uses WikiArt. Artists are split by a measured prior score into memorized and low-prior groups, and the low-prior group is supplemented with consenting contemporary artists whose work postdates the base model. Cloaks are Glaze-style and MetaCloak, and the purifier is IMPRESS. A VGGFace2 personalization arm measures the Subject Detection Score with identities stratified by base-model familiarity. Because automated style and identity scores diverge from human judgment, a blinded human rating of purified outputs accompanies every generative number.

Three checks decide the outcome. The first predicts that for memorized artists most of IMPRESS's recovery is prior knowledge, so $R_{\text{target}}$ is near zero, while for low-prior artists either recovery collapses or collateral damage $C(P)$ rises sharply. Either result resolves the published contradiction. The second plots, for every cloak, generic-set recovery against targeted recovery. It asks whether a clear gap separates purifiers in $\mathcal{G}$ from targeted ones, or whether D-VAE and diffusion purification sit on a continuum with JPEG. A continuum is a reportable negative result about the legal translation. The third trains our cloak against $\mathcal{G}$ minus the prior. It tests whether the cloak keeps $\max_{G \in \mathcal{G}} A(D_k, G)$ at or below DUNE and BAIT, and whether the strongest surrogate-key adaptive remover can recover performance only at measurable collateral cost.