Conceptio › Archive › arXiv CS
arXiv CS open access

Lossless Reversible Watermarking for AIGC with Applications in Authentication

Yupeng Qiu et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
AIGC watermarking is commonly used for tracing, but it can also support applications such as authentication and tampering detection. We study lossless reversible watermarking, which enables exact recovery of the original watermarked image after permissible distortions. By exploiting the relatively l
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Lossless Reversible Watermarking for AIGC with Applications in Authentication Yupeng Qiu1

Han Fang2

Ee-Chien Chang1

1

arXiv:2611.23395v1 [cs.CR] 17 Nov 2026

School of Computing, National University of Singapore, Singapore 2 School of Cyber Science and Technology, University of Science and Technology of China, Hefei, Anhui, China

Abstract

However, two fundamental challenges remain. First, robust watermark recovery does not necessarily guarantee resistance to adaptive forgery attacks, which may alter critical image content while preserving valid watermark information [14, 21, 29]. Second, authentication requirements are application-dependent and may not be known at generation time. For instance, in an image containing a person and a logo, modifying the logo may be acceptable for verifying the person’s identity but unacceptable for verifying the logo’s integrity. A fixed semantic representation may therefore discard information essential to subsequent verification tasks. These challenges raise two questions. First, how can watermark-based authentication resist adaptive forgery attacks without equating successful watermark recovery with content authenticity? Second, how can a watermark support authentication requirements that are not specified at generation time? To address these challenges, we propose a lossless reversible watermarking (LRW) framework that enables exact recovery of the original watermarked image for downstream authentication. Rather than committing to a predefined representation of image content, our framework preserves the information needed to recover the original image. The recovered original image then serves as a reference for application-specific verification, allowing downstream applications to determine which content properties to authenticate and which transformations to accept. For robustness, our framework builds on latent-space diffusion watermarking [7, 16, 20, 37, 38]. These methods embed information into the initial noise and recover it through diffusion inversion and decoding, enabling highcapacity watermarking while preserving generation quality. Prior work has demonstrated robustness against common image distortions [37, 38], diffusion-based purification [16, 20], and instruction-guided editing [20]. We use this robustness to extract the generation information needed for exact image recovery, rather than relying on watermark detection alone to determine content authenticity. For reversibility, we preserve the inputs needed to re-

AIGC watermarking is commonly used for tracing, but it can also support applications such as authentication and tampering detection. We study lossless reversible watermarking, which enables exact recovery of the original watermarked image after permissible distortions. By exploiting the relatively low entropy of the information required for image generation, together with robust latent-space watermarking, we design a framework that preserves sufficient information for lossless recovery. We then apply the framework to AIGC authentication, which generally faces two key challenges. First, the authentication mechanism must resist adaptive adversaries. Second, the content relevant to authentication, such as visual designs or expressed messages, may depend on application requirements that are not known at generation time. To solve these difficulties, we incorporate cryptographic message authentication to provide unforgeability against adaptive attacks. Lossless recovery provides the original image as reference evidence, after which a suitable analyzer can be selected to make the authentication decision. Experiments on Stable Diffusion demonstrate exact recovery under a wide range of distortions.

1. Introduction Diffusion models have made high-fidelity image generation widely accessible across diverse applications [30, 32, 33]. As generated images are increasingly shared, edited, and reused, verifying their authenticity requires distinguishing permissible transformations from modifications that invalidate the original content claims [1, 43, 44]. For example, replacing a person’s face may invalidate an identity claim even if the watermark remains detectable. Watermark-based image authentication has been extensively studied in traditional settings [13, 24]. Recent approaches have extended this paradigm to AI-generated images, with some methods binding watermarks to predefined semantic representations of the generated content [1, 44]. 1

generate the original watermarked image. A diffusion model generates an image from a prompt and initial Gaussian noise sampled using a random seed. We losslessly compress the prompt [11] and combine it with the seed, decoding metadata, and authentication information to form a watermark message embedded in the initial noise. During verification, the recovered message enables the verifier to restore the original prompt and reconstruct the exact watermarked initial noise. These inputs reproduce the original watermarked image under the same generation settings. For authenticity, we protect the watermark message using a cryptographic message authentication code (MAC) [3, 4]. Given a received image, the verifier first extracts the message and validates its MAC. If the MAC is valid, it recovers the original image and proceeds to content-level verification. An application-specific distance metric or analyzer then compares the recovered original with the received image to assess the relevant authenticity claims. The MAC protects the recovery information against forgery, while robust watermarking enables its recovery under permissible distortions. This separation of image recovery and contentlevel verification supports application-specific authentication without predetermining which image properties to protect at generation time. Our contributions are summarized as follows: • We propose a lossless reversible watermarking framework that separates original image recovery from downstream content verification. By recovering the whole original image rather than a limited set of predefined semantic features, our framework provides comprehensive reference evidence for authentication requirements specified after generation. • We design a compact watermark message and a reproducible embedding procedure that enable exact image recovery without maintaining a per-image archive. Cryptographic authentication further protects the recovery information against adaptive adversarial attacks. • We conduct extensive experiments across multiple watermarking methods, datasets, and image transformations, demonstrating the effectiveness of our framework in achieving lossless recovery of the original watermarked image and highlighting its potential for broader downstream authentication applications.

can be approximately reversed through diffusion inversion, which estimates the initial noise from a generated image. Latent-space watermarking exploits this property by embedding information into the initial noise and recovering it through diffusion inversion and watermark decoding. Tree-Ring [35] introduces structured Fourier-domain patterns for watermark detection. Subsequent methods extend this approach to multi-bit message embedding. Gaussian Shading [38] encodes messages through Gaussian interval sampling, while PRC [16] employs pseudorandom error-correcting codes to improve robustness and security. More recent methods explore tail-truncated sampling with session-key randomization [37], binary message mappings through spherical rotation and radial scaling [20], and sign-based embedding with learned invertible transformations [7]. These methods provide robust message embedding and recovery, but reliable content authentication requires an appropriate framework for using the recovered information. Our framework uses this capability to recover the original image as reference evidence for downstream authentication. Limited capacity further motivates lossless text compression.

