betaFeedback

WorksComputer Science

TRACEMARK: Editor-Aware Watermarking for User Attribution in Text-Guided Image Editing

Abstract

An image editing service records which user requests each edit, but the edited image itself does not contain this account information. Once the image is downloaded and shared, the service cannot identify the requesting user from the image alone. Embedding a user-specific watermark could enable such attribution, but semantic editing may erase the signal. We propose Tracemark, an editor-aware watermarking framework for identifying users from edited images. A shared encoder embeds a user-specific signal before editing, and a shared detector recovers the user by comparing features of the edited image with learned reference vectors. Both components are trained jointly through an editor with fixed parameters. User identification errors encourage the encoder to produce watermarks that survive editing, while fidelity losses limit changes to the input image and intended edit. Each image domain and editing instruction uses a separately trained model shared across registered users. Experiments on three image domains show that editor-aware training improves user recovery with both reference-vector matching and binary watermark decoding. Separately trained models reach 87.5% mean identification accuracy among 500 users. When tested with a different editor without retraining, the watermark modules still recover user information. These results demonstrate that learning watermarks through the editing process enables user attribution without modifying the editor.

Introduction

Text-guided image editing allows users to change the appearance and content of an existing image with a natural-language prompt. Editors such as InstructPix2Pix [1] can modify a portrait in response to make the hair blond, producing an image that can subsequently be downloaded and shared. An editing service records who requested the change, but this information may be lost when the result is reposted outside the service. Recovering the requesting user from the image would reconnect redistributed content with its provenance and allow the service to consult the corresponding request records. This motivates the user-attribution problem illustrated in Figure 1: how can an image editing service trace an edited image back to the user who requested the edit?

System and watermark-integration paths for user attribution in text-guided image editing

Figure 1. System and watermark-integration paths for user attribution in text-guided image editing.

A straightforward approach is to add a user-specific watermark after the edit is complete. This can identify the user from the released image, but does not by itself protect the association if that image is edited again. The underlying challenge is to keep user information recoverable through semantic changes [2]. Watermarks trained to withstand compression or resizing can be damaged when a generative editor reconstructs image content, introducing errors into the recovered user information. VINE [3] and Robust-Wide [4] improve message recovery under editing, while SafeMark [5] trains the editor to preserve an existing watermark. These methods support attribution by assigning a different message to each user. Their training targets message recovery, and the recovered message is then matched to the registered users’ messages. For attribution, the final goal is to distinguish the requesting user from the other registered users. We therefore study whether learning user-specific watermarks and this identification decision jointly can improve recovery after editing. The evaluated image carries one user’s watermark and undergoes one edit.

We propose TraceMark, an editor-aware watermarking framework that learns user-specific signals by directly optimizing user identification from edited images. The service supplies the requesting user’s identifier to a shared encoder, which embeds the corresponding watermark in the input image. After the editor applies the requested change, a shared detector converts the edited image into a feature vector. The system identifies the user whose learned reference vector is most similar to this vector. Training compares this prediction with the requesting user’s identifier and propagates the resulting error through the fixed-weight editor to the encoder. This feedback allows embedding and identification to be learned together from the edited output. Fidelity losses additionally keep the marked input close to the original image and its edit close to the result obtained without a watermark. All users share the encoder and detector within a model trained for one instruction and image domain. Once the appropriate task model is selected, identification uses the edited image without requiring the original image.

Because attribution depends on what survives the editing process, the evaluation first tests user identification with the editor used for training and then replaces that editor while retaining the same watermark modules (research question 1, RQ1). These tests assess recovery under both matched and changed editing conditions. To determine how training contributes to recovery, matched controls enable or disable training through the editor for each of two identification methods: matching learned user reference vectors and decoding user-specific binary messages (RQ2). We then vary watermark distortion, edit magnitude, input resolution, editing instruction, and user population to examine the conditions under which attribution remains effective (RQ3). The evaluated images come from the training image pools, so these results do not establish recovery on previously unseen images.

Experiments across three image domains show that training through the editor improves both identification approaches, while changing the identification approach has a smaller and less consistent effect. Separately trained models achieve 87.5% mean accuracy among 500 users. Across 90 editing tasks, TraceMark outperforms four released watermarks on three unseen editing channels at a common 256-pixel resolution. These gains have clear boundaries: RoSteALS is stronger on the editor used to train TraceMark, VINE-R and Robust-Wide outperform the 256-pixel TraceMark model at their released 512-pixel resolution, and TraceMark’s accuracy also drops substantially on ChordEdit. The results support user-attribution training and establish the need to validate recovery under the intended editing conditions.

Contributions.

  • User attribution through editing. TraceMark jointly learns user-conditioned input watermarks and a shared detector to identify requesting users from edited images without updating the editor’s parameters.

  • Evidence for the training mechanism. TraceMark’s matched controls establish consistent gains from training through the editor across two attribution approaches and three domains within a shared architecture.

  • Measured attribution capability. TraceMark supports 500-user identification and improves recovery on three unseen editing channels at a common carrier resolution, with fidelity and resolution controls that establish where these comparisons hold.

Sections II and III review prior work and develop the motivating study. Section IV presents TraceMark, Section V evaluates user attribution and its robustness, and Section VI concludes the paper.

Related Work

User Attribution with Image Watermarks

Assigning a different binary watermark to each user allows recovered messages to identify users. Learned methods preserve these messages through simulated distortions [6], physical print-and-capture channels [7], [8], and video transformations [9]. For existing images, TrustMark [10] supports variable resolutions, while RoSteALS [11] embeds messages through a pretrained autoencoder. Both accept different messages with shared network weights, allowing multi-user attribution without a separate encoder per user. Section III examines when this capability survives editing and when bit errors make user identification ambiguous.

Generation-integrated methods instead associate images with users, keys, or model recipients during synthesis. In latent diffusion models [12], signatures can enter through decoder fine-tuning [13], user-conditioned weights [14], or variable-message conditioning [15]. Latent Watermark [16] embeds and detects messages in diffusion latent space. Mark-Plugger [17] reuses latent-space watermarks across generator variants without updating their weights. Initial-noise methods provide another integration point for detection or identification [18]–[20]. These approaches establish attribution during generation. In image editing, the additional question is whether the user signal remains recoverable when an existing input is transformed by a requested semantic edit.

Watermark Recovery Through Text-Guided Editing

Text-guided editors reconstruct image content using noise injection, attention control, or instruction conditioning [1], [21], [22]. Further advances in editing and its supervision [23]–[25] broaden the transformations a watermark may encounter beyond conventional compression and filtering. A visually coherent edit can still replace image details that carry the watermark. Recovery after compression or filtering therefore does not establish that the same user signal will survive semantic editing.

VINE [3] and Robust-Wide [4] learn watermarks for these editing conditions. VINE uses generative priors and editing-related distortions, with VINE-R additionally trained on InstructPix2Pix outputs. Robust-Wide includes instruction-driven editing in watermark training. Both train watermark components with a fixed downstream editor and report tests across editing configurations. Their objective is message recovery, which supports attribution when messages are assigned to users. TRACEMARK directly optimizes user identification, jointly learning the embedded signal, detector, and user reference vectors used for matching. Both the signal and the identification references are therefore learned from post-edit user identification errors under the training editor.

SafeMark [5] approaches preservation from the editor side. It fine-tunes the editor to retain an existing watermark, which may already identify a source or user, while keeping the watermark encoder and decoder fixed. TRACEMARK instead learns the requesting user’s watermark and its identification through a fixed editor. Thus, SafeMark adapts editing to an existing signal, whereas TRACEMARK adapts the signal and user identification to editing.

Evaluating Attribution and Robustness

Robustness benchmarks [26] and studies of regeneration [27], diffusion purification and model substitution [28], and adaptive attacks [29] show that recovery depends on the transformation and attacker access. Withholding the decoder does not prevent removal, as demonstrated by no-box attacks [30] and MarkNull’s model-agnostic latent manipulation [31]. Consequently, attribution comparisons must specify the editing conditions and measure correct user recovery alongside image fidelity. Our evaluation covers requested edits in a trusted service and examines editor, resolution, and population effects. Resistance to deliberate removal is outside this evaluation of user attribution under requested edits.

Motivating Study and Design Implications

This section studies whether released image watermarks can identify a registered user after text-guided editing. We first assign different binary messages to users and test whether the recovered messages identify them. We then examine how bit errors affect identification under conventional distortions, autoencoder reconstruction, and semantic editing. Finally, we compare editors that change images by similar amounts to test whether edit magnitude explains differences in attribution. The findings motivate the training design in Section IV and its controlled evaluation in § 5-C across two attribution methods within the same watermark architecture.

Existing Watermarks Support Attribution Under Compatible Editors

A kk-bit watermark can identify a user from a fixed registry by assigning each user uu a distinct binary message, or codeword, cu∈{0,1}kc_u \in\{0,1\}^{k}. After a marked image is transformed, the decoder returns a recovered message c^\hat{c}. We select the user whose assigned message differs from it in the fewest bit positions, measured by Hamming distance. For all 100-bit methods, we use the same codebook, whose messages are chosen to differ in many bit positions. The codebook is fixed across images, editing features, and datasets. If multiple users are equally close to the decoded message, the system has no unique prediction and we record the result as an attribution error.

