Manuscript Offprint
arXiv:2611.08985NotaryMark: Multi-Bit Watermarking for Black-Box DatasetUsage Auditing in Text-to-Image Diffusion Models
Xinyi Yu
Xi'an Jiaotong University
Xi'an, China
Linkang Du†
Xi'an Jiaotong University
Xi'an, China
Zhou Su†
Xi'an Jiaotong University
Xi'an, China
Min Chen
Vrije Universiteit Amsterdam
Amsterdam, The Netherlands
Yuntao Wang
Xi'an Jiaotong University
Xi'an, China
Zhikun Zhang
Zhejiang University
Hangzhou, China
Abstract
As generative artificial intelligence (AI) models increasingly require data, more publicly available yet licensed data is being harvested and used without authorization, e.g., Disney accuses Google of using AI to engage in copyright infringement on a “massive scale.” Although several previous studies have proposed watermarking methods for dataset copyright auditing, their applicability to the text-to-image setting remains notably limited. The core drawback is that watermarks embedded by existing techniques are often treated as noise and are gradually filtered out and attenuated during the latent noising-denoising process of diffusion model training.
We propose NotaryMark, to our knowledge the first multi-bit watermarking method specifically designed for black-box auditing of T2I training dataset use. The core idea of NotaryMark is to align the watermark with the latent denoising of diffusion models, thereby overcoming the signal decay that plagues existing multi-bit methods during sampling. We evaluate NotaryMark across three datasets and three diffusion models spanning watermark capacities from 8 to 1024 bits. With a watermark capacity of below 32 bits, it achieves a high average bit accuracy of 0.85-0.90. With a watermark capacity exceeding 32 bits, it maintains bit accuracy between 0.67 and 0.80, consistently outperforming existing multi-bit watermark methods whose bit accuracy is around 0.42-0.60. Furthermore, we design a voting-based aggregation scheme to boost the bit accuracy with a modest budget of 30 queries. Building on this, we incorporate error-correcting codes to enable reliable decoding and tracing of the embedded identifier information. Robustness evaluation against fifteen evasion attacks spanning seven categories shows that NotaryMark remains robust under most evaluated settings, while stronger attacks generally suppress watermark evidence only at the cost of substantial utility degradation, demonstrating its practical reliability against malicious tampering.
CCS Concepts
• Security and privacy → Digital rights management; • Computing methodologies → Artificial intelligence.
1 Introduction
Generative artificial intelligence (AI) has advanced rapidly in recent years and is now widely used in areas such as content creation [15, 23, 74] and industrial design [4, 24, 31, 68]. Among the various applications, text-to-image (T2I) diffusion models have become one of the most prominent paradigms. Their strong generative performance relies on large-scale, high-quality training datasets. However, as more datasets become readily available, it has become much easier to collect them without permission and repurpose them for new uses, raising serious concerns about data copyright [44]. A recent example occurred in December 2025, when Disney issued a cease-and-desist letter to Google, alleging that Google's generative AI facilitates copyright infringement at a "massive scale" across both training and distribution pipelines [3]. This high-profile legal tension underscores the urgent need for reliable model-auditing mechanisms that can provide reproducible and technical evidence for dataset copyright verification [2, 17, 30, 50, 66].
Dataset watermarking has emerged as a promising solution for copyright protection. The key principle involves embedding verifiable identifiers into training samples, ensuring these marks propagate into the model outputs generated by models trained on them [36]. This enables dataset owners to audit potential misuse through black-box queries and obtain evidence. These methods can be categorized into zero-bit and multi-bit schemes based on watermark capacity [40, 82]. While zero-bit methods provide only a binary verdict on whether the dataset is misused, multi-bit methods offer significantly greater practical utility by carrying metadata, such as dataset IDs, timestamps, or licensee fingerprints [38, 56, 73]. Such high-capacity information facilitates fine-grained provenance tracing and responsibility attribution, essential for multi-party license management and real-world legal enforcement [21].
Challenges. Despite its potential, stably injecting multi-bit watermarks into the training pipeline of T2I diffusion models remains non-trivial. On one hand, traditional multi-bit watermarking schemes [22, 78] are primarily designed for robustness against media post-processing operations, rather than being optimized to handle watermark signal distortion caused by noise perturbation, iterative denoising, and latent-space modeling during the training and inference of T2I diffusion models. On the other hand, emerging methods tailored for diffusion models [13, 38] are often limited to pixel-domain or unconditional generation, failing to withstand
Corresponding authors.
the complex cross-attention and latent-space learning inherent in modern T2I architectures. As a result, the watermark signals generated by these methods are prone to distortion during T2I model training and fine-tuning. Empirically, we observe that in practical T2I settings, prior watermarking methods often struggle to achieve reliable bit recovery, with bit accuracy rarely exceeding 60% and frequently approaching random guessing. Thus, to make multi-bit watermarking viable for copyright verification, three challenges should be addressed: 1) how to ensure that the watermark signal survives stochastic model training and fine-tuning, and is persistently learned by the downstream model; 2) how to reliably separate and recover the watermark signal from the complex semantic content of generated images, which may differ substantially from those of the protected training samples; and 3) how to reconstruct a stable and high-capacity provenance message despite the inherent randomness of diffusion sampling.
Our Proposal. To address these challenges, we propose NotaryMark, to our knowledge the first multi-bit watermarking framework specifically designed for black-box auditing of T2I training-dataset use. During watermark injection, NotaryMark represents the message as a structured residual in the diffusion-aligned latent space, improving its persistence across the indirect data-model-image channel. For verification, we introduce a U-Net watermark predictor supervised by the original residual and formulate extraction as generative denoising, enabling watermark recovery from generated latents despite semantic prompt shifts and image-content interference. Finally, NotaryMark aggregates complementary bit evidence from multiple generated images and applies BCH error correction to mitigate stochastic decoding errors and recover a reliable provenance message. A joint objective further balances watermark predictability, decodability, and visual imperceptibility.
Evaluation. To assess the effectiveness of NotaryMark, we perform extensive experiments across multiple datasets, including Pokémon [54], CelebA [43], and WikiArt [63], and across different model architectures, including Stable Diffusion v1.5 [61], Stable Diffusion XL [55], and Kandinsky 2.2 [58]. Empirical results demonstrate the exceptional scalability of NotaryMark across a range of watermark capacities. NotaryMark achieves a bit accuracy of 89.50% at 8 bits, and maintains a competitive accuracy of 67.04% even at an ultra-high capacity of 1024 bits. Compared with existing multi-bit watermarking schemes, NotaryMark exhibits a substantial performance margin in complex environments. Notably, in black-box auditing scenarios, our proposed voting-based aggregation method achieves 100% recovery of watermark information with a minimal budget of 30 queries at capacities up to 32 bits, and further integrates error-correcting codes to support exact identifier recovery. Furthermore, NotaryMark maintains bit accuracy of around 85% when standard image-processing operations, such as JPEG compression, resizing, Gaussian blur, hue adjustment, and sharpness adjustment, are applied either as preprocessing to the protected dataset or as post-processing to generated outputs. It also demonstrates robustness across adaptive evasion attacks, including VAE re-encoding, image regeneration, text re-captioning, watermarked-data filtering, and continued fine-tuning.
Contributions. Our main contributions are as follows:
-
We propose a novel dataset watermarking framework that is intrinsically aligned with the latent space of diffusion models. NotaryMark can embed multi-bit watermarks into a latent space of diffusion models, preventing the signal from being treated as noise and filtered out during training, thereby enabling more stable recovery of copyright messages under black-box auditing.
-
We design a joint optimization strategy to balance the watermark's predictability, decodability, and imperceptibility. We further employ stage-wise optimization to ensure reliable watermark learning and verification in high-capacity settings.
-
We conduct a comprehensive evaluation in black-box T2I auditing settings and introduce a multi-sample voting scheme to mitigate diffusion stochasticity and improve recovery stability.
-
We build a complete end-to-end tracing pipeline that incorporates error-correcting codes. This extends the evaluations in existing work, which are limited to bit-level recovery. NotaryMark achieves over 99% tracing success rate for watermark lengths up to 256 bits.
2 Preliminaries
2.1 Text-to-Image Diffusion Models
Text-to-image generation has progressed from GANs [75] and autoregressive models [57] to diffusion models [61]. Unlike GANs, diffusion models synthesize images via a gradual noising-and-denoising procedure, which is more stable and produces high-fidelity results [28]. Latent diffusion models further move the diffusion process from pixel space to a compact latent space using a VAE [33], forming the foundation of Stable Diffusion and related systems [61]. Below, we briefly introduce its core modules.
Forward Diffusion. Latent Diffusion Models first map an image to a compact latent representation using a VAE encoder, where denotes the VAE encoder, and perform diffusion in the latent space. They define a fixed forward Markov process that progressively perturbs with Gaussian noise under a schedule , where is the total number of diffusion steps and controls the noise variance added at step . Let denote the signal-retention coefficient at step and denote the cumulative signal-retention coefficient up to step . The noisy latent at step has a closed form:
Where denotes standard Gaussian noise and is the identity covariance matrix. As increases, the latent signal gradually vanishes and approaches isotropic Gaussian noise.
Reverse Diffusion. The generative model learns a reverse process that denoises toward , conditioned on text embedding . In practice, a U-Net denoiser parameterized by predicts the injected noise via , leading to the standard MSE objective:
where and is sampled from the forward process. At inference, generation starts from Gaussian noise and iteratively applies denoising updates for to obtain , which is finally decoded into an image , where denotes the VAE decoder.

