VeriOrigin: A Proactive Image Protection Framework for Provenance, Tamper Localization, and Lossless Recovery
Authors: Jiale Chen, Wei William Wang, Junnan Yin, Chongyang Shi, Li Dong, Yuanman Li, Xiping Hu
Organizations: Beijing Institute of Technology · Shenzhen MSU-BIT University · Macao Polytechnic University · Zhongguancun Laboratory, Beijing, China · Ningbo University · Shenzhen University
Versatile watermarking, which seamlessly integrates provenance and tamper detection, has recently attracted widespread attention. In this paper, we propose 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 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/
Figures & tables
Figure 1: Overview of the VeriOrigin. After embedding via VeriOrigin, the image supports integrity authentication under lossless channels, as well as tamper localization and watermark provenance under lossy channels.
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.
Figure 3: Two-stage training of VeriOrigin. Stage one optimizes the watermark branch through the differentiable distortion layer; stage two freezes it and trains the tamper branch on the marked image, so the detector sees the residual it meets rather than a clean cover.
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 ] .
method
CocoGlide
COVERAGE
CASIA v2.0
Ours w/ wm
0.995 /0.990
0.995 /0.991
0.974 /0.950
Ours w/o wm
0.995 /0.990
0.995 /0.991
0.973/0.948
GenPTW [ 22 ]
0.961/0.927
0.954/0.929
0.858/0.812
EditGuard [ 76 ]
0.899/0.825
0.947/0.901
0.862/0.770
PSCC-Net [ 37 ]
0.439/0.347
0.201/0.128
0.542/0.444
MVSS-Net [ 16 ]
0.062/0.045
0.005/0.003
0.195/0.149
Table 1: Clean localisation (F1/IoU) on CocoGlide [ 47 , 36 ] , COVERAGE [ 59 ] and CASIA v2.0 [ 17 ] sets; “w/o wm” drops the payload. Bold: best of the column; shaded: best proactive localiser.
JPEG (QF)
Gaussian blur ( σ )
Gaussian noise ( σ )
method
clean
90
80
70
1.0
1.2
1.25
8
21
23
Ours w/ wm
0.998 /0.995
0.960/0.929
0.931/0.884
0.869/0.793
0.989/0.980
0.981/0.964
0.866/0.792
0.993 /0.986
0.949/0.922
0.854/0.803
Ours w/o wm
0.998 /0.995
0.967 /0.944
0.954 /0.921
0.892 /0.829
0.994 /0.987
0.989 /0.978
0.870/0.802
0.993 /0.986
0.964 /0.942
0.876 /0.835
GenPTW [ 22 ]
0.976/0.956
0.855/0.774
0.721/0.609
0.618/0.491
0.956/0.930
0.945/0.913
0.892 /0.830
0.960/0.925
0.834/0.740
0.802/0.702
EditGuard [ 76 ]
0.976/0.952
0.360/0.220
0.360/0.220
0.360/0.220
0.360/0.220
0.360/0.220
0.360/0.220
0.436/0.279
0.364/0.223
0.364/0.222
PSCC-Net [ 37 ]
0.408/0.274
0.260/0.186
0.140/0.105
0.089/0.067
0.350/0.214
0.351/0.214
0.357/0.218
0.257/0.173
0.136/0.084
0.134/0.083
Table 2: Localisation on TGIF2 over 100 of the 500 test pairs, as F1/IoU against the ground truth. “w/o wm” drops the payload, so the gap between the two rows is its cost. Bold: best of any method; shaded: best entry among the active localisers.
Figure 5: Stego (left) and 8× residual (right) of each watermark on four covers, at the native resolution of the method: VeriOrigin, CRMark [ 10 ] , MBRS [ 30 ] , TrustMark [ 8 ] , InviMark [ 68 ] and GenPTW [ 22 ] . The gain of eight keeps the weaker textures visible.
method
size
bits
PSNR
SSIM
LPIPS
Ours w/ wm
512
100
32.10
0.827
0.0024
CRMark [ 10 ]
256
64
40.22
0.970
0.0006
TrustMark [ 8 ]
256
100
41.39
0.983
0.0013
InviMark [ 68 ]
256
100
42.70
0.994
0.0011
MBRS [ 30 ]
256
256
39.55
0.972
0.0199
GenPTW [ 22 ]
512
64
31.81
0.856
0.0511
Table 3: Visual quality on the TGIF2 [ 42 ] covers at the native resolution and payload of each method; PSNR in dB, SSIM and LPIPS against the cover, each at its native size.
Figure 6: Auxiliary information of the embedding on TGIF2 for the three variants the pipeline touches: payload only (watermark branch), carrier only (tamper branch), and the delivered image (carrier first, payload on top). (a) samples outside [0,255] , (b) rANS cost of the map, (c) that cost per pixel. Boxes are the distribution over images, diamonds the means, dashes the means in (b) and (c).
JPEG
Gaussian noise
Gaussian blur
random crop
salt–pepper
resize
method
tampered
90
80
70
8
22
23
0.5
1.0
1.5
5%
15%
30%
0.5%
1%
2%
0.75
0.5
0.35
Ours w/ wm
1.000
0.995
0.984
0.949
1.000
0.998
0.998
1.000
0.999
0.999
0.999
0.993
0.961
1.000
0.999
0.995
0.999
0.999
0.999
CRMark [ 10 ]
0.953
0.941
0.928
0.909
0.940
0.926
0.925
0.950
0.945
0.920
0.945
0.907
0.773
0.952
0.949
0.945
0.945
0.600
0.509
MBRS [ 30 ]
0.918
0.917
0.916
0.917
0.916
0.898
0.895
0.917
0.914
0.904
0.906
0.826
0.709
0.918
0.911
0.897
0.916
0.902
0.785
TrustMark [ 8 ]
0.840
0.835
0.825
0.810
0.810
0.734
0.730
0.839
0.838
0.837
0.843
0.818
0.722
0.798
0.746
0.672
0.836
0.835
0.818
InviMark [ 68 ]
0.810
0.782
0.749
0.718
0.781
0.674
0.664
0.812
0.807
0.800
0.825
0.826
0.812
0.812
0.810
0.809
0.808
0.786
0.502
Table 4: Payload accuracy on TGIF2, read back from the forged image. Bits: MBRS 256, CRMark, GenPTW and EditGuard 64, VeriOrigin 100. Bold: best of the column; columns group JPEG, noise, blur, crop, salt-pepper and resize.
Watermark Branch
Tamper Detection Branch
Role
100 bit Message
Localization
Architecture
XOnet
XOnet
Parameters
25.43 M
24.00 M
Xnet / Onet
2.37 M / 2.37 M
8.00 M / 8.00 M
Read-out
20.70 M
8.00 M
Base Channels / Depth
4 / –
8 / 6
Table S1 : Configuration of the two branches during training.
Table 12
Distortion
Watermark
Tamper
Gaussian blur
σ=1.0
σ=1.0
Median filter
kernel 5
kernel 5
Gaussian noise
std 0.05
std 0.05
Salt & pepper
ratio 0.05
–
JPEG surrogate
Q=50
Q=50
Resize
0.7×
–
Table S4 : The differentiable distortion layer applied between the stego and the decoder during training. Each step draws one attack uniformly and applies it to the entire batch.
Test Resolution
F1
IoU
512×512
0.995
0.991
256×256
0.996
0.992
384×384
0.995
0.990
Table S5 : Effect of the test resolution for the tamper branch on TGIF2 [ 42 ] . The model is trained on 256×256 patches, and resampling the input incurs an F1 difference of at most 0.002 .
Figure S1 : Localisation on two clinical studies, all methods shown. Columns: the image that VeriOrigin delivers, mapped to eight bit for display; the forged image with the ground truth outlined in green; and each method’s map above 0.5 , tinted and outlined in red. Our map is drawn on the delivered image with the planted edit spliced in, which is exactly what the detector reads, while every baseline is drawn on the forged cover, which is what those detectors read. Rows: one 16 -bit CT series (LIDC-IDRI) and one 16 -bit MR series. The edit is planted by the probe, so its rectangle is exact; our map encloses it and GenPTW stays compact, whereas EditGuard and PSCC-Net flood the field of view, ManTraNet follows the lung boundary, and MVSS-Net mostly misses, as passive maps track anatomy rather than the edit.
Figure S2 : Localisation on two 16 -bit Sentinel-2 chips, every method shown, with the same columns as Figure S1 . The first column is our delivered image mapped to eight bit, and our map is drawn on it with the planted field replacement spliced in. VeriOrigin and EditGuard localise the edit; GenPTW saturates the whole crop, and the passive detectors mark texture rather than the edit.
(a) Native depth embedding results of VeriOrigin
Set
Images
Bits
PSNR (dB)
Overflow (%)
Aux (kbit)
Payload (%)
CT, clinical
76
16
36.34 [36.17, 36.51]
0.000
0.0
100.0
MR, clinical
24
16
35.82 [35.78, 35.87]
0.868
56.6
100.0
medical, all
100
16
36.21 [35.78, 36.51]
0.208
13.6
100.0
Sentinel 2 L2A
100
16
35.09 [34.69, 35.91]
2.078
83.1
100.0
(b) Localization F1 scores on the same images
Table S6 : Comparison of VeriOrigin and five baselines on identical images. (a) Native depth embedding: the clinical sets are 16 -bit 512×512 stacks; remote sensing contains 100 Sentinel 2 L2A crops. Overflow is the fraction of samples outside [0,2b−1] ; aux is the side map size. The model shifts the write by a few levels to minimize this map, which the receiver removes. (b) Localization on the same crops with two to four random edits. VeriOrigin leads on three of the four sets; GenPTW is slightly ahead on MR stacks ( 0.750 vs. 0.715 ).
Set
Model
PSNR
SSIM
LPIPS
Payload
Overflow
Aux
(dB)
(%)
(%)
(bit)
DIV2K (200)
TrustMark (teacher)
40.39
0.9859
0.0011
99.90
–
–
distilled
41.82
0.9888
0.0009
98.43
0.010
303
InvisMark (teacher)
43.20
0.9956
0.0008
95.89
–
–
distilled
44.55
0.9970
0.0006
95.61
0.010
293
TGIF2 (200)
TrustMark (teacher)
41.39
0.9847
0.0012
99.94
–
–
Table S7 : Teachers and distilled students. Left: fidelity, SSIM [ 58 ] and LPIPS, and the payload read back by the teacher’s own frozen decoder. Right: overflow is the share of protected images that leave the valid range and aux the rANS bitstream that codes them.
TrustMark
InvisMark
Family (mild / mid / severe)
Teacher
Distilled
Δ
Teacher
Distilled
Δ
Clean
99.9
98.6
−1.3
95.5
95.1
−0.4
JPEG (90/80/70)
99.6 / 99.2 / 98.9
96.9 / 95.9 / 93.6
−3.8
65.4 / 59.3 / 57.2
59.6 / 57.0 / 56.4
−3.0
Noise (8/22/23)
99.2 / 91.4 / 91.0
94.9 / 85.3 / 84.2
−5.7
93.4 / 74.1 / 71.8
92.8 / 67.8 / 64.8
−4.6
Blur (0.5/1.0/1.5)
99.9 / 99.9 / 99.8
98.6 / 97.9 / 97.6
−1.8
95.5 / 95.5 / 62.8
95.1 / 95.0 / 59.1
−1.5
Crop (5/15/30%)
99.9 / 99.9 / 92.5
98.5 / 97.2 / 89.2
−2.5
95.5 / 95.5 / 95.1
95.1 / 95.1 / 95.0
−0.3
Table S8 : Payload accuracy under distortion. Each cell reports accuracy extracted by the teacher’s decoder; Δ is the mean difference.
Figure S3 : Qualitative comparison of teacher and student on four DIV2K covers at 256×256 . For each teacher, we show the cover, the teacher’s stego, the student’s stego, and the residual. Δ is the teacher’s residual, and δ is the student’s residual.
Fidelity
Side map
JPEG (QF)
Gaussian blur ( σ )
Gaussian noise ( σ )
αO=αX
PSNR (dB)
SSIM
LPIPS
overflow (%)
aux (kbit)
clean
90
80
70
1.0
1.2
1.25
8
21
23
1.00
32.10
0.827
0.0024
0.710
41.9
0.998
0.960
0.931
0.869
0.989
0.981
0.866
0.993
0.949
0.854
0.98
32.10
0.827
0.0024
0.710
41.9
0.998
0.960
0.932
0.868
0.989
0.981
0.866
0.993
0.949
0.854
0.96
32.30
0.831
0.0023
0.707
41.7
0.998
0.959
0.930
0.868
0.989
0.981
0.857
0.993
0.943
0.830
0.94
32.56
0.839
0.0022
0.699
41.2
0.998
0.957
0.929
0.870
0.989
0.980
0.840
0.993
0.929
0.792
0.92
32.77
0.846
0.0021
0.689
40.7
0.997
0.961
0.926
0.868
0.989
0.979
0.828
0.992
0.908
0.759
Table S9 : Embedding strength in [0.90,1.00] with αO=αX=α , on the TGIF2 test split with the distortion layer used throughout; the side map uses the same rANS coder. The first row is the delivered image and the other rows apply the sweep’s measured change to it.
JPEG
Gaussian noise
Gaussian blur
random crop
salt–pepper
resize
αO=αX
clean
90
80
70
8
22
23
0.5
1.0
1.5
5%
15%
30%
0.5%
1%
2%
0.75
0.5
0.35
1.00
1.000
0.995
0.984
0.949
1.000
0.998
0.998
1.000
0.999
0.999
0.999
0.993
0.961
1.000
0.999
0.995
0.999
0.999
0.999
0.98
1.000
0.994
0.984
0.948
1.000
0.998
0.998
1.000
0.999
0.999
0.999
0.993
0.961
1.000
0.999
0.995
0.999
0.999
0.999
0.96
1.000
0.994
0.982
0.944
0.999
0.998
0.998
1.000
0.999
0.999
0.999
0.994
0.957
1.000
0.999
0.995
0.999
0.999
0.999
0.94
1.000
0.993
0.980
0.939
1.000
0.998
0.998
1.000
0.998
0.999
0.999
0.992
0.959
1.000
0.999
0.994
0.999
0.999
0.999
0.92
1.000
0.993
0.980
0.936
1.000
0.998
0.997
1.000
0.999
0.999
0.999
0.991
0.960
1.000
0.999
0.994
0.999
0.999
0.999
Table S10 : Watermark robustness of the same sweep, the payload is read back from the forged image after mask splicing and the same distortions, on the same 100 pairs, so the first row can be read against that table. Bits: 100 .
JPEG
Gaussian noise
Gaussian blur
random crop
salt–pepper
resize
method
clean
90
80
70
8
22
23
0.5
1.0
1.5
5%
15%
30%
0.5%
1%
2%
0.75
0.5
0.35
VeriOrigin (ours)
1.000
0.985
0.956
0.903
1.000
0.999
0.999
1.000
1.000
1.000
1.000
0.999
0.995
1.000
0.999
0.998
1.000
1.000
1.000
EditGuard [ 76 ]
0.972
0.926
0.894
0.859
0.944
0.739
0.728
0.990
0.519
0.246
0.965
0.957
0.944
0.978
0.980
0.983
1.000
0.187
0.298
GenPTW [ 22 ]
1.000
0.999
0.995
0.984
0.986
0.901
0.895
1.000
1.000
0.999
0.999
0.997
0.978
1.000
0.999
0.992
1.000
1.000
0.999
Table S11 : Payload accuracy on the same 100 document pages, read back from the delivered file. Bits: VeriOrigin 100 , EditGuard and GenPTW 64 . Columns group JPEG, noise, blur, crop, salt–pepper and resize.
Method
Bits
PSNR
SSIM
LPIPS
clean (F1/IoU)
VeriOrigin (ours)
100
31.68
0.813
0.0022
0.955/0.942
EditGuard [ 76 ]
64
35.97
0.910
0.0217
0.812/0.752
GenPTW [ 22 ]
64
27.99
0.871
0.0544
0.131/0.103
Table S12 : Document pages: Final protected image fidelity and clean localisation, on the 100 AIForge-Doc pairs.
Figure S4 : Document tampering on 9 AIForge-Doc pairs. Columns: the cover image, the tampered page with the ground-truth mask tinted green, and each method’s mask above 0.5 tinted red.
Figure S5 : Six document images drawn at random: cover, protected image, residual, the tampered image, the mask and our predicted mask.
Figure S6 : Native-depth rows drawn at random: two CT slices ( 16 bit, LIDC-IDRI), two MR slices ( 16 bit) and two Sentinel-2 crops ( 16 bit, false colour of bands B2/B3/B4); CT and MR are shown in grey as acquired, while the network embeds in three channels.
Figure S7 : Six TGIF2 pairs drawn at random. Columns: cover, protected image, residual, the tampered image, the ground-truth mask, and our predicted mask.
Institute of Big Data, Fudan University, Shanghai, China · School of Computing, Xi’an Jiaotong-Liverpool University · School of Computer Science, Fudan University, Shanghai, China +1