Method#BitsIP2PSDXL-Turbo
TrustMark [10]1000.4950.009
RoSteALS [11]1000.9750.249
VINE-R [3]1000.5290.922
Robust-Wide [4]640.9170.648

Table 1. Registered-user identification under InstructPix2Pix and Stable Diffusion XL (SDXL)-Turbo.

error. We evaluate all 90 editing features, each corresponding to a target editing instruction, with 100 images per feature and 100 registered users.

Figure Figure 2(a) shows that the three released watermarks identify users almost perfectly before transformation (the identity channel) and after compression or blur (the pixel-domain channels). RoSteALS also reaches 0.975 after InstructPix2Pix (IP2P), establishing that an image watermark can support user attribution after a compatible editor. The same panel shows much lower accuracy under other editing channels. A well-separated registry therefore enables attribution but cannot compensate when a channel changes too much of the embedded message. We next quantify this decoding limit for a fixed population of registered users.

Figure 2. Registered-user identification (a) and capacity margin from bit recovery (b) for three released 100-bit watermarks.

The preceding results raise a practical question: how much bit corruption can a registry tolerate before user identities become ambiguous? Bit accuracy alone is incomplete because the same error rate can support different registry sizes when message lengths differ. Distinguishing NN users requires log⁡2N\log_2 N bits, which is 6.64 bits for the 100-user registry used here. For a kk-bit watermark with observed bit error rate pp, we approximate decoding errors with a binary symmetric channel, in which each bit flips independently with probability pp. The resulting information capacity is k[1−H2(p)]k[1-H_2(p)], where H2(p)=−plog⁡2p−(1−p)log⁡2(1−p)H_2(p)=-p\log_2 p-(1-p)\log_2(1-p) is binary entropy [32]. We measure the surplus over the registry requirement with

M(k,p,N)=k[1−H2(p)]−log⁡2N.(1)M(k,p,N)=k\left[1-H_2(p)\right]-\log_2 N. \tag*{(1)}

A positive MM means that the estimated remaining information exceeds what the registry needs. A negative MM indicates an information deficit. Because editing can introduce correlated bit errors, MM is a diagnostic quantity and does not guarantee a particular identification accuracy.

Figure Figure 2(b) reports this margin for each method and transformation in panel (a). A channel here is the transformation between watermark embedding and decoding. The three channel groups cover conventional pixel-domain processing, autoencoder round trips that encode and reconstruct an image, and semantic editing. Identity, Joint Photographic Experts Group (JPEG) compression, and Gaussian blur leave at least 42.2 bits of margin for every method, together with identification accuracy of at least 0.970. The autoencoder round trips retain ample margin for TrustMark and RoSteALS but place VINE-R close to the registry requirement. IP2P leaves RoSteALS with a 36.0-bit margin while TrustMark and VINE-R are near zero. Under sd-turbo, all three margins become negative and identification accuracy falls to 0.013 for TrustMark, 0.436 for RoSteALS, and 0.093 for VINE-R.

The progression from large positive margins to information deficits illustrates why successful message recovery from an unedited marked image does not establish post-edit attribution. It motivates training on the user identity recovered from the edited output, so the watermark receives feedback about the information that survives the target transformation. § 5-C tests the effect of this training signal with a matched control.

Editor Compatibility Shapes Attribution

The preceding experiment links bit errors to identification errors, but it does not explain why methods respond differently to two semantic editors. A method may fail because an editor changes the image more, or because the editor is incompatible with the model used to construct the watermark. We test whether edit magnitude alone explains the difference by measuring each editor on unmarked covers with a fixed Stable Diffusion 1.5 variational autoencoder (VAE). The normalized latent displacement is ∥zedit−zcover∥2/∥zcover∥2\lVert z_{\mathrm{edit}}-z_{\mathrm{cover}}\rVert_{2}/\lVert z_{\mathrm{cover}}\rVert_{2}, where zcoverz_{\mathrm{cover}} and zeditz_{\mathrm{edit}} are the VAE representations of the input and edited image. Using the same VAE provides a common measure of image change across editors.

We compare IP2P with Stable Diffusion XL (SDXL)-Turbo at strength 0.2. The two editors produce nearly equal displacement, 0.683 and 0.698, over all 90 features and 50 covers per feature. Despite this similar edit magnitude, the leading method changes in Table I. RoSteALS embeds in the latent space of a latent-diffusion autoencoder [12] from the same model family as the Stable Diffusion 1.5 base of IP2P. It falls from 0.975 on IP2P to 0.249 on SDXL-Turbo. VINE-R moves in the opposite direction, from 0.529 to 0.922, and its encoder is built on SDXL-Turbo. Robust-Wide is trained through IP2P and is also stronger on that editor. TrustMark has no generative base model and is weak on both editors. Similar latent displacement therefore does not imply similar attribution accuracy. The relationship between performance and model family suggests that editor compatibility also matters, although this comparison does not isolate its cause.

These observations motivate studying whether joint watermark encoder and detector training through a target editor improves user attribution. TraceMark implements this approach while keeping editor parameters fixed. The evaluation separately measures performance across editors and the effect of including the editor in training within the same architecture. A matched control in § 5-C measures this training effect under prototype matching and binary decoding on one feature from each image domain with identical training conditions.

The TraceMark Framework

Operational Setting and Design

TraceMark learns to identify the requesting user from an edited image. The service binds each request to its authenticated user and passes that user’s identifier, together with the input image, to the watermark encoder. Its user-conditioned encoder EθE_{\theta} produces a watermarked input image, also called the marked carrier. Its detector DϕD_{\phi} maps an image yy to a feature vector, or embedding, Dϕ(y)∈RdD_{\phi}(y) \in\mathbb{R}^{d}, where dd is the embedding dimension and θ\theta and ϕ\phi are trainable parameters. The detector compares this embedding with NN learned reference vectors, one per registered user. These reference vectors are the user prototypes. Training jointly optimizes the encoder, detector, and prototypes while keeping editor parameters fixed. Prototype matching removes the need to construct a binary registry codebook for the registered user population.

Let U={1,…,N}\mathcal{U} = \{1,\ldots,N\} denote the registered user population. The index u∈Uu \in\mathcal{U} identifies the user who requested the edit, while v∈Uv \in\mathcal{U} indexes a candidate user with prototype pv∈Rd\mathbf{p}_{v} \in\mathbb{R}^{d}. Given a normalized red, green, and blue (RGB) cover image x∈[−1,1]3×H×W\mathbf{x} \in[-1,1]^{3 \times H \times W} of height HH and width WW, the encoder produces xuwm=Eθ(x,u)\mathbf{x}_{u}^{\mathrm{wm}} = E_{\theta}(\mathbf{x},u). A fixed-weight editor E\mathcal{E} takes an instruction τ\tau and an edit seed ξ\xi, producing the unmarked and marked edits x^=E(x,τ;ξ)\hat{\mathbf{x}} = \mathcal{E}(\mathbf{x},\tau;\xi) and x^uwm=E(xuwm,τ;ξ)\hat{\mathbf{x}}_{u}^{\mathrm{wm}} = \mathcal{E}(\mathbf{x}_{u}^{\mathrm{wm}},\tau;\xi). A hat over an image thus denotes the result after editing. For nonzero vectors a\mathbf{a} and b\mathbf{b}, let cos⁡(a,b)=aTb/(∥a∥2∥b∥2)\cos(\mathbf{a},\mathbf{b}) = \mathbf{a}^{\mathsf{T}}\mathbf{b}/(\lVert\mathbf{a}\rVert_{2}\lVert\mathbf{b}\rVert_{2}). The predicted user is

u^=arg⁡max⁡v∈U cos⁡(Dϕ(x^uwm),pv).(2)\hat{u} = \underset{v \in\mathcal{U}}{\arg\max}\ \cos\left(D_{\phi}(\hat{\mathbf{x}}_{u}^{\mathrm{wm}}),\mathbf{p}_{v}\right). \tag*{(2)}

Here, u^\hat{u} denotes the predicted user. The true user uu supplies the training label but is unknown to the detector at inference. Training seeks u^=u\hat{u}=u. The marked carrier must remain visually close to x\mathbf{x}, and its edit x^uwm\hat{\mathbf{x}}_{u}^{\mathrm{wm}} must remain close to the unmarked edit x^\hat{\mathbf{x}} under the same instruction and seed.

Each model is trained for one domain, instruction, editor, registry, and carrier resolution. Attribution uses the corresponding detector and prototype bank, selected in advance. Automatic task-model selection is outside the evaluation.

The TRACEMARK training loop for user-conditioned watermark embedding and attribution through a fixed-weight instruction editor

Figure 3. The TRACEMARK training loop for user-conditioned watermark embedding and attribution through a fixed-weight instruction editor.

A trusted editing service controls the encoder, detector, prototype bank, and user assignment. Equation 2 always selects a registered user, even for an unmarked image. Deployment beyond this registered-user evaluation therefore requires a calibrated rejection rule for unmarked images and unknown users. The recovered identity refers to the requesting user, whose relationship to the image is established by the service’s request record. It does not imply image ownership or authorship. Since the marked input already carries this identity, extraction alone also cannot certify that editing occurred. Adaptive removal, watermark forgery, and leakage of watermark components remain outside the evaluation.

