Papers › Orthogonal Subspace Decomposition for Generalizable AI-Generated Image Detection

Orthogonal Subspace Decomposition for Generalizable AI-Generated Image Detection

23 Nov 2024arXiv:2411.15633archive 2025-07-28

Zhiyuan Yan, Jiangming Wang, Peng Jin, Ke-Yue Zhang, Chengchun Liu, Shen Chen, Taiping Yao, Shouhong Ding, Baoyuan Wu, Li Yuan

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

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2411.15633")

Code

Syntology Ran 3 of 20 code samples harvested from 2 repositories linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran · our draft was wrong.

By repository: official repository: 11 samples from 1 repository, 3 ran; community (archive-listed): 9 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yzy-stack/effort-aigi-detection officialmentioned in papermentioned on GitHubpytorch report
sclbd/deepfakebench mentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 3 ran; 0 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran · our draft was wrong
17unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

choose_metric yzy-stack/effort-aigi-detection/DeepfakeBench/analysis/logits_decision_boundary.py official repository ran · our draft was wrong no licence file found · pointer only · 6e51f7833599876f · report
find_best_threshold yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/validate.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 4139aa85d28b1ed5 · report
png2jpg yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/validate.py official repository ran · our draft was wrong no licence file found · pointer only · 8501ef758e4a9824 · report
apply_svd_residual_to_self_attn yzy-stack/effort-aigi-detection/DeepfakeBench/training/detectors/effort_detector.py official repository unverified no licence file found · pointer only · 9132d6fa35e95be4 · report
apply_svd_residual_to_self_attn yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/models/clip_models.py official repository unverified no licence file found · pointer only · f3bfc8d27674781c · report
calculate_logits_and_confidence yzy-stack/effort-aigi-detection/DeepfakeBench/analysis/logits_decision_boundary.py official repository unverified no licence file found · pointer only · db6cc0c7755a186f · report
create_logger yzy-stack/effort-aigi-detection/DeepfakeBench/training/logger.py official repository unverified no licence file found · pointer only · a06ab489f0d55d2c · report
replace_with_svd_residual yzy-stack/effort-aigi-detection/DeepfakeBench/training/detectors/effort_detector.py official repository unverified no licence file found · pointer only · 034042e10ded5933 · report
replace_with_svd_residual yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/models/clip_models.py official repository unverified no licence file found · pointer only · 4ffd15e35234031a · report
translate_duplicate yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/validate.py official repository unverified no licence file found · pointer only · 751cd91f7274f805 · report
unnormalize yzy-stack/effort-aigi-detection/UniversalFakeDetect_Benchmark/util.py official repository unverified no licence file found · pointer only · 7742460f647f9ca2 · report
calculate_average_frequency_spectra sclbd/deepfakebench/analysis/frequency.py community (archive-listed) unverified licence not identified · pointer only · c492630b402afb1e · report
create_logger sclbd/deepfakebench/analysis/frequency.py community (archive-listed) unverified licence not identified · pointer only · 3b8c0e8be57b8ce7 · report
create_logger sclbd/deepfakebench/preprocessing/preprocess.py community (archive-listed) unverified licence not identified · pointer only · 5b93d8d118f8fe72 · report
get_keypts sclbd/deepfakebench/preprocessing/preprocess.py community (archive-listed) unverified licence not identified · pointer only · e8437cbb382c1c2d · report
get_top3_avg_auc sclbd/deepfakebench/analysis/model_archi.py community (archive-listed) unverified licence not identified · pointer only · e839d6953f748e55 · report
load_images_from_paths sclbd/deepfakebench/analysis/frequency.py community (archive-listed) unverified licence not identified · pointer only · 23ec693b6f2f66bd · report
replace_name sclbd/deepfakebench/analysis/auc_fromaug.py community (archive-listed) unverified licence not identified · pointer only · 3f6fd132ed3115aa · report
replace_name sclbd/deepfakebench/analysis/auc_table1_fromrecord.py community (archive-listed) unverified licence not identified · pointer only · 6344adb109654c9d · report
replace_name sclbd/deepfakebench/analysis/auc_table2_fromrecord.py community (archive-listed) unverified licence not identified · pointer only · 33f6e13013ae471c · report

Tasks

Face SwappingSynthetic Image Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections