SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.13360 · ICML · 2024

How to Trace Latent Generative Model Generated Images without Artificial Watermark?

Vikash Sehwag, Chen Chen, Lingjuan Lyu, Shiqing Ma, Dimitris N. Metaxas, Zhenting Wang

arXiv · PDF · Open in the Atlas

Code that ran

2 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 5 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.13360.json · badge: /api/ran/2405.13360.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ZhentingWang/LatentTracer canonical (classifier label)
classifier basis: census
0 ran · 5 no recorded run
zhentingwang/latenttracer community
Papers with Code archive
2 ran · 0 no recorded run
FunctionStatusWhere it lives
calcEntropy2dSpeedUp Ran
ran; our contract draft was wrong, not the code
zhentingwang/latenttracer/latenttracer.py
pointer only (licence: NONE) · get_code("b4da07acf34dcea9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhentingwang/latenttracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calcIJ Ran
ran; our contract draft was wrong, not the code
zhentingwang/latenttracer/latenttracer.py
pointer only (licence: NONE) · get_code("e1dc7a1de20aa5bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhentingwang/latenttracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

psnr Not yet run
unverified (harvested, no recorded run)
ZhentingWang/LatentTracer/inference_utils.py
pointer only (licence: NONE) · get_code("a2b34ca3b238663f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhentingWang/LatentTracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

text_encoder_attn_modules Not yet run
unverified (harvested, no recorded run)
ZhentingWang/LatentTracer/diffusers/loaders.py
pointer only (licence: NONE) · get_code("f4ac91315a94774b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhentingWang/LatentTracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

text_encoder_lora_state_dict Not yet run
unverified (harvested, no recorded run)
ZhentingWang/LatentTracer/diffusers/loaders.py
pointer only (licence: NONE) · get_code("2c476d130bd89887")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhentingWang/LatentTracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

text_encoder_mlp_modules Not yet run
unverified (harvested, no recorded run)
ZhentingWang/LatentTracer/diffusers/loaders.py
pointer only (licence: NONE) · get_code("ccca296c90beae91")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhentingWang/LatentTracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

vq_image2latent Not yet run
unverified (harvested, no recorded run)
ZhentingWang/LatentTracer/inference_models_multilatent.py
pointer only (licence: NONE) · get_code("4d3991a864d01acb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhentingWang/LatentTracer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
text_encoder_lora_state_dict 3 other papers
2 dated earlier, 1 later
2401.15636 (2024-01)
FreeStyle: Free Lunch for Text-guided Style Transfer using Diffusion Models
2403.03485 (2024-03)
NoiseCollage: A Layout-Aware Text-to-Image Diffusion Model Based on Noise Cropping and Merging
Dai_SeaS_Few-shot_Industrial_Anomaly_Image_Generation_with_Separation_and_Sharing_ICCV_2025_paper (2025 (year only))
SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuning
text_encoder_attn_modules 2 other papers
2 dated earlier
2401.15636 (2024-01)
FreeStyle: Free Lunch for Text-guided Style Transfer using Diffusion Models
2403.03485 (2024-03)
NoiseCollage: A Layout-Aware Text-to-Image Diffusion Model Based on Noise Cropping and Merging
text_encoder_mlp_modules 2 other papers
2 dated earlier
2401.15636 (2024-01)
FreeStyle: Free Lunch for Text-guided Style Transfer using Diffusion Models
2403.03485 (2024-03)
NoiseCollage: A Layout-Aware Text-to-Image Diffusion Model Based on Noise Cropping and Merging

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Latent generative models (e.g., Stable Diffusion) have become more and more popular, but concerns have arisen regarding potential misuse related to images generated by these models. It is, therefore, necessary to analyze the origin of images by inferring if a particular image was generated by a specific latent generative model. Most existing methods (e.g., image watermark and model fingerprinting) require extra steps during training or generation. These requirements restrict their usage on the generated images without such extra operations, and the extra required operations might compromise the quality of the generated images. In this work, we ask whether it is possible to effectively and efficiently trace the images generated by a specific latent generative model without the aforementioned requirements. To study this problem, we design a latent inversion based method called LATENTTRACER to trace the generated images of the inspected model by checking if the examined images can be well-reconstructed with an inverted latent input. We leverage gradient based latent inversion and identify a encoderbased initialization critical to the success of our approach. Our experiments on the state-of-the-art latent generative models, such as Stable Diffusion, show that our method can distinguish the images generated by the inspected model and other images with a high accuracy and efficiency. Our findings suggest the intriguing possibility that today's latent generative generated images are naturally watermarked by the decoder used in the source models. Code: https://github. com/ZhentingWang/LatentTracer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.13360")
get_code_for_paper("2405.13360")
have("2405.13360")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.13360.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.13360.svg)](https://syntology.ai/paper/2405.13360)

Connect an agent — have() is free.