Embedding before the requested edit lets us evaluate whether the user signal survives that transformation. A service that controls the final output can also embed after editing, although that placement alone gives no assurance of recovery after a subsequent edit. Our experiments measure recovery through the editor and do not compare the two placements. Attribution refers to the user associated with the evaluated request and does not reconstruct the sequence of users in a multi-stage editing history.

Architecture

The encoder and detector weights are shared across all NN users, while each user has two learned vectors with different roles: an embedding that tells the encoder which user’s watermark to write, and a prototype used for identification. Applying the same detector before and after editing makes the resulting embeddings directly comparable. The consistency objective uses this comparison to penalize edit-induced movement of the image representation within the shared detector embedding space used for user identification.

a) Identifier encoder: Let {Embu∈Rdu}u∈U\{\mathrm{Emb}_u \in\mathbb{R}^{d_u}\}_{u \in U} be the learned user embedding table within EθE_\theta, where dud_u is the user-embedding dimension. Given an input image x∈[−1,1]3×H×W\mathbf{x} \in[-1,1]^{3 \times H \times W}, the encoder broadcasts Embu\mathrm{Emb}_u over the H×WH \times W spatial grid and concatenates it with the image along the channel axis. A small fully convolutional stack outputs a residual field δθ(x,Embu)∈R3×H×W\delta_\theta(\mathbf{x},\mathrm{Emb}_u) \in\mathbb{R}^{3 \times H \times W}. The fixed carrier strength α>0\alpha> 0 scales this field after a tanh⁡\tanh activation:

xuwm=clamp⁡(x+αtanh⁡(δθ(x,Embu)),−1,1).(3)\mathbf{x}^{\mathrm{wm}}_u = \operatorname{clamp}\left(\mathbf{x} + \alpha\tanh\left(\delta_\theta(\mathbf{x},\mathrm{Emb}_u)\right), -1, 1\right). \tag*{(3)}

The clamp acts elementwise. Since the output of tanh⁡\tanh lies in [−1,1][-1,1], α\alpha bounds each absolute pixel residual before clamping and controls the tradeoff between carrier fidelity and identification capacity evaluated in § 5-D.

b) Fixed-weight editor: During training, the editor remains in evaluation mode with parameter gradients disabled. Its output-to-input computation graph is retained. This access lets gradients reach EθE_\theta through the marked edit without updating the editor parameters. An editor accessible only through a remote service cannot be used for this training path. We use a fixed sampler and inference-step budget for reproducible editor execution, and run the editor subgraph in single precision for numerical stability. At deployment, the trained modules operate without gradient computation.

c) Detector and attribution: The detector DϕD_\phi is a compact strided convolutional backbone followed by global average pooling and a linear head that produces an embedding z∈Rd\mathbf{z} \in\mathbb{R}^d. For attribution, its input is the edited image, so z=Dϕ(x^wm)\mathbf{z} = D_\phi(\hat{\mathbf{x}}^{\mathrm{wm}}). For any nonzero vector a\mathbf{a}, let aˉ=a/∥a∥2\bar{\mathbf{a}} = \mathbf{a}/\lVert\mathbf{a}\rVert_2 denote its ℓ2\ell_2-normalized form. The classification scores, or logits, are scaled cosine similarities:

ℓ(z)=s[pˉ1Tzˉ,…,pˉNTzˉ]∈RN,(4)\ell(\mathbf{z}) = s\left[\bar{\mathbf{p}}_1^\mathsf{T}\bar{\mathbf{z}}, \ldots, \bar{\mathbf{p}}_N^\mathsf{T}\bar{\mathbf{z}}\right] \in\mathbb{R}^N, \tag*{(4)}

where s>0s > 0 is a learned logit scale capped at 100, and ℓ(z)v\ell(\mathbf{z})_v is the classification logit for candidate user vv. Attribution selects the prototype with the highest cosine similarity, u^=arg⁡max⁡v∈Uℓ(z)v\hat{u} = \arg\max_{v \in U} \ell(\mathbf{z})_v. Exact channel widths, the value of α\alpha, the detector dimensions, and the logit-scale configuration are reported in Appendix E.

Training Objective

For the paired images defined in Section IV-A, the detector produces zwm=Dϕ(xwm)\mathbf{z}^{\mathrm{wm}} = D_{\phi}(\mathbf{x}^{\mathrm{wm}}) and zout=Dϕ(x^wm)\mathbf{z}^{\mathrm{out}} = D_{\phi}(\hat{\mathbf{x}}^{\mathrm{wm}}) before and after editing. Image-space ℓ1\ell_1 distances are measured after mapping images to [0,1][0,1] and are averaged over pixels and channels. At training round tt, the edit-loss ramp rt=clip⁡((t−twarm)/tramp,0,1)r_t = \operatorname{clip}((t-t_{\mathrm{warm}})/t_{\mathrm{ramp}},0,1) is set by warm-up length twarmt_{\mathrm{warm}} and ramp length trampt_{\mathrm{ramp}}, both measured in training rounds. It increases the weights of edit-dependent losses from zero to their full values. Four losses target carrier and edit fidelity, embedding consistency, and user attribution.

Carrier fidelity. We penalize the residual added to the input image:

Lcar=∥xuwm−x∥1.(5)\mathcal{L}_{\mathrm{car}} = \left\lVert\mathbf{x}^{\mathrm{wm}}_u-\mathbf{x}\right\rVert_1. \tag*{(5)}

The hard bound in Eq. (3) limits the largest pixel change, while Lcar\mathcal{L}_{\mathrm{car}} reduces the average residual within that bound.

Edit fidelity. We keep the marked edit close to the corresponding unmarked edit generated with the same instruction and seed:

Lsim=∥x^uwm−x^∥1.(6)\mathcal{L}_{\mathrm{sim}} = \left\lVert\hat{\mathbf{x}}^{\mathrm{wm}}_u-\hat{\mathbf{x}}\right\rVert_1. \tag*{(6)}

This term constrains changes attributable to the watermark after the requested transformation has been applied.

Embedding consistency. We align the detector embeddings before and after editing:

Lcons=1−cos⁡(zwm,zout).(7)\mathcal{L}_{\mathrm{cons}} = 1-\cos(\mathbf{z}^{\mathrm{wm}},\mathbf{z}^{\mathrm{out}}). \tag*{(7)}

It encourages the two embeddings to point in the same direction, preserving the representation used for cosine-based attribution across the registered user population.

User attribution. We apply cross-entropy supervision before and after editing:

Lpre=CE⁡(ℓ(zwm),u),Lout=CE⁡(ℓ(zout),u),Lid=Lpre+λoutrtLout.(8)\begin{aligned} \mathcal{L}_{\mathrm{pre}} &= \operatorname{CE}(\ell(\mathbf{z}^{\mathrm{wm}}),u),\\ \mathcal{L}_{\mathrm{out}} &= \operatorname{CE}(\ell(\mathbf{z}^{\mathrm{out}}),u),\\ \mathcal{L}_{\mathrm{id}} &= \mathcal{L}_{\mathrm{pre}}+\lambda_{\mathrm{out}}r_t\mathcal{L}_{\mathrm{out}}. \tag*{(8)} \end{aligned}

Here, CE denotes cross entropy, and λout>0\lambda_{\mathrm{out}}>0 weights post-edit attribution relative to its pre-edit counterpart. The Lout\mathcal{L}_{\mathrm{out}} term is the direct training signal for the final decision in Eq. (2).

The full objective combines the four losses:

L=λidLid+λsimrtLsim+λcarLcar+λconsrtLcons.(9)\mathcal{L}=\lambda_{\mathrm{id}}\mathcal{L}_{\mathrm{id}}+\lambda_{\mathrm{sim}}r_t\mathcal{L}_{\mathrm{sim}}+\lambda_{\mathrm{car}}\mathcal{L}_{\mathrm{car}}+\lambda_{\mathrm{cons}}r_t\mathcal{L}_{\mathrm{cons}}. \tag*{(9)}

The nonnegative λ\lambda coefficients balance the four losses. Carrier fidelity and pre-edit attribution remain active throughout training. The ramp progressively activates edit fidelity, embedding consistency, and post-edit attribution, the last through Eq. (8).

Training Procedure

Algorithm 1 outlines the update for one image, omitting the inner minibatch loop. In the implementation, each training round processes a fixed image quota in minibatches. The ramp rtr_t advances once per round and is shared by its minibatches (lines 3–4). During warm-up, carrier fidelity and pre-edit attribution train the encoder to embed user information and the detector to recover it from unedited marked images (lines 5–8). While rt=0r_t=0, the editor is skipped and the edit-dependent terms remain zero (line 17).

