arXiv:2611.07632cs.CVNov 2026

Manuscript Offprint

arXiv:2611.07632

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

Xiaodong Wu, Xiangman Li, Jianbing Ni, Rongxing Lu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xiaodong Wu, Xiangman Li, Student Member, IEEE, Jianbing Ni, Senior Member, IEEE, and Rongxing Lu, Fellow, IEEE,

Abstract—Images shared outside an editing service can lose the information linking them to the users who requested the edits. Recovering this link from the image itself would support provenance tracking after redistribution, but a user watermark must remain distinguishable after image content changes. We propose TRACEMARK, an editor-aware watermarking framework that learns to identify requesting users from edited images. A shared encoder embeds a user-specific watermark before editing, and a shared detector identifies the user by comparing image features with learned user reference vectors. The encoder and detector are trained jointly through an editor whose parameters remain fixed. Errors in identifying the user guide the encoder toward watermarks that remain recoverable after editing, while fidelity losses limit changes to the input and intended output. Each instruction and image domain has a separately trained model shared by its registered users. Controlled experiments across three domains show that including the editor in training improves user recovery with both reference-vector matching and binary watermark decoding. The benefit therefore extends across both identification methods tested. Separately trained models achieve 87.5% mean identification accuracy among 500 users. Tests that replace the editor without retraining the watermark modules also recover user information, although accuracy depends on the editor and input resolution. These findings support direct supervision of user identification when learning watermarks for text-guided editing.

Index Terms—Image watermarking, text-guided image editing, user attribution, watermark robustness, multimedia provenance, multimedia forensics.

I. 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?

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

Figure

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

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

X. Wu, X. Li, and J. Ni are with the Department of Electrical and Computer Engineering, Queen's University, Kingston, ON K7L 3N6, Canada. E-mail: {xiaodong.wu, xiangman.li, jianbing.ni}@queensu.ca.

R. Lu is with the School of Computing, Queen's University, Kingston, ON K7L 3N6, Canada. E-mail: rongxing.lu@queensu.ca.

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.

References (39)