Papers › Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery

Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery

17 Mar 2017arXiv:1703.05921archive 2025-07-28

Thomas Schlegl, Philipp Seeböck, Sebastian M. Waldstein, Ursula Schmidt-Erfurth, Georg Langs

Obtaining models that capture imaging markers relevant for disease progression and treatment monitoring is challenging. Models are typically based on large amounts of data with annotated examples of known markers aiming at automating detection. High annotation effort and the limitation to a vocabulary of known markers limit the power of such approaches. Here, we perform unsupervised learning to identify anomalies in imaging data as candidates for markers. We propose AnoGAN, a deep convolutional generative adversarial network to learn a manifold of normal anatomical variability, accompanying a novel anomaly scoring scheme based on the mapping from image space to a latent space. Applied to new data, the model labels anomalies, and scores image patches indicating their fit into the learned distribution. Results on optical coherence tomography images of the retina demonstrate that the approach correctly identifies anomalous images, such as images containing retinal fluid or hyperreflective foci.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 11 code samples harvested from 6 repositories linked to this paper: 7 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 1 honoured, 0 violated, 4 with no contract checked; 2 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 4 samples from 1 repository, 1 ran (1 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 7 samples from 5 repositories, 6 ran (4 with no instrument failure; 2 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 1 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

18 repositories listed; official and paper-mentioned ones first.

LeeDoYup/AnoGAN officialmentioned on GitHubtfMITSyntology: 4 samples, 1 ran (0 instrument-failed) · 3 unverified report
Dai7Igarashi/Anomaly-Detection mentioned on GitHubtfSyntology: not harvested report
NMADALI97/Learning-With-Wasserstein-Loss mentioned on GitHubtfSyntology: not harvested report
crystal02146/AnoGAN-Keras mentioned on GitHubtfSyntology: not harvested report
fuchami/ANOGAN mentioned on GitHubtfSyntology: not harvested report
kosyoshida/simple-keras mentioned on GitHubSyntology: 1 sample, 0 ran · 1 unverified report
layaars/unsupervised-anomaly-detection-with-a-gan-augmented-autoencoder mentioned on GitHubpytorchSyntology: not harvested report
leedoyup/anogan-tf mentioned on GitHubtfMITSyntology: not harvested report
leezhi403/anomaly-detection-with-GAN- mentioned on GitHubtfSyntology: not harvested report
llien30/AnoGAN mentioned on GitHubpytorchSyntology: not harvested report
mullue/anogan-mnist mentioned on GitHubtfSyntology: not harvested report
seungjunlee96/AnoGAN-pytorch mentioned on GitHubpytorchSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks (arXiv:1511.06434; that paper's own run record: 128 ran (of which 61 constructed an object rather than computing a result; 111 with no instrument failure: 3 honoured, 0 violated, 108 with no contract checked; 17 where Syntology's instrument failed) · 91 unverified); nothing checks that they implement this paper's method. report
tkwoo/anogan-keras mentioned on GitHubtfSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
xtarx/Unsupervised-Anomaly-Detection-with-Generative-Adversarial-Networks mentioned on GitHubtfSyntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
A03ki/f-AnoGAN pytorchSyntology: 1 sample, 1 ran (1 instrument-failed) · 0 unverified report
Xiaohui9607/f_anogan_pytorch pytorchSyntology: not harvested report
YeongHyeon/f-AnoGAN-TF tfMITSyntology: 3 samples, 3 ran (0 instrument-failed) · 0 unverified report
tSchlegl/f-AnoGAN tfSyntology: not harvested 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.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

11 samples harvested: 7 ran (of which 0 constructed an object rather than computing a result; 5 with no instrument failure: 1 honoured, 0 violated, 4 with no contract checked; 2 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran; the contract check could not run
4ran
4unverified

Licence: 4 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. For 1 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 6 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

LeeDoYup/AnoGAN official repository 4 samples, 1 ran (0 instrument-failed) · 3 unverified
conv_cond_concat in 10 papers ops.py ran fingerprinted MIT (permissive) · d5f19e9b7af11f57 · report fixture: signature x:EagerTensor/4/float, y:EagerTensor/4/float · returned EagerTensor · level recorded 2026-09-25
concat in 21 papers ops.py unverified MIT (permissive) · 6758e6e7c8eb29d4 · report
conv2d in 119 papers ops.py unverified MIT (permissive) · f0cb37d52c4b56e2 · report
get_confirm_token in 41 papers download.py unverified MIT (permissive) here; the stored copy is pointer only · 135b3dc835ffe6ad · report
kosyoshida/simple-keras community (archive-listed) 1 sample, 0 ran · 1 unverified
view_feature anogan/anogan.py unverified no licence file found · pointer only · 59f62234e2a0ff3e · report
tkwoo/anogan-keras community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
combine_images in 7 papers anogan.py ran; the contract check could not run (RAISES) · metamorphic tier: invariant no licence file found · pointer only · 23797f9dee43955f · report fixture: signature generated_images:ndarray/4/float · returned ndarray · level recorded 2026-09-22
xtarx/Unsupervised-Anomaly-Detection-with-Generative-Adversarial-Networks community (archive-listed) 1 sample, 1 ran (0 instrument-failed) · 0 unverified
conv_out_size_same in 7 papers model.py ran · honoured contract fingerprinted no licence file found · pointer only · 40125e1efb67fa92 · report fixture: signature size:int/0/int, stride:int/0/int · returned int · level recorded 2026-09-22
A03ki/f-AnoGAN community (archive-listed) 1 sample, 1 ran (1 instrument-failed) · 0 unverified
compute_gradient_penalty in 15 papers fanogan/train_wgangp.py ran · our draft was wrong MIT (permissive) · 90dc48f19c618ed7 · report fixture: signature D:callable/0/?, real_samples:Tensor/4/float, fake_samples:Tensor/4/float, device:device/0/? · returned Tensor · level recorded 2026-09-22
YeongHyeon/f-AnoGAN-TF community (archive-listed) 3 samples, 3 ran (0 instrument-failed) · 0 unverified
dat2canvas source/tf_process.py ran MIT (permissive) · 5f267024749fe99d · report fixture: signature data:ndarray/4/float · returned ndarray · level recorded 2026-09-26
gray2rgb in 10 papers source/tf_process.py ran fingerprinted MIT (permissive) · aa166086c035e6eb · report fixture: signature gray:ndarray/3/float · returned ndarray · level recorded 2026-09-24
random_noise source/tf_process.py ran fingerprinted MIT (permissive) · 362cd017683d59df · report fixture: signature batch_size:int/0/int, zdim:int/0/int · returned ndarray · level recorded 2026-09-26

Tasks

Anomaly DetectionUnsupervised Anomaly Detection

1 archive task tag without a task page not shown.

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