Algorithm 1: TRACEMARK training, with the mini-batch loop omitted.
Input: covers X\mathcal{X}, users U\mathcal{U} (∣U∣=N|\mathcal{U}|=N), target instruction τ\tau, training rounds TT, warm-up twarmt_{\mathrm{warm}}, ramp length trampt_{\mathrm{ramp}}
Data: encoder EθE_{\theta}, detector DϕD_{\phi}, prototypes {pu}\{\mathbf{p}_u\}, fixed-weight editor E\mathcal{E}
Output: trained EθE_{\theta}, DϕD_{\phi}, {pu}\{\mathbf{p}_u\}
1Initialize θ,ϕ,{pu}\theta,\phi,\{\mathbf{p}_u\};
2for t←1t\leftarrow1 to TT do
3Select cover x\mathbf{x}, user uu, and seed ξ\xi;
4rt←clip⁡((t−twarm)/tramp,0,1)r_t\leftarrow\operatorname{clip}((t-t_{\mathrm{warm}})/t_{\mathrm{ramp}},0,1); // ramp
5xuwm←Eθ(x,u)\mathbf{x}^{\mathrm{wm}}_u\leftarrow\mathcal{E}_{\theta}(\mathbf{x},u); // encode, Eq. (3)
6zwm←Dϕ(xuwm)\mathbf{z}^{\mathrm{wm}}\leftarrow D_{\phi}(\mathbf{x}^{\mathrm{wm}}_u);
7Lcar←∥xuwm−x∥1\mathcal{L}_{\mathrm{car}}\leftarrow\lVert\mathbf{x}^{\mathrm{wm}}_u-\mathbf{x}\rVert_1; // carrier fidelity
8Lid←CE⁡(ℓ(zwm),u)\mathcal{L}_{\mathrm{id}}\leftarrow\operatorname{CE}(\ell(\mathbf{z}^{\mathrm{wm}}),u); // pre-edit
9if rt>0r_t>0 then
10x^←E(x,τ;ξ)\hat{\mathbf{x}}\leftarrow\mathcal{E}(\mathbf{x},\tau;\xi); // edit clean
11x^uwm←E(xuwm,τ;ξ)\hat{\mathbf{x}}^{\mathrm{wm}}_u\leftarrow\mathcal{E}(\mathbf{x}^{\mathrm{wm}}_u,\tau;\xi); // edit marked
12zout←Dϕ(x^uwm)\mathbf{z}^{\mathrm{out}}\leftarrow D_{\phi}(\hat{\mathbf{x}}^{\mathrm{wm}}_u);
13Lsim←∥x^uwm−x^∥1\mathcal{L}_{\mathrm{sim}}\leftarrow\lVert\hat{\mathbf{x}}^{\mathrm{wm}}_u-\hat{\mathbf{x}}\rVert_1;
14Lcons←1−cos⁡(zwm,zout)\mathcal{L}_{\mathrm{cons}}\leftarrow1-\cos(\mathbf{z}^{\mathrm{wm}},\mathbf{z}^{\mathrm{out}});
15Lid+=λoutrtCE⁡(ℓ(zout),u)\mathcal{L}_{\mathrm{id}}\mathrel{+}=\lambda_{\mathrm{out}}r_t\operatorname{CE}(\ell(\mathbf{z}^{\mathrm{out}}),u); // post-edit
16else
17Lsim,Lcons←0\mathcal{L}_{\mathrm{sim}},\mathcal{L}_{\mathrm{cons}}\leftarrow0; // warm-up: skip E\mathcal{E}
18end
19L←λidLid+λsimrtLsim+λcarLcar+λconsrtLcons\mathcal{L}\leftarrow\lambda_{\mathrm{id}}\mathcal{L}_{\mathrm{id}}+\lambda_{\mathrm{sim}}r_t\mathcal{L}_{\mathrm{sim}}+\lambda_{\mathrm{car}}\mathcal{L}_{\mathrm{car}}+\lambda_{\mathrm{cons}}r_t\mathcal{L}_{\mathrm{cons}};
20Update θ,ϕ,{pu}\theta,\phi,\{\mathbf{p}_u\} by a gradient step on L\mathcal{L}; // E\mathcal{E} frozen
21end

Table 1 (PDF p. 6).

Once rt>0r_t>0, the same instruction and seed edit the unmarked and marked inputs (lines 10–11). Their outputs define edit fidelity, embedding consistency, and post-edit attribution (lines 13–15). Increasing rtr_t increases the influence of these objectives as training proceeds. The combined loss in Eq. (9) updates the encoder, detector, and prototypes (lines 19–20).

Complexity and Margin Analysis

Let zˉ\bar{\mathbf{z}} and zˉ′\bar{\mathbf{z}}' be the ℓ2\ell_2-normalized detector embeddings of a marked image before and after editing or degradation. For candidate user vv, let cv(zˉ)=pˉvTzˉc_v(\bar{\mathbf{z}})=\bar{\mathbf{p}}_v^{\mathsf{T}}\bar{\mathbf{z}} denote the unscaled cosine score. For an image assigned to user uu, define the attribution margin as the correct user’s score minus the highest competing user score:

γu(zˉ)=cu(zˉ)−max⁡v≠ucv(zˉ).(10)\gamma_u(\bar{\mathbf{z}})=c_u(\bar{\mathbf{z}})-\max_{v\ne u}c_v(\bar{\mathbf{z}}). \tag*{(10)}

Suppose the transformation satisfies ∥zˉ′−zˉ∥2≤ϵ\lVert\bar{\mathbf{z}}'-\bar{\mathbf{z}}\rVert_2\le\epsilon. Since ∥pˉv∥2=1\lVert\bar{\mathbf{p}}_v\rVert_2=1, the Cauchy–Schwarz inequality gives ∣cv(zˉ′)−cv(zˉ)∣≤ϵ\lvert c_v(\bar{\mathbf{z}}')-c_v(\bar{\mathbf{z}})\rvert\le\epsilon for every candidate. The correct-user score can therefore decrease by at most ϵ\epsilon, while the largest competing score can increase by at most ϵ\epsilon. The predicted user remains uu whenever γu(zˉ)>2ϵ\gamma_u(\bar{z}) > 2\epsilon.

Editing channelDomainTRACEMARKTrustMarkRoSteALSVINE-RRobust-Wide
InstructPix2Pix, training channelCelebA-HQ0.9010.5540.9840.6770.932
AFHQ-Dog0.8060.3200.9550.3760.884
CUB-Bird0.8910.6110.9860.5330.934
sd-turbo, s=0.2s = 0.2CelebA-HQ0.8770.0190.3550.1400.255
AFHQ-Dog0.8640.0120.4220.0690.291
CUB-Bird0.7750.0090.5310.0710.427
sd-turbo, p2p-style s=0.3s = 0.3CelebA-HQ0.7900.0090.1020.0720.110
AFHQ-Dog0.7830.0080.1380.0360.142
CUB-Bird0.6560.0100.1620.0300.284
ChordEditCelebA-HQ0.4270.0090.0610.0380.034
AFHQ-Dog0.2710.0070.0670.0170.039
CUB-Bird0.2300.0070.0570.0190.070

Table 2. Cross-editor identification in three image domains using a common 256-pixel pipeline. Each domain contains 30 editing features.

This bound is a sufficient condition for preserving one image’s predicted user. Applying it to a given editor or degradation requires measuring or bounding its embedding displacement ϵ\epsilon. The identification loss promotes a larger margin, and the consistency loss penalizes displacement caused by the target edit. The bound explains why both score separation and embedding stability matter for attribution. It does not guarantee recovery under an arbitrary editor. Attributing improved recovery to a design choice requires a matched control. Section V-C isolates the training path and attribution method under matched conditions.

For one trained population, the prototype bank and user-embedding table require O(N(d+du))O(N(d+d_u)) storage. After the detector produces one embedding, forming all user logits costs O(Nd)O(Nd) during training or inference. The other network parameters and computations are independent of NN. The current implementation retrains its learnable components when the registry expands. Population-specific results appear in Section V-D for registries of up to 500 users.

Experiments

Experimental Setup

Datasets and editing features

Each editing feature specifies a target instruction, such as changing hair color or adding glasses. We evaluate 30 features in each of three multimedia domains: high-quality CelebA (CelebA-HQ) faces [33], the Animal Faces-HQ (AFHQ) Dog split [34], and Caltech-UCSD Birds-200-2011 (CUB-200-2011) [35]. Images are cropped to 256×256256 \times256 as detailed in Appendix A. Each TRACEMARK model is trained for one of the 90 domain-feature settings through InstructPix2Pix [1]. Cross-editor tests replace the editing channel while keeping the encoder, detector, and prototype bank fixed.

Compared watermarks

We compare TRACEMARK with the released TrustMark [10], RoSteALS [11], VINE-R [3], and Robust-Wide [4] checkpoints (Appendix B). For N=100N = 100, the first three baselines receive distinct 100-bit codewords from a balanced codebook, while Robust-Wide uses its released 64-bit messages. Nearest-codeword decoding maps each output to a user. If several codewords are equally close, the prediction is ambiguous and is counted as an error. The main comparison uses 256-pixel carriers, the native resolution of TRACEMARK, TrustMark, and RoSteALS. The control in Appendix D retains the released 512-pixel resolution of VINE-R and Robust-Wide. Changing TRACEMARK’s resolution requires retraining.

Editing channels and evaluation scope

The four channels in RQ1 are the InstructPix2Pix training channel, sd-turbo image-to-image editing [36] at strength 0.2, sd-turbo editing at strength 0.3 with a pix2pix-style configuration, and ChordEdit [37]. Table II reports the mean identification accuracy over the 30 features in each domain. RQ2 uses one feature from each domain. RQ3 evaluates all settings for the fidelity control, cross-instruction reuse in all three domains, and four CelebA-HQ tasks for registries from 100 to 500 users. Appendix § 4.5 gives detailed sample counts and hyperparameters. Paired comparisons reuse the user population, covers, instructions, and editor seeds. The evaluated TRACEMARK carriers come from the final training round, and the baselines use the same covers. These comparisons use images from the training pools. They do not measure generalization to held-out images.

