Papers › Adversarially Learned Anomaly Detection

Adversarially Learned Anomaly Detection

6 Dec 2018arXiv:1812.02288archive 2025-07-28

Houssam Zenati, Manon Romain, Chuan Sheng Foo, Bruno Lecouat, Vijay Ramaseshan Chandrasekhar

Anomaly detection is a significant and hence well-studied problem. However, developing effective anomaly detection methods for complex and high-dimensional data remains a challenge. As Generative Adversarial Networks (GANs) are able to model the complex high-dimensional distributions of real-world data, they offer a promising approach to address this challenge. In this work, we propose an anomaly detection method, Adversarially Learned Anomaly Detection (ALAD) based on bi-directional GANs, that derives adversarially learned features for the anomaly detection task. ALAD then uses reconstruction errors based on these adversarially learned features to determine if a data sample is anomalous. ALAD builds on recent advances to ensure data-space and latent-space cycle-consistencies and stabilize GAN training, which results in significantly improved anomaly detection performance. ALAD achieves state-of-the-art performance on a range of image and tabular datasets while being several hundred-fold faster at test time than the only published GAN-based method.

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="1812.02288")

Code

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

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

houssamzenati/Adversarially-Learned-Anomaly-Detection officialmentioned in papermentioned on GitHubtfMIT report
intrudetection/robevalanodetect mentioned on GitHubpytorch report
zahradehghanian97/rcalad mentioned on GitHubtfMIT 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

37 samples harvested; 1 ran; 0 honoured the contract we drafted; 36 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 · our draft was wrong
36unverified

Licence: 0 of the 37 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 3 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.

