{"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/variational-autoencoders-and-nonlinear-ica-a","title":"Variational Autoencoders and Nonlinear ICA: A Unifying Framework","arxiv_id":"1907.04809","date":"2019-07-10","proceeding":null,"authors":["Ilyes Khemakhem","Diederik P. Kingma","Ricardo Pio Monti","Aapo Hyvärinen"],"abstract":"The framework of variational autoencoders allows us to efficiently learn deep latent-variable models, such that the model's marginal distribution over observed variables fits the data. Often, we're interested in going a step further, and want to approximate the true joint distribution over observed and latent variables, including the true prior and posterior distributions over latent variables. This is known to be generally impossible due to unidentifiability of the model. We address this issue by showing that for a broad family of deep latent-variable models, identification of the true joint distribution over observed and latent variables is actually possible up to very simple transformations, thus achieving a principled and powerful form of disentanglement. Our result requires a factorized prior distribution over the latent variables that is conditioned on an additionally observed variable, such as a class label or almost any other observation. We build on recent developments in nonlinear ICA, which we extend to the case with noisy, undercomplete or discrete observations, integrated in a maximum likelihood framework. The result also trivially contains identifiable flow-based generative models as a special case.","url_abs":"https://arxiv.org/abs/1907.04809v4","url_pdf":"https://arxiv.org/pdf/1907.04809v4.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":"variational-autoencoders-and-nonlinear-ica-a","repo_url":"https://github.com/ilkhem/icebeem","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"variational-autoencoders-and-nonlinear-ica-a","repo_url":"https://github.com/ilkhem/ivae","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"variational-autoencoders-and-nonlinear-ica-a","repo_url":"https://github.com/kondratevakate/fmri-component-analysis","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"disentanglement","task_name":"Disentanglement"}],"methods":[{"method_slug":"ica","method_name":"ICA"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1907.04809","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1907.04809"}},"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/kondratevakate/fmri-component-analysis","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ilkhem/ivae","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ilkhem/icebeem","reach":null}],"summary":{"ran_draft_wrong":1,"unverified":16},"by_repo_kind":{"listed":{"samples":16,"ran":0,"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":1,"samples":[{"code_sha256_prefix":"bd1f17e427bf51a5","entry":"dict2namespace","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":"bd1f17e427bf51a5"}},{"code_sha256_prefix":"657282661851f065","entry":"TCL_wrapper","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/wrappers.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/wrappers.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":"657282661851f065"}},{"code_sha256_prefix":"b179488d25d16184","entry":"auction_linear_assignment","repo":"ilkhem/ivae","repo_kind":"listed","path":"metrics/mcc.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/metrics/mcc.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":"b179488d25d16184"}},{"code_sha256_prefix":"9b26734cdfd6df16","entry":"calc_accuracy","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/tcl/tcl_eval.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/tcl/tcl_eval.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":"9b26734cdfd6df16"}},{"code_sha256_prefix":"62b5aec7a4e9e084","entry":"cov_pt","repo":"ilkhem/ivae","repo_kind":"listed","path":"metrics/mcc.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/metrics/mcc.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":"62b5aec7a4e9e084"}},{"code_sha256_prefix":"146e37ccdb42d698","entry":"from_log","repo":"ilkhem/ivae","repo_kind":"listed","path":"utils/utils.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/utils/utils.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":"146e37ccdb42d698"}},{"code_sha256_prefix":"8ea5a22de767a1cd","entry":"get_tensor","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/tcl/tcl_eval.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/tcl/tcl_eval.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":"8ea5a22de767a1cd"}},{"code_sha256_prefix":"b55382603bdbda74","entry":"log_laplace","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/nets.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/nets.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":"b55382603bdbda74"}},{"code_sha256_prefix":"e717afe80143001a","entry":"log_normal","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/nets.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/nets.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":"e717afe80143001a"}},{"code_sha256_prefix":"adc12600a0ba8485","entry":"make_dir","repo":"ilkhem/ivae","repo_kind":"listed","path":"utils/utils.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/utils/utils.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":"adc12600a0ba8485"}},{"code_sha256_prefix":"f1f252883d708dd8","entry":"make_file","repo":"ilkhem/ivae","repo_kind":"listed","path":"utils/utils.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/utils/utils.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":"f1f252883d708dd8"}},{"code_sha256_prefix":"76c2e21b25ed4c0d","entry":"parse_data_args","repo":"ilkhem/ivae","repo_kind":"listed","path":"utils/cmd_utils.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/utils/cmd_utils.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":"76c2e21b25ed4c0d"}},{"code_sha256_prefix":"eec3f2b6914d703b","entry":"pca","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/tcl/tcl_preprocessing.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/tcl/tcl_preprocessing.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":"eec3f2b6914d703b"}},{"code_sha256_prefix":"e2f78217c9061bef","entry":"permute_dims","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/nets.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/nets.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":"e2f78217c9061bef"}},{"code_sha256_prefix":"2ee78ea4dffff164","entry":"rankdata_pt","repo":"ilkhem/ivae","repo_kind":"listed","path":"metrics/mcc.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/metrics/mcc.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":"2ee78ea4dffff164"}},{"code_sha256_prefix":"800a7252048629bf","entry":"sigmoid","repo":"ilkhem/ivae","repo_kind":"listed","path":"discrete.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/discrete.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":"800a7252048629bf"}},{"code_sha256_prefix":"e09a1c09dbc6bd6d","entry":"tcl_loss","repo":"ilkhem/ivae","repo_kind":"listed","path":"models/tcl/tcl_core.py","file_url":"https://github.com/ilkhem/ivae/blob/HEAD/models/tcl/tcl_core.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":"e09a1c09dbc6bd6d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}