Figure 1: Comparison between the traditional image watermarking and the dataset copyright watermarking. Pipeline (1) represents the traditional image watermarking, whereas pipeline (2) represents the dataset copyright watermarking that we focus on in this paper.
2.2 Dataset Watermark for Diffusion Pipeline
Dataset watermarking has emerged as a proactive mechanism for detecting unauthorized use of datasets for training or fine-tuning generative models [18, 41]. It aims to inject verifiable identity signals into a dataset at the time of release. If a third party subsequently trains a generative model (e.g., a Diffusion Model [36, 59], or LLM [39, 76]) on these watermarked data, the owner can verify the unauthorized usage by querying the model's outputs. Based on the capacity of the embedded information, existing methods can be broadly categorized into zero-bit and multi-bit watermarks.
Zero-bit Watermark. Zero-bit dataset watermarking methods are primarily designed to detect whether a specific dataset has been used in model training or fine-tuning, rather than to extract any explicit data message [82]. Representative works such as SIREN [36], FT-Shield [12], DIAGNOSIS [71], and EnTruth [59] typically inject lightweight, imperceptible, yet learnable patterns into the released samples. During auditing, the dataset owner queries the suspect model with specific prompts to detect whether the generated outputs exhibit predefined behaviors or statistically significant biases.
While these methods are effective for simple ownership verification, their binary nature (Yes or No) inherently limits their utility. They cannot carry fine-grained information required for complex scenarios, such as distinguishing among multiple downstream licensees or performing detailed accountability attribution [47, 83].
Multi-bit Watermark. Multi-bit watermarking methods are characterized by their ability to encode and recover a watermark, such as ownership identifiers or metadata, enabling fine-grained and reliable traceability and multi-party license management.
Before the rise of modern generative models, a large body of traditional multi-bit watermarking techniques had already been developed for digital media protection [5, 11, 52]. Representative approaches span traditional transform-domain techniques (e.g., Dwt-Dct [14]), which embed bits into wavelet coefficients to trade off imperceptibility against robustness. They also encompass learning-based encoder-decoder frameworks, such as SSL [22] and RivaGAN [78], which perform end-to-end optimization for multi-bit
embedding and recovery. However, there exists a significant difference between the traditional image watermarking pipeline and the dataset copyright watermarking pipeline, as illustrated in Figure 1. These methods overlook the indirect "data-to-model" transmission channel in dataset copyright auditing, where the watermark must survive training distillation and ultimately manifest in the output distribution. Furthermore, experimental results show that these baselines fail to emerge reliably in T2I generations, with bit recovery accuracy often degrading to near random guessing.
Recently, several attempts have been made to tailor multi-bit dataset watermarking for unconditional diffusion-model pipelines, yet significant limitations persist in practical T2I environments. DiffusionShield [13] integrates watermarks by jointly optimizing denoising and reconstruction losses within an unconditional DDPM [28] framework. However, it proves fragile under T2I scenarios as dominant semantic alignment gradients inevitably suppress the subtle pixel-level textures required for multi-bit recovery. Similarly, HMark [38] assigns bits to latent triggers during DDPM fine-tuning. However, these static signals are undermined by T2I stochasticity and cross-attention redistribution, resulting in a pronounced trade-off between auditing resolution and image fidelity. Moreover, the scheme introduced by Luo et al. [45] leverages bit-recovery statistics as fingerprints for detecting style mimicry. However, it does not extend well to scenarios requiring high-capacity message recovery, since it depends on aggregate distributional patterns rather than accurate, bit-level attribution. Consequently, these approaches remain insufficient for robust, high-capacity dataset auditing under the complex dynamics of black-box T2I generation.
2.3 Discussion
In our evaluations, we select DwtDct [14], SSL [22], RivaGAN [78], and DiffusionShield [13] as our primary baselines for the following reasons. Although DwtDct [14], SSL [22], and RivaGAN [78] were originally designed for media distribution, they are frequently repurposed in generative AI contexts as foundational baselines for dataset copyright tracing due to their technical maturity. We therefore include them to evaluate whether watermarks embedded as pixel- or frequency-domain perturbations can survive the "data-to-model" channel and support downstream copyright tracing.
Regarding diffusion-oriented methods, we choose DiffusionShield [13] as a representative end-to-end generative baseline. We exclude HMark [38] from our evaluation because its source code is currently unavailable for reproducible comparison. Furthermore, while Luo et al. [45] provide a valuable auditing framework and evaluation perspective, their implemented watermark injection and verification modules still rely on traditional image watermarking methods rather than a distinct end-to-end multi-bit design tailored for high-capacity recovery. Therefore, comparing against representative traditional watermarking baselines already covers the core technical components underlying their instantiation. For this reason, we do not treat Luo et al. [45] as a separate, standalone algorithmic baseline. We also provide a qualitative comparison with HMark [38] and Luo et al. [45] in Appendix D, as their objectives and settings differ from ours.
3 Problem Definition
3.1 Threat Model
We consider a typical two-party dataset misuse auditing scenario aligned with the existing work [9, 17, 30, 64]: the Dataset Owner (Defender) and the Model Trainer (Attacker). We further elaborate on the respective goals and capabilities of both parties below.
Dataset Owner (Defender). The owner holds the copyright to the dataset and aims to secure it before public release [62]. The core capabilities of the dataset owner are summarized as follows.
-
Dataset and Provenance Management: The dataset owner has the ability to preprocess the dataset in order to embed copyright information. This can be achieved by inserting designated multi-bit watermarks into the data samples.
-
Black-box Auditing: The dataset owner can conduct post-hoc auditing with only black-box access to suspect models. This involves issuing text prompts, analyzing the synthesized outputs to verify the watermark's presence, and further decoding the embedded identifier information to support both misuse auditing and responsibility tracing.
Model Trainer (Attacker). The trainer, acting as an attacker, seeks to exploit the released dataset to train or fine-tune T2I models while evading copyright attribution [30, 64]. Depending on their capability to evade detection, we consider two types of attackers.
-
Vanilla Attacker. The vanilla attacker is unaware of which samples are watermarked or which embedding method is used. Therefore, the attacker applies generic image-processing operations without exploiting any method-specific knowledge. We consider two attack stages. First, before model training, the attacker may preprocess the protected training images to sanitize the dataset and weaken watermark evidence. Second, after model deployment, the attacker may post-process the generated outputs before returning them to the auditor, thereby interfering with watermark detection and message recovery [49].
-
Adaptive Attacker. We further consider an adaptive attacker who knows the watermarking framework and auditing workflow but lacks the secret message, trained watermark-module parameters, and detector calibration data. Accordingly, the attacker can design targeted strategies to suppress evidence of watermarking during data preparation and model training. We evaluate five adaptive attacks: VAE re-encoding [81], image regeneration [49], text re-captioning [37], watermarked-data filtering, and continued fine-tuning [10] on clean data, each aimed at attenuating watermark evidence while retaining sufficient visual and semantic utility for downstream T2I training.
3.2 Dataset Copyright Auditing
As shown in the auditing pipeline of Figure 1, the dataset owner aims to audit whether a dataset has been used to train or fine-tune a suspect model [64]. The auditing pipeline consists of two stages: watermark injection and watermark verification.
Watermark Injection. Before the dataset is released, the dataset owner injects a secret multi-bit watermark information into the samples to produce the watermarked dataset . In the context of T2I models, this injection can occur in the pixel, frequency, or diffusion latent space [71, 72]. The primary goal is to
ensure that the watermark is learnable by diffusion models while remaining imperceptible, thereby preserving data utility. Then, an unauthorized model trainer (attacker) collects and uses it to train or fine-tune a model .
Watermark Verification. When a model is suspected of infringement, the dataset owner queries model with input prompts, collects the generated outputs, and first determines whether the watermark is present in the generated images. Once the watermark's presence is confirmed, the owner uses a decoder to recover the embedded identifier for tracing.
4 NotaryMark
4.1 Intuition
The key challenge of multi-bit dataset watermarking for T2I models is not merely to embed decodable information into individual images, but to establish a reliable information channel across dataset protection, downstream model training, and stochastic image generation. An imperceptible watermark that is inconsistent with the learned data distribution may be suppressed during training, while watermark evidence retained by the model may still be too weak or unstable to recover from a single generated output [13]. Our key observation is that watermark persistence and recovery should therefore be considered jointly: the protected data should introduce message-consistent evidence that can be absorbed by the downstream model, and the auditing process should consolidate weak but coherent traces exposed across generated samples. Guided by this view, NotaryMark jointly optimizes watermark injection and recovery to balance imperceptibility, learnability, and the reliability of multi-bit attribution.
4.2 Workflow
The workflow of NotaryMark is illustrated in Figure 2, which contains three stages: (i) joint-optimized watermark injection, (ii) copyright evidence collection, and (iii) auditing and watermark recovery. Detailed designs for each component are elaborated in Section 4.3.
Stage 1: Joint-optimized Watermark Injection. In this stage, we train a joint architecture consisting of a latent encoder-decoder, a U-Net-based predictor, together with a separately trained auditing discriminator for watermark-presence verification. The encoder learns to generate latent residuals that are recognizable by the predictor, distinguishable by the discriminator, and consistent with the diffusion dynamics. Meanwhile, the predictor learns to extract watermark residuals from complex latent representations and provide separable evidence for discrimination. This pre-alignment step makes it easier for diffusion models to learn the watermark. Once optimized, the dataset owner specifies a secret -bit watermark information , which is processed by the trained encoder to produce a latent watermark signal. These signals are injected into the latent representations of the training samples. The resulting watermarked dataset contains an identity signal tightly coupled to the underlying data distribution.
Stage 2: Copyright Evidence Collection. When a model is trained on the watermarked dataset , the embedded patterns are manifested in its generated outputs. Leveraging this property, we collect copyright evidence through black-box queries to the

