VeriOrigin: A Proactive Image Protection Framework for Provenance, Tamper Localization, and Lossless Recovery

Jiale Chen, Wei William Wang, Junnan Yin, Chongyang Shi, Li Dong, Yuanman Li, Xiping HuarXiv 2026

TL;DR

In an era where AI can rewrite the visual truth of an image in seconds, VeriOrigin acts as a comprehensive digital "black box." It’s a unified framework that proves an image's origin, pinpoints exactly where it was maliciously edited, and—crucially—can perfectly restore the original pixels as if the watermark were never there.

What Problem Does This Paper Address?

We are living in the Wild West of digital imagery. With tools like Stable Diffusion and Adobe Firefly, anyone can "repaint" or "swap" parts of an image with photorealistic precision. This creates a massive trust deficit. To fix it, we need to answer three hard questions:

  1. Provenance: Where did this image come from?
  2. Tamper Localization: Exactly which pixels were changed?
  3. Lossless Recovery: Can we get the original, bit-for-bit identical image back for legal or medical verification?

Most existing solutions are specialists. Robust watermarks are great at provenance but blind to where a change happened. Passive forensics can find edits but can't prove origin. VeriOrigin is the first "generalist" that handles all three tasks in a single, elegant system.

Methods

The secret sauce of VeriOrigin is a new neural architecture called XOnet.

Most "reversible" networks rely on complex "flow-based" architectures that can be difficult to train. Instead, the authors designed XOnet as a CNN-based invertible encoder. It works using a clever "checkerboard" strategy:

  • The Split: The image is divided into two sets of pixels, like the red and black squares on a checkerboard (Sets X and O).
  • Cross-Residual Prediction: A sub-network (Xnet) looks at Set X to predict the "residuals" (the tiny changes needed to embed data) for Set O. Then, another sub-network (Onet) looks at the newly watermarked Set O to predict the residuals for Set X.
  • Invertibility: Because of this symmetric design, if you know the watermark, you can run the math backward to perfectly subtract the residuals and recover the original image.
Figure 2. XOnet, the invertible encoder of VeriOrigin. The cover is split into two complementary sets, X and O. Xnet predicts the residuals of O, Onet those of X from the watermarked O, and running both networks backwards recovers the cover exactly.

The system is trained in two stages. First, they optimize for a robust watermark that can survive "attacks" like JPEG compression or blurring. Second, they freeze that part and train a "tamper-sensitive" branch that embeds a fragile signal specifically designed to break if even a small region of the image is edited.

Datasets

The authors put VeriOrigin through a gauntlet of modern image-editing scenarios using:

  • CocoGlide: Images edited using GLIDE inpainting.
  • COVERAGE: A classic dataset for "copy-move" and splicing forgeries.
  • CASIA v2.0: A large collection of hand-made image splices.
  • TGIF2: A new benchmark featuring edits from cutting-edge models like FLUX.1, Stable Diffusion 2, and Adobe Firefly.

Key Insights and Ideas

  • Architecture-Agnostic: One of the coolest features of XOnet is that it can "host" almost any standard CNN watermark encoder. You don't have to reinvent the wheel; you just plug an existing robust encoder into the XOnet framework to make it reversible.
  • The Distillation Trick: The authors showed they could take other famous watermarking models (like TrustMark) and "distill" their knowledge into XOnet. This effectively upgrades those older, non-reversible models with the power of lossless recovery.
  • Adaptive Localization: By training the tamper detector on already-watermarked images, the system learns to ignore the "noise" of the watermark itself and focus purely on malicious edits. This leads to incredibly clean detection masks.

Key Results

VeriOrigin sets a high bar for both protection and transparency:

  • Precision: On the CocoGlide dataset, it achieved an F1 score of 0.995 for tamper localization, significantly outperforming both active and passive baselines.
  • Robustness: The provenance watermark remains readable even after heavy JPEG compression (Quality Factor 70) and significant noise.
  • Invisibility: Despite carrying two different signals (watermark + tamper residual), the visual quality is excellent, with an LPIPS score of 0.0024 (where lower is better/more invisible).
  • Perfect Recovery: In lossless channels, the system guarantees bit-exact recovery, making it suitable for high-stakes fields like medical imaging or satellite reconnaissance.
Figure 4. Localisation on four TGIF2 samples, each with one condition: clean, JPEG 90, noise σ=8 and blur σ=0.5. Columns: input, tampered, GT, ours with “w/ wm”, ours “w/o wm”, GenPTW [22], EditGuard [76], MVSS-Net [16], PSCC-Net [37] and ManTraNet [67].

Limitations and Future Work

While powerful, VeriOrigin isn't magic. The authors note a few hurdles:

  • The Distillation Gap: While they can make other watermarks reversible via distillation, the "student" model (XOnet) isn't quite as robust as the original "teacher" model yet.
  • Texture Sensitivity: The system struggles slightly more with very smooth, low-texture images (like certain medical MR scans), where there's less "room" to hide the high-frequency signals needed for localization.
  • Side Information: To achieve perfect bit-exact recovery, the system needs to store a small amount of "auxiliary data" (an overflow map). While this is small enough to be hidden using standard techniques, it adds a layer of complexity to the file format.

Summary updated

Abstract

Versatile watermarking, which seamlessly integrates provenance and tamper detection, has recently attracted widespread attention. In this paper, we propose \textbf{VeriOrigin}, a comprehensive and unified image protection framework that not only robustly achieves provenance and highly precise tamper localization under various complex distortions, but also guarantees perfect recovery of the original cover in lossless channels. To realize this framework, we depart from conventional flow based architectures. Instead, we design \textbf{XOnet}, a CNN based invertible encoder. XOnet comprises two standard CNN based watermarking sub networks, Xnet and Onet, which achieve reversibility through cross residual prediction. Based on XOnet, we train the proactive protection scheme via a two stage strategy: first optimizing the watermarking branch, followed by the tamper localization branch. During inference, the cover image undergoes sequential watermarking and tamper residual embedding. Extensive experimental results on four datasets demonstrate that VeriOrigin achieves precise tamper localization and strong robustness, while guaranteeing lossless cover recovery for integrity authentication. Project page is available at https://veriorigin.github.io/
BibTeX
@misc{chen2026veriorigin,
  author = {Jiale Chen and Wei William Wang and Junnan Yin and Chongyang Shi and Li Dong and Yuanman Li and Xiping Hu},
  title = {{VeriOrigin: A Proactive Image Protection Framework for Provenance, Tamper Localization, and Lossless Recovery}},
  year = {2026},
  eprint = {2611.30523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30523},
}
Figure