2.2. Lossless text compression Images typically contain high-dimensional information and require substantial storage even after lossless compression. In contrast, natural language exhibits strong statistical regularities that enable efficient compression. Text-to-image diffusion models connect these two modalities by generating high-dimensional images from textual prompts and random seeds. Under fixed generation settings, this allows an image to be reconstructed from its generation inputs rather than its pixel data, providing an opportunity for lossless image recovery with substantially less information. Lossless text compression exploits statistical dependencies in language to reduce storage while preserving the original text exactly. Traditional methods combine probabilistic prediction with entropy coding [10, 36], while neural approaches improve compression through learned language models. Representative methods include DeepZip [15], which uses recurrent networks, and Language Modeling Is Compression [11], which demonstrates the compression capabilities of pretrained language models. Subsequent work further improves compression through model adaptation and efficient coding strategies, including FineZip [28], LMCompress [23], and test-time probability adjustment [41]. Building on these advances, our framework employs lossless text compression to reduce the watermark payload required to preserve the original prompt for exact image recovery.

2. Related Work 2.1. Latent-space diffusion watermarking Text-to-image latent diffusion models generate images from initial Gaussian noise sampled by a seeded pseudorandom generator. A text encoder converts the input prompt into conditioning features that guide iterative denoising, transforming the initial noise into a clean latent representation, which is then decoded into an image [32]. This process 2

Figure 1. Lossless Reversible Watermarking (LRW). The sender embeds the compressed prompt, seed, decoding metadata, and HMAC tag as a watermark message. The receiver verifies the extracted message, reconstructs the prompt and watermarked initial noise, and recovers the original image.

2.3. Adaptive attacks and message authentication

3. Method

Robust watermarks may remain detectable even after adversarial modifications to image content, enabling forgery attacks. A representative example is reprompting, which reuses estimated watermarked noise with a different prompt to generate new content [29]. To mitigate such attacks, semantic-aware methods bind watermarks to image content. SEAL [1] derives watermark patterns from caption-based features, while SemBind [44] introduces image-dependent semantic masks. However, these methods rely on learned semantic representations. Targeted attacks can manipulate image captions [8], while semantic injection can bypass SEAL’s verification [14].

Our method separates lossless image recovery from downstream content authentication. Lossless Reversible Watermarking (LRW) exploits the low entropy of generation information to enable exact recovery of the entire original image from a compact watermark. LRW-based authentication (LRW-Auth) then uses the recovered original as reference evidence to enable verification under the requirements of different applications.

3.1. Lossless Reversible Watermarking (LRW) LRW embeds the losslessly compressed prompt, seed, decoding metadata, and authentication information into the initial noise as a watermark message (Fig. 1). After extracting and verifying this message, the verifier recovers the prompt and reconstructs the watermarked initial noise to regenerate the original image.

Cryptographic techniques have also been explored to protect watermark information. MetaSeal [46] embeds digitally signed image captions, while a theoretical construction for robust publicly detectable watermarking [12] combines cryptographic signatures with image embeddings. In shared-secret settings, message authentication codes (MACs), such as HMAC, provide message integrity and authentication with security against adaptive message forgery [3, 4]. Our framework uses HMAC to authenticate the generation information required for lossless reversible watermarking, enabling secure recovery of the original image as reference evidence for downstream applications.

3.1.1. Watermark Construction and Embedding Watermark construction aims to preserve the information required for exact image recovery within a compact, authenticated message. Seed-based noise sampling and lossless prompt compression provide a compact representation of the generation information, while HMAC protects its integrity. An existing latent-space watermarking method embeds this message during image generation. The following 3

Figure 2. LRW-based authentication (LRW-Auth). LRW extracts and verifies the watermark message to recover the original image x. Failed recovery leads to rejection. Otherwise, Compare(y, x) evaluates the received image y against x according to the application’s authentication requirements, returning 1 for acceptance and 0 for rejection.

conditioning c = TextEnc(p). We denote its watermark embedding operation by WMenc and generate the watermarked image as follows:

paragraphs describe these components and their integration. Initial noise sampling. An LDM starts from Gaussian noise. We denote the seeded Gaussian sampler by G [22]: r = G(seed).

s = WMenc (M, r),

(1)

x = LDMΘ (s, c).

Here, r is Gaussian noise sampled from N (0, I). The same seed produces the same noise, allowing it to be regenerated during image recovery.

Here, Θ denotes the LDM parameters. The encoder embeds the message M into the Gaussian noise r to obtain the watermarked initial noise s. The LDM then generates the original watermarked image x from s and the prompt conditioning c.

Lossless prompt compression. We use a large language model (LLM) and arithmetic coding to losslessly compress the prompt p [11, 36]. The LLM supplies token probabilities to the arithmetic coder, which produces a variable-length binary code C. During encoding, the sender records the prompt’s token count and the bit length of C as metadata to support subsequent decoding. We write Compress(p) = (C, metadata).

3.1.2. Watermark Extraction and Image Recovery Image recovery aims to reconstruct the original watermarked image x from a possibly distorted observation y. Watermark extraction recovers the generation information, while HMAC verifies its integrity before reconstruction. Lossless prompt decompression and reconstruction of the watermarked initial noise provide the inputs needed to regenerate x under the sender’s generation settings. The following paragraphs describe these components and their integration.

(2)

Message format and authentication. Each sender shares a user-specific secret authentication key kID with the verifier. We authenticate the metadata, seed, and compressed prompt C using HMAC [3, 4] and include the resulting tag τ in the watermark message:

Complete message extraction. The verifier encodes y back into latent space and applies DPM-Solver inversion with an empty prompt [19]. Denoting the estimated initial noise by s̃, we write the extraction process as

τ = HMACkID (metadata ∥ seed ∥ C), M = τ ∥ metadata ∥ seed ∥ |{z} C . | {z } fixed-length part

(4)

(3)

variable-length part

s̃ = InvΘ (y),

Here, ∥ denotes concatenation. M is the complete watermark message to be embedded into the initial noise.

M̂ = WMdec (s̃).

(5)

Using the shared watermark configuration, the decoder first \ and extracts the fixed-length part, obtaining τ̂ , metadata, d It then reads the code length from metadata \ and seed. extracts the specified number of bits as the variable-length code Ĉ. Together, these fields form the complete message M̂ in the format of Eq. 3.

Watermark embedding and image generation. Our framework can use any latent-space watermarking method that supports embedding and recovery of the message M [16, 37, 38]. The text encoder converts the prompt p into 4