Figure 2: Workflow of NotaryMark for T2I dataset protection. Stage 1 involves a joint-optimization injection process in which the dataset owner embeds multi-bit watermarks in the latent space, guided by losses for predictability, decodability, and imperceptibility. Stage 2 focuses on collecting copyright evidence by triggering the suspect diffusion model to generate watermarked samples. Stage 3 performs auditing by passing the generated images through the predictor U and the decoder to recover the watermark for verification.
model. The dataset owner sends auditing prompts to the model and collects the resulting generated images. Given the inherent sampling stochasticity of diffusion models, the watermark signal in a single output may be partially occluded by generative noise. To ensure robust verification, we perform multiple queries to obtain a sequence of generated samples. This multi-query mechanism allows us to suppress random noise through statistical aggregation, thereby externalizing the model's implicit memory of the training data into detectable signals manifested in the generated images.
Stage 3: Auditing and Watermark Recovery. The final auditing phase performs inference by feeding generated images into a U-Net-based predictor. Its multi-scale feature-fusion disentangles subtle watermark signals, which are then verified via a discriminator and hypothesis test before being processed by a decoder for information recovery. To mitigate sampling stochasticity, we introduce a multi-sample aggregation mechanism. By applying bit-wise majority voting over independent samples, our method stabilizes recovery to produce a consistent estimate, . We further incorporate error correction to enhance identifier recovery and facilitate user-level tracing. Finally, comparing this result with the original watermark enables definitive auditing and attribution decisions.
4.3 Design Details
This section elaborates on three core technical components of NotaryMark, which primarily correspond to the two key stages of joint-optimized injection and auditing recovery in Section 4.2. Overall, we model the watermark as a structured latent residual aligned with the diffusion process, and organize the design around three aspects: embedding, detection, and aggregated recovery.
Latent Space Watermark Embedding. This component corresponds to the joint-optimized injection stage (Stage 1) in the
workflow. Its main goal is to embed the multi-bit watermark into the training data in a learnable, transferable form without disrupting the diffusion generation mechanism. In latent diffusion models (LDMs), training and sampling occur in the VAE latent space. Watermarks misaligned with this pipeline (e.g., fixed pixel patterns) are often treated as noise and removed during denoising. To ensure representation alignment, we embed the watermark directly into the diffusion-consistent latent , facilitating its propagation into generated content.
Our approach hinges on the joint alignment of embedding location and optimization. Instead of random noise, a learnable encoder generates a content-adaptive structured residual. This encourages the downstream model to absorb the watermark as a learnable latent feature correlated with the data distribution rather than suppressing it as a nuisance.
We employ an adaptive design where the residual is conditioned on both latent content and the -bit message , with a scalar governing the imperceptibility–decodability trade-off. Specifically, denotes the original image, denotes the binary watermark message, and denote the frozen encoder and decoder of the pretrained VAE, respectively, and denotes the learnable watermark encoder:
Where is the latent representation of , is the watermarked latent, is the resulting watermarked image, and is the embedding-strength coefficient, with larger values indicating stronger watermark perturbations.
Watermark Prediction and Detection. This component connects the joint-optimized injection stage (Stage 1) and the auditing and watermark recovery stage (Stage 3) in the workflow.
During joint optimization, watermarks survive as weak, structured features entangled with image semantics. A U-Net backbone is well-suited for recovery, as its multi-scale architecture and skip connections isolate subtle traces from complex backgrounds. Its role is therefore to recover residual watermark cues from semantically rich content rather than detect visible artifacts.
During auditing and watermark recovery, the dataset owner queries the suspect model and obtains a set of generated images , where is the number of audit queries and denotes the image obtained from the -th query. Each generated image is first mapped to the VAE latent space, and the U-Net predictor extracts watermark-related features. Based on these features, the discriminator produces a continuous watermark-presence score, while the bit decoder produces a candidate -bit message:
Where is the latent representation of , denotes the U-Net watermark predictor, denotes the watermark-related residual feature, denotes the watermark-presence discriminator, and denotes the bit decoder. The variable is the detector score for the -th output, while is its decoded candidate message. The final auditing decision is made by performing a hypothesis test over the score set .
Crucially, NotaryMark does not require access to or knowledge of the image-to-latent module, including the VAE architecture or parameters, used by the downstream generation model. Because the watermark is a content-adaptive structured residual, it leaves traces in the image domain that remain recoverable even after re-encoding by different VAEs.
Multi-sample Aggregation. This component corresponds to the auditing recovery stage (Stage 3), transforming evidence from multiple black-box queries into a stable consensus result. Given that diffusion sampling is inherently stochastic [32, 67], decoded bits from a single sample may fluctuate even if the suspect model has successfully captured the watermark. To enhance stability and reproducibility, we query the model multiple times and decode an L-bit message from each output. By aggregating these predictions bitwise, our approach effectively suppresses decoding errors induced by sampling randomness, ensuring a more robust recovery.
Let denote the predicted L-bit message extracted from the i-th generated image, for , where N is the audit sample size (i.e., the number of queries). We apply an aggregation operator to obtain the estimate [16]:
Where denotes the bit-wise multi-sample aggregation operator and denotes the aggregated message estimate. In our default instantiation, performs bit-wise majority voting to derive a statistically robust consensus from the stochastic query sequence:
Where and denote the j-th bits of the individual and aggregated messages, respectively; and is the indicator function. This strategy reduces the impact of occasional single-sample bit errors, yielding a more stable recovered message for auditing.
4.4 Joint Optimization Strategy
As shown in Stage 1 of Figure 2, we optimize three loss functions to achieve the training goals of predictability, decodability, and imperceptibility.
Predictability Loss. This loss enforces the predictability objective, i.e., the U-Net predictor should directly recover the embedded watermark signal itself from the watermarked latent. We treat the encoder-produced signal as the target and require the predictor output on the watermarked latent to match it. This regression objective forces to disentangle the structured watermark perturbation from complex latent content, yielding a stable intermediate representation for subsequent bit decoding. Concretely, we first construct the watermarked latent and then minimize the squared error between the predicted watermark signal and the ground-truth watermark signal:
(7)
where controls the embedding strength. For a fixed , directly measures how well the predictor can recover the injected perturbation.
Decodability Loss. This loss enforces the decodability objective: even if the predictor can approximate the watermark signal pattern, the recovered signal must be information-bearing so that the watermark information m can be reliably decoded. We thus supervise the bit decoder to recover the L-bit message from the predicted signal . We adopt a per-bit binary cross-entropy loss:
and are complementary: the former ensures the watermark signal is recoverable, while the latter ensures that the recovered signal supports faithful message decoding.
Imperceptibility Loss. To preserve the imperceptibility of the model generation, we jointly constrain the watermark perturbation in both the latent and pixel spaces. First, since diffusion training and denoising dynamics operate in latent space, excessive deviation from the original latent z may distort the latent distribution and degrade generation quality. We thus regularize the latent modification magnitude by penalizing . Second, to directly suppress visible deviations in the image domain, we decode the watermarked latent with the VAE decoder and constrain pixel-level deviation from the original image. Formally, we define:
(9)
This combined loss controls perturbation energy in the latent space while constraining watermark imperceptibility, thereby improving stealthiness without sacrificing predictability or decodability.
Two-stage Training Schedule. A central challenge in training NotaryMark is the conflict between channel establishment and imperceptibility control, especially at high watermark capacities. The losses and encourage the model to form a decodable watermark channel, whereas penalizes visible and latent perturbations. If all three objectives are optimized jointly from the start, the easiest way to reduce is often to suppress the embedding signal before a reliable channel has been established, leading to a degenerate solution that favors imperceptibility over predictability and decodability.
To resolve this conflict, we adopt a two-stage schedule. Instead of optimizing all objectives equally from the outset, we first solve a simpler subproblem: establishing a watermark channel that is both predictable and decodable. Only after this channel becomes stable do we introduce imperceptibility regularization to refine the solution. This can be viewed as a staged or continuation optimization strategy: stage 1 finds a feasible decoding solution, and stage 2 optimizes the full objective around it.
During warm-up, we optimize only the verifiability-related losses, i.e., and , so that the encoder-predictor-decoder pathway converges to a regime where the watermark can be predicted and the -bit message can be decoded. After warm-up, we enable and optimize the full objective:
Empirically, we do not observe destabilization after the switch; instead, warm-up reduces early collapse and is particularly beneficial in high-capacity settings. We define as the warm-up cutoff, implemented either as fixed epochs (default) or adaptively based on convergence. In practice, a brief warm-up is sufficient to stabilize message recovery before full-objective training improves imperceptibility while preserving verification performance.
4.5 Technical Novelty of Our Proposal
To address the challenges of watermark persistence, semantic interference, and stochastic generation, NotaryMark combines three complementary designs: structured latent alignment to preserve watermark evidence, generative denoising to separate watermark residuals from visual semantics, and multi-query aggregation with BCH error correction for reliable provenance recovery.
Structured Latent Alignment for Watermark Persistence. Instead of introducing a pixel-domain pattern that may be treated as independent noise, NotaryMark represents the provenance message as a message-conditioned and content-adaptive residual in the latent space used by the diffusion model. Therefore, although the watermark component is attenuated according to the diffusion schedule, it remains a structured, diffusion-scaled displacement rather than immediately becoming independent Gaussian noise. Since samples carrying the same provenance message contain correlated message-dependent residuals, they can contribute a coherent component to the downstream denoising objective instead of behaving as unrelated random perturbations [25]. This makes the
watermark more likely to be learned together with the protected data distribution and subsequently manifested in generated outputs.
Semantic Disentanglement through Generative Denoising. The challenge is to extract watermarks from generated images whose prompts and semantics differ from the protected training data. In such outputs, the watermark appears as a weak residual entangled with visual content, making direct bit decoding vulnerable to semantic interference. To address this issue, NotaryMark introduces a U-Net-based predictor supervised by the embedded residual. Rather than directly predicting bits, it reconstructs watermark-related evidence from the generated image latent. We formulate recovery as a denoising task that suppresses semantic variation and isolates the structured residual before decoding. The U-Net's multi-scale features and skip connections facilitate this separation [28], reducing dependence on prompt-specific semantics.
Reliable Provenance Recovery from Stochastic Outputs. Diffusion sampling introduces substantial variability across generated outputs. Even when a downstream model retains the watermark, a single generated image may expose only partial evidence, causing bit predictions to fluctuate across queries. NotaryMark therefore queries the suspect model multiple times and aggregates complementary evidence from independently generated images through bit-wise majority voting. This aggregation suppresses sample-specific decoding errors and produces a more stable consensus message. We further apply BCH error correction to correct the remaining bit errors and map the recovered codeword to a provenance identifier. Together, these three designs enable NotaryMark to transform weak, stochastic evidence from individual outputs into reliable identifier-level provenance.
5 Implementation
Datasets and Models. We evaluate NotaryMark on three datasets spanning distinct visual domains and three widely used T2I backbones. For datasets, we use (i) Pokémon [54], which exhibits a consistent cartoon-style distribution; (ii) CelebA [43], paired with facial captions generated by LLaVA; and (iii) WikiArt [63], which contains diverse artistic styles and complex classical textures. For model backbones, we consider (i) Stable Diffusion v1.5 (SD v1.5) [61] as a standard latent diffusion baseline, (ii) Stable Diffusion XL (SDXL) [55] with a higher-capacity architecture and dual text encoders, and (iii) Kandinsky 2.2 [58], an image-prior-based diffusion model. Following black-box auditing, we fine-tune backbones on watermarked datasets using LoRA [29]. Additional dataset statistics and implementation details are deferred to Appendix E.
Reference VAE. For joint optimization, NotaryMark uses the pretrained AutoencoderKL from SD v1.5 as a fixed reference VAE. Its encoder and decoder remain frozen throughout training, and their parameters are neither retrained nor fine-tuned. The reference VAE need not exactly match the image-to-latent module of the downstream T2I model. SDXL also employs an AutoencoderKL, but it uses different pretrained weights and a latent scaling factor of 0.13025, compared with 0.18215 for SD v1.5, whereas Kandinsky 2.2 employs a MoVQ encoder-decoder. We empirically validate the generalization of the reference VAE across different backbones, including SD v1.5, SDXL, and Kandinsky 2.2 in Section 6.2.
Prompts and Generations. For each dataset, we construct a pool of 150 unique prompts. These prompts are generated by a Large Language Model [42] while maintaining a linguistic style similar to that of the original datasets, ensuring they are semantically representative of the target domains.
To simulate a post hoc auditing scenario, we query the suspect model with black-box access. In this setting, the auditor is restricted to obtaining images generated by the model in response to text prompts. We then decode the watermarks from these output images to verify whether the training data has been used without authorization. To obtain a robust estimate of the audit success rate, we employ a statistical sampling protocol in which prompts are randomly sampled from the pool in each audit trial to query the model. This procedure is repeated 100 times, and the average success rate is calculated as the final metric to evaluate the reliability of watermark detection.
Hyperparameters. We summarize the hyperparameters used in our experiments. We consider message lengths bits to study the effect of watermark capacity on decodability and behavior. Unless otherwise stated, we use as the message length in most experiments. The embedding strength is a scalar that controls the trade-off between imperceptibility and decodability, and we set by default.
We optimize a joint objective with weights and adopt a two-stage training schedule to prevent early degradation in image quality. In stage 1, we focus on verifiability-related objectives and set , and . In the later stage 2, we enable the imperceptibility regularizers and set all weights to 1, thereby improving perceptual quality while preserving reliable decoding.
Competitors. We compare NotaryMark against four representative multi-bit watermarking baselines that cover both diffusion-specific and traditional image watermarking paradigms: DiffusionShield [13], DwtDct [14], SSL [22], and RivaGAN [78]. DiffusionShield [13] is a diffusion-based scheme designed for generative pipelines, and it is the closest baseline to our threat model and deployment setting. The other three are widely used multi-bit image watermarking methods originally developed for traditional media distribution. Furthermore, they are frequently employed as baselines for auditing dataset watermarking. For a fair comparison, we follow each method's implementation and recommended hyperparameters, and evaluate all baselines under the same datasets, model backbones, and auditing protocol as NotaryMark.
Metrics. We evaluate the performance of NotaryMark from two primary perspectives: effectiveness and imperceptibility.
- Effectiveness: This category evaluates whether the watermark can provide reliable evidence for infringement auditing and whether the embedded message can be recovered for tracing.
- Auditing Decision: This dimension evaluates whether a suspect model can be identified as having learned the target watermark. For each generated image, the discriminator outputs a watermark-presence score. Given multiple query images in a single audit, we perform statistical analysis on these detector outputs and use a hypothesis test to determine whether the suspect model contains the target watermark. The detailed statistical formulation is provided in Appendix E.4. We report
TPR and FPR [20] over fine-tuned watermarked models and clean models trained without the watermark.
- Message Recovery: After watermark presence is confirmed, this dimension evaluates the accuracy and stability of recovering the embedded identifier information from generated outputs. Image-level bit accuracy (BA): We decode the message from each individual image and calculate its bit accuracy relative to the target message , reflecting the per-sample recovery quality. Aggregated bit accuracy (BA): To simulate practical tracing, we aggregate the predicted bits from multiple queried images into a single consensus message and report its mean accuracy over repeated audit trials.
- Imperceptibility: This category ensures the watermark injection remains stealthy and does not degrade model utility.
-
Image Fidelity: Focuses on image-level invisibility. We report SSIM [70] and LPIPS [80] to assess the structural and perceptual fidelity between the original and watermarked samples, ensuring no conspicuous artifacts.
-
Generation Quality: Focuses on model-level performance. We compute FID [27] to quantify the distribution shift after fine-tuning, ensuring the model preserves its generative capabilities with minimal side effects.
6 Evaluation
6.1 Overall Performance
Effectiveness. Our analysis begins with a comparative evaluation of NotaryMark against representative multi-bit watermark baselines. We assess performance on the SD v1.5 [61] model across three datasets: Pokémon, CelebA, and WikiArt. Unless otherwise specified, all reported effectiveness results are obtained under a high-fidelity setting where the watermarked images maintain SSIM > 0.95, ensuring that auditing does not rely on visually obvious artifacts. Detailed experimental protocols and imperceptibility analysis are provided in Section 6.2.
Experiments show that NotaryMark achieves the best overall effectiveness among all compared methods, consistently combining reliable auditing decisions with stronger message recovery. As summarized in Table 1, NotaryMark attains perfect or near-perfect auditing performance across all three datasets, achieving TPR/FPR of 100.00%/0.00% on Pokémon and CelebA, and 100.00%/1.00% on WikiArt. Meanwhile, it also yields the best message recovery results, reaching scores of 85.35%/100.00%, 77.52%/93.88%, and 80.75%/95.75% on Pokémon, CelebA, and WikiArt, respectively. These results indicate that NotaryMark not only provides reliable evidence for infringement auditing, but also preserves sufficient multi-bit information for downstream tracing.
A key advantage of NotaryMark is that it simultaneously supports both auditing and tracing, whereas existing baselines often succeed in only one of the two aspects. For example, DiffusionShield achieves a TPR/FPR of 100.00%/0.00% on Pokémon, but its message recovery remains essentially random, with and . Similarly, SSL attains a TPR/FPR of 100.00%/1.00% on Pokémon, yet its aggregated bit accuracy is only 54.86%. These results suggest that some existing methods can provide detectable watermark evidence, but fail to preserve sufficiently accurate embedded messages for reliable identifier
Table 1: Effectiveness on Stable Diffusion v1.5. Metrics with (↑) indicate higher is better; (↓) indicate lower is better.
| Dataset | Method | TPR (%)↑ | FPR (%)↓ | (%)↑ | (%)↑ |
|---|---|---|---|---|---|
| Pokémon | DiffusionShield | 100.00 | 0.00 | 49.55 | 49.43 |
| DwtDct | 2.00 | 0.00 | 42.77 | 30.43 | |
| SSL | 100.00 | 1.00 | 55.62 | 54.86 | |
| RivaGAN | 10.00 | 1.00 | 58.54 | 62.59 | |
| NotaryMark | 100.00 | 0.00 | 85.35 | 100.00 | |
| CelebA | DiffusionShield | 100.00 | 0.00 | 49.57 | 49.43 |
| DwtDct | 0.00 | 0.00 | 52.60 | 59.59 | |
| SSL | 97.00 | 0.00 | 60.91 | 67.76 | |
| RivaGAN | 13.00 | 0.00 | 47.52 | 44.65 | |
| NotaryMark | 100.00 | 0.00 | 77.52 | 93.88 | |
| WikiArt | DiffusionShield | 13.00 | 0.00 | 49.43 | 49.43 |
| DwtDct | 0.00 | 0.00 | 51.19 | 57.47 | |
| SSL | 92.00 | 4.00 | 47.89 | 48.83 | |
| RivaGAN | 100.00 | 0.00 | 59.25 | 71.22 | |
| NotaryMark | 100.00 | 1.00 | 80.75 | 95.75 |
recovery. In contrast, among the evaluated methods, NotaryMark is the only method that consistently achieves both high auditing reliability and high-fidelity multi-bit recovery across all datasets.
Several baseline methods exhibit pathological behavior in message recovery after diffusion fine-tuning, where the decoded bits become unstable or even anti-correlated with the true watermark message. Their aggregated bit accuracy frequently stays near random guessing or even falls below 50%. For example, DwtDct attains a of only 30.43% on Pokémon, while RivaGAN yields a of 44.65% on CelebA. This suggests that methods designed primarily for traditional pixel-domain watermarking fail to preserve high-capacity identifiers through the stochastic diffusion training and sampling pipeline. Consequently, although some of them may still provide partial evidence for watermark presence, they remain inadequate for reliable multi-bit tracing in black-box T2I auditing.
Imperceptibility. We evaluate imperceptibility at two hierarchical levels: data-level image fidelity and model-level generation quality.
Experimental results show that NotaryMark maintains high image fidelity while achieving competitive generation quality, leading to a better overall trade-off when effectiveness is also taken into account. As shown in Table 2, our method consistently preserves high image fidelity across all benchmarks, with SSIM above 0.97 and LPIPS remaining low. In particular, on the Pokémon dataset, NotaryMark achieves the best generation quality, reaching an FID of 77.23 and significantly outperforming all baselines. On CelebA and WikiArt, although NotaryMark does not obtain the lowest FID, it still achieves competitive generation quality while substantially outperforming methods in effectiveness. In contrast, traditional schemes such as DwtDct [14] and RivaGAN [78] better preserve visual quality, but their limited message-recovery capability makes them less suitable for reliable auditing and tracing. Therefore, when effectiveness and imperceptibility are considered jointly, NotaryMark demonstrates stronger practical utility.
Qualitative results in Figure 6 further confirm that both the watermarked images and the outputs of fine-tuned models remain visually indistinguishable from their clean counterparts, without introducing noticeable artifacts or style shifts. Residual analysis reveals that the watermark signal is not random noise but is highly
Table 2: Imperceptibility and generation quality comparison across three datasets. Metrics include SSIM, LPIPS, and FID.
| Dataset | Method | SSIM( > 0.95) ↑ | LPIPS ↓ | FID ↓ |
|---|---|---|---|---|
| Pokémon | DiffusionShield | 0.9551 | 0.0392 | 184.23 |
| DwtDct | 0.9993 | 0.0002 | 86.34 | |
| SSL | 0.9536 | 0.0549 | 140.04 | |
| RivaGAN | 0.9777 | 0.0031 | 86.62 | |
| NotaryMark | 0.9805 | 0.0112 | 77.23 | |
| CelebA | DiffusionShield | 0.9508 | 0.0579 | 235.45 |
| DwtDct | 0.9971 | 0.0045 | 87.83 | |
| SSL | 0.9761 | 0.0574 | 233.03 | |
| RivaGAN | 0.9852 | 0.0226 | 65.31 | |
| NotaryMark | 0.9790 | 0.0312 | 87.14 | |
| WikiArt | DiffusionShield | 0.9591 | 0.0265 | 93.49 |
| DwtDct | 0.9978 | 0.0018 | 106.22 | |
| SSL | 0.9647 | 0.0311 | 170.92 | |
| RivaGAN | 0.9872 | 0.0149 | 107.41 | |
| NotaryMark | 0.9764 | 0.0116 | 109.27 |
Table 3: Generalization of NotaryMark across various datasets and T2I backbones.
| Dataset | Model | TPR (%)↑ | FPR (%)↓ | (%)↑ | (%)↑ | FID↓ |
|---|---|---|---|---|---|---|
| Pokémon | SD v1.5 | 100.00 | 0.00 | 85.35 | 100.00 | 77.23 |
| SDXL | 100.00 | 0.00 | 78.08 | 97.50 | 59.70 | |
| Kandinsky | 100.00 | 2.00 | 86.12 | 95.88 | 105.37 | |
| CelebA | SD v1.5 | 100.00 | 0.00 | 77.52 | 93.88 | 87.14 |
| SDXL | 100.00 | 0.00 | 62.33 | 81.59 | 81.06 | |
| Kandinsky | 100.00 | 0.00 | 76.52 | 85.18 | 74.34 | |
| WikiArt | SD v1.5 | 100.00 | 1.00 | 80.75 | 95.75 | 109.27 |
| SDXL | 100.00 | 3.00 | 76.17 | 89.09 | 108.19 | |
| Kandinsky | 100.00 | 0.00 | 65.29 | 84.63 | 104.31 |
content-adaptive and tightly coupled to underlying textures. This intrinsic correlation makes watermark removal difficult without compromising structural integrity, thereby simultaneously ensuring stealthiness and robustness against tampering. A more detailed analysis is provided in Appendix F.3.
6.2 Generalization
Beyond the evaluation on SD v1.5 across three benchmark datasets, we further extend our experiments to more advanced architectures, namely SDXL and Kandinsky 2.2, to assess the generalization capability of NotaryMark. This cross-architecture evaluation on the same three datasets is designed to verify whether our auditing framework remains effective across diverse generative backbones.
Across Models. NotaryMark generalizes well across different T2I backbones. As shown in Table 3, it achieves a TPR of 100.00% in all nine dataset–model combinations, while keeping the FPR consistently low, within 0–3%. These results indicate that the auditing reliability of NotaryMark remains highly stable even when the downstream generative backbone changes substantially.
Notably, this cross-architecture success is achieved even when the downstream generative models employ VAE structures different from the used during the watermark injection stage. This suggests that NotaryMark remains effective under variations in downstream latent representations and does not rely on a specific VAE architecture to maintain auditability. Although image-level and aggregated bit accuracy vary across backbones, the overall recovery performance remains strong. For example, on Pokémon,