Metrics

Identification accuracy is the fraction of marked outputs assigned to the correct registered user. For bitstring methods, bit accuracy is the fraction of correctly decoded watermark bits. Carrier fidelity uses peak signal-to-noise ratio (PSNR), structural similarity index measure (SSIM) [38], and learned perceptual image patch similarity (LPIPS) [39]. Section III-C also measures normalized latent displacement with a fixed Stable Diffusion 1.5 variational autoencoder for both evaluated editors.

Post-Edit Attribution (RQ1): Matched and Unseen Editors

At 256 pixels, TRACEMARK leads on the three unseen editing channels. Table II shows this advantage in every image domain. Averaged across domains, TRACEMARK reaches 1.9, 4.2, and 5.0 times the strongest released baseline on sd-turbo, its p2p-style configuration, and ChordEdit, respectively.

DomainFull−Lcar-\mathcal{L}_{\mathrm{car}}−Lcons-\mathcal{L}_{\mathrm{cons}}−Lout-\mathcal{L}_{\mathrm{out}}
CelebA-HQ0.9270.9440.9630.743
AFHQ-Dog0.8540.8500.8850.593
CUB-Bird0.8180.8390.9050.613
Mean0.8660.8780.9180.650

Table 3. Post-edit identification accuracy after removing individual objective terms in three image domains.

Released watermarks nevertheless perform well on the InstructPix2Pix training channel, where RoSteALS leads with accuracy from 0.955 to 0.986, compared with 0.806–0.901 for TRACEMARK. Recovery on ChordEdit remains harder for TRACEMARK, with domain means of 0.230–0.427.

This advantage does not extend to baselines at their released 512-pixel resolution. A four-feature control restores that carrier size for VINE-R and Robust-Wide. Their mean accuracies over the three unseen channels rise from 0.062 to 0.997 and from 0.165 to 0.982, respectively. TrustMark and RoSteALS change little on those unseen channels when evaluated at 512 pixels. TRACEMARK remains at 256 pixels, so this control does not measure its own response to changing resolution, which would require retraining. Complete channel-level results and edit-displacement measurements appear in Appendix D. RQ2 next isolates the benefit of training through the editor within a shared architecture.

Training Through the Editor (RQ2): Effect Across Attribution Methods

The system-level comparisons in RQ1 mix architecture and training differences. To isolate the effect of including the editor in training, we construct a 2×22 \times2 control that varies training through the editor and the attribution method on blond hair (CelebA-HQ), angry expressions (AFHQ-Dog), and crest (CUB-Bird). Within each feature, the four variants share encoder and detector backbones, training data, number of training workers, random seed, and 170 training rounds, each containing the same image quota. The editor-exposed variants train through InstructPix2Pix, while the unexposed variants disable all edit-dependent losses. Each condition uses either prototype matching or a 100-bit decoder with nearest-codeword attribution. Figure 4 pairs the two training conditions for each attribution method and reports mean accuracy over the four editing channels in Table II.

Figure 4. Four-channel mean identification accuracy with and without training through the editor, using two attribution methods in each domain.

Training through the editor improves all six tested combinations. Gains across features and attribution methods range from 0.167 to 0.477. Mean gains are 0.339 for prototype matching and 0.219 for binary decoding. The difference between attribution methods, computed as prototype accuracy minus binary-decoding accuracy, averages 0.096 with editor exposure and −0.024 without it. Positive values favor prototype matching, and the sign varies by feature. In the AFHQ-Dog prototype variant, the 0.167 training gain is smaller than the prototype advantage over binary decoding, which is 0.198 with editor exposure and 0.230 without it. Thus, training through the editor consistently benefits both attribution methods in these controls, while the choice of attribution method has a smaller average effect. Prototype matching simplifies registry construction, but these results do not identify it as the source of edit robustness.

The training benefit emerges after editing. We also evaluate the same trained variants on their marked inputs before editing and average each channel’s accuracy over the three features. Including the editor in training leaves pre-edit prototype accuracy nearly unchanged (0.983 to 0.980) and reduces binary accuracy (0.983 to 0.877). Through InstructPix2Pix, the corresponding accuracies rise from 0.420 to 0.920 and from 0.410 to 0.757. All four variants can encode user identity, but training through the editor improves its recovery after transformation. On ChordEdit, the unexposed variants still average 0.120 and 0.123, so some attribution persists without edit-dependent training. The benefit is therefore associated with recovery after editing, and the trained architecture also retains some capability without editor exposure. Full per-channel results and the 16-bit width control appear in Appendix F.

Post-edit identification supervision provides the clearest accuracy benefit. The matched control changes all edit-dependent losses together. To examine the contribution of individual terms, we next remove one loss at a time on one feature from each domain. Table III reports identification accuracy. From these same runs, we also measure carrier ℓ1\ell_1 distortion and cosine similarity between embeddings of the marked input and its edited output, with all three metrics reported in Appendix § 1. Removing Lout\mathcal{L}_{\mathrm{out}} lowers accuracy by 0.184–0.261 and gives the lowest result in every domain. Removing Lcons\mathcal{L}_{\mathrm{cons}} lowers cosine alignment by 0.009–0.026 while identification increases in all three domains. Removing Lcar\mathcal{L}_{\mathrm{car}} changes carrier ℓ1\ell_1 by up to approximately 0.001 under the hard residual bound and produces mixed accuracy changes. Identification also depends on competing-user scores, so better cosine alignment alone need not improve accuracy, as the margin condition in Section IV-E indicates. Since Lsim\mathcal{L}_{\mathrm{sim}} is retained, these ablations cannot isolate the edit-fidelity term’s contribution to post-edit identification accuracy.

Figure 5. Identification accuracy as a function of carrier peak signal-to-noise ratio under InstructPix2Pix and sd-turbo editing.

Operational Range (RQ3)

The editor-dependent ordering persists at similar carrier fidelity. The methods have different carrier fidelity at their default strengths (Appendix B). To compare accuracy at similar distortion levels, we scale each marked-image residual with β∈{0.35,0.5,0.7,1.0,1.4}\beta\in\{0.35, 0.5, 0.7, 1.0, 1.4\} and plot carrier PSNR against post-edit accuracy. Each point covers 90 features and 60 images per feature. Near 33.7 dB, RoSteALS reaches 0.878 on InstructPix2Pix, compared with 0.732 for TRACEMARK (Fig. 5(a)). On the unseen sd-turbo channel, TRACEMARK instead reaches 0.618, compared with 0.052 for RoSteALS (Fig. 5(b)). This ordering holds across the plotted fidelity range. TrustMark and VINE-R also remain below TRACEMARK on sd-turbo. Appendix C provides the full sweep.

Similar edit magnitudes can produce different attribution outcomes. Section III-C compares IP2P and SDXL-Turbo at nearly equal latent displacement. Under that 90-feature protocol, TRACEMARK reaches 0.866 on IP2P and 0.430 on SDXL-Turbo. On the latter it exceeds RoSteALS at 0.249, but falls below VINE-R at 0.922 and Robust-Wide at 0.648. RQ1 and Appendix D report the complementary carrier-resolution control for the released baseline models.

User attribution can survive a change of instruction without retraining. The previous tests retain each model’s

Training instructionMarked meanMarked rangeUnmarked mean
CelebA-HQ
Add glasses0.8430.680–0.9750.003
Make smiling0.6130.120–0.9050.003
Make anime0.8580.735–0.9200.023
AFHQ-Dog
Turn into cat0.5400.365–0.8050.015
Turn into lion0.4250.250–0.7250.003
Make anime0.3050.190–0.4850.012
CUB-Bird
Make head red0.7400.630–0.8700.003
Make tail blue0.7570.665–0.8550.010
All 24 instruction pairs0.6350.120–0.9750.009

Table 4. Cross-instruction identification with fixed watermark models. Each source model is tested on three target instructions.

training instruction. To examine whether a task-specific model can also serve other requests, we keep InstructPix2Pix fixed and change only the instruction supplied at evaluation. We use eight trained models across the three domains and test each on three other instructions from the same domain, with 200 covers per pair. The source model embeds the user signal before the new edit, and its unchanged detector and prototypes identify the user afterward. Table IV summarizes the 24 instruction pairs, with mean accuracy of 0.635 on marked outputs and 0.009 on unmarked outputs. Recovery varies substantially with the target instruction. For example, the glasses-trained model reaches 0.975 for smiling but 0.680 for anime. The smiling-trained model reaches only 0.120 for a Van Gogh-style edit. These results demonstrate reuse for some requests beyond the training instruction, but do not establish reliable recovery for arbitrary instructions. Appendix G lists every source-target pair and its marked and unmarked accuracy.

