SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.15633 · 2024

Orthogonal Subspace Decomposition for Generalizable AI-Generated Image Detection

arXiv · PDF · Open in the Atlas

Code that ran

18 of 20 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 16 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2411.15633.json · badge: /api/ran/2411.15633.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
yzy-stack/effort-aigi-detection canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
sclbd/deepfakebench canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
apply_svd_residual_to_self_attn Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/DeepfakeBench/training/detectors/effort_detector.py
pointer only (licence: NONE) · get_code("9132d6fa35e95be4")
How it ran

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

apply_svd_residual_to_self_attn Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/models/clip_models.py
pointer only (licence: NONE) · get_code("f3bfc8d27674781c")
How it ran

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

calculate_average_frequency_spectra Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
sclbd/deepfakebench/analysis/frequency.py
pointer only (licence: NOASSERTION) · get_code("c492630b402afb1e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

choose_metric Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/DeepfakeBench/analysis/logits_decision_boundary.py
pointer only (licence: NONE) · get_code("6e51f7833599876f")
How it ran

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

create_logger Ran
ran; our contract draft was wrong, not the code
sclbd/deepfakebench/analysis/frequency.py
pointer only (licence: NOASSERTION) · get_code("3b8c0e8be57b8ce7")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

create_logger Ran
ran; our contract draft was wrong, not the code
sclbd/deepfakebench/preprocessing/preprocess.py
pointer only (licence: NOASSERTION) · get_code("5b93d8d118f8fe72")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

create_logger Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/DeepfakeBench/training/logger.py
pointer only (licence: NONE) · get_code("a06ab489f0d55d2c")
How it ran

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

find_best_threshold Ran
ran, violated the contract we drafted
yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/validate.py
pointer only (licence: NONE); the stored copy get_code serves, from bigaandsmallq/d3, is pointer only (licence: NONE) · get_code("4139aa85d28b1ed5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yzy-stack/effort-aigi-detection 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_keypts Ran
ran; our contract draft was wrong, not the code
sclbd/deepfakebench/preprocessing/preprocess.py
pointer only (licence: NOASSERTION) · get_code("e8437cbb382c1c2d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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_top3_avg_auc Ran
ran, honoured the contract we drafted
sclbd/deepfakebench/analysis/model_archi.py
pointer only (licence: NOASSERTION) · get_code("e839d6953f748e55")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

png2jpg Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/validate.py
pointer only (licence: NONE); the stored copy get_code serves, from bigaandsmallq/d3, is pointer only (licence: NONE) · get_code("8501ef758e4a9824")
How it ran

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

replace_name Ran
ran; our contract draft was wrong, not the code
sclbd/deepfakebench/analysis/auc_fromaug.py
pointer only (licence: NOASSERTION) · get_code("3f6fd132ed3115aa")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

replace_name Ran
ran; our contract draft was wrong, not the code
sclbd/deepfakebench/analysis/auc_table1_fromrecord.py
pointer only (licence: NOASSERTION) · get_code("6344adb109654c9d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

replace_name Ran
ran; our contract draft was wrong, not the code
sclbd/deepfakebench/analysis/auc_table2_fromrecord.py
pointer only (licence: NOASSERTION) · get_code("33f6e13013ae471c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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.

replace_with_svd_residual Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/DeepfakeBench/training/detectors/effort_detector.py
pointer only (licence: NONE) · get_code("034042e10ded5933")
How it ran

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

replace_with_svd_residual Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/models/clip_models.py
pointer only (licence: NONE) · get_code("4ffd15e35234031a")
How it ran

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

translate_duplicate Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/validate.py
pointer only (licence: NONE) · get_code("751cd91f7274f805")
How it ran

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

unnormalize Ran
ran; our contract draft was wrong, not the code
yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/util.py
pointer only (licence: NONE) · get_code("7742460f647f9ca2")
How it ran

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

calculate_logits_and_confidence Not yet run
unverified (harvested, no recorded run)
yzy-stack/effort-aigi-detection/DeepfakeBench/analysis/logits_decision_boundary.py
pointer only (licence: NONE) · get_code("db6cc0c7755a186f")
How it ran

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

load_images_from_paths Not yet run
unverified (harvested, no recorded run)
sclbd/deepfakebench/analysis/frequency.py
pointer only (licence: NOASSERTION) · get_code("23ec693b6f2f66bd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, sclbd/deepfakebench (NOASSERTION). 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 later) and 15 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
find_best_threshold 2 other papers
1 dated earlier, 1 later
2404.04584 (2024-04)
D$^3$: Scaling Up Deepfake Detection by Learning from Discrepancy
2511.01293 (2025-11)
Detecting Generated Images by Fitting Natural Image Distributions
unnormalize 2 other papers
2 dated earlier
1906.05856 (2019-06)
Detecting Photoshopped Faces by Scripting Photoshop
2408.09647 (2024-08)
C2P-CLIP: Injecting Category Common Prompt in CLIP to Enhance Generalization in Deepfake Detection
choose_metric 1 other paper
1 dated earlier
2307.01426 (2023-07)
DeepfakeBench: A Comprehensive Benchmark of Deepfake Detection
png2jpg 1 other paper
1 dated earlier
2404.04584 (2024-04)
D$^3$: Scaling Up Deepfake Detection by Learning from Discrepancy

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

AI-generated images (AIGIs), such as natural or face images, have become increasingly important yet challenging. In this paper, we start from a new perspective to excavate the reason behind the failure generalization in AIGI detection, named the \textit{asymmetry phenomenon}, where a naively trained detector tends to favor overfitting to the limited and monotonous fake patterns, causing the feature space to become highly constrained and low-ranked, which is proved seriously limiting the expressivity and generalization. One potential remedy is incorporating the pre-trained knowledge within the vision foundation models (higher-ranked) to expand the feature space, alleviating the model's overfitting to fake. To this end, we employ Singular Value Decomposition (SVD) to decompose the original feature space into \textit{two orthogonal subspaces}. By freezing the principal components and adapting only the remained components, we preserve the pre-trained knowledge while learning fake patterns. Compared to existing full-parameters and LoRA-based tuning methods, we explicitly ensure orthogonality, enabling the higher rank of the whole feature space, effectively minimizing overfitting and enhancing generalization. We finally identify a crucial insight: our method implicitly learns \textit{a vital prior that fakes are actually derived from the real}, indicating a hierarchical relationship rather than independence. Modeling this prior, we believe, is essential for achieving superior generalization. Our codes are publicly available at \href{https://github.com/YZY-stack/Effort-AIGI-Detection}{GitHub}.

For agents

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

get_harvested_code_for_paper("2411.15633")
get_code_for_paper("2411.15633")
have("2411.15633")

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

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

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

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

Connect an agent — have() is free.