UnPooling2x2ZeroFilled houssamzenati/Adversarially-Learned-Anomaly-Detection/dsebm/arrhythmia_utilities.py official repository unverified MIT (permissive) · 16c98f78677d3622 · report
compute_energy_and_penalty houssamzenati/Adversarially-Learned-Anomaly-Detection/dagmm/gmm_utils.py official repository unverified MIT (permissive) · 0a4c5dfb27ad5613 · report
decoder houssamzenati/Adversarially-Learned-Anomaly-Detection/alad/cifar10_utilities.py official repository unverified MIT (permissive) · 588ecf2ffb0e1477 · report
discriminator houssamzenati/Adversarially-Learned-Anomaly-Detection/anogan/cifar10_utilities.py official repository unverified MIT (permissive) · 290d624498e73e32 · report
feature_extractor houssamzenati/Adversarially-Learned-Anomaly-Detection/dagmm/arrhythmia_utilities.py official repository unverified MIT (permissive) · 22140fa826526e60 · report
feature_extractor houssamzenati/Adversarially-Learned-Anomaly-Detection/dagmm/kdd_utilities.py official repository unverified MIT (permissive) · 6a940e179e24a433 · report
generator houssamzenati/Adversarially-Learned-Anomaly-Detection/anogan/cifar10_utilities.py official repository unverified MIT (permissive) · 0364d049bacaa4ba · report
leakyReLu houssamzenati/Adversarially-Learned-Anomaly-Detection/alad/arrhythmia_utilities.py official repository unverified MIT (permissive) · 9ab9a03c8845e1b6 · report
tricky_divide houssamzenati/Adversarially-Learned-Anomaly-Detection/dagmm/gmm_utils.py official repository unverified MIT (permissive) · e7c882e9489249ef · report
tricky_multiply houssamzenati/Adversarially-Learned-Anomaly-Detection/dagmm/gmm_utils.py official repository unverified MIT (permissive) · ab2ecca101040c0f · report
get_getter houssamzenati/Efficient-GAN-Anomaly-Detection/gan/run_kdd.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 10682b8fe32fba68 · report
adapt_labels houssamzenati/Efficient-GAN-Anomaly-Detection/utils/adapt_data.py community (archive-listed) unverified MIT (permissive) · ece5146bbcad537c · report
adapt_labels_outlier_task zahradehghanian97/rcalad/utils/adapt_data.py community (archive-listed) unverified MIT (permissive) · 8e7d47fb8107c08b · report
batch_fill zahradehghanian97/rcalad/utils/adapt_data.py community (archive-listed) unverified MIT (permissive) · 944987fbbb730364 · report
conv2d zahradehghanian97/rcalad/utils/sn.py community (archive-listed) unverified MIT (permissive) · fa9320bc97ab15e6 · report
create_logdir houssamzenati/Efficient-GAN-Anomaly-Detection/gan/run_kdd.py community (archive-listed) unverified MIT (permissive) · 48f5e5db2febd2cd · report
create_logdir houssamzenati/Efficient-GAN-Anomaly-Detection/gan/run_mnist.py community (archive-listed) unverified MIT (permissive) · 63b598466b45fd41 · report
create_logdir houssamzenati/Efficient-GAN-Anomaly-Detection/bigan/run_kdd.py community (archive-listed) unverified MIT (permissive) · 141272b50496ac09 · report
decoder houssamzenati/Efficient-GAN-Anomaly-Detection/bigan/mnist_utilities.py community (archive-listed) unverified MIT (permissive) · 0058066f81993565 · report
decoder zahradehghanian97/rcalad/model/arrhythmia_utilities.py community (archive-listed) unverified MIT (permissive) · 1b36ea33f85ba3fe · report
decoder zahradehghanian97/rcalad/model/cifar10_utilities.py community (archive-listed) unverified MIT (permissive) · c1811109c9446dfc · report
decoder zahradehghanian97/rcalad/model/kdd_utilities.py community (archive-listed) unverified MIT (permissive) · 8a7f584ff668f466 · report
dense zahradehghanian97/rcalad/utils/sn.py community (archive-listed) unverified MIT (permissive) · c49a28c165a5fb0d · report
discriminator houssamzenati/Efficient-GAN-Anomaly-Detection/gan/mnist_utilities.py community (archive-listed) unverified MIT (permissive) · df492502964e9039 · report
discriminator houssamzenati/Efficient-GAN-Anomaly-Detection/bigan/mnist_utilities.py community (archive-listed) unverified MIT (permissive) · 245a2a952f2d0e8d · report
do_prc houssamzenati/Efficient-GAN-Anomaly-Detection/utils/evaluations.py community (archive-listed) unverified MIT (permissive) · 40cf96e563e1b70c · report
do_roc zahradehghanian97/rcalad/utils/evaluations.py community (archive-listed) unverified MIT (permissive) · 37571eecf35d57d3 · report
encoder houssamzenati/Efficient-GAN-Anomaly-Detection/bigan/mnist_utilities.py community (archive-listed) unverified MIT (permissive) · 2d5132e520862f91 · report
encoder zahradehghanian97/rcalad/model/arrhythmia_utilities.py community (archive-listed) unverified MIT (permissive) · c1248523a95b5975 · report
encoder zahradehghanian97/rcalad/model/cifar10_utilities.py community (archive-listed) unverified MIT (permissive) · 8dbc81f0f8961307 · report
encoder zahradehghanian97/rcalad/model/kdd_utilities.py community (archive-listed) unverified MIT (permissive) · 27e033164ba1f735 · report
generator houssamzenati/Efficient-GAN-Anomaly-Detection/gan/mnist_utilities.py community (archive-listed) unverified MIT (permissive) · c8be7d36155861a7 · report
get_percentile zahradehghanian97/rcalad/utils/evaluations.py community (archive-listed) unverified MIT (permissive) · 84a71fe751765a4f · report
leakyReLu houssamzenati/Efficient-GAN-Anomaly-Detection/gan/kdd_utilities.py community (archive-listed) unverified MIT (permissive) · 0068a65e1a1fd1cc · report
leakyReLu zahradehghanian97/rcalad/model/arrhythmia_utilities.py community (archive-listed) unverified MIT (permissive) · c791a8b03c10d46f · report
predict zahradehghanian97/rcalad/utils/evaluations.py community (archive-listed) unverified MIT (permissive) · 3edf8bb21f5c9b3f · report
spectral_norm zahradehghanian97/rcalad/utils/sn.py community (archive-listed) unverified MIT (permissive) · dcc62ffe48727dfa · report

Tasks

Anomaly Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Convolution

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