(a) Pokémon

(b) CelebA

(c) WikiArt
Figure 3: Average per-bit error rates during watermark extraction across multiple datasets and model backbones.
NotaryMark achieves values of 100.00%, 97.50%, and 95.88% on SD v1.5, SDXL, and Kandinsky, respectively, demonstrating near-perfect message recovery across architectures.
Across Datasets. Compared with model architecture, data-domain characteristics appear to play a larger role in determining the difficulty of message recovery. Among the three datasets, Pokémon is consistently the easiest, achieving the strongest recovery performance across all backbones. In contrast, CelebA and WikiArt are more challenging, and their relative difficulty varies across models.
For example, under SDXL, the is 97.50% on Pokémon, 81.59% on CelebA, and 89.09% on WikiArt. Under Kandinsky, the corresponding values become 95.88%, 85.18%, and 84.63%. This suggests that architecture changes do not fundamentally break auditability, but they do affect the fidelity of multi-bit recovery in a dataset-dependent manner. In particular, domains with more complex fine-grained structures or stronger semantic competition make stable bit preservation more difficult.
Consistency of Error Bits. The intrinsic characteristics of a data domain induce broadly consistent per-bit error patterns across different model architectures. As illustrated in Figure 3, the per-bit error-rate plots show substantial overlap for different backbones on the same dataset. In particular, several high-error bit positions recur across models, suggesting that certain bits are inherently more vulnerable to corruption due to the interaction between the watermark signal and the data domain.
Although the exact magnitudes vary across architectures, the overall peak locations and fluctuation trends remain broadly consistent. This cross-architecture consistency indicates that the main bottlenecks in watermark decodability are more likely determined by the data domain than by any specific model architecture. This observation provides empirical guidance for designing adaptive watermark encoding strategies for challenging datasets.
6.3 Watermark Configuration
Watermark Rate. In realistic dataset misuse scenarios, protected samples often account for only a small fraction of the fine-tuning
Table 4: Impact of watermark strength on effectiveness and imperceptibility trade-offs on the Pokémon dataset.
| TPR (%)↑ | FPR (%)↓ | (%)↑ | (%)↑ | SSIM↑ | LPIPS↓ | FID↓ | |
|---|---|---|---|---|---|---|---|
| 0.1 | 6.00 | 0.00 | 49.40 | 45.19 | 0.9828 | 0.0102 | 79.48 |
| 0.2 | 100.00 | 0.00 | 60.69 | 80.88 | 0.9824 | 0.0104 | 80.59 |
| 0.3 | 100.00 | 0.00 | 73.71 | 97.84 | 0.9819 | 0.0106 | 74.47 |
| 0.4 | 100.00 | 0.00 | 82.13 | 98.09 | 0.9813 | 0.0108 | 77.88 |
| 0.5 | 100.00 | 0.00 | 85.35 | 100.00 | 0.9805 | 0.0112 | 77.23 |
| 0.6 | 100.00 | 0.00 | 82.60 | 98.91 | 0.9795 | 0.0117 | 79.87 |
| 0.7 | 100.00 | 0.00 | 87.96 | 100.00 | 0.9785 | 0.0122 | 81.25 |
| 0.8 | 100.00 | 0.00 | 88.92 | 100.00 | 0.9773 | 0.0130 | 83.46 |
| 0.9 | 100.00 | 0.00 | 87.27 | 99.91 | 0.9760 | 0.0138 | 86.81 |
| 1.0 | 100.00 | 0.00 | 90.54 | 100.00 | 0.9745 | 0.0148 | 95.81 |
corpus, since model trainers typically aggregate data from multiple sources [7]. Therefore, a low watermark rate is not an edge case, but an unavoidable practical challenge for dataset copyright auditing.
To examine this setting, we evaluate NotaryMark under different watermark rates on three datasets, as shown in Figure 5. Overall, lower watermark rates inevitably weaken both auditing evidence and message recovery, because the watermarked samples are diluted by clean data during fine-tuning, thereby reducing their influence on model optimization.
Nevertheless, NotaryMark still retains meaningful auditing capability at low watermark rates. On Pokémon and CelebA, the TPR rises from 47.00% and 31.00% at to 87.00% and 82.00% at , and reaches 100% on both datasets from onward. By contrast, WikiArt is more sensitive to the weakening effect of low watermark rates: at low , both and remain close to random guessing, suggesting that in domains with more complex textures, sparse protected samples are less likely to leave recoverable multi-bit evidence. A promising future direction is to improve robustness at low watermark rates by designing watermarks that remain effective when protected samples are sparse, such as semantic-aware embedding strategies, more redundancy-efficient encoding schemes, or auditing procedures that accumulate evidence more effectively across queries.
Table 5: Impact of watermark length of NotaryMark on the Pokémon dataset.
| Bits (L) | TPR (%) | FPR (%) | BA (%) | BA (%) | FID |
|---|---|---|---|---|---|
| 8 | 100.00 | 3.00 | 89.50 | 100.00 | 87.39 |
| 16 | 100.00 | 0.00 | 86.08 | 100.00 | 90.89 |
| 32 | 100.00 | 0.00 | 85.35 | 100.00 | 77.23 |
| 64 | 100.00 | 1.00 | 79.45 | 97.22 | 81.51 |
| 128 | 100.00 | 1.00 | 76.46 | 95.30 | 91.77 |
| 256 | 100.00 | 0.00 | 74.83 | 95.43 | 87.31 |
| 512 | 100.00 | 0.00 | 73.34 | 93.46 | 92.31 |
| 1024 | 100.00 | 2.00 | 67.04 | 77.72 | 100.71 |
Watermark Strength. We investigate watermark strength , which controls the latent watermark signal and governs the trade-off between watermark effectiveness and imperceptibility. Table 4 summarizes auditing performance, image fidelity, and generation quality under different values.
At low strength (), the watermark is too weak to overcome latent-space noise. In this case, the image-level bit accuracy drops to 49.40% and the aggregated bit accuracy remains at 45.19%, yielding a TPR of only 6.00%. Once reaches 0.2, the auditing decision becomes reliable, with TPR/FPR reaching 100%/0%, although message recovery is still limited ().
As further increases, message recovery improves substantially. For example, rises to 97.84% at . At the same time, increasing from 0.1 to 1.0 steadily decreases SSIM and increases LPIPS, indicating progressively stronger visual distortion, while overly large also leads to worse FID. In particular, FID becomes noticeably worse when approaches 1.0.
Therefore, the best trade-off is achieved when lies in the range of 0.3 to 0.5. In this regime, NotaryMark consistently achieves perfect auditing performance (TPR/FPR = 100%/0%), while maintaining aggregated bit accuracy between 97.84% and 100.00% and preserving strong image fidelity and competitive generation quality. To further examine the joint effects of watermark rate and watermark strength, we evaluate NotaryMark under different combinations of and on all three datasets. The complete results are reported in Appendix F.4.

(a) Without two-stage design
(b) With two-stage design
Figure 4: Evolution of watermark extraction loss for varying watermark lengths under different training configurations on the Pokémon dataset.
6.4 High-Capacity Watermarking and Tracing
Watermark Capacity. Watermark capacity is a key metric for auditing systems, as it determines how much metadata or identifier information can be embedded [77]. We evaluate scalability by varying the watermark length from 8 to 1024 bits. To support
high-capacity recovery, we adopt a two-stage training design that decouples watermark embedding from residual learning.
We first validate the necessity of this design. As shown in Figure 4a, without the two-stage schedule (), the extraction loss fails to converge once , making the watermark unrecoverable. In contrast, Figure 4b shows that the proposed schedule yields lower losses and more stable convergence, while a larger leads to faster convergence. This confirms that the two-stage design alleviates optimization difficulty in the high-capacity regime.
Based on this design, we further evaluate performance across different capacities in Table 5. As increases from 8 to 512 bits, declines from 89.50% to 73.34%, reflecting the increasing difficulty of long-message recovery under diffusion stochasticity. Nevertheless, at , NotaryMark still achieves with TPR= 100.00% and FPR= 0.00%. Even at the extreme capacity of 1024 bits, the system maintains , indicating that substantial watermark evidence remains in the generated outputs. Overall, NotaryMark provides information injection and recovery across diverse capacity settings, demonstrating its effectiveness for high-capacity auditing.
Error Correction for Tracing. While high aggregated bit accuracy indicates strong watermark recoverability, it does not by itself guarantee identifier-level attribution. In fine-grained auditing, the recovered bit sequence must be further mapped to a reliable user-level message, such as a licensee ID or user fingerprint. To support this end-to-end attribution goal, we incorporate an error-correction mechanism on top of the recovered multi-bit watermark.
For each watermark length , we sample a random -bit payload as a user identifier and encode it into an -bit BCH codeword. As shown in Table 6, the ECC-enhanced pipeline achieves highly reliable end-to-end tracing across varied watermark lengths. The tracing success rate (TSR) reaches 100.00% for , remains 99.00% at , and is still 86.00% at . These results indicate that although raw bit recovery becomes harder as the watermark length grows, the recovered codewords remain sufficiently close to valid ECC codewords, allowing the decoder to correct residual errors and recover the embedded user identity.
It is worth noting that the reported values after introducing ECC may be slightly lower than those in the raw watermark-recovery setting. This does not imply weaker tracing capability. Rather, the embedded messages are no longer arbitrary random -bit strings, but structured ECC codewords generated from random -bit payloads, and all redundancy bits are also counted in bit-accuracy evaluation. As a result, small residual errors may slightly reduce raw bit accuracy while still remaining fully correctable by the ECC decoder. Overall, combining NotaryMark with ECC bridges watermark recovery and practical attribution, converting high-confidence auditing evidence into exact user-level tracing. Notably, ECC-based tracing is not evaluated at the extreme capacity of , since the corresponding is only around 70%, which is insufficient for reliable ECC decoding.
7 Robustness
To evaluate the reliability of NotaryMark in real-world scenarios, we categorize our robustness evaluation into two classes based on the capabilities of the model trainer defined in the threat model

