FeatMark: Feature-Level Watermark Protection Against Imitation Attacks on Diffusion ModelsFeatMark: Feature-level Watermark Protection against Mimicry Attacks with Diffusion Models
The authors propose FeatMark, which uses semantic micro-feature watermarks to defend against diffusion model imitation attacks; the authors state that it withstands 10 removal/purification attacks on three datasets, with bit accuracy drops mostly not exceeding 0.02.
The defender is an individual user who publishes a small number of personal images, holds a private message m and a locally run private watermark reader R, which is not exposed to the attacker. The attacker can access the published images and has enough compute to fine-tune a text-to-image diffusion model for a mimicry attack; the attacker knows the defense algorithm (including the existence of feature-bank-driven watermarking) and can deploy purification or regeneration-based transformations, but cannot access the defender's private verification parameters.
- Diffusion-model mimicry attacks can forge personal images from a small number of public photos, and existing invisible pixel-level watermarks are easily erased by lightweight perturbations or post-processing; the authors argue that there is a fundamental tension between imperceptibility and robustness.
- FeatMark automatically selects executable semantic micro-features from a feature bank, injects them into images via mask-guided local concept editing, then generates published images through image cloaking so that the watermark transfers along with mimicry training, and finally decodes attribution with a private reader.
- On VGGFace2, CelebA-HQ and WikiArt, FeatMark's perceptual quality is close to No-Defense, and WM=Y/WM=N are separable; the authors claim it withstands 10 removal/purification attacks, with bit accuracy dropping by no more than 0.02 under most attacks, and extend it to video mimicry.
- The authors acknowledge a forward-security limitation: attribution can be weakened when an attacker learns the exact feature program and is willing to make visible edits (Appendix G.5); when the attacker holds additional clean images, the verification gap shrinks, and at Nclean=6 and 8 it cannot be distinguished (Appendix H).
- Evaluated models
- FeatMark
- Benchmarks
- VGGFace2CelebA-HQWikiArtCREMA-D
- Metrics
- bit accuracyFIDprecision/recallcoverage/densityuser study win rate
The researchers propose FeatMark, a watermarking framework that uses semantic micro-features rather than pixel-level perturbations to defend against imitation attacks on text-to-image diffusion models. Imitation attacks refer to an attacker fine-tuning a model with a small number of public photos to synthesize realistic forged images of a target person, while existing low-energy invisible watermarks are easily suppressed in detection by mild post-processing or lightweight adversarial perturbations. FeatMark builds a domain feature library, encodes each watermark as a compact concept program, pairs open-vocabulary semantic cues with reliable editing regions and instruction templates, and after automatically filtering feasible and executable features, injects highly localized, scene-consistent micro-edits via mask-guided concept editing. Experiments cover VGGFace2, CelebA-HQ, and WikiArt, compare against 10 strong watermark removal and purification attacks (including regenerative purification) and multiple adaptive attacks customized against FeatMark, and demonstrate scalability to video imitation attacks; the authors report that FeatMark has negligible bit accuracy and fidelity degradation under all evaluated attacks.
Paper analysis
What problem does this paper attempt to solve?
To address mimicry attacks on diffusion models and the problem that invisible pixel-level watermarks are easily erased by lightweight perturbations, a semantic micro-feature watermark is proposed.
Core problem: text-to-image diffusion models make mimicry attacks feasible—an attacker can forge images of a target person by fine-tuning a model with a small number of public photos, while existing invisible watermarks are easily erased by post-processing or lightweight adversarial perturbations.
- Scenario and importance: The authors point out that an attacker only needs a small number of the victim's public photos to fine-tune a pretrained generative model to replicate their appearance; regulations such as EU AI Act Art. 50 and US EO 14110 encourage reliable provenance watermarks.
- Shortcomings of existing methods: The authors state that methods such as Tree-Ring and FT-Shield embed low-energy invisible signatures, but small human-imperceptible adversarial perturbations can suppress detection—for example, WEvade can completely bypass them with a small number of PGD iterations; the authors argue that lowering watermark energy to maintain imperceptibility weakens robustness, creating an arms race the defender cannot win.
- Core observation: Drawing on precedents from patch adversarial examples and semantic backdoors in which "natural features are not easily noticed but remain effective," the authors propose an inconspicuous-feature strategy: semantic micro-feature signals are stronger and resistant to perturbation while blending into the scene inconspicuously; the authors argue that the identity knowledge gap and diffusion randomness in the mimicry scenario make these features hard to anticipate.
- Paper proposes: FeatMark, a fully automatic watermarking framework: it builds a domain feature bank (each watermark is a concept program), automatically selects executable features, injects local micro-edits via mask-guided concept editing, then publishes images through image cloaking, so that the watermark transfers to forged images through mimicry training and is decoded for attribution by a private reader. The authors claim it is the first watermarking scheme to defend against mimicry attacks by anchoring semantic micro-features.
- Threat model (Section 3.1):
- Defender: an individual user who publishes a small number of images, holds a private message m and a local private reader R, and does not expose them to the attacker.
- Attacker knowledge: can access the published images and knows the defense algorithm (including the existence of feature-bank-driven watermarking).
- Attacker capability: has enough compute to fine-tune a text-to-image diffusion model and can deploy purification or regeneration-based transformations.
- Attacker restriction: cannot access the defender's private verification parameters.
What related research exists?
Related work falls into four lines: personalization/imitation attacks, generative watermarking and provenance, anti-imitation cloaking defenses, and watermark/cloak removal attacks.
In Appendix F, the paper organizes related work into four lines.
Personalization and mimicry attacks
- DreamBooth [68] binds rare tokens to a subject or style through fine-tuning; Textual Inversion [20] learns new text embeddings while largely fixing the generator; LoRA [27] updates low-rank adapters.
- Custom Diffusion [40] and IP-Adapter [87] change how identity/style is injected, broadening the attacker's design space.
Watermarking and provenance
- Generation-time watermarks: Stable Signature [18], Tree-Ring [82], Gaussian Shading [86], Zodiac [90], WaDiff [55], EditGuard [91], WMCopier [15] embed decodable low-level signals; HiDDeN [94] and StegaStamp [75] provide learned message decoders.
- Source-side residual methods: ProMark [1], GenWatermark [52], DIAGNOSIS [81], FT-Shield [12] and others add invisible marks to training images before release; metadata standards such as C2PA [10] cannot survive once an attacker extracts the original pixels.
- The paper states that FeatMark differs from these in mechanism and threat model: it makes the provenance signal part of the visual/semantic data distribution that the mimicry model learns, rather than a low-energy pixel signature or a file credential.
Anti-mimicry cloaking and style protection
- AdvDM [44], PhotoGuard [71], Anti-DreamBooth [77], Glaze [72], MetaCloak [48], Nightshade [73], LightShed [19] and others add adversarial perturbations to public images so that personalization learns the wrong identity/style; StyleGuard [43] and StyleProtect [76] strengthen perturbation protection targeting style features.
- The paper states that these works aim at "disruption" (preventing attackers from reproducing the original identity/style), whereas FeatMark aims at "attribution": it deliberately preserves usable mimicry quality so that successful mimicry outputs carry decodable semantic traces.
Removal, purification and adaptive trigger-inference attacks
- WEvade [22, 33], surrogate-key optimization [51], watermark forgery [42], UnMarker [37], WatermarkAttacker [92], latent VAE attacks [45] and others show that invisible or coefficient-level signals are often fragile.
- Regarding trigger-recovery methods such as Neural Cleanse [78], the paper responds in Appendix G.5: FeatMark is not a single universal patch or fixed trigger, and trigger inversion can at most infer a coarse semantic hypothesis.
Baselines and benchmarks: watermark baselines are Stable Signature, Tree-Ring, HiDDeN, StegaStamp; perceptual quality comparisons are Anti-DreamBooth, Glaze (WikiArt), MetaCloak; removal attack comparisons include DwtDct, DwtDctSvd, RivaGAN. Datasets are VGGFace2, CelebA-HQ, WikiArt, with CREMA-D for the video extension.
Authors' positioning: FeatMark targets attribution rather than disruption, and the main tables report WM=Y/WM=N separability, bit accuracy and perceptual quality rather than only attack failure rates.
How does the paper address this problem?
FeatMark forms a fully automatic attribution pipeline consisting of feature-bank concept programs + automatic feature selection + mask-guided local editing + image cloaking + a private reader.
Overall idea: FeatMark shifts the watermark from pixel-level low-energy perturbations to semantic micro-features, making the watermark part of the data distribution that the mimicry model must learn, so that it transfers to forged images through fine-tuning.
Problem formalization
- Attacker objective (Eq. 1): θ∗ = argmaxθ 𝔼xfake ∼ p(xfake|c, Mθ) A(xfake, X), i.e., fine-tune the diffusion model so that generated images match the target identity/style under the similarity metric A chosen by the attacker.
- Defender objective (Eq. 2): under the constraint of the attacker's optimization, maximize the expected bit agreement (Bacc) between the private message m and the decoding result of reader R on forged images.
- Adaptive attacker (Eq. 3): the attacker can apply a post-processing transformation P before computing similarity, which requires the defense to be robust to unknown adaptive strategies.
Feature bank construction (Section 3.3)
- Each entry fk is a concept program: a set of text queries Tk pointing to the same concept (paraphrases/templates), a canonical name name(fk), a grounding phrase for localization, and an edit instruction template.
- The evidence score is computed with an open-vocabulary VLM: sk(x) = maxt ∈ Tk cos(φI(x), φT(t)), taking the maximum over paraphrases to follow prompt-ensembling practice; only a generic VLM interface is required, with no dependence on a specific backbone.
- Two principles for building the bank: feature evidence is stable under natural variation of the same identity/style; the bank is diverse and non-redundant (drawing on an mRMR-style information-theoretic feature selection criterion).
Automatic feature selection (Section 3.4)
- For the target set X, compute the mean µk and variance σk of each feature, and keep candidates with high mean and low variance.
- Use text embeddings of the names for redundancy-aware pruning, greedily expanding the feature subset K according to a relevance–redundancy trade-off, so that the watermark bits are distributed across multiple independent semantic traces.
Concept editing and cloaking (Sections 3.5, 3.6)
- Use an open-world grounding module to localize ground(fk) and obtain a soft mask Mk(x); instantiate the instruction as uk = inst(fk, name(fk)); a generic concept-guided editor E generates the edited image; a mask-weighted consistency objective Lout constrains the region outside the edited area to remain unchanged.
- The published image is the cloaking product: xpub = x + δ, optimizing δ so that xpub is close to the private watermarked image xwm in encoder space, with an encode–decode reconstruction consistency regularizer (Eq. 8), subject to ∥δ∥1 ≤ η; only X pub is published, and X wm is kept private.
Watermark reading (Section 3.7)
- The reader R is a frozen CLIP image encoder plus a trainable fully connected layer, outputting |m| bits; it is trained with BCE using clean images (decoding target is the bitwise complement of m) and watermarked images (target is m) (Eq. 9).
- Standard augmentations (crop, rotation, light noise) and weight decay are applied during training and inference; verification checks whether the match between decoded bits and m exceeds a fixed threshold.
Key parameters (Appendix A)
- cloaking: 500 iterations per image, step size 1.0/255, λ = 10², default perturbation budget η = 0.10.
- mimicry: DreamBooth fine-tuned for 1000 steps on Stable Diffusion v2.1.
- reader: 100 iterations, AdamW (lr = 10⁻², weight_decay = 10⁻²), 48-bit message; the threshold is chosen on a held-out calibration set.
What experiments did the paper conduct?
Perceptual quality, bit accuracy and robustness under 10 removal/purification attacks are measured on three datasets, along with a user study, adaptive attacks, a video extension and ablations.
Experimental setup
- Subjects tested: mimicry attacks use DreamBooth fine-tuned for 1000 steps on Stable Diffusion v2.1 (default) and v2.0/v1.5/v1.4; personalization backends additionally include LoRA and Textual Inversion; video uses CogVideoX with LoRA fine-tuning.
- Datasets: VGGFace2, CelebA-HQ, WikiArt (following the protocols and splits of [6, 72, 77]); video uses CREMA-D; in Appendix H the attacker by default receives 4 cloaked images.
- Baselines: watermarking baselines Stable Signature, Tree-Ring, HiDDeN, StegaStamp; perceptual quality comparisons Anti-DreamBooth, Glaze, MetaCloak; removal attack comparisons DwtDct, DwtDctSvd, RivaGAN.
- Metrics: bit accuracy, FID, precision/recall, coverage/density; transformations are strong crop (retaining 90%), brightness ×2.0, contrast ×2.0, JPEG quality 50, and combined transformation (Crop+Brigh.+JPEG).
- Attack suite: purification attacks IMPRESS, Noisy Upscaling (applied before training); white-box removal WEvade (with extractor access); black-box removal/regeneration UnMarker, diffusion regeneration, VAE reconstruction, WatermarkAttacker in four configurations; plus three bespoke adaptive attacks TCN, AFT, DRA-UG/DRA-G.
- User study: 49 Prolific participants annotated 100 image pairs, 2AFC comparing realism, identity/style match, and instruction match, paid £3.00.
Main results
According to Table 1 (perceptual quality, computed between fake images and original images) and Table 2 (bit accuracy):
Swipe horizontally to read the table
Dataset Method FID↓ WM=Y None WM=Y Crop WM=Y JPEG WM=N None VGGFace2 No-Defense 171.81 – – – – VGGFace2 FeatMark 180.98 0.98 0.75 0.99 0.03 VGGFace2 Stable Signature not reported 0.99 0.36 0.66 0.45 CelebA-HQ No-Defense 128.99 – – – – CelebA-HQ FeatMark 142.33 0.92 0.31 0.94 0.16 WikiArt No-Defense 306.02 – – – – WikiArt FeatMark 321.76 0.99 0.26 0.99 0.01 - The authors state that FeatMark introduces only a modest FID increase compared with No-Defense (+9.17, +13.34, +15.74 on the three datasets respectively), whereas Anti-DreamBooth, Glaze, and MetaCloak have FID rising to 279.13–465.37 with precision/recall/coverage/density dropping to zero.
- The authors state that FeatMark has a larger verification margin: on VGGFace2 and WikiArt, WM=N is close to 0 (0.01–0.05), whereas Stable Signature's WM=N is between 0.45–0.56, and under cropping its WM=Y is comparable to WM=N (e.g., WikiArt 0.50 vs 0.56).
- Cropping is also the hardest case for FeatMark (CelebA-HQ 0.31, WikiArt 0.26); the authors explain that cropping may remove the edited region.
Robustness: purification and removal attacks
- Purification attacks (Tables 3, 4): IMPRESS changes FeatMark's bit accuracy by within ±0.01; Noisy Upscaling causes a drop of 0.19–0.31, which the authors state can still be decoded from the high baseline, and the drop co-occurs with visible rewriting artifacts.
- White-box removal: The authors report that WEvade's evasion rate against Stable Signature is 1.00, and against FeatMark is 0.16 under the removal setting and 0.14 under the forgery setting.
- Black-box removal/regeneration (Table 5, VGGFace2): UnMarker/Diffusion Attack/VAE Attack reduce Stable Signature by 0.99 and Tree-Ring by 0.39/0.21/0.09, while FeatMark drops by only 0.01/0.01/0.00; in Table 6, the four WatermarkAttacker configurations reduce DwtDct/DwtDctSvd/RivaGAN by at most 0.47, while FeatMark drops by at most 0.02.
Adaptive attacks and video extension
- Adaptive attacks (Table 8, VGGFace2): TCN reduces by at most 0.09 (Comb.), AFT by at most 0.03, and the two DRA-G rows reduce by at most 0.26 and 0.32 respectively; the authors state that removing the watermark without visible identity/style drift remains difficult.
- Multi-round generate-and-filter (Table 11): under three rounds, four candidates per round, and an identity similarity budget of 0.92, WM=Y drops from 0.98 to 0.72, WM=N stays at 0.03, and FID rises from 171.81 to 192.13; the authors state that suppressing semantic traces is not free post-processing.
- Video mimicry (Appendix D): CogVideoX + LoRA on CREMA-D, watermarked videos have bit accuracy 0.85 and non-watermarked 0.13.
- User study (Table 7): realism win rate 47.8%–49.2%, identity/style match win rate 49.8%–51.3% (close to 50%, i.e., hard to distinguish from No-Defense), instruction match win rate 77.6%–83.1%.
Other ablations and analyses
- Diffusion model versions (Table 9): on v2.0/v1.5/v1.4, WM=Y/WM=N are 0.97/0.07, 0.96/0.05, 0.98/0.04, and the default v2.1 is 0.98/0.03.
- Personalization backends (Table 10): LoRA 0.99/0.06 (FID 185.90), Textual Inversion 0.96/0.06.
- Incremental publishing (Table 12): after selecting features from two seed images and reusing them, WM=Y/WM=N is 0.98/0.04.
- Clean image leakage (Table 13): at Nclean=2, without transformation WM=Y/WM=N is 0.98/0.38; at Nclean=6 and 8 the gap is too small to distinguish (e.g., at Nclean=8, None is 0.99/0.79).
- Perturbation budget (Table 14): at η=0.05, None is 0.85/0.03 and FID 178.46; at η=0.01 the gap drops to 0.25/0.03, which the authors state is not recommended.
- Compute (Appendix A): all experiments take about 150–250 A100X GPU hours; one 1000-step DreamBooth run takes about 10 minutes.
What are some points that can be further explored?
The authors acknowledge the forward-security limitation after feature leakage and the clean image leakage case; the experiments cover three image datasets and one video dataset.
Limitations noted by the authors and future directions
- Forward-security limitation (Appendix G.5): The authors explicitly acknowledge that if an attacker learns the exact feature program and is willing to apply visible edits or discard a large number of usable generated results, future attribution will be weakened; FeatMark aims to raise the cost of evasion and expose the fidelity/identity trade-off, rather than provide permanent cryptographic security after the features are fully leaked.
- Clean image leakage (Appendix H, Table 13): When the attacker also holds clean images of the target from before watermarking in addition to the cloaked images, the bit accuracy gap narrows; at Nclean=6 and Nclean=8 (clean images at 1.5 or 2 times the number of cloaked images), the authors state that the accuracy gap is too small to distinguish the watermark.
- Cropping is an inherent difficulty (Appendix B): The authors state that cropping is inherently the most challenging for localized semantic watermarks, because it may completely remove the edited region; as long as part of the marked region remains, it can still provide a usable attribution signal.
- Very small perturbation budgets are unusable (Appendix H, Table 14): At η=0.01 the perturbation is almost ineffective, and the bit accuracy gap drops to 0.25–0.03; the authors state that this setting is uncommon and not recommended.
- Depends on the attacker's imitation capability (Appendix I): The authors state that low-quality forgeries generated by weak attackers are unlikely to faithfully reproduce the micro-feature watermark, but consider such crude forgeries themselves to be signs of imitation, and therefore not a concern.
Scope of experiments
- The models tested are Stable Diffusion v2.1/v2.0/v1.5/v1.4 (images) and CogVideoX (video); the personalization backends cover DreamBooth, LoRA, and Textual Inversion (Appendix A, G.1, G.2).
- The datasets are VGGFace2, CelebA-HQ, WikiArt, and CREMA-D (video); in Appendix H the attacker by default receives 4 cloaked images.
- The attack evaluation covers purification (IMPRESS, Noisy Upscaling), white-box removal (WEvade), black-box removal/regeneration (UnMarker, diffusion regeneration, VAE, WatermarkAttacker in four configurations), and three bespoke adaptive attacks (TCN, AFT, DRA-UG/DRA-G).
- The user study has 49 participants and 100 image pairs (Appendix A); the paper does not report the number of repetitions for each main experiment.
- The implementation and attack configurations are not publicly released; the authors state this is a mitigation to reduce the risk of misuse (Ethical Considerations).
Summarize the main content of the paper
FeatMark turns the watermark into semantic micro-features and uses cloaking to make it transfer along with mimicry training; the authors claim it balances perceptual quality with robustness to removal/purification attacks.
FeatMark is a watermarking framework for attributing diffusion-model mimicry attacks; its goal is not to disrupt mimicry quality but to make successful mimicry outputs carry a verifiable user signature.
- Problem: The authors state that existing invisible pixel-level watermarks (such as Tree-Ring, FT-Shield) are fragile under lightweight adversarial perturbations, and that there is a fundamental tension between imperceptibility and robustness.
- Method: Automatically select stable and non-redundant semantic concepts from a feature bank, inject micro-features via mask-guided local editing, then generate published images through image cloaking so that the watermark transfers along with mimicry fine-tuning; a private reader (frozen CLIP + trainable head, 48-bit message) decodes attribution.
- Perceptual quality: On VGGFace2/CelebA-HQ/WikiArt, FID is 180.98/142.33/321.76, close to No-Defense's 171.81/128.99/306.02, whereas Anti-DreamBooth, Glaze and MetaCloak have FID rising to 279.13–465.37 with distribution metrics collapsing to zero (Table 1).
- Separability: On VGGFace2, WM=Y/WM=N is 0.98/0.03, and on WikiArt 0.99/0.01; Stable Signature's WM=N is 0.45–0.56 (Table 2).
- Robustness: The authors report WEvade's evasion rate against FeatMark as 0.16 (Stable Signature is 1.00); UnMarker, diffusion/VAE regeneration and WatermarkAttacker affect FeatMark's bit accuracy by at most about 0.02 (Tables 5, 6); in the video extension, watermark/non-watermark bit accuracy is 0.85/0.13 (Appendix D).
- Authors' conclusions and boundaries: The authors claim FeatMark provides verifiable attribution while keeping perceptual quality close to baselines, and transfer the same design to video; they also acknowledge that attribution can be weakened once the feature program is fully leaked (forward-security limitation), and that the verification gap disappears when the attacker holds 6 or more additional clean images.