Separately trained models support registries of up to 500 users. Figure 6 reports results for 100–500 users across four CelebA-HQ tasks. Mean accuracy ranges from 0.758 to 0.955, with 0.875 at N=500N = 500. Applying each detector to edited images without an embedded watermark gives mean accuracies from 0.0022 to 0.0101, close to the chance level 1/N1/N. This unmarked control covers all four tasks except at N=200N = 200, where paired records are available for two tasks. The near-chance unmarked results support the contribution of the embedded user signal to identification. Optimization budgets and per-task measurements appear in Appendix H for each of the five evaluated registry sizes.

Figure 6. Mean identification accuracy of population-specific models on marked and unmarked edited images.

Conclusion

We presented TRACEMARK for tracing edited images to the users who requested them. Joint training of user-conditioned watermark embedding and detection through a fixed editor improves attribution in matched controls across three domains, and separately optimized models support registries of up to 500 users. For an editing service, the resulting image-based signal can reconnect redistributed content with its request records when identifying metadata is unavailable. This link supports provenance tracking beyond the service interface under trusted user assignment. The findings also make exact user recovery a concrete target for watermark training and evaluation: for user attribution, a recovered signal must distinguish the intended user from others in the registry. Editor-aware training helps achieve this within the tested settings, while comparisons with released watermarks identify conditions in which existing methods already perform well. These comparisons guide the choice between released watermarks and task-specific training, with validation needed for the intended editor, carrier resolution, and image population.

References

MethodPSNR ↑SSIM ↑LPIPS ↓
TRACEMARK30.390.95660.0783
TrustMark42.080.98830.0010
RoSteALS29.070.85990.0348
VINE-R36.530.98330.0089

Table V. Carrier fidelity at each method’s native watermark strength over 90 semantic editing features.

Appendix A: Datasets and Editing Features

We evaluate faces from high-quality CelebA (CelebA-HQ) [33], animal faces from the Animal Faces-HQ (AFHQ) Dog split [34], and fine-grained birds from Caltech-UCSD Birds-200-2011 (CUB-200-2011) [35]. Their training pools contain 28,000, 4,739, and 5,994 images. CelebA-HQ and AFHQ-Dog are center-cropped. CUB bounding boxes are padded by 10% before cropping. All images are resized to 256×256256 \times256. Each domain has 30 short editing instructions. They cover identities, expressions, attributes, and styles for faces, breed, color, style, and action for dogs, and anatomical attributes for birds.

Appendix B: Baseline Configurations

We compare TRACEMARK with four released checkpoints. TrustMark, RoSteALS, and VINE-R receive one 100-bit codeword per user from the balanced greedy codebook used in the main paper. Robust-Wide retains its native 64-bit message. Attribution selects the registered codeword with the fewest bit differences from the decoded message. Equal-distance matches count as identification errors.

TrustMark [10] uses its released Q model with a 100-bit raw message, error-correcting code (ECC) disabled, and watermark strength 1.0. RoSteALS [11] uses the public vq-f4 first-stage backbone and released epoch=000017-step=000449999.ckpt checkpoint. VINE-R [3] uses the released Shilin-LU/VINE-R-Enc encoder and Shilin-LU/VINE-R-Dec decoder. Robust-Wide [4] uses its released 64-bit encoder and decoder. Both VINE-R and Robust-Wide produce native 512×512512 \times512 carriers. The common-resolution experiment resizes these to 256×256256 \times256, while the resolution control retains the native size through editing and decoding.

Every baseline uses the same covers, instructions, and editor seeds. Its decoder is evaluated on the resulting edited images. Carrier fidelity uses peak signal-to-noise ratio (PSNR), structural similarity index measure (SSIM) [38], and learned perceptual image patch similarity (LPIPS) [39].

Appendix C: Carrier-Strength Sweep

Table VI gives the complete measurements behind the main-paper carrier-strength figure. Each entry averages 60 images for each of 90 semantic editing features. We multiply the difference between the marked and original image by β\beta before editing, with β=1\beta= 1 retaining the original watermark strength. The carrier PSNR is measured before editing.

β\beta0.350.500.701.001.40
Carrier PSNR (dB)
TRACEMARK39.6736.5833.6530.5527.66
TrustMark50.8347.7344.8141.7138.79
RoSteALS36.9033.8130.8827.7924.89
VINE-R44.4741.3738.4535.3532.79
Identification accuracy: InstructPix2Pix
TRACEMARK0.2600.5050.7320.8600.913
TrustMark0.0560.1240.2730.4680.590
RoSteALS0.7140.8780.9450.9730.983
VINE-R0.1640.2400.3380.5040.659
Identification accuracy: sd-turbo, s=0.2s = 0.2
TRACEMARK0.1450.3700.6180.8460.934
TrustMark0.0070.0060.0080.0110.021
RoSteALS0.0270.0520.1360.4320.779
VINE-R0.0180.0350.0500.0960.157

Table VI. Carrier PSNR and post-edit identification accuracy across watermark strengths.

Appendix D: Carrier-Resolution and Domain Breakdowns

MethodPixelsIdentityIP2Psd-turbo s=0.2s = 0.2sd-turbo p2p-style s=0.3s = 0.3ChordEdit
TRACEMARK2560.9850.9070.8730.7800.287
TrustMark2561.0000.5570.0200.0070.015
5121.0000.9880.0350.0130.003
RoSteALS2561.0000.9950.4200.1380.083
5121.0000.9900.4250.1330.083
VINE-R2561.0000.6050.1000.0620.025
5121.0001.0001.0000.9980.993
Robust-Wide2561.0000.9750.2970.1470.050
5121.0001.0001.0000.9930.953

Table VII. Four-feature identification accuracy at 256- and 512-pixel carrier resolutions. IP2P denotes InstructPix2Pix.

The main paper summarizes the carrier-resolution control. This section gives the complete channel-level identification results, the corresponding edit displacement measurements, and the per-domain TRACEMARK breakdown.

The resolution control also measures each editor on unmarked covers. The same four features, covers, instructions, and seeds are used at both resolutions. Normalized latent displacement is measured with the fixed Stable Diffusion 1.5 variational autoencoder used for the main-paper edit-magnitude control.

Table VIII shows that the 512-pixel pipelines change the covers less, with ratios of 512-pixel to 256-pixel displacement from 0.64 to 0.85. Resolution thus changes both the watermark input and the editing operation. On the three unseen editing channels, VINE-R and Robust-Wide improve to at least 0.953, while TrustMark and RoSteALS remain nearly unchanged. TrustMark does improve substantially on InstructPix2Pix. These different responses show that the effect of resolution is method-dependent. No 512-pixel TRACEMARK model is evaluated here.

Editing channel256512Ratio
InstructPix2Pix0.5130.4360.85
sd-turbo, s=0.2s=0.20.4740.3700.78
sd-turbo, p2p-style s=0.3s=0.30.5060.4000.79
ChordEdit0.8690.5570.64

Table VIII. Edit displacement at carrier resolutions of 256 and 512 pixels.

Figure 7 separates the 90-feature TRACEMARK results by dataset. Both sd-turbo configurations retain higher accuracy than ChordEdit in every domain, so the aggregate ranking also holds within each dataset.

Figure 7. TRACEMARK identification accuracy by image domain and editing channel.

Appendix E: Implementation and Reproducibility

Table IX lists the main hyperparameters, with architecture, training, and evaluation details below. The implementation is PyTorch 2.6 with diffusers 0.27, and one model is trained per editing feature with no weight sharing across features. Within each model, all registered users share the encoder and detector weights, with separate user embeddings and prototypes.

SettingValue
User embedding dim dud_u64
Encoder blocks / width4 / 96
Carrier strength α\alpha0.07
Detector backbone widths64, 96, 128, 192, 256
Embedding dim dd128
Logit scale (init / cap)16 / 100
OptimiserAdam
Learning rate1.8×10−41.8 \times10^{-4}
Learning-rate schedulecosine to 5%
Training rounds TtrainT_{\mathrm{train}}170
Warm-up / ramp (rounds)35 / 90
GPUs / global batch6×\timesA100 / 24
Images per feature / users NN1,392 / 100
Editor steps6
Text / image guidance7.0 / 2.0
Resolution256 ×\times 256
Loss weights λid/sim/car/cons\lambda_{\mathrm{id/sim/car/cons}}3.2, 2.0, 0.85, 0.8
Edited-image weight λout\lambda_{\mathrm{out}}1.4
Seed1234

Table IX. Full TraceMark configuration for the paper-scale runs.

a) Identifier encoder: The encoder EθE_\theta broadcasts a learned du=64d_u=64 user embedding over the spatial grid and concatenates it with the three image channels, forming a 67-channel input. Four convolutional blocks (convolution, GroupNorm, SiLU) of width 96 process it, and a final 1×11 \times1 convolution produces a 3-channel residual δ\delta. The residual αtanh⁡δ\alpha\tanh\delta, with fixed α=0.07\alpha=0.07, is added to the cover before clipping to [−1,1][-1,1].

b) Detector and prototype bank: The detector DϕD_\phi is a five-stage strided convolutional backbone with channel widths 64→96→128→192→25664 \to96 \to128 \to192 \to256, followed by global average pooling and a linear projection to a d=128d=128 dimensional embedding. This embedding and the learned per-user prototypes are ℓ2\ell_2-normalized. Class logits are their cosine similarities multiplied by a learned positive scale, initialized to 16 and capped at 100. The detector is shared before and after editing.

