{"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/autoencoding-beyond-pixels-using-a-learned","title":"Autoencoding beyond pixels using a learned similarity metric","arxiv_id":"1512.09300","date":"2015-12-31","proceeding":null,"authors":["Anders Boesen Lindbo Larsen","Søren Kaae Sønderby","Hugo Larochelle","Ole Winther"],"abstract":"We present an autoencoder that leverages learned representations to better\nmeasure similarities in data space. By combining a variational autoencoder with\na generative adversarial network we can use learned feature representations in\nthe GAN discriminator as basis for the VAE reconstruction objective. Thereby,\nwe replace element-wise errors with feature-wise errors to better capture the\ndata distribution while offering invariance towards e.g. translation. We apply\nour method to images of faces and show that it outperforms VAEs with\nelement-wise similarity measures in terms of visual fidelity. Moreover, we show\nthat the method learns an embedding in which high-level abstract visual\nfeatures (e.g. wearing glasses) can be modified using simple arithmetic.","url_abs":"http://arxiv.org/abs/1512.09300v2","url_pdf":"http://arxiv.org/pdf/1512.09300v2.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":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/5yearsKim/Feature-Subtraction-using-AE-GAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/AlexanderBogatko/TensorFlow_Keras_VAEGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/LynnHo/AttGAN-Tensorflow","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/MariaPdg/fmri-reconstruction","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/NanYi-hub/Deep-Generative-Network","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/Ram81/AC-VAEGAN-PyTorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/Umang-pandey/vae-gan-tf","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/Vicent-xd/residual_encoding_net","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/adrienchaton/BERGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/andersbll/autoencoding_beyond_pixels","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"torch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/baon6052/VAE-GAN_Pegasus","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/baudm/vaegan-celebs-keras","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/clementchadebec/benchmark_VAE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/escuccim/vaegan-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/gm3g11/VAE_GAN_pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/leoHeidel/vae-gan-tf2","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/manicman1999/Sword-GAN32","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"unanswered"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/nguyenquangduc2000/AttGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/oadonca/ANVAE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/pranavbudhwant/ACVAEGAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/pravn/vaegan","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/rishabhd786/VAE-GAN-PYTORCH","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/ry85/VAE-GAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/seangal/dcgan_vae_pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/timsainb/GAIA","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/timsainb/Tensorflow-MultiGPU-VAE-GAN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"autoencoding-beyond-pixels-using-a-learned","repo_url":"https://github.com/BraveDrXuTF/vae-gan-code-for-reinforced-panel","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok"}}],"tasks":[{"task_slug":null,"task_name":"Generative Adversarial Network"},{"task_slug":"translation","task_name":"Translation"}],"methods":[{"method_slug":"convolution","method_name":"Convolution"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1512.09300","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1512.09300"}},"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/clementchadebec/benchmark_VAE","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/LynnHo/AttGAN-Tensorflow","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/leoHeidel/vae-gan-tf2","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/BraveDrXuTF/vae-gan-code-for-reinforced-panel","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/AlexanderBogatko/TensorFlow_Keras_VAEGAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/manicman1999/Sword-GAN32","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nguyenquangduc2000/AttGAN","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/NanYi-hub/Deep-Generative-Network","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/seangal/dcgan_vae_pytorch","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/oadonca/ANVAE","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/andersbll/autoencoding_beyond_pixels","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gm3g11/VAE_GAN_pytorch","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pravn/vaegan","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/adrienchaton/BERGAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Ram81/AC-VAEGAN-PyTorch","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MariaPdg/fmri-reconstruction","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/timsainb/GAIA","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rishabhd786/VAE-GAN-PYTORCH","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Vicent-xd/residual_encoding_net","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ry85/VAE-GAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/5yearsKim/Feature-Subtraction-using-AE-GAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Umang-pandey/vae-gan-tf","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pranavbudhwant/ACVAEGAN","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/timsainb/Tensorflow-MultiGPU-VAE-GAN","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_violates":2,"ran_fixture":1,"ran_draft_wrong":1,"ran_honours":2,"unverified":7},"by_repo_kind":{"listed":{"samples":13,"ran":6,"repositories":6}},"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":7,"samples":[{"code_sha256_prefix":"47cae7a59aef80c4","entry":"denormalize_image","repo":"PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric","repo_kind":"listed","path":"Celeb-A/vae-gan.py","file_url":"https://github.com/PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric/blob/HEAD/Celeb-A/vae-gan.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"47cae7a59aef80c4"}},{"code_sha256_prefix":"c2dc02c9e2165e5d","entry":"image_meta","repo":"PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric","repo_kind":"listed","path":"Celeb-A/vae-gan.py","file_url":"https://github.com/PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric/blob/HEAD/Celeb-A/vae-gan.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c2dc02c9e2165e5d"}},{"code_sha256_prefix":"5c76b12c6eb7b27e","entry":"loss_function","repo":"pravn/vaegan","repo_kind":"listed","path":"modules_tied.py","file_url":"https://github.com/pravn/vaegan/blob/HEAD/modules_tied.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5c76b12c6eb7b27e"}},{"code_sha256_prefix":"24c29a6cb4733ecd","entry":"norm","repo":"timsainb/GAIA","repo_kind":"listed","path":"network.py","file_url":"https://github.com/timsainb/GAIA/blob/HEAD/network.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"24c29a6cb4733ecd"}},{"code_sha256_prefix":"2f04e4472eba9e33","entry":"norm_ax","repo":"timsainb/GAIA","repo_kind":"listed","path":"network.py","file_url":"https://github.com/timsainb/GAIA/blob/HEAD/network.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f04e4472eba9e33"}},{"code_sha256_prefix":"bb7a8b5ac450e1f1","entry":"z_score","repo":"timsainb/GAIA","repo_kind":"listed","path":"network.py","file_url":"https://github.com/timsainb/GAIA/blob/HEAD/network.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bb7a8b5ac450e1f1"}},{"code_sha256_prefix":"fe8bd181101fc55b","entry":"build_graph","repo":"baudm/vaegan-celebs-keras","repo_kind":"listed","path":"vaegan/models.py","file_url":"https://github.com/baudm/vaegan-celebs-keras/blob/HEAD/vaegan/models.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":"fe8bd181101fc55b"}},{"code_sha256_prefix":"27015033c4009152","entry":"create_models","repo":"baudm/vaegan-celebs-keras","repo_kind":"listed","path":"vaegan/models.py","file_url":"https://github.com/baudm/vaegan-celebs-keras/blob/HEAD/vaegan/models.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":"27015033c4009152"}},{"code_sha256_prefix":"b829c4fcbfcea02d","entry":"fit_models","repo":"baudm/vaegan-celebs-keras","repo_kind":"listed","path":"vaegan/training.py","file_url":"https://github.com/baudm/vaegan-celebs-keras/blob/HEAD/vaegan/training.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":"b829c4fcbfcea02d"}},{"code_sha256_prefix":"9ba5d8704cc281c4","entry":"get2d_deconv_output_size","repo":"timsainb/Tensorflow-MultiGPU-VAE-GAN","repo_kind":"listed","path":"deconv.py","file_url":"https://github.com/timsainb/Tensorflow-MultiGPU-VAE-GAN/blob/HEAD/deconv.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":"9ba5d8704cc281c4"}},{"code_sha256_prefix":"355977e8be1faa0d","entry":"mean_gaussian_negative_log_likelihood","repo":"baudm/vaegan-celebs-keras","repo_kind":"listed","path":"vaegan/losses.py","file_url":"https://github.com/baudm/vaegan-celebs-keras/blob/HEAD/vaegan/losses.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":"355977e8be1faa0d"}},{"code_sha256_prefix":"af1e887506d1fb55","entry":"mnist_inverse_transform","repo":"Vicent-xd/residual_encoding_net","repo_kind":"listed","path":"mnist_ae.py","file_url":"https://github.com/Vicent-xd/residual_encoding_net/blob/HEAD/mnist_ae.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":"af1e887506d1fb55"}},{"code_sha256_prefix":"228f5d43c2691df1","entry":"read_image","repo":"PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric","repo_kind":"listed","path":"Celeb-A/vae-gan.py","file_url":"https://github.com/PrateekMunjal/Autoencoding-beyond-pixels-using-a-learned-similarity-metric/blob/HEAD/Celeb-A/vae-gan.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":"228f5d43c2691df1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}