4. Experiments

Message verification. After the complete message has been extracted, the verifier checks its format and uses the sender’s authentication key kID to check whether the following equality holds: d ∥ Ĉ). \ ∥ seed τ̂ = HMACkID (metadata

We evaluate LRW through prompt compression, image quality, and message recovery, and examine its use in downstream authentication through LRW-Auth. Our instantiations demonstrate the framework with existing watermarking methods; measured quality and recovery rates reflect each method and its embedding configuration. Datasets. We use MS-COCO 2017 [25] and Stable Diffusion Prompts (SDP) [17] to evaluate generation quality, prompt compression, watermark robustness, and resistance to forgery attacks. W-Bench [27] provides source prompts and editing instructions for evaluating robustness to instruction-guided editing.

(6)

If extraction, parsing, or tag verification fails, the procedure reports failure and stops. Otherwise, the authenticated message is used for image regeneration. Image regeneration. Using the same tokenizer, LLM, and coding rules as the sender, the verifier decompresses the recovered code to obtain the prompt: \ Decompress(Ĉ, metadata) = p̂.

(7)

Methods and implementation. We instantiate LRW with PRC [16], Gaussian Shading [38], and T2SMark [37]. We additionally evaluate SEAL [1] and SemBind’s GS-S variant [44] for image quality and forgery resistance. For watermark generation, all methods use Stable Diffusion 2.1 Base at 512 × 512, with 50 sampling steps and a guidance scale of 3. Watermark extraction uses 50-step DPMSolver inversion based on the implementation of Hong et al. [19], with an empty prompt and a guidance scale of 3. Each method retains its watermark construction and semantic components. LRW uses Dream-v0-Base-7B [39] with arithmetic coding [36] for lossless prompt compression and the first 64 bits of HMAC-SHA256 for message verification. The seed and metadata use 8 and 20 bits, respectively. Experiments are conducted on NVIDIA A40 GPUs. Implementation and settings: Appendices A.1 and B.

The verifier then regenerates the Gaussian noise r̂ = d and obtains the prompt conditioning ĉ = G(seed) TextEnc(p̂). Repeating the sender’s watermark embedding and image generation gives ŝ = WMenc (M̂ , r̂), x̂ = LDMΘ (ŝ, ĉ).

(8)

Diffusion inversion is used only to extract the message. If the original message is correctly recovered, the verifier recovers the same prompt and reconstructs the same watermarked initial noise. Repeating image generation under the same model, sampling settings, and numerical execution then recovers the original image exactly, x̂ = x. We denote this recovery procedure by RecoverkID ,Θ (y).

3.2. LRW-Based Authentication LRW-based authentication (LRW-Auth) aims to support diverse authentication requirements without fixing them at generation time. LRW serves as the image-recovery module, providing the original image as reference evidence. An application-defined comparison determines which content to authenticate and what transformations are acceptable. The following paragraph describes how these components determine the authentication result.

Threat model. The attacker has full access to the algorithms and generation model, along with watermarked images, but not the sender’s authentication key kID . It can generate and manipulate images locally, covering distortions, purification, reprompting, editing, and attempts to forge embedded recovery information. Verification is available through a remote interface that returns only acceptance or rejection, allowing the attacker to adapt subsequent attempts.

Authentication framework. Given a received image y, LRW-Auth invokes the recovery module from Sec. 3.1.2 (Fig. 2). If recovery fails, authentication is rejected. Otherwise, the returned reference x is compared with y:

4.1. Compressed Prompt Lengths

Auth(y) = Compare(y, x) ∈ {0, 1}.

We evaluate the space required to preserve prompts using the lossless compressor in Sec. 3.1.1. After exact text deduplication, we encode all 593,968 MS-COCO prompts and 67,101 SDP prompts. Figure 3 shows the resulting codelength distributions. MS-COCO captions yield short, concentrated codes, with a mean of 73.09 bits and a standard deviation of 16.78 bits. SDP prompts produce longer and more variable codes, with a mean of 379.77 bits and a standard deviation of 163.42 bits. This difference reflects the concise scene descriptions in MS-COCO and the more detailed content and

(9)

Here, Compare is a general term for a user-defined comparison procedure, such as a distance-based decision rule or a task-specific analyzer. It assesses the received image against the recovered original, returning 1 for acceptance. The user determines which content to authenticate and what transformations are acceptable. These choices need not be fixed at generation time. 5

Percentage of prompts (%)

60

4.3. Resistance to Message Forgery

≤ 1,500 bits MS-COCO: 100% SDP: 99.83%

50 40

The attacker retains a valid tag but modifies the compressed prompt, seed, or decoding metadata, then submits candidate images to the authentication service. The attack succeeds if the modified recovery information passes HMAC verification and causes LRW to reconstruct a different reference image. We propose truncating HMAC-SHA256 to 64 bits to balance authentication overhead against watermark capacity. Let q be the total number of HMAC verification attempts under the same key. Modeling the truncated HMAC as a secret random function, the probability of accepting recovery information that the sender has never authenticated is at most q/264 [4, 5]. If the authentication service permits at most 224 attempts under each key, this probability is at most 2−40 . The limit applies to the combined attempts for all images and all verification servers using that key. Appendix E provides the security analysis.

30 20 10 0

0

400

800

1200

Compressed prompt length (bits)

1600

Figure 3. Distribution of losslessly compressed prompt lengths. We evaluate 67,101 unique SDP prompts and 593,968 MS-COCO prompts. The 1,500-bit threshold accommodates 100% of MSCOCO prompts and 99.83% of SDP prompts. Table 1. Image quality of LRW instantiations. Each LRW row applies the framework using the indicated watermarking method. All methods use the same generation settings.

Method

FID ↓

CLIP score ↑

Unwatermarked

20.00

0.3452

LRW (PRC [16]) LRW (GS [38]) LRW (T2SMark [37])

20.49 20.43 20.51

0.3454 0.3464 0.3467

SemBind [44] SEAL [1]

20.51 20.66

0.3461 0.3461

4.4. Robustness to Permissible Distortions We define permissible distortions as image transformations that preserve the content relevant to the application’s authentication requirements. We evaluate common transmission and processing distortions and diffusion-based purification at settings intended to retain image content. Figure 4 illustrates the visual effects of all six transformations on the same watermarked image. Each condition uses 100 images from each dataset. For each LRW instantiation, success requires complete message recovery and valid MAC verification. Transmission and processing distortions. We apply JPEG compression (quality 60), Gaussian noise (σ = 5/255), Gaussian blur (σ = 3, 7×7 kernel), and median filtering (7×7 kernel). These operations model image changes introduced during transmission and processing. Table 2 reports complete message recovery for the three LRW instantiations under these distortions.

style specifications in SDP. Their median lengths are 71 and 361 bits, respectively, while their 99th percentiles are 125 and 840 bits. SDP has a sparse right tail extending to 3,259 bits. A 1,500-bit budget accommodates all MSCOCO prompts and 99.83% of SDP prompts, with only 115 SDP prompts exceeding the threshold. Thus, lossless compression makes preserving the original prompt feasible within a compact watermark payload for the vast majority of inputs. Distribution fits appear in Appendix C.

Diffusion-based purification. Generative models can reconstruct a watermarked image after partial noising, seeking to suppress watermark signals while retaining image content [26, 45]. This differs from instruction-guided editing, which explicitly requests changes to image content. We evaluate CtrlRegen+ [26] at strength 0.1 and RegenDiffusion [45] at noise timestep 60. Table 3 reports complete message recovery under both purification methods (settings in Appendix F).

4.2. Image Quality We assess the image quality of LRW instantiated with PRC, Gaussian Shading (GS), and T2SMark using FID [18] and CLIP score [9, 31]. We compute FID using 5,000 images generated from MS-COCO prompts and the corresponding real images, and evaluate CLIP score on 1,000 SDP prompts and their generated images. Table 1 shows that all three LRW instantiations maintain image quality comparable to unwatermarked generation (Appendix D).

4.5. Forgery Attacks We evaluate reprompting [29], which estimates the initial noise of a watermarked image x and reuses it with a dif6

Original

JPEG compression

Gaussian noise

Gaussian blur

Median filtering

CtrlRegen+

Regen-Diffusion

Figure 4. Visual effects of the evaluated distortions. An LRW (T2SMark) image from SDP and its six transformed versions at the settings in Tables 2 and 3. Top: full images with the same region marked in red. Middle: fourfold enlargement of that region. Bottom: mean absolute RGB differences from the original region, shown on a shared linear color scale (8-bit intensity units, saturated at 64). Table 2. LRW under transmission and processing distortions. Message recovery success rate (%). Success requires complete message recovery and valid MAC verification. MS-COCO Instantiation

Clean

JPEG compression

LRW (PRC [16]) LRW (GS [38]) LRW (T2SMark [37])

100% 100% 100%

96% 99% 100%

SDP

Gaussian noise

Gaussian blur

Median filtering

99% 99% 100%

99% 99% 100%

93% 95% 100%

Table 3. LRW under diffusion-based purification. Message recovery success rate (%), using the same criterion as Table 2. Ctrl: CtrlRegen+; Regen: Regen-Diffusion.

Clean

JPEG compression

Gaussian noise

Gaussian blur

Median filtering

100% 100% 100%

96% 93% 98%

97% 99% 99%

99% 74% 100%

93% 58% 93%

Table 4. LRW recovery under reprompting. Complete sourcemessage recovery with valid MAC verification (%). Instantiation

MS-COCO Instantiation LRW (PRC [16]) LRW (GS [38]) LRW (T2SMark [37])

SDP

Ctrl

Regen

Ctrl

Regen

95% 96% 100%

99% 98% 100%

95% 63% 98%

97% 74% 99%

LRW (PRC [16]) LRW (GS [38]) LRW (T2SMark [37])

MS-COCO

SDP

97% 98% 99%

96% 89% 99%

Message Recovery with LRW. Table 4 reports complete source-message recovery with valid MAC verification for each LRW instantiation. These rates measure whether the generation information needed to reconstruct the original image remains available after reprompting. The recovered original then provides reference evidence for LRW-Auth’s content verification.

ferent prompt to generate new content y carrying the watermark. We use the same 100 source–target pairs per dataset, with source images from MS-COCO and SDP and target prompts from I2P [34]. The attack uses 50-step DDIM inversion followed by 50-step generation with a guidance scale of 7.5 (Appendix G.1). We examine source-message recovery by LRW and authentication of the received image by LRW-Auth separately.

Image Authentication with LRW-Auth. Table 5 reports ROC-AUC (↑) for distinguishing original watermarked images from reprompted forgeries using SemBind [44] and 7

Table 5. Forgery detection under reprompting. ROC-AUC (↑) for SemBind and SEAL. LRW-Auth’s forgery resistance follows from the two-case analysis below.

Method

MS-COCO

SDP

SemBind [44] SEAL [1]

0.9962 0.9772

0.9698 0.9042

LRW-Auth

Forgery resistance by design

Original reference

SEAL [1]. ROC curves: Appendix G.2; examples: Appendix G.3. SEAL bases forgery detection on captionderived features, while SemBind uses learned visual semantic masks. Content changes can escape verification when these representations do not sufficiently distinguish the original and forged images. Moreover, a predefined semantic representation may omit details relevant to a downstream application’s requirements. LRW-Auth guarantees that reprompting cannot bypass the application’s content verification merely by retaining a valid watermark. We analyze this guarantee through the two recovery outcomes below. For reprompting that reuses the source message, (1) if extraction or MAC verification fails, LRW-Auth rejects y; (2) if the original message is recovered and verified, LRW reconstructs the original image x. With this complete reference image, users can assess the changes relevant to their application through Compare(y, x), using an appropriate analyzer or direct human inspection. Once Compare(y, x) = 0 identifies a prohibited change, successful recovery also rejects the forgery. Together with rejection on recovery failure, this ensures that neither recovery outcome bypasses the user’s content criterion.

Edited image

Difference map

Figure 5. Reference-based comparison under image editing. A joint identity and logo edit (top) and an object replacement (bottom) illustrate comparison against original references. Brighter regions indicate larger perceptual differences. Table 6. LRW recovery under instruction-guided editing. Complete source-message recovery with valid MAC verification (%). Instantiation LRW (PRC [16]) LRW (GS [38]) LRW (T2SMark [37])

InstructPix2Pix MagicBrush GPT Image 86% 86% 90%

72% 83% 91%

64% 70% 76%

Image Authentication with LRW-Auth. A change in semantic representation does not by itself determine whether an application should reject the edit. Changes irrelevant to the selected authentication objective may remain acceptable. LRW provides the complete original as reference evidence, allowing the verifier to choose which content to authenticate and which transformations to accept without fixing these choices at generation time. The recovered reference therefore supports diverse authentication tasks through task-specific analyzers or human inspection. We visualize spatial LPIPS differences [42] between the original reference and the locally tampered image as heatmaps to indicate local perceptual changes.

4.6. Editing Attacks Instruction-guided editing changes selected image content, allowing us to examine both LRW recovery and the application-dependent decisions of LRW-Auth. We apply InstructPix2Pix [6], MagicBrush [40], and GPT Image using 100 source-prompt and editing-instruction pairs per editor from W-Bench [27]. Within each editor, these pairs are shared across all LRW instantiations (settings in Appendix H.1).

5. Conclusion

Message Recovery with LRW. Table 6 reports complete source-message recovery with valid MAC verification. These results demonstrate LRW instantiated with existing watermarking methods and their selected configurations. LRW specifies the generation information required for original-image recovery, while the recovery rates reflect the underlying watermarking method, message length, and embedding configuration. Qualitative comparisons appear in Appendix H.2.

We presented LRW, a lossless reversible watermarking framework that preserves compact generation information to recover the original watermarked image. Lossless prompt compression and deterministic reconstruction of the watermarked noise enable recovery without maintaining a perimage archive. HMAC protects the recovery information, while latent-space watermarking provides robustness to image transformations. Experiments across three watermark8

ing methods characterize prompt compression, image quality, and message recovery under distortions, purification, reprompting, and editing. Using the recovered original as reference evidence, LRW-Auth supports downstream authentication requirements without predetermining which image properties to protect at generation time.

ing a robust and publicly-detectable watermark. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, pages 1891–1899. PMLR, 2025. [13] J. Fridrich and Miroslav Goljan. Protection of digital images using self embedding. In Symposium on Content Security and Data Hiding in Digital Media, 1999. [14] Zheng Gao, Xiaoyu Li, Zhicheng Bao, Xiaoyan Feng, and Jiaojiao Jiang. Breaking semantic-aware watermarks via LLM-guided coherence-preserving semantic injection. In Proceedings of the ACM Web Conference 2026, pages 8569– 8572. Association for Computing Machinery, 2026. [15] Mohit Goyal, Kedar Tatwawadi, Shubham Chandak, and Idoia Ochoa. DeepZip: Lossless data compression using recurrent neural networks. In 2019 Data Compression Conference, page 575, 2019. [16] Sam Gunn, Xuandong Zhao, and Dawn Song. An undetectable watermark for generative image models. In International Conference on Learning Representations, 2025. [17] Gustavosta. Stable diffusion prompts. Hugging Face dataset, 2022. [18] Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local nash equilibrium. In Advances in Neural Information Processing Systems, 2017. [19] Seongmin Hong, Kyeonghyun Lee, Suh Yoon Jeon, Hyewon Bae, and Se Young Chun. On exact inversion of DPMsolvers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 7069–7078, 2024. [20] Xiaoxiao Hu, Jiaqi Jin, Sheng Li, Wanli Peng, Xinpeng Zhang, and Zhenxing Qian. Spherical watermark: Encryption-free, lossless watermarking for diffusion models. In International Conference on Learning Representations, 2026. [21] Anubhav Jain, Yuya Kobayashi, Naoki Murata, Yuhta Takida, Takashi Shibuya, Yuki Mitsufuji, Niv Cohen, Nasir Memon, and Julian Togelius. Forging and removing latentnoise diffusion watermarks using a single image. arXiv preprint arXiv:2504.20111, 2025. [22] De Zhang Lee, Han Fang, and Ee-Chien Chang. Proof-ofauthorship for diffusion-based AI generated content. In Proceedings of the 2026 ACM SIGSAC Conference on Computer and Communications Security, pages 1357–1371, 2026. [23] Ziguang Li, Chao Huang, Xuliang Wang, Haibo Hu, Cole Wyeth, Dongbo Bu, Quan Yu, Wen Gao, Xingwu Liu, and Ming Li. Lossless data compression by large models. Nature Machine Intelligence, 7:794–799, 2025. [24] Ching-Yung Lin and Shih-Fu Chang. SARI: Selfauthentication-and-recovery image watermarking system. In Proceedings of the Ninth ACM International Conference on Multimedia, pages 628–629. Association for Computing Machinery, 2001. [25] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: Common objects in context. In European Conference on Computer Vision, pages 740–755, 2014.

References [1] Kasra Arabi, R. Teal Witter, Chinmay Hegde, and Niv Cohen. SEAL: Semantic aware image watermarking. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 16196–16205, 2025. [2] Mihir Bellare. New proofs for NMAC and HMAC: Security without collision resistance. Journal of Cryptology, 28(4): 844–878, 2015. [3] Mihir Bellare, Ran Canetti, and Hugo Krawczyk. Keying hash functions for message authentication. In Advances in Cryptology—CRYPTO ’96, pages 1–15. Springer, 1996. [4] Mihir Bellare, Oded Goldreich, and Anton Mityagin. The power of verification queries in message authentication and authenticated encryption. Cryptology ePrint Archive, Paper 2004/309, 2004. [5] Dan Boneh and Victor Shoup. A graduate course in applied cryptography, 2023. Version 0.6, Chapter 6. [6] Tim Brooks, Aleksander Holynski, and Alexei A. Efros. InstructPix2Pix: Learning to follow image editing instructions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 18392–18402, 2023. [7] Xuanhang Chang, Zhonghao Yang, Cheng Zhuo, and Yu Li. MaxMark: High-capacity diffusion-native watermarking via robust and invertible latent embedding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9394–9403, 2026. [8] Hongge Chen, Huan Zhang, Pin-Yu Chen, Jinfeng Yi, and Cho-Jui Hsieh. Attacking visual language grounding with adversarial examples: A case study on neural image captioning. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2587–2597. Association for Computational Linguistics, 2018. [9] Mehdi Cherti, Romain Beaumont, Ross Wightman, Mitchell Wortsman, Gabriel Ilharco, Cade Gordon, Christoph Schuhmann, Ludwig Schmidt, and Jenia Jitsev. Reproducible scaling laws for contrastive language-image learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2818–2829, 2023. [10] John G. Cleary and Ian H. Witten. Data compression using adaptive coding and partial string matching. IEEE Transactions on Communications, 32(4):396–402, 1984. [11] Grégoire Delétang, Anian Ruoss, Paul-Ambroise Duquenne, Elliot Catt, Tim Genewein, Christopher Mattern, Jordi GrauMoya, Li Kevin Wenliang, Matthew Aitchison, Laurent Orseau, Marcus Hutter, and Joel Veness. Language modeling is compression. In International Conference on Learning Representations, 2024. [12] Jaiden Fairoze, Guillermo Ortiz-Jiménez, Mel Vecerik, Somesh Jha, and Sven Gowal. On the difficulty of construct-

9

[26] Yepeng Liu, Yiren Song, Hai Ci, Yu Zhang, Haofan Wang, Mike Zheng Shou, and Yuheng Bu. Image watermarks are removable using controllable regeneration from clean noise. In International Conference on Learning Representations, 2025. [27] Shilin Lu, Zihan Zhou, Jiayou Lu, Yuanzhi Zhu, and Adams Wai-Kin Kong. Robust watermarking using generative priors against image editing: From benchmarking to advances. In International Conference on Learning Representations, 2025. [28] Fazal Mittu, Yihuan Bu, Akshat Gupta, Ashok Devireddy, Alp Eren Ozdarendeli, Anant Singh, and Gopala Anumanchipalli. FineZip: Pushing the limits of large language models for practical lossless text compression. arXiv preprint arXiv:2409.17141, 2024. [29] Andreas Müller, Denis Lukovnikov, Jonas Thietke, Asja Fischer, and Erwin Quiring. Black-box forgery attacks on semantic watermarks for diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20937–20946, 2025. [30] Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. SDXL: Improving latent diffusion models for high-resolution image synthesis. In International Conference on Learning Representations, 2024. [31] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, pages 8748–8763, 2021. [32] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10684–10695, 2022. [33] Chitwan Saharia, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, Jonathan Ho, David Fleet, and Mohammad Norouzi. Photorealistic text-to-image diffusion models with deep language understanding. In Advances in Neural Information Processing Systems, pages 36479–36494, 2022. [34] Patrick Schramowski, Manuel Brack, Björn Deiseroth, and Kristian Kersting. Safe latent diffusion: Mitigating inappropriate degeneration in diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023. [35] Yuxin Wen, John Kirchenbauer, Jonas Geiping, and Tom Goldstein. Tree-rings watermarks: Invisible fingerprints for diffusion images. In Advances in Neural Information Processing Systems, 2023. [36] Ian H. Witten, Radford M. Neal, and John G. Cleary. Arithmetic coding for data compression. Communications of the ACM, 30(6):520–540, 1987. [37] Jindong Yang, Han Fang, Weiming Zhang, Nenghai Yu, and Kejiang Chen. T2SMark: Balancing robustness and diversity in noise-as-watermark for diffusion models. In Advances

in Neural Information Processing Systems, pages 118642– 118668, 2025. [38] Zijin Yang, Kai Zeng, Kejiang Chen, Han Fang, Weiming Zhang, and Nenghai Yu. Gaussian Shading: Provable performance-lossless image watermarking for diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12162– 12171, 2024. [39] Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao, Zirui Wu, Xin Jiang, Zhenguo Li, and Lingpeng Kong. Dream 7B: Diffusion large language models. arXiv preprint arXiv:2508.15487, 2025. [40] Kai Zhang, Lingbo Mo, Wenhu Chen, Huan Sun, and Yu Su. MagicBrush: A manually annotated dataset for instructionguided image editing. In Advances in Neural Information Processing Systems, 2023. [41] Qihang Zhang, Muchen Li, Ziao Wang, Renjie Liao, and Lele Wang. Test-time steering for lossless text compression via weighted product of experts. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 2076–2088, Suzhou, China, 2025. Association for Computational Linguistics. [42] Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 586–595, 2018. [43] Xuanyu Zhang, Zecheng Tang, Zhipei Xu, Runyi Li, Youmin Xu, Bin Chen, Feng Gao, and Jian Zhang. OmniGuard: Hybrid manipulation localization via augmented versatile deep image watermarking. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3008–3018, 2025. [44] Xin Zhang, Zijin Yang, Kejiang Chen, Linfeng Ma, Weiming Zhang, and Nenghai Yu. SemBind: Binding diffusion watermarks to semantics against black-box forgery attacks. In Proceedings of the 43rd International Conference on Machine Learning, pages 159761–159784. PMLR, 2026. [45] Xuandong Zhao, Kexun Zhang, Zihao Su, Saastha Vasan, Ilya Grishchenko, Christopher Kruegel, Giovanni Vigna, YuXiang Wang, and Lei Li. Invisible image watermarks are provably removable using generative AI. In Advances in Neural Information Processing Systems, 2024. [46] Tong Zhou, Ruyi Ding, Gaowen Liu, Charles Fleming, Ramana Rao Kompella, Yunsi Fei, Xiaolin Xu, and Shaolei Ren. MetaSeal: Defending against image attribution forgery through content-dependent cryptographic watermarks. Transactions on Machine Learning Research, 2026.

10

Lossless Reversible Watermarking for AIGC with Applications in Authentication Supplementary Material The supplementary material follows the order of the main paper. Section A expands the method, and Section B gives the experimental settings. Sections C–H provide details and additional results for each experiment in sequence.

PRC. PRC [16] encodes the message with a pseudorandom error-correcting code and maps the coded bits to Gaussian noise signs. Extraction estimates these bits from inverted noise and applies error correction. We use a key-generation false-positive parameter of 10−9 , posterior variance parameter 1.5, and at most 50 belief-propagation iterations. T2SMark. T2SMark [37] embeds bits through tail-truncated Gaussian sampling and keyed projection. The decoder reads the corresponding projections of the inverted noise. We use truncation parameter 0.674, a fixed 63-bit key for the fixed segment, and a 16-bit session value derived from the seed for the variable segment. This session value and all encoder randomness are regenerated during image recovery.

A. Method Details Algorithms S1–S3 detail Figs. 1 and 2. Here, HMAC includes the configured tag truncation.

A.1. Watermark Construction and Embedding Algorithm S1 LRW: watermark construction and embedding

A.2. Watermark Extraction and Image Recovery

Require: Prompt p, seed, authentication key kID Ensure: Original watermarked image x 1: (C, metadata) ← Compress(p) 2: τ ← HMACkID (metadata∥seed∥C) 3: M ← τ ∥metadata∥seed∥C 4: r ← G(seed) 5: s ← WMenc (M, r) 6: c ← TextEnc(p) 7: x ← LDMΘ (s, c) 8: return x

Algorithm S2 uses WMfix dec for the fixed-length fields and WMvar for C. The fixed-length configuration is known in dec advance, whereas decoding C requires the recovered length L̂. For T2SMark, the recovered seed also determines the variable-length decoding configuration. The complete message must pass HMAC verification before image regeneration. Extraction, parsing, or decompression errors return FAIL. Algorithm S2 LRW: watermark extraction and image recovery

Lossless prompt compression. Dream-v0-Base-7B [39] predicts token probabilities for arithmetic coding [36]. Tokens are encoded from left to right to produce the variablelength code C. Metadata stores the token count N and code length L = |C|, specifying when text decoding stops and how many bits belong to C. During decompression, the decoder uses the same LLM and coding settings to compute token probabilities from the tokens already recovered. Arithmetic decoding then recovers the next token from C. Repeating this process N times recovers the original prompt.

Require: Received image y, authentication key kID Ensure: Reconstructed image x on success; FAIL otherwise 1: s̃ ← InvΘ (y) d ← WMfix \ seed) 2: (τ̂ , metadata, dec (s̃) \ 3: Read code length L̂ from metadata d 4: Ĉ ← WMvar dec (s̃; L̂, seed) d Ĉ \ 5: M̂ ← τ̂ ∥metadata∥seed∥ ′ d Ĉ) \ 6: τ ← HMACkID (metadata∥seed∥ 7: if τ̂ ̸= τ ′ then 8: return FAIL 9: end if \ 10: p̂ ← Decompress(Ĉ, metadata) 11: if decompression fails then 12: return FAIL 13: end if d 14: r̂ ← G(seed) 15: ŝ ← WMenc (M̂ , r̂) 16: ĉ ← TextEnc(p̂) 17: x ← LDMΘ (ŝ, ĉ) 18: return x

Watermark instantiations. We instantiate the watermark encoder and decoder with three methods. Separate positions in the initial noise carry the fixed-length and variable-length segments. This allows the decoder to extract the code length before decoding the variable-length segment. Gaussian Shading. Gaussian Shading [38] embeds bits by sampling within Gaussian intervals. Our implementation repeats the message bits, applies a shared private mask, and maps the resulting bits to Gaussian noise signs. Extraction reverses the mask and combines repeated observations by majority voting. The setup mask is fixed across images.

Exact image recovery. The estimated noise s̃ is used only for message extraction. Image generation instead uses ŝ, reS1

respectively. Maximum-likelihood fitting gives LCOCO ∼ N (73.09, 16.782 ) and ln LSDP ∼ N (5.858, 0.4112 ), where L is the code length in bits. These fits predict a negligible probability of exceeding 1,500 bits for MS-COCO and approximately 0.020% for SDP. The observed SDP distribution has a heavier tail, with 0.171% of prompts exceeding this budget. Empirically, 1,500 bits cover all MS-COCO prompts and 99.83% of SDP prompts, confirming coverage of nearly all evaluated prompts. Table S2 reports the full statistics.

constructed by sampling from the recovered seed and embedding the verified message again. When M̂ = M , lossless decompression gives p̂ = p and repeated watermark embedding gives ŝ = s. Consequently, M̂ = M

=⇒

LDMΘ (ŝ, ĉ) = LDMΘ (s, c) = x. (S1) This equality uses the same model weights, sampling settings, numerical execution, and image conversion. Exact diffusion inversion is unnecessary because the initial noise is reconstructed from the recovered message.

Table S2. Empirical compressed-prompt statistics. All lengths are in bits; SD is the sample standard deviation.

A.3. LRW-Based Authentication Algorithm S3 uses LRW as the recovery module. The application can select Compare after generation to specify the content and acceptance criterion, before evaluating candidate images.

Statistic Unique prompts Mean SD Median 95th percentile 99th percentile Maximum Coverage at 1,500 bits

Algorithm S3 LRW-Auth: image authentication Require: Received image y, authentication key kID , applicationdefined Compare Ensure: Acceptance (1) or rejection (0) 1: x ← RecoverkID ,Θ (y) 2: if x = FAIL then 3: return 0 4: end if 5: if Compare(y, x) = 1 then 6: return 1 7: else 8: return 0 9: end if

Generation model Image / latent dimensions Generation solver Generation steps / guidance Inversion steps / guidance Inversion prompt / order Diffusion computation VAE latent refinement Learning rate / loss Warmup / cosine horizon Hardware

Stable Diffusion 2.1 Base 512 × 512 / 4 × 64 × 64 DPM-Solver, order 1 50 / 3 50 / 3 Empty / 0 FP32 20 Adam updates 0.1 / summed squared error 10 / 100 updates NVIDIA A40 GPU

593,968 73.09 16.78 71 102 125 397 100%

67,101 379.77 163.42 361 628 840 3,259 99.83%

FID [18] uses the 2,048-dimensional Inception features in pytorch-fid, with one caption per COCO validation image. CLIP score [9, 31] is the mean normalized image– text cosine similarity from OpenCLIP ViT-g/14 with the LAION-2B checkpoint. Each method is evaluated once using the same prompts. SemBind uses GS-S with the released 1,024-bit semantic hash model and mask ratio 1. SEAL uses its BLIP2 captioner and caption embedding model, with 1,024 latent patches and seven-bit semantic codes. Both retain their original semantic construction and detection procedures.

Table S1. Generation and extraction configuration. Value

SDP

D. Image Quality

B. Experimental Settings

Setting

MS-COCO

E. Resistance to Message Forgery The attacker modifies the compressed prompt, seed, or decoding metadata to make LRW reconstruct a different reference image. Without the sender’s authentication key kID , it tests candidate images through the remote authentication service. Message forgery succeeds if the service accepts recovery information that the sender has never authenticated. Let t be the tag length and q the total number of HMAC verification attempts under the same key. Each candidate message and tag checked by the service counts as one attempt, including checks performed for different images or on different servers. In the ideal model, the truncated HMAC is a secret random function. The probability of a successful forgery within q attempts is at most q/2t , even when the attacker uses previous verification

C. Compressed Prompt Lengths Figure S1 compares empirical compressed-prompt lengths with normal and lognormal fits for MS-COCO and SDP, S2

(a) MS-COCO

(b) SDP Prompts per 20-bit bin (%)

Empirical Normal fit

15.0

Prompts per 5-bit bin (%)

7

12.5 10.0 7.5 5.0 2.5 0.0

0

100

200

300

Compressed prompt length (bits)

5 4 1,500 bits

3 2 1 0

400

Empirical Lognormal fit

6

0

400

800

1200

Compressed prompt length (bits)

1600

Figure S1. Empirical and fitted compressed-prompt distributions. Histograms of MS-COCO and SDP are shown with normal and lognormal fits, respectively. Bin widths are 5 and 20 bits. Fitting and normalization use all prompts; the SDP display ends at 1,600 bits. The dashed line marks 1,500 bits.

(b) SDP 1.00

0.75

0.75

True positive rate

True positive rate

(a) MS-COCO 1.00

0.50

0.25

0.00

0.50

0.25

SemBind (AUC 0.9962) SEAL (AUC 0.9772) 0.00

0.25

0.50

False positive rate

0.75

0.00

1.00

SemBind (AUC 0.9698) SEAL (AUC 0.9042) 0.00

0.25

0.50

False positive rate

0.75

1.00

Figure S2. Empirical ROC curves under reprompting. Original watermarked images are positives and reprompted images are negatives. Thus, the false positive rate is the fraction of reprompted images accepted at a score threshold. Curves use the saved per-image detection scores and reproduce the AUCs in Table 5.

responses to choose subsequent attempts [4, 5]. Under the pseudorandom-function assumption for HMAC [2], the bound becomes

rier is acceptable.

F. Robustness to Permissible Distortions We use JPEG compression at quality 60 with chroma subsampling, additive RGB Gaussian noise with standard deviation 5/255, Gaussian blur with standard deviation 3 and a 7 × 7 kernel, and median filtering with a 7 × 7 kernel. CtrlRegen+ [26] uses Realistic Vision V4.0, the finetuned MSE VAE, UniPC sampling, guidance scale 2, and strength 0.1. This runs five denoising steps from a 50-step schedule. Canny thresholds are 100 and 150, both control scales are 1, and the output uses the implementation’s color matching. Regen-Diffusion [45] uses SD2.1 Base, noise

Pr[message forgery] ≤ min{1, q/2t + εHMAC }, where εHMAC is the attacker’s advantage in distinguishing HMAC from a random function. For the proposed 64-bit configuration, the service allows at most 224 attempts in total under each key and rejects further requests under that key. The ideal forgery probability is then at most 224 /264 = 2−40 . Reusing recovery information already authenticated by the sender is not message forgery; image comparison determines whether its new carS3

Forgery rejected (defense success) Original

Forgery accepted (defense failure)

Reprompted

Original

Reprompted

(a) SemBind / MS-COCO

(b) SEAL / MS-COCO

(c) SemBind / SDP

(d) SEAL / SDP

Figure S3. Forgery detection by SemBind and SEAL. Rows (a)–(b) compare the two methods on MS-COCO, and rows (c)–(d) on SDP. Each method is shown with one successfully rejected forgery (left) and one accepted forgery (right), alongside their original watermarked images. Detection thresholds are specified in Sec. G.3.

timestep 60, a 50-step schedule, guidance scale 7.5, and an empty prompt.

S4

Original reference

InstructPix2Pix

MagicBrush

GPT Image

(a) Snowy setting

PASS

FAIL

FAIL

(b) Tulips to butterflies

FAIL

PASS

PASS

Figure S4. Editing a shared original with different editors. Both rows use LRW (T2SMark). Within each row, all three editors receive the same original image and editing instruction. PASS and FAIL denote complete original-message recovery with a valid MAC. Every editor has one successful and one failed recovery.

G. Forgery Attacks

threshold of two matching semantic patches, calibrated on a separate set of unwatermarked images. A forged image accepted by the detector represents a failure to reject the forgery.

G.1. Reprompting Protocol Reprompting [29] uses direct VAE posterior-mean encoding and 50-step DDIM inversion with an empty prompt and guidance 1. The estimated noise and assigned target prompt then undergo 50-step DDIM sampling with guidance 7.5 and η = 0. There is one candidate per source, without access to the source prompt, stored noise, recovery message, or private keys.

H. Editing Attacks H.1. Editing Protocol InstructPix2Pix [6] and MagicBrush [40] use 100 Eulerancestral steps, text guidance 7.5, and image guidance 1.5. MagicBrush uses the released epoch-52 checkpoint. Editing instructions and random seeds are shared across LRW instantiations within each editor. GPT editing uses gpt-image-2.5-sunburst2026-09-08 with automatic quality and one opaque PNG per instruction. Outputs are converted to RGB and resized from 1024 × 1024 to 512 × 512 using LANCZOS. Each editor is evaluated on 100 source–instruction pairs.

G.2. Forgery Detection Curves Figure S2 reports ROC curves using 100 original images and their 100 reprompted counterparts per dataset. SemBind uses recovered-bit accuracy after semantic unbinding [44]; SEAL uses the number of semantic patches whose distance is below 2.3 [1]. Higher scores favor original images. AUC is computed over all observed thresholds, with half credit for ties.

H.2. Qualitative Examples

G.3. Qualitative Examples

Figure S4 compares three editors using the same LRW (T2SMark) original and instruction within each row. Every editor is shown with one successful and one failed message recovery.

Figure S3 shows successful and failed forgery rejection by SemBind and SEAL on both datasets. SemBind uses its native bit-accuracy threshold of 0.6484375. SEAL uses a

S5

Related documents

Record · ID 1702400 · SHA-256 062c7efd930c8ea1
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive