{"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/rethinking-semi-supervised-learning-in-vaes","title":"Capturing Label Characteristics in VAEs","arxiv_id":"2006.10102","date":"2020-06-17","proceeding":"ICLR 2021 1","authors":["Tom Joy","Sebastian M. Schmon","Philip H. S. Torr","N. Siddharth","Tom Rainforth"],"abstract":"We present a principled approach to incorporating labels in VAEs that captures the rich characteristic information associated with those labels. While prior work has typically conflated these by learning latent variables that directly correspond to label values, we argue this is contrary to the intended effect of supervision in VAEs-capturing rich label characteristics with the latents. For example, we may want to capture the characteristics of a face that make it look young, rather than just the age of the person. To this end, we develop the CCVAE, a novel VAE model and concomitant variational objective which captures label characteristics explicitly in the latent space, eschewing direct correspondences between label values and latents. Through judicious structuring of mappings between such characteristic latents and labels, we show that the CCVAE can effectively learn meaningful representations of the characteristics of interest across a variety of supervision schemes. In particular, we show that the CCVAE allows for more effective and more general interventions to be performed, such as smooth traversals within the characteristics for a given label, diverse conditional generation, and transferring characteristics across datapoints.","url_abs":"https://arxiv.org/abs/2006.10102v3","url_pdf":"https://arxiv.org/pdf/2006.10102v3.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":"rethinking-semi-supervised-learning-in-vaes","repo_url":"https://github.com/thwjoy/ccvae","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"rethinking-semi-supervised-learning-in-vaes","repo_url":"https://github.com/mori97/revae","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2006.10102","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2006.10102"}},"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/mori97/revae","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/thwjoy/ccvae","reach":null}],"summary":{"ran":12,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"official":{"samples":6,"ran":6,"repositories":1},"listed":{"samples":8,"ran":7,"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":6,"samples":[{"code_sha256_prefix":"76a3b3ce30f40be0","entry":"BaseREVAEMNIST","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"76a3b3ce30f40be0"}},{"code_sha256_prefix":"8a4777adc80a0c27","entry":"CELEBADecoder","repo":"thwjoy/ccvae","repo_kind":"official","path":"models/semisup_vae.py","file_url":"https://github.com/thwjoy/ccvae/blob/HEAD/models/semisup_vae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8a4777adc80a0c27"}},{"code_sha256_prefix":"194a6e10b3eab0df","entry":"CELEBAEncoder","repo":"thwjoy/ccvae","repo_kind":"official","path":"models/semisup_vae.py","file_url":"https://github.com/thwjoy/ccvae/blob/HEAD/models/semisup_vae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"194a6e10b3eab0df"}},{"code_sha256_prefix":"319ead4f1c1f8df6","entry":"Classifier","repo":"thwjoy/ccvae","repo_kind":"official","path":"models/semisup_vae.py","file_url":"https://github.com/thwjoy/ccvae/blob/HEAD/models/semisup_vae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"319ead4f1c1f8df6"}},{"code_sha256_prefix":"b428bb64e0c11ea0","entry":"CondPrior","repo":"thwjoy/ccvae","repo_kind":"official","path":"models/semisup_vae.py","file_url":"https://github.com/thwjoy/ccvae/blob/HEAD/models/semisup_vae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b428bb64e0c11ea0"}},{"code_sha256_prefix":"3342e27354ab9e19","entry":"Diagonal","repo":"thwjoy/ccvae","repo_kind":"official","path":"models/semisup_vae.py","file_url":"https://github.com/thwjoy/ccvae/blob/HEAD/models/semisup_vae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3342e27354ab9e19"}},{"code_sha256_prefix":"5a1fb6fa55266ac1","entry":"REVAEMNIST","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a1fb6fa55266ac1"}},{"code_sha256_prefix":"9f4b467114c264bf","entry":"SSVAE_CCVAE","repo":"thwjoy/ccvae","repo_kind":"official","path":"models/semisup_vae.py","file_url":"https://github.com/thwjoy/ccvae/blob/HEAD/models/semisup_vae.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9f4b467114c264bf"}},{"code_sha256_prefix":"50e4b27b44bab302","entry":"_Classifier","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","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":"50e4b27b44bab302"}},{"code_sha256_prefix":"52e0ab14a73e3c8b","entry":"_ConditionalPrior","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"52e0ab14a73e3c8b"}},{"code_sha256_prefix":"a0ca0389acc43dae","entry":"_Decoder","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","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":"a0ca0389acc43dae"}},{"code_sha256_prefix":"8cc912b6c76d68f3","entry":"_Encoder","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8cc912b6c76d68f3"}},{"code_sha256_prefix":"d7b93d9b79b19888","entry":"reparameterize","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d7b93d9b79b19888"}},{"code_sha256_prefix":"f0a964e499bbb150","entry":"_check_label","repo":"mori97/revae","repo_kind":"listed","path":"models/mnist.py","file_url":"https://github.com/mori97/revae/blob/HEAD/models/mnist.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":"f0a964e499bbb150"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}