c) Optimization and edit curriculum: The encoder, detector, and prototypes are trained jointly with Adam at learning rate 1.8×10−41.8 \times10^{-4}, cosine-annealed to 5% of its initial value over Ttrain=170T_{\mathrm{train}}=170 training rounds, using DistributedDataParallel across 6 A100-80GB graphics processing units (GPUs) with a global batch of 24 images (4 per GPU). Each round processes a fixed quota of 1,392 images per feature with random horizontal flips and assigns user indices by the deterministic mapping u=(tNimg+i) mod Nu=(tN_{\mathrm{img}}+i)\bmod N. Here the implementation uses zero-based user, round, and sample indices, and Nimg=1,392N_{\mathrm{img}}=1,392 is the per-round image quota. This assignment updates the N=100N=100 prototypes near-uniformly. The first twarm=35t_{\mathrm{warm}}=35 rounds use marked but unedited images (rt=0r_t=0). The editor is then included, and the weights of the three edit-dependent losses increase linearly to their full values over tramp=90t_{\mathrm{ramp}}=90 rounds, remaining fixed thereafter. Wall-clock time is about 4.5 h per feature. The full study of 90 features takes about 405 server hours, equal to roughly 2,430 A100 GPU-hours with six devices per run.

d) Editor invocation: The frozen editor is run with the EulerAncestralDiscreteScheduler for 6 inference steps at text guidance scale 7.0 and image guidance scale 2.0. Each watermarked cover and its clean counterpart use the same per-image seed, so the edit-fidelity comparison holds sampling randomness fixed. Gradients reach the encoder through the editor without updating the editor weights.

e) Evaluation protocol: The trained-editor and cross-editor comparisons use 100 images per feature across all 90 features. The equal-displacement study uses all 90 features and 50 images per feature. The carrier-resolution control uses four features and 100 images per feature. The carrier-strength sweep uses all 90 features and 60 images per feature. The population study uses four CelebA-HQ tasks at N∈{100,200,300,400,500}N \in\{100,200,300,400,500\} with the training-round and worker budgets reported in Table XII. Seeds are fixed within each paired comparison. The TRACEMARK carriers used in these evaluations are selected from outputs saved during the final training round on each training pool. The baselines receive the same covers in paired comparisons. The current protocol does not evaluate a disjoint cover split. Identification accuracy uses nearest-prototype matching for TRACEMARK and nearest-codeword matching for the bitstring methods.

Registry size NN100200300400500
Training rounds170200300400700
Workers68 / 36–866
Glasses0.9670.8910.9160.7820.870
Makeup0.9520.8760.8910.7000.869
Red hair0.9390.7540.8510.7180.900
Smiling0.9610.7350.8370.8310.861
Mean0.9550.8140.8740.7580.875
Unmarked0.01010.00440.00400.00220.0025

Table XII. Identification accuracy and optimization budgets for four CelebA-HQ tasks with registries from 100 to 500 users.

f) Detection scoring and model size: For watermark-presence detection, we evaluated four confidence scores: maximum softmax probability, the top-1 versus top-2 logit margin, the raw maximum logit max⁡vℓv\max_v \ell_v, and negative softmax entropy. Averaged over the 90 editing features, their mean areas under the receiver operating characteristic curve (AUCs) are 0.884, 0.834, 0.946, and 0.909 in the same order. These scores assess watermark presence separately from user identification. At N=100N=100 users the encoder EθE_\theta has 3.1×1053.1 \times10^5 and the detector DϕD_\phi has 8.8×1058.8 \times10^5 parameters.

Appendix F: Training Exposure and Attribution Methods

Table X gives the exact results summarized by the main-paper training-control figure. Within each feature, the four variants share the training data, random seed, GPU worker count, training-round budget, and encoder and detector backbones. The upper block reports the four-channel mean by feature. The lower block reports each channel after averaging over the three features. Exposed variants include InstructPix2Pix in training, while unexposed variants disable all edit-dependent losses. The Training columns subtract unexposed accuracy from exposed accuracy. The Method effect columns subtract binary-decoding accuracy from prototype-matching accuracy. The identity channel evaluates the same models on marked inputs before editing.

FeaturePrototype matching100-bit decodingMethod effect
ExposedUnexposedTrainingExposedUnexposedTrainingExposedUnexposed
Blond hair, CelebA-HQ0.7300.253+0.4770.6650.445+0.220+0.065−0.192
Angry, AFHQ-Dog0.7180.550+0.1670.5200.320+0.200+0.198+0.230
Crest, CUB-Bird0.6530.280+0.3730.6280.390+0.238+0.025−0.110
Mean0.7000.361+0.3390.6040.385+0.219+0.096−0.024
ChannelExposed, prototypeExposed, 100-bitUnexposed, prototypeUnexposed, 100-bit
Identity0.9800.8770.9830.983
Variational autoencoder round trip0.9500.8300.6230.717
InstructPix2Pix0.9200.7570.4200.410
sd-turbo, s=0.2s = 0.20.8570.7630.4730.560
sd-turbo, p2p-style s=0.3s = 0.30.7700.6730.4300.447
ChordEdit0.2530.2230.1200.123

Table X. Identification accuracy for the training-exposure and attribution-method control by image domain and editing channel.

All four variants retain mean identity-channel accuracy between 0.877 and 0.983. Training through the editor improves recovery after editing for both attribution methods in every domain.

Figure 8 supplies the additional watermark-width control. The 16-bit and 100-bit variants both reach 0.790 on InstructPix2Pix. Their ChordEdit accuracies are 0.280 and 0.300. Watermark width changes accuracy on unedited marked inputs, while the two binary decoders have similar accuracies on the tested editing channels.

Figure 8. Identification accuracy of editor-exposed variants with prototype matching, 16-bit decoding, and 100-bit decoding across six channels.

Appendix G: Cross-Instruction Reuse

The main paper summarizes reuse of eight task-specific models across 24 source-target instruction pairs. Three source models use CelebA-HQ, three use AFHQ-Dog, and two use CUB-Bird. For each model, three target instructions from the same domain are evaluated without retraining. Each pair uses 200 covers sampled from that source model’s retained image pool, with the user identifiers stored by its checkpoint. The source encoder marks each cover, InstructPix2Pix applies the target instruction, and the source detector and prototype bank predict the user. For the unmarked control, the same cover receives the same instruction and editor seed without watermark embedding. Identification accuracy is computed against the same assigned user in both conditions. These tests change the instruction and do not measure generalization to held-out images.

Table XI reports all pairs, weighted equally when computing means. Domain means are 0.772 for CelebA-HQ, 0.423 for AFHQ-Dog, and 0.748 for CUB-Bird. These tests measure instruction reuse without isolating the cause of individual accuracy drops.

Training instructionTest instructionMarkedUnmarked
CelebA-HQ
Add glassesMake older0.8750.005
Make smiling0.9750.000
Make anime0.6800.005
Make smilingAdd glasses0.9050.000
Make older0.8150.005
Van Gogh style0.1200.005
Make animeAdd glasses0.9200.020
Add makeup0.9200.025
Add beard0.7350.025
AFHQ-Dog
Turn into catTurn into lion0.3650.020
Make anime0.8050.010
Make red0.4500.015
Turn into lionMake anime0.7250.010
Make blue0.3000.000
Make purple0.2500.000
Make animeTurn into cat0.4850.030
Turn into lion0.1900.005
Turn into wolf0.2400.000
CUB-Bird
Make head redMake belly yellow0.7200.000
Make crown black0.6300.005
Make breast red0.8700.005
Make tail blueMake breast orange0.6650.010
Make beak longer0.8550.005
Make head red0.7500.015

Table XI. Identification accuracy for all cross-instruction pairs, with 200 images per pair.

Appendix H: Population-Capacity Measurements

Table XII records the values and optimization budgets summarized by the main-paper population figure. The N=200N = 200 glasses and makeup runs use eight workers. The red-hair and smiling runs use three. The N=300N = 300 row uses six to eight workers across tasks. All other rows use six. The unmarked-edit column averages the same four tasks except at N=200N = 200, where only the glasses and makeup paired records were retained.

Appendix I: Objective Ablations

We remove the carrier penalty Lcar\mathcal{L}_{\mathrm{car}}, embedding-consistency penalty Lcons\mathcal{L}_{\mathrm{cons}}, or post-edit identification term Lout\mathcal{L}_{\mathrm{out}} one at a time on one feature per domain. Table XIII reports identification accuracy, carrier ℓ1\ell_1 distortion, and cosine similarity between pre-edit and post-edit embeddings. The hard residual bound remains active in every variant. Removing Lout\mathcal{L}_{\mathrm{out}} gives the lowest accuracy in each domain. Removing Lcons\mathcal{L}_{\mathrm{cons}} lowers cosine alignment despite higher identification accuracy.

MetricDomainFullno Lcar\mathcal{L}_{\mathrm{car}}no Lcons\mathcal{L}_{\mathrm{cons}}no Lout\mathcal{L}_{\mathrm{out}}
Accuracy ↑\uparrowCelebA-HQ0.9270.9440.9630.743
AFHQ-Dog0.8540.8500.8850.593
CUB-Bird0.8180.8390.9050.613
Carrier ℓ1↓\ell_1 \downarrowCelebA-HQ0.0300.0310.0310.030
AFHQ-Dog0.0310.0310.0310.031
CUB-Bird0.0280.0290.0260.027
Cosine ↑\uparrowCelebA-HQ0.9520.9320.9430.902
AFHQ-Dog0.9330.9220.9120.873
CUB-Bird0.8740.8590.8480.791

