{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/efficient-gan-based-anomaly-detection","title":"Efficient GAN-Based Anomaly Detection","arxiv_id":"1802.06222","date":"2018-02-17","proceeding":null,"authors":["Houssam Zenati","Chuan Sheng Foo","Bruno Lecouat","Gaurav Manek","Vijay Ramaseshan Chandrasekhar"],"abstract":"Generative adversarial networks (GANs) are able to model the complex\nhighdimensional distributions of real-world data, which suggests they could be\neffective for anomaly detection. However, few works have explored the use of\nGANs for the anomaly detection task. We leverage recently developed GAN models\nfor anomaly detection, and achieve state-of-the-art performance on image and\nnetwork intrusion datasets, while being several hundred-fold faster at test\ntime than the only published GAN-based method.","url_abs":"http://arxiv.org/abs/1802.06222v2","url_pdf":"http://arxiv.org/pdf/1802.06222v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/houssamzenati/Efficient-GAN-Anomaly-Detection","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/RintaroKanada/efficient-gan-chainer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/asm94/EfficientGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/layaars/unsupervised-anomaly-detection-with-a-gan-augmented-autoencoder","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"efficient-gan-based-anomaly-detection","repo_url":"https://github.com/llien30/EfficientGAN-based-anomaly-detection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"}],"methods":[{"method_slug":"convolution","method_name":"Convolution"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1802.06222","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1802.06222"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/llien30/EfficientGAN-based-anomaly-detection","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/houssamzenati/Efficient-GAN-Anomaly-Detection","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/RintaroKanada/efficient-gan-chainer","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/layaars/unsupervised-anomaly-detection-with-a-gan-augmented-autoencoder","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/asm94/EfficientGAN","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":4,"unverified":11},"by_repo_kind":{"listed":{"samples":15,"ran":4,"repositories":3}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":3,"samples":[{"code_sha256_prefix":"10682b8fe32fba68","entry":"get_getter","repo":"Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN","repo_kind":"listed","path":"bigan/run_kdd.py","file_url":"https://github.com/Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN/blob/HEAD/bigan/run_kdd.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"10682b8fe32fba68"}},{"code_sha256_prefix":"872e2f65a1cbb0bf","entry":"make_Discriminator","repo":"llien30/EfficientGAN-based-anomaly-detection","repo_kind":"listed","path":"model.py","file_url":"https://github.com/llien30/EfficientGAN-based-anomaly-detection/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"872e2f65a1cbb0bf"}},{"code_sha256_prefix":"b2a9fc982dc64e85","entry":"make_Encoder","repo":"llien30/EfficientGAN-based-anomaly-detection","repo_kind":"listed","path":"model.py","file_url":"https://github.com/llien30/EfficientGAN-based-anomaly-detection/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b2a9fc982dc64e85"}},{"code_sha256_prefix":"1e23659c6c7bbded","entry":"make_Generator","repo":"llien30/EfficientGAN-based-anomaly-detection","repo_kind":"listed","path":"model.py","file_url":"https://github.com/llien30/EfficientGAN-based-anomaly-detection/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1e23659c6c7bbded"}},{"code_sha256_prefix":"ece5146bbcad537c","entry":"adapt_labels","repo":"Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN","repo_kind":"listed","path":"utils/adapt_data.py","file_url":"https://github.com/Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN/blob/HEAD/utils/adapt_data.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ece5146bbcad537c"}},{"code_sha256_prefix":"987e51bd5d0d4f05","entry":"annotation_to_bboxes_ltwh","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/annotation_utils.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/annotation_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"987e51bd5d0d4f05"}},{"code_sha256_prefix":"8ac3e98c85275236","entry":"bboxes_included_in_crop","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/cogwheel_slicer.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/cogwheel_slicer.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ac3e98c85275236"}},{"code_sha256_prefix":"dd25489eddcd9d2b","entry":"center_and_scale","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/preprocessing.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/preprocessing.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dd25489eddcd9d2b"}},{"code_sha256_prefix":"141272b50496ac09","entry":"create_logdir","repo":"Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN","repo_kind":"listed","path":"bigan/run_kdd.py","file_url":"https://github.com/Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN/blob/HEAD/bigan/run_kdd.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"141272b50496ac09"}},{"code_sha256_prefix":"40cf96e563e1b70c","entry":"do_prc","repo":"Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN","repo_kind":"listed","path":"utils/evaluations.py","file_url":"https://github.com/Rajlaxmi04/Network-Traffic-Anomaly-Detection-using-PCA-and-BiGAN/blob/HEAD/utils/evaluations.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"40cf96e563e1b70c"}},{"code_sha256_prefix":"70236e48ff830fcf","entry":"img_slice_and_label","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/cogwheel_slicer.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/cogwheel_slicer.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"70236e48ff830fcf"}},{"code_sha256_prefix":"22a02f2c65cda9f1","entry":"load_annotation_file","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/annotation_utils.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/annotation_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"22a02f2c65cda9f1"}},{"code_sha256_prefix":"625a1b73ba18c9b3","entry":"necessary_overlap_region","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/cogwheel_slicer.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/cogwheel_slicer.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"625a1b73ba18c9b3"}},{"code_sha256_prefix":"d66734289c17d5b9","entry":"save_precision_recall_curve","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"eval_utils/visualization_utils.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/eval_utils/visualization_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d66734289c17d5b9"}},{"code_sha256_prefix":"9d292fa4e629c34e","entry":"stack_and_expand","repo":"danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2","repo_kind":"listed","path":"dataloader/preprocessing.py","file_url":"https://github.com/danbochman/Efficient-GAN-Based-Anomaly-Detection-TF2/blob/HEAD/dataloader/preprocessing.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9d292fa4e629c34e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}