{"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/understanding-and-improving-interpolation-in","title":"Understanding and Improving Interpolation in Autoencoders via an Adversarial Regularizer","arxiv_id":"1807.07543","date":"2018-07-19","proceeding":"ICLR 2019 5","authors":["David Berthelot","Colin Raffel","Aurko Roy","Ian Goodfellow"],"abstract":"Autoencoders provide a powerful framework for learning compressed\nrepresentations by encoding all of the information needed to reconstruct a data\npoint in a latent code. In some cases, autoencoders can \"interpolate\": By\ndecoding the convex combination of the latent codes for two datapoints, the\nautoencoder can produce an output which semantically mixes characteristics from\nthe datapoints. In this paper, we propose a regularization procedure which\nencourages interpolated outputs to appear more realistic by fooling a critic\nnetwork which has been trained to recover the mixing coefficient from\ninterpolated data. We then develop a simple benchmark task where we can\nquantitatively measure the extent to which various autoencoders can interpolate\nand show that our regularizer dramatically improves interpolation in this\nsetting. We also demonstrate empirically that our regularizer produces latent\ncodes which are more effective on downstream tasks, suggesting a possible link\nbetween interpolation abilities and learning useful representations.","url_abs":"http://arxiv.org/abs/1807.07543v2","url_pdf":"http://arxiv.org/pdf/1807.07543v2.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":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/brain-research/acai","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/anonymous-iclr-2019/acai-iclr-2019","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/baohq1595/aae-experiment","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/dariocazzani/pytorch-ae","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/greentfrapp/acai-berry","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/ivanvovk/controllable-face-generation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"understanding-and-improving-interpolation-in","repo_url":"https://github.com/sidwa/ae_thesis","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1807.07543","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1807.07543"}},"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/baohq1595/aae-experiment","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sidwa/ae_thesis","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/greentfrapp/acai-berry","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ivanvovk/controllable-face-generation","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/anonymous-iclr-2019/acai-iclr-2019","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dariocazzani/pytorch-ae","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/brain-research/acai","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":1,"ran_violates":1,"ran":3,"ran_fixture":2,"ran_honours":1,"unverified":6},"by_repo_kind":{"official":{"samples":4,"ran":0,"repositories":1},"listed":{"samples":8,"ran":6,"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":"3d2866ba4046ca98","entry":"avg_losses","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":"3d2866ba4046ca98"}},{"code_sha256_prefix":"eb766ff11551476d","entry":"is_sequence","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"lreq.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/lreq.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eb766ff11551476d"}},{"code_sha256_prefix":"96e5a2bdc93b101d","entry":"kl","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"losses.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"96e5a2bdc93b101d"}},{"code_sha256_prefix":"73a2b3dfb83b794b","entry":"make_image_grid","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"73a2b3dfb83b794b"}},{"code_sha256_prefix":"509d9bfd9a1c5420","entry":"make_tuple","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"lreq.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/lreq.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"509d9bfd9a1c5420"}},{"code_sha256_prefix":"a320e6151da0b774","entry":"pixel_norm","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"modules.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/modules.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a320e6151da0b774"}},{"code_sha256_prefix":"d1629b5dc1a4aac0","entry":"reconstruction","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"losses.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/losses.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1629b5dc1a4aac0"}},{"code_sha256_prefix":"10f278fd8f76579c","entry":"upscale2d","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"modules.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/modules.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"10f278fd8f76579c"}},{"code_sha256_prefix":"2d1d3999674791df","entry":"discriminator_logistic_simple_gp","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"losses.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/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":"2d1d3999674791df"}},{"code_sha256_prefix":"d1676a94e8a860db","entry":"draw_line","repo":"anonymous-iclr-2019/acai-iclr-2019","repo_kind":"official","path":"lib/data.py","file_url":"https://github.com/anonymous-iclr-2019/acai-iclr-2019/blob/HEAD/lib/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d1676a94e8a860db"}},{"code_sha256_prefix":"9d0f581182913f69","entry":"get_latents_and_labels","repo":"anonymous-iclr-2019/acai-iclr-2019","repo_kind":"official","path":"cluster.py","file_url":"https://github.com/anonymous-iclr-2019/acai-iclr-2019/blob/HEAD/cluster.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9d0f581182913f69"}},{"code_sha256_prefix":"d920996d38490ef5","entry":"input_lines","repo":"anonymous-iclr-2019/acai-iclr-2019","repo_kind":"official","path":"lib/data.py","file_url":"https://github.com/anonymous-iclr-2019/acai-iclr-2019/blob/HEAD/lib/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d920996d38490ef5"}},{"code_sha256_prefix":"0f185dd0ad0c3ed4","entry":"single_layer_classifier","repo":"anonymous-iclr-2019/acai-iclr-2019","repo_kind":"official","path":"lib/classifiers.py","file_url":"https://github.com/anonymous-iclr-2019/acai-iclr-2019/blob/HEAD/lib/classifiers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0f185dd0ad0c3ed4"}},{"code_sha256_prefix":"01cc5106835be4f8","entry":"style_mod","repo":"ivanvovk/controllable-face-generation","repo_kind":"listed","path":"modules.py","file_url":"https://github.com/ivanvovk/controllable-face-generation/blob/HEAD/modules.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":"01cc5106835be4f8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}