{"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/wasserstein-auto-encoders","title":"Wasserstein Auto-Encoders","arxiv_id":"1711.01558","date":"2017-11-05","proceeding":"ICLR 2018 1","authors":["Ilya Tolstikhin","Olivier Bousquet","Sylvain Gelly","Bernhard Schoelkopf"],"abstract":"We propose the Wasserstein Auto-Encoder (WAE)---a new algorithm for building a generative model of the data distribution. WAE minimizes a penalized form of the Wasserstein distance between the model distribution and the target distribution, which leads to a different regularizer than the one used by the Variational Auto-Encoder (VAE). This regularizer encourages the encoded training distribution to match the prior. We compare our algorithm with several other techniques and show that it is a generalization of adversarial auto-encoders (AAE). Our experiments show that WAE shares many of the properties of VAEs (stable training, encoder-decoder architecture, nice latent manifold structure) while generating samples of better quality, as measured by the FID score.","url_abs":"https://arxiv.org/abs/1711.01558v4","url_pdf":"https://arxiv.org/pdf/1711.01558v4.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":"wasserstein-auto-encoders","repo_url":"https://github.com/tolstikhin/wae","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/AntixK/PyTorch-VAE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/allnightlight/ConditionalWassersteinAutoencoderPoweredBySinkhornDistance","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/boschresearch/unscented-autoencoder","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"AGPL-3.0"}},{"paper_slug":"wasserstein-auto-encoders","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":"wasserstein-auto-encoders","repo_url":"https://github.com/eifuentes/swae-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/gmum/cwae-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/mitscha/dplc","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/mmrl/lost-in-latent-space","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/pravn/wasserstein_autoencoders","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/schelotto/Wasserstein-AutoEncoders","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/sedelmeyer/wasserstein-auto-encoder","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/vitskvara/GenModels.jl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"wasserstein-auto-encoders","repo_url":"https://github.com/vitskvara/GenerativeModels.jl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"decoder","task_name":"Decoder"}],"methods":[{"method_slug":"affine-coupling","method_name":"Affine Coupling"},{"method_slug":"normalizing-flows","method_name":"Normalizing Flows"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1711.01558","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1711.01558"}},"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/AntixK/PyTorch-VAE","reach":{"status":"ok","spdx":"Apache-2.0"}},{"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/vitskvara/GenerativeModels.jl","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gmum/cwae-pytorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/boschresearch/unscented-autoencoder","reach":{"status":"ok","spdx":"AGPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sedelmeyer/wasserstein-auto-encoder","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/schelotto/Wasserstein-AutoEncoders","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mmrl/lost-in-latent-space","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tolstikhin/wae","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vitskvara/GenModels.jl","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eifuentes/swae-pytorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pravn/wasserstein_autoencoders","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/allnightlight/ConditionalWassersteinAutoencoderPoweredBySinkhornDistance","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mitscha/dplc","reach":{"status":"ok","spdx":"GPL-3.0"}}],"summary":{"ran_draft_wrong":4,"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"repositories":1},"listed":{"samples":2,"ran":2,"repositories":1}},"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":"d9def42110729a85","entry":"conv1x1","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"d9def42110729a85"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"56339abcea721df0","entry":"imq_kernel","repo":"schelotto/Wasserstein-AutoEncoders","repo_kind":"listed","path":"wae_mmd.py","file_url":"https://github.com/schelotto/Wasserstein-AutoEncoders/blob/HEAD/wae_mmd.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"56339abcea721df0"}},{"code_sha256_prefix":"c2b817dda127201a","entry":"rbf_kernel","repo":"schelotto/Wasserstein-AutoEncoders","repo_kind":"listed","path":"wae_mmd.py","file_url":"https://github.com/schelotto/Wasserstein-AutoEncoders/blob/HEAD/wae_mmd.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c2b817dda127201a"}},{"code_sha256_prefix":"59dcf2e829d98bff","entry":"batch_norm","repo":"tolstikhin/wae","repo_kind":"official","path":"ops.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"59dcf2e829d98bff"}},{"code_sha256_prefix":"c26d868384d22199","entry":"block_diagonal","repo":"tolstikhin/wae","repo_kind":"official","path":"improved_wae.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/improved_wae.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"c26d868384d22199"}},{"code_sha256_prefix":"9529615b74860fae","entry":"contrast_norm","repo":"tolstikhin/wae","repo_kind":"official","path":"improved_wae.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/improved_wae.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"9529615b74860fae"}},{"code_sha256_prefix":"cc06cf081e943c46","entry":"get_batch_size","repo":"tolstikhin/wae","repo_kind":"official","path":"utils.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"cc06cf081e943c46"}},{"code_sha256_prefix":"23aa6f5ab0423a4d","entry":"listdir","repo":"tolstikhin/wae","repo_kind":"official","path":"utils.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"23aa6f5ab0423a4d"}},{"code_sha256_prefix":"fde9f573ace8d77f","entry":"lrelu","repo":"tolstikhin/wae","repo_kind":"official","path":"ops.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"fde9f573ace8d77f"}},{"code_sha256_prefix":"754b5b3b509ff70c","entry":"sq_distances","repo":"tolstikhin/wae","repo_kind":"official","path":"improved_wae.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/improved_wae.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"754b5b3b509ff70c"}},{"code_sha256_prefix":"8bf6128379e3f052","entry":"upsample_nn","repo":"tolstikhin/wae","repo_kind":"official","path":"ops.py","file_url":"https://github.com/tolstikhin/wae/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8bf6128379e3f052"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}