SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.00716 · 2026

Generated Images Are Easier to Forget: A Machine Unlearning Perspective for Synthetic Image Detection

Bo Han, Tongliang Liu, Yonggang Zhang, Xinmei Tian, Yiu-Ming Cheung, Jun Nie

arXiv · PDF

Code that ran

15 of 15 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 12 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2608.00716.json · badge: /api/ran/2608.00716.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
ZhendongWang6/DIRE canonical (classifier label)
classifier basis: census
15 ran · 0 no recorded run
FunctionStatusWhere it lives
approx_standard_normal_cdf Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/guided-diffusion/guided_diffusion/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cfd76fd0d89574a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

args_list2dict Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/utils/config.py
pointer only (licence: NONE) · get_code("df5c01008896dc72")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/networks/resnet.py
pointer only (licence: NONE) · get_code("d9def42110729a85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/networks/resnet.py
pointer only (licence: NONE); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

discretized_gaussian_log_likelihood Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/guided-diffusion/guided_diffusion/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cd33283d615fb3d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

get_network Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZhendongWang6/DIRE/utils/utils.py
pointer only (licence: NONE) · get_code("8e88aa1370f2a213")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

get_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/guided-diffusion/guided_diffusion/fp16_util.py
pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

make_master_params Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/guided-diffusion/guided_diffusion/fp16_util.py
pointer only (licence: NONE) · get_code("e20dd5102da3b050")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

normal_kl Ran
ran, honoured the contract we drafted
ZhendongWang6/DIRE/guided-diffusion/guided_diffusion/losses.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/agrol, is pointer only (licence: NOASSERTION) · get_code("cf2798b666b231ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

reshape_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZhendongWang6/DIRE/guided-diffusion/compute_dire.py
pointer only (licence: NONE) · get_code("96f72e4f60a4cafc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/networks/resnet.py
pointer only (licence: NONE) · get_code("8a9a86cb02c105a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

str2bool Ran
ran, violated the contract we drafted
ZhendongWang6/DIRE/utils/config.py
pointer only (licence: NONE) · get_code("091785dedeaee8eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

str2list Ran
ran, honoured the contract we drafted
ZhendongWang6/DIRE/utils/config.py
pointer only (licence: NONE) · get_code("8e71ef5892d3daae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

to_cuda Ran
ran; our contract draft was wrong, not the code
ZhendongWang6/DIRE/utils/utils.py
pointer only (licence: NONE) · get_code("c4aa7911b7273146")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZhendongWang6/DIRE/guided-diffusion/guided_diffusion/fp16_util.py
pointer only (licence: NONE) · get_code("64fff1e30802b815")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ZhendongWang6/DIRE 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.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 3 the same month, 1 later) and 6 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
conv3x3 686 other papers
684 dated earlier, 2 the same month · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
conv1x1 431 other papers
427 dated earlier, 1 the same month, 2 later, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
normal_kl 160 other papers
160 dated earlier · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
approx_standard_normal_cdf 154 other papers
154 dated earlier · 17 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 151 more not named here
discretized_gaussian_log_likelihood 128 other papers
128 dated earlier · 16 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 125 more not named here
resnet18 89 other papers
88 dated earlier, 1 the same month
1705.09759 (2017-05)
CASENet: Deep Category-Aware Semantic Edge Detection
1801.07698 (2018-01)
ArcFace: Additive Angular Margin Loss for Deep Face Recognition
1803.00839 (2018-03)
Pose-Robust Face Recognition via Deep Residual Equivariant Mapping
and 86 more not named here
unflatten_master_params 72 other papers
72 dated earlier
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
70 dated earlier
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
68 dated earlier
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here

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-23.

Repositories linked to this paper

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

Abstract

Robust detection of generated images is critical to counter the misuse of generative models. Existing methods primarily depend on learning from human-annotated training datasets, limiting their generalization to unseen distributions. In contrast, large-scale vision models (LVMs) pre-trained on web-scale datasets exhibit exceptional generalization power through exposure to diverse distributions, offering a transformative paradigm for this task. However, our experimental results reveal that LVMs pre-trained on natural-image-dominated data can effectively capture the features of both natural and generated images, yielding comparably low losses and thus limited discriminative capacity between them. This prompts a key question: When and how do LVMs exhibit different behaviors when capturing features of natural and generated images? This investigation reveals an insight: during unlearning, LVMs exhibit disparate forgetting dynamics with feature degradation for generated images escalating faster than natural ones. Inspired by the disparate dynamics, we introduce two detection methods: 1) data-free detection, which prunes model parameters to induce unlearning without data access, and 2) data-driven detection, which optimizes LVMs to unlearn knowledge tied to generated images. Extensive experiments conducted on various benchmarks demonstrate that our unlearningbased approach outperforms conventional detection methods. By recasting the detection task as a problem of machine unlearning, our work establishes a new paradigm for generated image detection.

For agents

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

get_harvested_code_for_paper("2608.00716")
get_code_for_paper("2608.00716")
have("2608.00716")

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

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

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

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

Connect an agent — have() is free.