(a) Pokémon
(b) CelebA
(c) WikiArt
Figure 5: Impact of watermark rate on auditing performance. The plots illustrate the evolution of , , and TPR (measured at FPR = 0) as the proportion of watermarked training samples increases from 0.1 to 1.0.
Table 6: End-to-end tracing performance with ECC under different watermark lengths. denotes the codeword length, payload length, and minimum Hamming distance, respectively. is measured before ECC decoding, and TSR reports the tracing success rate after ECC decoding.
| Bit (L) | ECC (L, K, D) | (%) | TSR (%) | ||
|---|---|---|---|---|---|
| User0 | User1 | User2 | |||
| 8 | (8, 4, 3) | 100.00 0.00 | 100.00 0.00 | 100.00 0.00 | 100.00 |
| 16 | (16, 11, 3) | 100.00 0.00 | 100.00 0.00 | 100.00 0.00 | 100.00 |
| 32 | (32, 8, 9) | 98.44 2.32 | 99.50 1.23 | 97.25 2.39 | 100.00 |
| 64 | (64, 22, 13) | 95.67 2.21 | 95.92 1.81 | 98.80 1.58 | 100.00 |
| 128 | (128, 28, 27) | 95.48 1.55 | 96.96 1.40 | 94.94 1.22 | 100.00 |
| 256 | (256, 67, 45) | 93.36 1.68 | 95.20 1.52 | 95.49 1.47 | 99.00 |
| 512 | (512, 77, 95) | 92.38 1.62 | 92.03 1.21 | 92.12 1.16 | 86.00 |
| 1024 | - | 78.52 0.62 | 76.08 1.09 | 69.65 1.91 | - |
Table 7: Robustness of NotaryMark under vanilla attacks, i.e., pre-processing and output post-processing image perturbations. JPEG, Res., GlBlur, Hue, and Sharp. denote JPEG compression, image resizing, Gaussian blur, hue adjustment, and sharpness adjustment, respectively. The attack parameters are JPEG quality = 50, resizing scale = 0.5, Gaussian blur radius = 2.0, hue shift , and sharpness factor = 2.0.
| Attack | TPR (%) | FPR (%) | (%) | (%) | FID |
|---|---|---|---|---|---|
| No Attack | 100.00 | 0.00 | 85.35 | 100.00 | 77.23 |
| Pre-processing Perturbations | |||||
| JPEG | 100.00 | 0.00 | 75.25 | 95.84 | 91.38 |
| Resizing | 100.00 | 0.00 | 79.56 | 97.50 | 85.01 |
| Blur | 83.00 | 0.00 | 67.04 | 85.41 | 135.91 |
| Hue | 100.00 | 0.00 | 79.33 | 99.88 | 79.53 |
| Sharpness | 100.00 | 0.00 | 85.04 | 99.72 | 87.98 |
| Post-processing Perturbations | |||||
| JPEG | 100.00 | 0.00 | 71.54 | 98.18 | 97.70 |
| Resizing | 100.00 | 0.00 | 85.00 | 100.00 | 109.36 |
| Blur | 100.00 | 0.00 | 82.58 | 99.94 | 140.63 |
| Hue | 100.00 | 0.00 | 84.06 | 99.84 | 93.06 |
| Sharpness | 100.00 | 0.00 | 84.32 | 99.97 | 94.12 |
in Section 3.1: Vanilla Evasion Attacks and Adaptive Evasion Attacks. The former covers standard image-level perturbations to test whether watermark evidence can survive common data manipulations. The latter models an informed attacker employing targeted strategies to evade auditing [1, 35, 69].
Table 8: Robustness of NotaryMark under five adaptive attacks. For image regeneration, SD 1.5 and SD 2.1 denote the regeneration models. The higher regeneration intensity s and latent noise level l correspond to stronger attacks. and denote the filtering classifiers trained using the Anime Chibi dataset and a pristine Pokémon subset as auxiliary data, respectively. Re-captioning and Fine-tuning denote text recaptioning and continued fine-tuning, respectively.
| Attack | Configuration | TPR (%) | FPR (%) | (%) | (%) | FID |
|---|---|---|---|---|---|---|
| Image Regeneration | SD 2.1, s = 0.2 | 100.00 | 0.00 | 67.44 | 90.78 | 86.60 |
| SD 2.1, s = 0.3 | 100.00 | 0.00 | 62.58 | 81.25 | 87.88 | |
| SD 2.1, s = 0.4 | 95.00 | 0.00 | 59.02 | 74.53 | 90.50 | |
| SD 1.5, s = 0.2 | 100.00 | 0.00 | 67.94 | 90.28 | 89.57 | |
| SD 1.5, s = 0.3 | 98.00 | 0.00 | 61.29 | 78.59 | 91.11 | |
| SD 1.5, s = 0.4 | 92.00 | 4.00 | 58.92 | 74.12 | 92.35 | |
| VAE | l = 0.0 | 100.00 | 0.00 | 84.50 | 99.87 | 77.12 |
| Re-encoding | l = 0.15 | 100.00 | 0.00 | 80.52 | 98.72 | 100.03 |
| Re-captioning | - | 100.00 | 0.00 | 84.71 | 99.35 | 95.54 |
| Watermarked | 100.00 | 0.00 | 85.29 | 100.00 | 80.53 | |
| Data Filter | 100.00 | 0.00 | 84.43 | 99.84 | 78.42 | |
| Fine-tuning | - | 32.00 | 2.00 | 50.98 | 57.37 | 155.72 |
7.1 Vanilla Evasion Attacks
We evaluate the robustness of NotaryMark under both pre-processing and output post-processing attacks, with each setting covering five image perturbations: JPEG compression, resizing, Gaussian blur, hue adjustment, and sharpness adjustment. Pre-processing attacks sanitize protected training images before fine-tuning, whereas post-processing attacks transform generated images before watermark verification. Table 7 summarizes the resulting auditing performance on the Pokémon dataset using Stable Diffusion v1.5.
Under pre-processing attacks, NotaryMark remains robust against most common perturbations. For JPEG compression, resizing, hue adjustment, and sharpness adjustment, it maintains TPR=100.00% and FPR=0.00%. Although these perturbations reduce BA to varying degrees, BA remains between 95.84% and 99.88%, demonstrating the effectiveness of multi-sample aggregation. Their FID values remain relatively moderate, ranging from 79.53 to 91.38. In contrast, Gaussian blur is the most harmful pre-processing attack: it reduces BA and BA to 67.04% and 85.41%, respectively, and lowers the TPR to 83.00%. Blur also increases FID to 135.91, indicating that suppressing watermark evidence comes at a substantial cost to data utility.
Under post-processing attacks, NotaryMark exhibits stronger robustness. All five perturbations retain TPR= 100.00% and FPR= 0.00%, while remains between 98.18% and 100.00%. Even JPEG compression, which produces the lowest post-processing of 71.54%, still achieves an aggregated bit accuracy of 98.18%. Gaussian blur also preserves a of 99.94%, although it causes the largest quality degradation with an FID of 140.63. These results indicate that once the watermark has been learned and propagated to generated outputs, common image transformations cannot effectively prevent auditing without noticeably degrading output quality. Overall, NotaryMark is more sensitive to perturbations applied before model training than to those applied after image generation.
7.2 Adaptive Evasion Attacks
To evaluate the resilience of NotaryMark against strategic purification attempts, we investigate its performance under five sophisticated adversarial scenarios: VAE re-encoding, image regeneration, text re-captioning, watermarked-data filtering, and continued fine-tuning. The experimental results are summarized in Table 8.
VAE Re-encoding. We investigate the VAE re-encoding attack [81], where the attacker perturbs the latent representation with random noise during re-encoding to conceal watermark evidence. Despite this manipulation, NotaryMark exhibits minor degradation in watermark recoverability: when the perturbation intensity l increases from 0 to 0.15, decreases only slightly from 99.87% to 98.72%. In contrast, FID rises sharply from 77.12 to 100.03. This indicates that latent-space perturbation fails to remove the watermark unless the attacker is willing to incur substantial perceptual distortion.
Image Regeneration. We further evaluate an image regeneration attack [49], in which an attacker attempts to purify watermarked images by passing them through a secondary diffusion-based reconstruction process. As the regeneration strength s increases, we observe a monotonic decline in watermark recoverability together with a degradation in generation quality. On SD v2.1, decreases from 90.78% (s = 0.2) to 81.25% (s = 0.3) and 74.53% (s = 0.4), while FID increases from 86.60 to 87.88 and 90.50. These results show that although regeneration can weaken the recovered watermark bits, doing so requires increasingly aggressive reconstruction that visibly harms image fidelity, thereby limiting its practical attractiveness as a purification attack.
Text Re-captioning. We evaluate a text re-captioning attack in which the attacker uses BLIP [37] to replace the original captions of protected training images before LoRA fine-tuning. This attack attempts to weaken the association between the watermark evidence and the original image-text pairs by modifying the semantic supervision used during training. Nevertheless, NotaryMark remains consistently highly robust, achieving a TPR of 100.00% with an FPR of 0.00%. The resulting and remain at 84.71% and 99.35%, respectively, while the FID is 95.54. These results indicate that the watermark is primarily carried by the protected visual content and can still be reliably learned when the associated textual descriptions are rewritten.
Watermarked Data Filter. We evaluate a specialized adaptive scenario in which the model trainer is aware of the underlying watermarking algorithm but lacks access to the training parameters or the specific information. The attacker first trains a surrogate watermark encoder using auxiliary data and subsequently develops a binary classifier based on the ResNet-34 [26] architecture to distinguish protected samples. To construct the training set for this classifier, we use 200 auxiliary images, comprising 100 watermarked samples (generated by the surrogate encoder) and 100 pristine samples, and we discard the detected images. For auxiliary datasets, we utilize: (i) an Anime Chibi dataset [53] with visual styles analogous to the target Pokémon data, and (ii) a pristine Pokémon subset.
The classifier trained on Anime Chibi detects no protected samples, whereas the classifier trained on the Pokémon subset identifies only 23 of the 633 watermarked images. After removing the detected samples and fine-tuning on the filtered datasets, NotaryMark still achieves TPR/FPR of 100.00%/0.00% under both settings. The corresponding values remain 100.00% and 99.84%, with FID values of 80.53 and 78.42, respectively. These results indicate that, without the training parameters or embedded information, a method-aware filter cannot reliably identify enough protected samples to suppress downstream watermark auditing.
Continued Fine-tuning. We further consider a continued fine-tuning attack, where the attacker trains the watermarked model for an additional 20 epochs on the clean Anime Chibi dataset in an attempt to overwrite the learned watermark evidence. Among the evaluated adaptive attacks, this strategy causes the largest reduction in watermark recoverability: and decrease to 50.98% and 57.37%, respectively, while the TPR falls to 32.00% with an FPR of 2.00%. However, the FID between outputs generated before and after continued fine-tuning reaches 155.72, indicating a substantial shift from the original model's generation distribution and therefore a considerable loss of model utility.
8 Related Work
Data-Use Auditing. Beyond dataset watermarking, several paradigms have been developed to audit whether and how particular data are used during model training. Canary-based auditing [8, 48] inserts a small number of specially designed samples or triggers and examines whether their influence can be detected in the trained model. Dataset-inference [46] and membership-inference methods [6, 65] provide statistical evidence about whether a target dataset or individual samples participated in training, while data-attribution methods [34, 51] estimate the contribution of individual training samples to model behavior. These paradigms are complementary to dataset watermarking and may require modifying fewer samples, or no samples at all. However, they generally return binary decisions, statistical evidence, or attribution scores rather than an explicit provenance message. Therefore, our evaluation focuses on multi-bit watermarking methods that share the objective of message recovery.
Diffusion-Aware Image Watermarking. Recent studies have explored image watermarking in the context of diffusion models, either by leveraging diffusion processes for watermark embedding.
or by improving robustness against diffusion-based removal. ZoDiac [79] is a zero-bit image watermarking that optimizes an image-specific Stable Diffusion latent containing a predefined Fourier-domain watermark pattern. It verifies watermark presence through DDIM inversion and statistical testing rather than recovering an explicit message. LaWa [60] integrates latent-space watermark embedding into the image-generation process, while DERO [19] improves the robustness of directly watermarked images against diffusion-model erasure. These methods verify the watermark directly from the protected image or its attacked version after diffusion-based removal or other image transformations. In contrast, NotaryMark embeds an identifier into a training dataset and recovers it from images generated by a separately fine-tuned T2I model, thereby enabling explicit provenance-message transmission and recovery through the indirect “data-to-model-to-image” channel.
9 Limitations
Despite the encouraging results across different datasets, model architectures, watermark capacities, and attack settings, NotaryMark still has several limitations that merit further investigation:
(1) Evaluation Scope and Transferability: Our evaluation primarily focuses on LoRA due to its ubiquity in downstream T2I customization. Although NotaryMark does not rely on LoRA-specific mechanisms, broader fine-tuning paradigms remain to be further evaluated. Moreover, training dataset-specific encoder-decoder modules incurs non-trivial computational costs, motivating future work on meta-learning or universal encoders.
(2) Expansion of Defensive Boundaries: Although NotaryMark is resilient in most scenarios, its recoverability can degrade under intensive Gaussian blur and aggressive image regeneration, especially when the attacker sacrifices data utility. Future work will incorporate adversarial training and error-bit consistency to improve evidence recovery under stronger evasion attacks.
(3) Scaling to Low Watermark Rates and Mixed-Watermark Settings: Multi-bit watermarking remains challenging at low watermark rates, where information density is limited. Realistic deployments may also involve multiple subsets carrying different messages, making bit-wise aggregation suboptimal. Future work will explore improved coding, noise suppression, and multi-message auditing protocols.
10 Conclusion
In this work, we propose NotaryMark, the first multi-bit dataset watermarking framework designed for auditing dataset misuse in T2I models. By embedding secret payloads into the latent space and using a dedicated U-Net predictor to isolate watermark residuals, NotaryMark enables more stable watermark propagation through the diffusion denoising process. Experimental results show that NotaryMark substantially outperforms existing multi-bit baselines across datasets, model architectures, and watermark capacities.
With multi-query aggregation, NotaryMark achieves exact recovery at 32-bit capacity in our evaluation, improving black-box message recovery. Combined with error-correcting codes, it further supports end-to-end tracing from recovered bits to attribution identifiers. These results show that multi-bit auditing should go beyond bit recovery and evaluate whether watermark signals can support reliable attribution.
Acknowledgments
We thank the anonymous reviewers for their valuable comments and suggestions. This work was supported in part by the National Key R&D Program of China under Grant 2025ZD0123604, the China Postdoctoral Science Foundation under Grant BX20250380, the National Natural Science Foundation of China (NSFC) under Grants 62402379, U24A20237, U22A2029, and 62672392, and the Major Science and Technology Innovation Project of Xianyang City under Grant L2025-ZDKJ-ZDCGZH-003. The work of Min Chen was supported in part by the CiCS project of the Gravitation research program and in part by the Dutch Research Council (NWO) under Grant 024.006.037. The work of Zhikun Zhang was supported in part by the NSFC under Grants 62402431 and 62441618, and in part by the Zhejiang Provincial Natural Science Foundation of China under Grant LZ26F020002.
References
[1] Bang An, Mucong Ding, Tahseen Rabbani, et al. 2024. WAVES: Benchmarking The Robustness of Image Watermarks. arXiv preprint (2024).
[2] Buse Gul Atli Tekgul and N Asokan. 2022. On the Effectiveness of Dataset Watermarking. In ACM IWSPA.
[3] Axios Staff. 2025. Disney Sent a Cease-and-Desist Letter to Google, Alleging AI Copyright Infringement. Axios (2025). https://www.axios.com/2025/12/11/disney-google-ai
[4] Mário Barros and Qi Ai. 2024. Designing with Words: Exploring the Integration of Text-to-Image Models in Industrial Design. Digital Creativity (2024).
[5] Mahbuba Begum and Mohammad Shorif Uddin. 2020. Digital Image Watermarking Techniques: A Review. Information (2020).
[6] Nicholas Carlini, Steve Chien, Milad Nasr, et al. 2022. Membership Inference Attacks from First Principles. In S&P.
[7] Nicolas Carlini, Jamie Hayes, Milad Nasr, et al. 2023. Extracting Training Data from Diffusion Models. In USENIX Security.
[8] Nicholas Carlini, Chang Liu, Ulfar Erlingsson, et al. 2019. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks. In USENIX Security.
[9] Min Chen, Zhikun Zhang, Tianhao Wang, et al. 2023. FACE-AUDITOR: Data Auditing in Facial Recognition Systems. In USENIX Security.
[10] Xinyun Chen, Wenxia Wang, Chris Bender, et al. 2021. REFIT: A Unified Watermark Removal Framework for Deep Learning Systems with Limited Data. In ACM AsiaCCS.
[11] Ingemar J. Cox, Matthew L. Miller, Jeffrey A. Bloom, et al. 2008. Digital Watermarking and Steganography.
[12] Yingqian Cui, Jie Ren, Yupeng Lin, et al. 2025. FT-Shield: A Watermark against Unauthorized Fine-Tuning in Text-to-Image Diffusion Models. ACM SIGKDD Explorations Newsletter (2025).
[13] Yingqian Cui, Jie Ren, Han Xu, et al. 2023. DiffusionShield: A Watermark for Copyright Protection against Generative Diffusion Models. arXiv preprint (2023).
[14] Kaushik Deb, Md Sajib Al-Seraj, Md Moshuil Hoque, et al. 2012. Combined DWT-DCT based digital image watermarking technique for copyright protection. In ICECE.
[15] Nassim Dehouche and Kullathida Dehouche. 2023. What's in a Text-to-Image Prompt? The Potential of Stable Diffusion in Visual Arts Education. Heliyon (2023).
[16] Thomas G Dietterich. 2000. Ensemble Methods in Machine Learning. In International Workshop on Multiple Classifier Systems (MCS).
[17] Linkang Du, Zhou Su, and Xinyi Yu. 2025. Dataset Copyright Auditing for Large Models: Fundamentals, Open Problems, and Future Directions. ZTE Communications (2025).
[18] Linkang Du, Xuanru Zhou, Min Chen, et al. 2025. SoK: Dataset Copyright Auditing in Machine Learning Systems. In S&P.
[19] Han Fang, Kejiang Chen, Yupeng Qiu, et al. 2024. DERO: Diffusion-Model-Erasure Robust Watermarking. In Proceedings of the 32nd ACM International Conference on Multimedia. 2973–2981.
[20] Tom Fawcett. 2006. An Introduction to ROC Analysis. Pattern Recognition Letters (2006).
[21] Pierre Fernandez, Guillaume Couairon, Hervé Jégou, et al. 2023. The Stable Signature: Rooting Watermarks in Latent Diffusion Models. In ICCV.
[22] Pierre Fernandez, Alexandre Sablayrolles, Teddy Furon, et al. 2022. Watermarking Images in Self-Supervised Latent Spaces. In ICASSP.
[23] Jialu Gao, Mithun Das Gupta, Qun Li, et al. 2026. Multi-Object Advertisement Creative Generation. arXiv preprint (2026).
[24] Tao Geng and Yuxuan Yang. 2025. DiffDesign: Controllable Diffusion with Meta Prior for Efficient Interior Design Generation. PLOS ONE (2025).
[25] Xiangming Gu, Chao Du, Tianyu Pang, et al. 2025. On Memorization in Diffusion Models. TMLR (2025).
[26] Kaiming He, Xiangyu Zhang, Shaoqing Ren, et al. 2016. Deep Residual Learning for Image Recognition. In CVPR.
[27] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, et al. 2017. GANs Trained by A Two Time-Scale Update Rule Converge to A Local Nash Equilibrium. In NeurIPS.
[28] Jonathan Ho, Ajay Jain, and Pieter Abbeel. 2020. Denoising Diffusion Probabilistic Models. In NeurIPS.
[29] Edward J Hu, Yanyuan Shen, Phillip Wallis, et al. 2022. LoRA: Low-Rank Adaptation of Large Language Models. In ICLR.
[30] Zonghao Huang, Neil Zhenqiang Gong, and Michael K Reiter. 2024. A General Framework for Data-Use Auditing of ML Models. In ACM CCS.
[31] Jianan Jiang, Di Wu, Hanhui Deng, et al. 2024. HAIGEN: Towards Human-AI Collaboration for Facilitating Creativity and Style Generation in Fashion Design. Proc. ACM Interact. Mob. Wearable Ubiquitous Technol. (2024).
[32] Tero Karras, Miika Aittala, Timo Aila, et al. 2022. Elucidating the Design Space of Diffusion-Based Generative Models. NeurIPS.
[33] Diederik P Kingma and Max Welling. 2013. Auto-Encoding Variational Bayes. arXiv preprint (2013).
[34] Pang Wei Koh and Percy Liang. 2017. Understanding Black-Box Predictions via Influence Functions. In ICML.
[35] Martin Kutter and Fabien AP Petitcolas. 1999. Fair Benchmark for Image Watermarking Systems. In Security and watermarking of multimedia contents. SPIE.
[36] Boheng Li, Yanhao Wei, Yankai Fu, et al. 2025. Towards Reliable Verification of Unauthorized Data Usage in Personalized Text-to-Image Diffusion Models. In S&P.
[37] Junnan Li, Dongwu Li, Caiming Xiong, et al. 2022. BLIP: Bootstrapping Language-Image Pre-Training for Unified Vision-Language Understanding and Generation. In ICML.
[38] Kexin Li, Guozhen Ding, Ilya Grishchenko, et al. 2025. HMARK: Radioactive Multi-Bit Semantic-Latent Watermarking for Diffusion Models. arXiv preprint (2025).
[39] Yanming Li, Seifedine Ghozzi, Cédric Eichler, et al. 2025. Data Provenance Auditing of Fine-Tuned Large Language Models with a Text-Preserving Technique. arXiv preprint (2025).
[40] Yue Li, Hongxia Wang, and Mauro Barni. 2021. A Survey of Deep Neural Network Watermarking Techniques. Neurocomputing (2021).
[41] Yiming Li, Mingyan Zhu, Xue Yang, et al. 2023. Black-Box Dataset Ownership Verification via Backdoor Watermarking. IEEE TIFS (2023).
[42] Zhuoyuan Li, Hangqiao Zhu, Zhuoruan Lu, et al. 2023. Synthetic Data Generation with Large Language Models for Text Classification: Potential and Limitations. arXiv preprint (2023).
[43] Ziwei Liu, Ping Luo, Xiaogang Wang, et al. 2015. Deep Learning Face Attributes in the Wild. In ICCV.
[44] Shayne Longpre, Robert Mahari, Anthony Chen, et al. 2024. A Large-Scale Audit of Dataset Licensing and Attribution in AI. Nature Machine Intelligence (2024).
[45] Ge Luo, Junqiang Huang, Manman Zhang, et al. 2023. Steel My Artworks for Fine-Tuning? A Watermarking Framework for Detecting Art Theft Mimicry in Text-to-Image Models. arXiv preprint (2023).
[46] Pratyush Maini, Mohammad Yaghini, and Nicolas Papernot. 2021. Dataset Inference: Ownership Resolution in Machine Learning. arXiv preprint (2021).
[47] Rui Min, Sen Li, Hongyang Chen, et al. 2024. A Watermark-Conditioned Diffusion Model for IP Protection. In ECCV.
[48] Milad Nasr, Jamie Hayes, Thomas Steinke, et al. 2023. Tight Auditing of Differentially Private Machine Learning. In SENIX Security.
[49] Weili Nie, Brandon Guo, Yujia Huang, et al. 2022. Diffusion Models for Adversarial Purification. arXiv preprint (2022).
[50] Yan Pang and Tianhao Wang. 2025. Black-Box Membership Inference Attacks against Fine-Tuned Diffusion Models. NDSS (2025).
[51] Sung Min Park, Kristian Georgiev, Andrew Ilyas, et al. 2023. TRAK: Attributing Model Behavior at Scale. arXiv preprint (2023).
[52] Fabien AP Petitcolas, Ross J Anderson, and Markus G Kuhn. 1999. Information Hiding-a Survey. Proceedings of the IEEE (1999).
[53] Hirunkul Phimsiri. [n.d.]. Anime Chibi Datasets. https://www.kaggle.com/datasets/hirunkulphimsirianime-chibi-datasets.
[54] Justin N. M. Pinkney. 2022. Pokemon BLIP captions. https://huggingface.co/datassets/lambdalabs/pokémon-blip-captions/.
[55] Dustin Podell, Zion English, Kyle Lacey, et al. 2023. SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis. arXiv preprint (2023).
[56] Wenjie Qu, Wengru Zheng, Tianyang Tao, et al. 2025. Provably Robust Multi-Bit Watermarking for AI-Generated Text. In USENIX Security.
[57] Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, et al. 2021. Zero-Shot Text-to-Image Generation. In ICML.
[58] Anton Razhigivaev, Arseniy Shakhatmatov, Anastasia Malteva, et al. 2023. Kandinsky: An Improved Text-to-Image Synthesis with Image Prior and Latent Diffusion. arXiv preprint (2023).
[59] Jie Ren, Yingqian Cui, Chen Chen, et al. 2024. EnTruth: Enhancing the Traceability of Unauthorized Dataset Usage in Text-to-image Diffusion Models with Minimal and Robust Alterations. arXiv preprint (2024).
[60] Ahmad Rezaei, Mohammad Akbari, Saeed Ranjbar Alvar, et al. 2024. LaWa: Using Latent Space for In-Generation Image Watermarking. In ECCV.
[61] Robin Rombach, Andreas Blattmann, Dominik Lorenz, et al. 2022. High-Resolution Image Synthesis with Latent Diffusion Models. In CVPR.
[62] Alexandre Sablayrolles, Matthijs Douze, Cordelia Schmid, et al. 2020. Radioactive Data: Tracing through Training. In ICML.
[63] Babak Saleh and Ahmed Elgammal. 2015. Large-Scale Classification of Fine-Art Paintings: Learning the Right Metric on the Right Feature. arXiv preprint (2015).
[64] Shuo Shao, Yiming Li, Mengren Zheng, et al. 2025. Databench: Evaluating Dataset Auditing in Deep Learning from an Adversarial Perspective. arXiv preprint (2025).
[65] Reza Shokri, Marco Stronati, Congzheng Song, et al. 2017. Membership Inference Attacks Against Machine Learning Models. In S&P.
[66] Congzheng Song and Vitaly Shmatikov. 2019. Auditing Data Provenance in Text-Generation Models. In SIGKDD.
[67] Jianming Song, Chenlin Meng, and Stefano Ermon. 2020. Denoising Diffusion Implicit Models. arXiv preprint (2020).
[68] Sirui Tao, Ivan Liang, Cindy Peng, et al. 2025. DesignWeaver: Dimensional Scaffolding for Text-to-Image Product Design. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems.
[69] Sviatoslav Voloshynovskiy, Shelby Pereira, Victor Iquse, et al. 2001. Attack Modelling: Towards A Second Generation Watermarking Benchmark. Signal Processing (2001).
[70] Zhou Wang, Alan C Bovik, Hamid R Sheikh, et al. 2004. Image Quality Assessment: from Error Visibility to Structural Similarity. IEEE TIP (2004).
[71] Zhenting Wang, Chen Chen, Lingjuan Lyu, et al. 2024. Diagnosis: Detecting Unauthorized Data Usages in Text-to-Image Diffusion Models. In ICLR.
[72] Yuechen Xie, Jie Song, Huiqiong Wang, et al. 2025. Training Data Provenance Verification: Did Your Model Use Synthetic Data from My Generative Model for Training?. In CVPR.
[73] Jiazheng Xing, Hai Ci, Hongbin Xu, et al. 2026. OptMark: Robust Multi-Bit Diffusion Watermarking via Inference Time Optimization. AAAI (2026).
[74] Hui Zhang, Dexiang Hong, Maoke Yang, et al. 2025. Creatidesign: A Unified Multi-Conditional Diffusion Transformer for Creative Graphic Design. arXiv preprint (2025).
[75] Han Zhang, Tao Xu, Hongsheng Li, et al. 2017. StackGAN: Text to Photo-Realistic Image Synthesis with Stacked Generative Adversarial Networks. In ICCV.
[76] Jingqi Zhang, Ruibo Chen, Yingqing Yang, et al. 2025. Leave No TRACE: Black-Box Detection of Copyrighted Dataset Usage in Large Language Models via Watermarking. arXiv preprint (2025).
[77] Kevin Alex Zhang, Alfredo Cuesta-Infante, Lei Xu, et al. 2019. SteganogAN: High Capacity Image Steganography with GANs. arXiv preprint (2019).
[78] Kevin Alex Zhang, Lei Xu, Alfredo Cuesta-Infante, et al. 2019. Robust Invisible Video Watermarking with Attention. arXiv preprint (2019).
[79] Lijun Zhang, Xiao Liu, Antoni Viros Martin, et al. 2024. Attack-Resilient Image Watermarking Using Stable Diffusion. In NeurIPS.
[80] Richard Zhang, Phillip Isola, Alexei A Efros, et al. 2018. The Unreasonable Effectiveness of Deep Features as A Perceptual Metric. In CVPR.
[81] Yunqing Zhao, Tianyu Pang, Chao Du, et al. 2023. A Recipe for Watermarking Diffusion Models. arXiv preprint (2023).
[82] Xin Zhong, Arjon Das, Fahad Alrasheedi, et al. 2023. A Brief, in-Depth Survey of Deep Learning-Based Image Watermarking. Applied Sciences (2023).
[83] Zhitong Zhu, Jing Yu, Keke Gai, et al. 2024. Flexible Semantic Watermarking for Robust Diffusion Model Detection and Tracing. In ACM MMAsia.
A Ethical Considerations
This work studies dataset watermarking for post hoc copyright auditing of text-to-image diffusion models. While NotaryMark improves accountability and provenance, auditing results may be misinterpreted without considering statistical uncertainty. We therefore use publicly released datasets and model checkpoints solely for non-commercial academic research under their respective licenses and do not redistribute third-party data or derived artifacts. NotaryMark is intended as an auditing aid rather than an automatic enforcement mechanism, and its results should be interpreted with predefined thresholds, false-positive analysis, and supporting evidence. Our threat model is limited to dataset usage auditing and does not target model extraction, attacks, or safety circumvention.
B Open Science
To support reproducibility, we release the source code of Notary-Mark at https://github.com/XJTU-AI-Security-Group/NotaryMark, including implementations of watermark embedding, extraction, prediction, decoding, aggregation, as well as training and evaluation scripts and configurations. Our experiments use only publicly available datasets and open-source diffusion models. We provide dataset-processing scripts and model-loading instructions required to reproduce the main experiments. No proprietary datasets, private user data, or closed-source models are required to evaluate the core claims of this work.
C Generative AI Usage
During the preparation of this manuscript, we used generative AI tools, including ChatGPT, to assist with language editing and improve the clarity and organization of the writing. We used these tools only to support the presentation of the paper, such as refining sentences and restructuring paragraphs. We manually reviewed, corrected, and validated all AI-assisted text. In addition, we used a large language model to construct a pool of 150 auditing prompts for each dataset while maintaining a linguistic style similar to that of the corresponding dataset. We used these prompts solely as query inputs in our black-box auditing experiments.
Generative AI tools were not used to replace the authors' scientific reasoning, experimental analysis, or conclusions. We verified the manuscript against the implementation, experimental outputs, tables, figures, references, and technical claims. The authors take full responsibility for the final content of the paper.
D Baseline Selection and Fairness of Comparison
We next clarify how the baselines in our experiments are selected and how the comparison should be interpreted. Our evaluation includes two groups of methods: traditional multi-bit image watermarking methods and diffusion-oriented dataset watermarking methods. These two groups serve different purposes in our study.
We include traditional multi-bit image watermarking methods, including DwtDct, SSL, and RivaGAN, not because they are specifically designed for dataset-to-model copyright auditing, but because they represent mature and widely used multi-bit watermarking paradigms in pixel, frequency, and learning-based embedding spaces. They provide a natural stress test for whether conventional image-level watermarks can survive the indirect "data-to-model-to-image" transmission channel. In this channel, the watermark is not directly extracted from the released watermarked images; instead, it must first be absorbed by a generative model during training or fine-tuning and then reappear in newly generated images. Therefore, our comparison with these methods should be understood as evaluating their transferability to dataset auditing, rather than as claiming that they are fully optimized for this setting.
Among diffusion-oriented approaches, we include DiffusionShield as a quantitative baseline because it provides an end-to-end watermarking mechanism for diffusion pipelines and is the closest reproducible baseline under our threat model. It directly optimizes watermark reconstruction alongside the diffusion training objective, making it suitable for assessing whether diffusion-aware watermark learning outperforms traditional image watermarking methods.
For HMark, we provide a qualitative comparison rather than a quantitative one. The main reason is that its public implementation and complete experimental pipeline are unavailable at the time of our evaluation. Faithfully reproducing HMark would require several non-trivial design choices, including the construction of latent spatial triggers, the LoRA fine-tuning protocol, the trigger activation strategy, and the statistical retrieval procedure. Different choices for these components may substantially affect watermark recovery performance, making a re-implementation unreliable as a fair baseline. Moreover, HMark focuses on associating payload bits with localized latent trigger responses, whereas our setting focuses on black-box auditing of dataset usage from naturally generated T2I outputs. We therefore discuss HMark qualitatively to clarify the technical differences, while avoiding potentially misleading quantitative results from an unofficial reproduction.
For Luo et al., we also provide a qualitative comparison instead of treating it as a separate algorithmic baseline. Their work proposes a workflow-oriented auditing framework that uses bit-recovery statistics as evidence for detecting unauthorized style mimicry. However, the watermark embedding and extraction components in that workflow are instantiated using existing image watermarking methods rather than a newly designed end-to-end multi-bit watermarking mechanism tailored to diffusion dynamics. Accordingly, our quantitative comparison against representative traditional image watermarking methods already covers the core technical components underlying their instantiation. In addition, Luo et al. primarily emphasize binary auditing based on distributional recovery statistics, whereas our work targets both watermark-presence detection and high-capacity message recovery for identifier-level tracing.
The goal of our baseline evaluation is not to suggest that all compared methods are equally tailored to black-box T2I dataset auditing. Rather, the comparison is intended to answer three complementary questions: (i) whether traditional multi-bit watermarks can survive the dataset-to-model channel; (ii) whether diffusion-aware watermarking improves robustness in generative pipelines; and (iii) whether a latent-aligned design can simultaneously support reliable auditing and multi-bit tracing under black-box T2I fine-tuning.
E More Details of Evaluation
E.1 Comprehensive Dataset Descriptions
To rigorously investigate the cross-modality effectiveness of Notary-Mark, we utilize three datasets covering distinct visual distributions:
-
Pokémon: This collection comprises 833 high-quality images of Pokémon creatures. Each image is paired with a descriptive caption generated by the BLIP model [54]. It serves as a standard benchmark for evaluating fine-tuning performance within a constrained, stylized artistic domain.
-
CelebA: We randomly sample 1,000 high-resolution facial images from the CelebA dataset [43]. Moving beyond simple attribute