Table XIII. Loss ablation in three image domains.

References

  1. [1]T. Brooks, A. Holynski, and A. A. Efros, “InstructPix2Pix: Learning to follow image editing instructions,” in CVPR, 2023.arxiv.org/abs/2211.09800
  2. [2]J. Cao, Q. Li, Z. Zhang, J. Ni, and R. Lu, “Secure and robust watermarking for AI-generated images: A comprehensive survey,” arXiv preprint arXiv:2510.02384v2, 2026.arxiv.org/abs/2510.02384
  3. [3]S. Lu, Z. Zhou, J. Lu, Y. Zhu, and A. W.-K. Kong, “Robust watermarking using generative priors against image editing: From benchmarking to advances,” in ICLR, 2025.arxiv.org/abs/2410.18775
  4. [4]R. Hu, J. Zhang, T. Xu, J. Li, and T. Zhang, “Robust-wide: Robust watermarking against instruction-driven image editing,” in ECCV, 2024.arxiv.org/abs/2402.12688
  5. [5]X. Wu, Q. Li, X. Li, Z. Zhang, L. Liu, and J. Ni, “Are watermarked images editable? SafeMark for watermark-preserving text-guided image editing,” CoRR, vol. abs/2605.19511, 2026.arxiv.org/abs/2605.19511
  6. [6]J. Zhu, R. Kaplan, J. Johnson, and L. Fei-Fei, “HiDDeN: Hiding data with deep networks,” in ECCV, 2018.arxiv.org/abs/1807.09937
  7. [7]M. Tancik, B. Mildenhall, and R. Ng, “StegaStamp: Invisible hyperlinks in physical photographs,” in CVPR, 2020.arxiv.org/abs/1904.05343
  8. [8]C. Qin, X. Li, Z. Zhang, F. Li, X. Zhang, and G. Feng, “Print-camera resistant image watermarking with deep noise simulation and constrained learning,” IEEE Trans. Multimedia, vol. 26, pp. 2164–2177, 2024.DOI
  9. [9]K. A. Zhang, L. Xu, A. Cuesta-Infante, and K. Veeramachaneni, “Robust invisible video watermarking with attention,” CoRR, vol. abs/1909.01285, 2019.arxiv.org/abs/1909.01285
  10. [10]T. Bui, S. Agarwal, and J. Collomosse, “TrustMark: Robust watermarking and watermark removal for arbitrary resolution images,” in ICCV, 2025, pp. 18 629–18 639.
  11. [11]T. Bui, S. Agarwal, N. Yu, and J. Collomosse, “RoSteALS: Robust steganography using autoencoder latent space,” in CVPR Workshops, 2023.
  12. [12]R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer, “High-resolution image synthesis with latent diffusion models,” in CVPR, 2022.arxiv.org/abs/2112.10752
  13. [13]P. Fernandez, G. Couairon, H. Jégou, M. Douze, and T. Furon, “The stable signature: Rooting watermarks in latent diffusion models,” in ICCV, 2023.arxiv.org/abs/2303.15435
  14. [14]C. Kim, K. Min, M. Patel, S. Cheng, and Y. Yang, “WOUAF: Weight modulation for user attribution and fingerprinting in text-to-image diffusion models,” in CVPR, 2024.arxiv.org/abs/2306.04744
  15. [15]C. Xiong, C. Qin, G. Feng, and X. Zhang, “Flexible and secure watermarking for latent diffusion model,” in Proceedings of the 31st ACM International Conference on Multimedia (MM), 2023, pp. 1668–1676.DOI
  16. [16]Z. Meng, B. Peng, and J. Dong, “Latent watermark: Inject and detect watermarks in latent diffusion space,” IEEE Trans. Multimedia, vol. 27, pp. 3399–3410, 2025.arxiv.org/abs/2404.00230
  17. [17]G. Zhang, L. Wang, Y. Su, and A.-A. Liu, “MarkPlugger: Generalizable watermark framework for latent diffusion models without retraining,” IEEE Trans. Multimedia, vol. 27, pp. 6211–6220, 2025.DOI
  18. [18]Y. Wen, J. Kirchenbauer, J. Geiping, and T. Goldstein, “Tree-rings watermarks: Invisible fingerprints for diffusion images,” in NeurIPS, 2023.DOI
  19. [20]H. Ci, P. Yang, Y. Song, and M. Z. Shou, “RingID: Rethinking tree-ring watermarking for enhanced multi-key identification,” in ECCV, 2024.
  20. [21]C. Meng, Y. He, Y. Song, J. Song, W. Ju, J.-Y. Zhu, and S. Ermon, “SDEdit: Guided image synthesis and editing with stochastic differential equations,” in ICLR, 2022.arxiv.org/abs/2108.01073
  21. [22]A. Hertz, R. Mokady, J. Tenenbaum, K. Aberman, Y. Pritch, and D. Cohen-Or, “Prompt-to-prompt image editing with cross-attention control,” in ICLR, 2023.arxiv.org/abs/2208.01626
  22. [23]K. Zhang, L. Mo, W. Chen, H. Sun, and Y. Su, “MagicBrush: A manually annotated dataset for instruction-guided image editing,” in NeurIPS, 2023.arxiv.org/abs/2306.10012
  23. [25]S. Sheynin, A. Polyak, U. Singer, Y. Kirstain, A. Zohar, D. Parikh, and Y. Taigman, “Emu Edit: Precise image editing via recognition and generation tasks,” in CVPR, 2024.arxiv.org/abs/2311.10089
  24. [26]B. An, M. Ding, T. R. Rabbani, A. Agrawal, Y. Xu, C. Deng, S. Zhu, A. Mohamed, Y. Wen, T. Goldstein, and F. Huang, “WAVES: Benchmarking the robustness of image watermarks,” in ICML, 2024, pp. 1456–1492.arxiv.org/abs/2401.08573
  25. [27]X. Zhao, K. Zhang, Z. Su, S. Vasan, I. Grishchenko, C. Kruegel, G. Vigna, Y.-X. Wang, and L. Li, “Invisible image watermarks are provably removable using generative AI,” in NeurIPS, 2024, pp. 8643–8672.arxiv.org/abs/2306.01953
  26. [28]M. Saberi, V. S. Sadasivan, K. Rezaei, A. Kumar, A. M. Chegini, W. Wang, and S. Feizi, “Robustness of AI-image detectors: Fundamental limits and practical attacks,” in ICLR, 2024.arxiv.org/abs/2310.00076
  27. [29]N. Lukas, A. Diaa, L. Fenaux, and F. Kerschbaum, “Leveraging optimization for adaptive attacks on image watermarks,” in ICLR, 2024.arxiv.org/abs/2309.16952
  28. [30]X. Wu, T. Tang, X. Li, J. Ni, and Y. Yu, “When there is no decoder: Removing watermarks from stable diffusion models in a no-box setting,” in ICICS, 2025, pp. 553–572.arxiv.org/abs/2507.03646
  29. [31]J. Cao, Q. Li, Z. Zhang, X. Wu, L. Liu, X. Li, and J. Ni, “MarkNull: Model-agnostic watermark removal in AI-generated images via on-manifold latent manipulation,” in 35th USENIX Security Symposium (USENIX Security 26). USENIX Association, 2026, pp. 4721–4740.arxiv.org/abs/2608.10166
  30. [32]C. E. Shannon, “A mathematical theory of communication,” The Bell System Technical Journal, vol. 27, no. 3, pp. 379–423, 1948.
  31. [33]T. Karras, T. Aila, S. Laine, and J. Lehtinen, “Progressive growing of GANs for improved quality, stability, and variation,” in ICLR, 2018.arxiv.org/abs/1710.10196
  32. [34]H. Choi, J. H. Yoo, and J.-W. Ha, “StarGAN v2: Diverse image synthesis for multiple domains,” in CVPR, 2020.arxiv.org/abs/1912.01865
  33. [35]C. Wah, S. Branson, P. Welinder, P. Perona, and S. Belongie, “The Caltech-UCSD birds-200-2011 dataset,” California Institute of Technology, Tech. Rep. CNS-TR-2011-001, 2011.
  34. [36]A. Sauer, D. Lorenz, A. Blattmann, and R. Rombach, “Adversarial diffusion distillation,” in ECCV, 2024, pp. 87–103.arxiv.org/abs/2311.17042
  35. [37]L. Lu, X. Chen, M. Guo, S. Li, J. Wang, and Y. Shi, “ChordEdit: One-step low-energy transport for image editing,” in CVPR, 2026, pp. 14 398–14 407.arxiv.org/abs/2602.19083
  36. [38]Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, “Image quality assessment: From error visibility to structural similarity,” IEEE Trans. Image Process., vol. 13, no. 4, pp. 600–612, 2004.pubmed.ncbi.nlm.nih.gov/15376593
  37. [39]R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang, “The unreasonable effectiveness of deep features as a perceptual metric,” in CVPR, 2018.arxiv.org/abs/1801.03924

Paper details

vlnc:W_km9y2uh7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 13

downloads · 2

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents