{"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/adversarially-learned-inference","title":"Adversarially Learned Inference","arxiv_id":"1606.00704","date":"2016-06-02","proceeding":null,"authors":["Vincent Dumoulin","Ishmael Belghazi","Ben Poole","Olivier Mastropietro","Alex Lamb","Martin Arjovsky","Aaron Courville"],"abstract":"We introduce the adversarially learned inference (ALI) model, which jointly\nlearns a generation network and an inference network using an adversarial\nprocess. The generation network maps samples from stochastic latent variables\nto the data space while the inference network maps training examples in data\nspace to the space of latent variables. An adversarial game is cast between\nthese two networks and a discriminative network is trained to distinguish\nbetween joint latent/data-space samples from the generative network and joint\nsamples from the inference network. We illustrate the ability of the model to\nlearn mutually coherent inference and generation networks through the\ninspections of model samples and reconstructions and confirm the usefulness of\nthe learned representations by obtaining a performance competitive with\nstate-of-the-art on the semi-supervised SVHN and CIFAR10 tasks.","url_abs":"http://arxiv.org/abs/1606.00704v3","url_pdf":"http://arxiv.org/pdf/1606.00704v3.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":"adversarially-learned-inference","repo_url":"https://github.com/IshmaelBelghazi/ALI","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/9310gaurav/ali-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/caotians1/OD-test-master","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/kryvosheyev/xray-anomaly-detection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/lkhphuc/Anomaly-BiGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/lkhphuc/Anomaly-XRay-GANs","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/pavasgdb/Anomaly-detector-using-GAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/zhenxuan00/graphical-gan","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"adversarially-learned-inference","repo_url":"https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code/tree/main/Adversarially_Learned_Inference","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"}],"methods":[{"method_slug":"1x1-convolution","method_name":"1x1 Convolution"},{"method_slug":"ali","method_name":"ALI"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"maxout","method_name":"Maxout"},{"method_slug":"svm","method_name":"SVM"},{"method_slug":"sigmoid-activation","method_name":"Sigmoid Activation"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-to-image-translation-on-cityscapes","task":"Image-to-Image Translation","dataset":"Cityscapes Labels-to-Photo","model":"BiGAN","rank_in_archive_order":20,"of":21,"metrics":{"Class IOU":" 0.02","Per-class Accuracy":"6%","Per-pixel Accuracy":"19%"},"uses_additional_data":false},{"leaderboard":"/sota/image-to-image-translation-on-cityscapes-1","task":"Image-to-Image Translation","dataset":"Cityscapes Photo-to-Labels","model":"BiGAN","rank_in_archive_order":4,"of":5,"metrics":{"Class IOU":"0.07","Per-class Accuracy":"13%","Per-pixel Accuracy":"41%"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1606.00704","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1606.00704"}},"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/lkhphuc/Anomaly-XRay-GANs","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/caotians1/OD-test-master","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kryvosheyev/xray-anomaly-detection","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zhenxuan00/graphical-gan","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/IshmaelBelghazi/ALI","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pavasgdb/Anomaly-detector-using-GAN","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lkhphuc/Anomaly-BiGAN","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code/tree/main/Adversarially_Learned_Inference","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/9310gaurav/ali-pytorch","reach":null}],"summary":{"ran_draft_wrong":1,"ran_honours":1,"unverified":2},"by_repo_kind":{"official":{"samples":1,"ran":0,"repositories":1},"listed":{"samples":3,"ran":2,"repositories":2}},"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":2,"samples":[{"code_sha256_prefix":"0fb3b06d95c005bf","entry":"get_random_uniform_batch","repo":"9310gaurav/ali-pytorch","repo_kind":"listed","path":"test_semisup.py","file_url":"https://github.com/9310gaurav/ali-pytorch/blob/HEAD/test_semisup.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0fb3b06d95c005bf"}},{"code_sha256_prefix":"1422451452fe36c8","entry":"sample_latent","repo":"MaximeVandegar/Papers-in-100-Lines-of-Code","repo_kind":"listed","path":"Adversarially_Learned_Inference/ali.py","file_url":"https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code/blob/HEAD/Adversarially_Learned_Inference/ali.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1422451452fe36c8"}},{"code_sha256_prefix":"c9895e295f5b3d66","entry":"get_key_from_val","repo":"IshmaelBelghazi/ALI","repo_kind":"official","path":"ali/mixture_viz.py","file_url":"https://github.com/IshmaelBelghazi/ALI/blob/HEAD/ali/mixture_viz.py","link_basis":"first_harvest_node","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":"c9895e295f5b3d66"}},{"code_sha256_prefix":"c59ce90932b89fbe","entry":"tocuda","repo":"9310gaurav/ali-pytorch","repo_kind":"listed","path":"test_semisup.py","file_url":"https://github.com/9310gaurav/ali-pytorch/blob/HEAD/test_semisup.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c59ce90932b89fbe"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}