(a) Pokémon

(b) CelebA

(c) WikiArt
Figure 6: Qualitative evaluation of NotaryMark on three datasets. The first row shows the original training images, followed by the corresponding images watermarked by NotaryMark, the pixel-wise difference maps between the watermarked and original images, and representative samples generated by the model fine-tuned on the NotaryMark-protected dataset.
labels, we leverage a Hugging Face image-text repository where captions were synthesized via the LLaVA model. These captions provide rich, natural-language descriptions of nuanced facial features, thereby facilitating complex text-to-image alignment.
- WikiArt: We extract 1,000 images from the Baroque style subset of the WikiArt collection [63]. This dataset presents a significant challenge due to its intricate textures and classical composition. For consistency during fine-tuning, the prompt "A Baroque style image" is utilized as the global identifier for this genre.
All images undergo a unified preprocessing pipeline that includes center cropping and resizing to .
E.2 Text-to-Image Backbone Architectures
We validate the architectural robustness of NotaryMark by deploying it across three diffusion backbones:
-
Stable Diffusion v1.5: A representative latent diffusion model that performs denoising within the latent space of a pretrained VAE. It is used as the primary baseline for evaluating multi-bit payload recovery.
-
Stable Diffusion XL: A high-capacity evolution of the SD architecture featuring a 3x larger U-Net backbone and an ensemble of dual text encoders (CLIP ViT-L and OpenCLIP ViT-bigG). This model is used to assess the generalization of NotaryMark on large-scale parameter sets.
-
Kandinsky 2.2: Unlike the SD family, Kandinsky employs an image prior module alongside latent diffusion, integrating CLIP-based image embeddings to guide the synthesis process. This allows us to verify the watermark's persistence in models with distinct conditioning mechanisms.
E.3 Concrete Implementation Details
Module Architectures. NotaryMark contains three jointly optimized modules, including a watermark encoder , a predictor , and a bit decoder , together with a separately trained detector . A frozen SD v1.5 AutoencoderKL maps each image to a latent , while a frozen CLIP ViT-L/14 encoder provides a 768-dimensional text condition.
first maps the -bit message through a fully connected layer to a feature map, and then applies four transposed-convolution layers to progressively upsample it to . The watermarked latent is constructed as . is a four-level conditional U-Net with encoder channels 64, 128, 256, and 512, symmetric upsampling blocks, and skip connections, producing a residual feature . uses four stride-2 convolutional blocks with channels , followed by two fully connected layers, to output message logits. adopts the same convolutional backbone, followed by adaptive average pooling and a linear classifier that outputs one watermark-presence logit.
Optimization Configuration. We optimize , , and using Adam with a learning rate of , batch size 4, zero weight decay, and no learning-rate scheduler. During the first warm-up epochs, is frozen and only and are optimized using and . After warm-up, the three modules are jointly optimized for 100 epochs using the full objective, with all loss weights set to 1. The detector is subsequently trained for 50 epochs while the other modules remain frozen, using Adam with a learning rate of , batch size 4, zero weight decay, and binary cross-entropy over logits.
For downstream fine-tuning, we freeze the original model parameters and optimize only the LoRA adapters. SD v1.5 is fine-tuned for 100 epochs using AdamW with a learning rate of , batch size 4, and weight decay . For SDXL, we insert rank-4 LoRA adapters into the U-Net attention projections and train them for 50 epochs using the same learning rate, batch size, and weight decay. For Kandinsky 2.2, we sequentially fine-tune the prior and decoder branches using rank-4 and rank-32 LoRA adapters, respectively. Both branches use AdamW with a learning rate of , batch size 1, and zero weight decay; the prior and decoder are trained for 50 and 50 epochs, respectively. All downstream models use a constant learning-rate schedule without warm-up, FP16 mixed precision, gradient accumulation of 1, a maximum gradient norm of 1.0, and random seed 42.
E.4 Statistical Significance for Auditing Decision
To provide a rigorous foundation for our auditing decision, we formulate watermark verification as a hypothesis testing problem based on the discriminator outputs, rather than relying on a fixed threshold on bit accuracy.
For each queried image, the discriminator produces a watermark-presence score , which reflects the confidence that the generated image contains the target watermark. Given an audit trail consisting of queried images, we define the trial-level test statistic as the average detector score:
We then consider the following hypotheses:
-
: the suspect model is clean and does not contain the target watermark;
-
: the suspect model has learned the target watermark.
To estimate the null distribution of the statistic under , we repeatedly sample images from a clean model (or null model) and compute the corresponding trial-level statistics. Repeating this procedure times yields an empirical null distribution:
For one observed audit trial on a suspect model, let the corresponding statistic be denoted by . We adopt a one-sided empirical hypothesis test and compute the -value as:
At significance level , we reject the null hypothesis if
and declare the current audit trial to be positive, indicating that the suspect model contains statistically significant evidence of the target watermark.
This testing procedure provides a principled and distribution-aware decision rule for black-box auditing. It avoids manually tuning a fixed threshold and directly controls the false positive rate via the significance level ; we use as the default significance level unless otherwise specified. In our experiments, the auditing performance is summarized using TPR and FPR over repeated trials on watermarked and clean models.
F Experimental Results
F.1 Empirical False Positive Analysis
While our experimental results yield an empirical FPR < 5%, we further validate the robustness of this claim by analyzing the score distribution of benign (clean) models. Our observations indicate that for models trained without our watermark, both the per-image bit accuracy () and the aggregated accuracy () consistently hover around 50%.
This behavior aligns perfectly with the statistical characteristics of random guessing, confirming that the extractor cannot retrieve any meaningful payload in the absence of the watermark.
F.2 ROC Behavior in Diffusion Models
Figure 7 presents the ROC curves of NotaryMark and representative baseline methods after diffusion fine-tuning on three datasets. The ROC curves are obtained by varying the significance level in the hypothesis test described in Appendix E.4. For each value of , an audit trial is declared positive when its empirical -value satisfies . We then compute the corresponding TPR and FPR over repeated trials on watermarked and clean models, respectively. By sweeping , we obtain a sequence of operating points and use them to construct the ROC curve.
Overall, the ROC results show that verification behavior in diffusion models is highly method- and data-dependent. Among all compared methods, NotaryMark exhibits the most stable and ideal behavior, consistently achieving an AUC of 1.0 across all three datasets.
On Pokémon, the performance gap between methods is particularly pronounced: although DiffusionShield and SSL also achieve AUC = 1.0, DwtDct and RivaGAN are substantially weaker, with AUC values of 0.6836 and 0.7123, respectively. On CelebA, most methods exhibit strong ranking ability, with DwtDct and RivaGAN reaching 0.9650 and 0.9800, while DiffusionShield, SSL, and NotaryMark all attain 1.0. On WikiArt, the differences become clearer again: DwtDct yields the weakest result (0.8636), DiffusionShield and RivaGAN achieve 0.9515 and 0.9850, and both SSL and NotaryMark reach 1.0. Overall, NotaryMark maintains the most robust and consistent verification capability across datasets with diverse visual characteristics.
Importantly, strong ROC behavior should not be conflated with accurate multi-bit payload recovery. A method may still achieve a high AUC by capturing coarse watermark-presence signatures that are sufficient for binary discrimination, while failing to recover the embedded message with high fidelity. This distinction is particularly important for dataset auditing, where practical attribution requires not only reliable auditing decisions but also accurate identifier extraction for downstream tracing. From this perspective, the main advantage of NotaryMark is that it provides both: highly separable verification statistics for auditing and sufficiently stable multi-bit signals for precise attribution.
F.3 Qualitative Results
Figure 6 provides qualitative comparisons between clean and watermarked samples generated under the same prompts. Across all datasets, including Pokémon, CelebA, and WikiArt, the two sets of

(a) Pokémon

(b) CelebA

(c) WikiArt
Figure 7: ROC curve comparison of different methods on three datasets. Each subfigure illustrates the trade-off between the True Positive Rate (TPR) and the False Positive Rate (FPR).
Table 9: Ablation study of NotaryMark with different loss combinations.
| Loss terms enabled | TPR (%)↑ | FPR (%)↓ | BAimg (%)↑ | BAagg (%)↑ | LPIPS↓ | FID↓ |
|---|---|---|---|---|---|---|
| 100.00 | 0.00 | 73.94 | 96.13 | 0.0188 | 89.07 | |
| 100.00 | 0.00 | 77.42 | 98.94 | 0.0122 | 104.68 | |
| 100.00 | 0.00 | 85.35 | 100.00 | 0.0112 | 77.23 |
images appear visually indistinguishable. There are no noticeable artifacts, color shifts, or texture anomalies that often plague traditional pixel-domain watermarking methods. Even in regions with high-frequency details, such as human hair textures or intricate character outlines, the structural integrity remains perfectly intact.
We further observe that fine-tuning on protected data preserves the intended semantic content and artistic style without inducing visible style drift or fidelity degradation. NotaryMark maintains the sharp contrast and vibrant palette characteristic of the original diffusion models, suggesting that the aligned latent denoising dynamics successfully prevent the watermark from interfering with the primary generative task.
To rigorously assess imperceptibility, we also examine the residual maps (i.e., the amplified difference between the clean and watermarked images). Residual map analysis reveals that the watermark energy does not diffuse randomly as stochastic noise; instead, it exhibits a high degree of content adaptivity, in which the watermark signals are tightly coupled to the image's underlying textures and structural features. By achieving structural alignment with the image content in the latent space, this intrinsic correlation ensures that attackers cannot readily remove the watermark, as they would with conventional random noise. Any attempt to forcibly remove the watermark through denoising or smoothing would inevitably compromise the image's structural integrity and textural quality. This deep integration not only ensures high visual imperceptibility but also strengthens the robustness of NotaryMark against malicious tampering and black-box auditing attacks.
F.4 Joint Effects of Watermark Rate and Strength
We further examine the joint effects of watermark strength and watermark rate by varying both parameters from 0.2 to 1.0 on the three datasets. Table 10, Table 11, and Table 12 report the resulting auditing performance, message recovery, and generation quality.
It should be noted that FID measures the distributional distance between images generated by the clean fine-tuned model and those generated by the corresponding watermarked fine-tuned model under the same prompts.
Overall, increasing either watermark strength or watermark rate improves watermark recoverability, while the two parameters can partially compensate for each other. When both parameters are small, the watermark signal is insufficiently represented during fine-tuning. For example, at , remains close to random guessing on all three datasets, while the TPR values are only 79.00%, 0.00%, and 52.00% on Pokémon, CelebA, and WikiArt, respectively. At a fixed moderate strength of , increasing from 0.2 to 1.0 raises from 50.31% to 97.46% on Pokémon, from 57.47% to 90.75% on CelebA, and from 57.53% to 90.47% on WikiArt. This confirms that exposing the downstream model to more protected samples substantially strengthens the accumulated watermark evidence.
The results also reveal that reliable auditing decisions are easier to achieve than exact multi-bit message recovery. In several low-budget configurations, the TPR already approaches or reaches 100%, while remains relatively low. For instance, at , the TPR reaches 100.00% on Pokémon and WikiArt and 97.00% on CelebA, whereas the corresponding values are only 50.31%, 57.53%, and 57.47%. Once and , however, all three datasets achieve a TPR of 100.00%, and remains above 92.78%. This indicates that moderate parameter settings are sufficient for reliable identifier-level recovery across different data domains. Therefore, practical configurations should use a moderate together with a sufficiently large , rather than maximizing both parameters.
Table 10: Performance of NotaryMark under different combinations of and on the Pokémon dataset. The first and second values in each parameter combination correspond to and , respectively.
| TPR (%) | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 79.00 | 83.00 | 94.00 | 100.00 | 100.00 |
| 0.4 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.6 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.8 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 1.0 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| BA (%) | |||||
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 51.75 | 51.50 | 53.12 | 58.87 | 84.78 |
| 0.4 | 50.31 | 75.15 | 94.15 | 94.87 | 97.46 |
| 0.6 | 56.00 | 94.16 | 95.62 | 98.65 | 100.00 |
| 0.8 | 67.66 | 95.56 | 99.22 | 99.59 | 100.00 |
| 1.0 | 71.34 | 97.72 | 100.00 | 99.94 | 100.00 |
| BA (%) | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 50.25 | 50.31 | 50.62 | 52.92 | 62.19 |
| 0.4 | 50.10 | 57.98 | 66.46 | 69.92 | 81.98 |
| 0.6 | 51.21 | 65.87 | 72.00 | 78.90 | 84.25 |
| 0.8 | 54.37 | 67.50 | 74.98 | 79.94 | 89.83 |
| 1.0 | 56.35 | 72.00 | 84.27 | 89.94 | 90.69 |
| FID | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 90.43 | 89.40 | 89.39 | 88.39 | 91.51 |
| 0.4 | 93.41 | 91.13 | 89.87 | 89.22 | 93.69 |
| 0.6 | 88.04 | 92.39 | 92.46 | 91.46 | 88.90 |
| 0.8 | 92.20 | 90.91 | 89.28 | 91.25 | 94.47 |
| 1.0 | 90.35 | 92.23 | 95.32 | 96.37 | 102.00 |
Table 11: Performance of NotaryMark under different combinations of and on the CelebA dataset.
| TPR (%) | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 0.00 | 0.00 | 0.00 | 33.00 | 100.00 |
| 0.4 | 97.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.6 | 77.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.8 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 1.0 | 99.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| BA (%) | |||||
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 51.50 | 57.72 | 58.34 | 71.28 | 80.22 |
| 0.4 | 57.47 | 62.63 | 64.31 | 83.41 | 90.75 |
| 0.6 | 55.66 | 92.78 | 94.78 | 97.53 | 100.00 |
| 0.8 | 59.78 | 95.66 | 99.16 | 99.94 | 100.00 |
| 1.0 | 70.78 | 99.47 | 96.19 | 99.00 | 100.00 |
| BA (%) | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 50.27 | 51.81 | 51.98 | 56.13 | 72.29 |
| 0.4 | 51.52 | 54.10 | 57.35 | 62.37 | 73.37 |
| 0.6 | 51.15 | 72.83 | 82.31 | 87.48 | 94.81 |
| 0.8 | 52.40 | 83.58 | 88.81 | 93.81 | 97.90 |
| 1.0 | 54.96 | 87.92 | 92.08 | 96.21 | 98.73 |
| FID | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 56.65 | 62.90 | 68.29 | 71.54 | 78.05 |
| 0.4 | 59.86 | 62.60 | 72.59 | 80.78 | 83.05 |
| 0.6 | 76.58 | 89.96 | 90.77 | 94.95 | 101.11 |
| 0.8 | 85.81 | 108.72 | 113.97 | 138.00 | 149.31 |
| 1.0 | 113.58 | 118.47 | 132.41 | 153.91 | 156.95 |
Table 12: Performance of NotaryMark under different combinations of and on the WikiArt dataset.
| TPR (%) | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 52.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.4 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.6 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.8 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 1.0 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| BA (%) | |||||
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 50.59 | 54.00 | 56.47 | 60.03 | 87.50 |
| 0.4 | 57.53 | 58.16 | 58.73 | 82.34 | 90.47 |
| 0.6 | 90.78 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.8 | 99.84 | 100.00 | 100.00 | 100.00 | 100.00 |
| 1.0 | 99.28 | 100.00 | 100.00 | 100.00 | 100.00 |
| BA (%) | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 49.67 | 50.58 | 51.21 | 52.08 | 74.88 |
| 0.4 | 52.08 | 54.30 | 55.60 | 62.00 | 79.29 |
| 0.6 | 61.77 | 86.54 | 92.48 | 94.73 | 97.83 |
| 0.8 | 76.04 | 94.69 | 95.17 | 93.29 | 97.60 |
| 1.0 | 70.98 | 94.75 | 97.12 | 95.21 | 99.23 |
| FID | |||||
|---|---|---|---|---|---|
| 0.2 | 0.4 | 0.6 | 0.8 | 1.0 | |
| 0.2 | 76.79 | 89.99 | 92.81 | 100.39 | 109.12 |
| 0.4 | 86.30 | 90.19 | 95.30 | 105.58 | 104.03 |
| 0.6 | 119.58 | 133.78 | 124.53 | 114.72 | 124.73 |
| 0.8 | 168.85 | 201.41 | 235.11 | 232.31 | 237.19 |
| 1.0 | 157.85 | 188.14 | 214.72 | 237.05 | 246.81 |
F.5 Computational Efficiency and Deployment Feasibility
To evaluate the practical feasibility of NotaryMark in real-world production environments, we quantify the training overhead and inference latency of its core components, including the watermark encoder, predictor, and decoder. Our experiments take place on a workstation equipped with four NVIDIA GeForce RTX 3090 (24GB VRAM) GPUs. Benefiting from a lightweight architectural design, the joint training process of the entire watermarking system exhibits exceptional convergence speed. On the Pokémon dataset, a complete training cycle finishes within 3 to 5 hours. Furthermore, the inference latency for embedding a watermark into a single image is only 0.3 seconds. Such low computational overhead ensures that NotaryMark operates efficiently and maintains good performance in AIGC generation tasks.
G Ablation Study
G.1 Quantifying the Contributions of Progressive Loss Components
We design a series of progressive experimental configurations to systematically evaluate the contribution of each loss component in NotaryMark. The ablation begins with the core verification logic, employing only the fundamental bit decoding loss to establish a baseline for extraction capability. To mitigate the inherent stochastic interference during diffusion sampling, we subsequently introduce the predictability loss, , to create an intermediate configuration that enhances watermark recovery robustness. Finally, to meet the stringent fidelity requirements of practical applications, we integrate the full objective function, including the imperceptibility regularizer , to enforce explicit constraints on generation quality across both pixel and latent spaces.
Table 9 reports the audit performance and generation quality under different loss combinations. The results show that alone already establishes reliable auditability, achieving TPR/FPR of 100.00%/0.00% with and . Adding the predictability loss further improves watermark recoverability, increasing to 77.42% and to 98.94%. These results suggest that enforcing predictable latent residual patterns helps the model recover watermark signals more accurately and consistently.
However, the combination of and alone still does not yield the best overall trade-off. FID rises from 89.07 to 104.68, indicating degraded model-level generation quality. To address this issue, we further incorporate the imperceptibility regularizer , which jointly constrains pixel-level distortion and latent-space deviation. With the full objective, NotaryMark achieves the best overall performance: increases to 85.35%, reaches 100.00%, and both LPIPS and FID are improved to 0.0112 and 77.23, respectively.
These results indicate that is sufficient to establish reliable auditing, further enhances watermark recoverability, and is critical for jointly optimizing recovery accuracy and generation quality.
G.2 Impact of Query Budget on Auditing Certainty
To evaluate the practicality of NotaryMark in resource-constrained scenarios, we conduct an ablation study on the query budget, defined as the number of prompts used for auditing. The query budget is a critical factor determining the computational cost and latency of the auditing process. As summarized in Table 13, NotaryMark demonstrates exceptional sample efficiency. Even with an extremely limited budget of , the system achieves a mean bit
Table 13: Audit performance across different numbers of query prompts. The metrics are reported based on BA_{agg} (%) across multiple experimental runs.
| Prompts (N) | Mean ↑ | Std↓ | Min | Max |
|---|---|---|---|---|
| 5 | 96.59 | 4.90 | 68.75 | 100.00 |
| 10 | 98.59 | 2.27 | 87.50 | 100.00 |
| 15 | 99.78 | 0.79 | 96.88 | 100.00 |
| 20 | 100.00 | 0.00 | 100.00 | 100.00 |
| 25 | 99.94 | 0.44 | 96.88 | 100.00 |
| 30 | 100.00 | 0.00 | 100.00 | 100.00 |
| 35 | 100.00 | 0.00 | 100.00 | 100.00 |
accuracy of 96.59%. As the budget increases to , the rises to 99.78% while the standard deviation (Std) drops significantly, indicating enhanced stability in the verification signal.
Notably, the auditing performance consistently reaches a plateau of 100.00% accuracy when . These results suggest that an auditor can achieve near-perfect certainty with minimal computational overhead (e.g., generating 30 images in seconds). Such efficiency positions NotaryMark as a highly scalable solution for automated, high-throughput model screening in real-world regulatory environments.