{"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/isolating-sources-of-disentanglement-in","title":"Isolating Sources of Disentanglement in Variational Autoencoders","arxiv_id":"1802.04942","date":"2018-02-14","proceeding":"NeurIPS 2018 12","authors":["Ricky T. Q. Chen","Xuechen Li","Roger Grosse","David Duvenaud"],"abstract":"We decompose the evidence lower bound to show the existence of a term\nmeasuring the total correlation between latent variables. We use this to\nmotivate our $\\beta$-TCVAE (Total Correlation Variational Autoencoder), a\nrefinement of the state-of-the-art $\\beta$-VAE objective for learning\ndisentangled representations, requiring no additional hyperparameters during\ntraining. We further propose a principled classifier-free measure of\ndisentanglement called the mutual information gap (MIG). We perform extensive\nquantitative and qualitative experiments, in both restricted and non-restricted\nsettings, and show a strong relation between total correlation and\ndisentanglement, when the latent variables model is trained using our\nframework.","url_abs":"http://arxiv.org/abs/1802.04942v5","url_pdf":"http://arxiv.org/pdf/1802.04942v5.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":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/rtqichen/beta-tcvae","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/carbonati/variational-zoo","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"isolating-sources-of-disentanglement-in","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":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/ema-marconato/glancenet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/facebookresearch/disentangling-correlated-factors","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/mcharrak/discreteVAE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/suvalaki/Deeper","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/tianyu-lu/tcvae","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/voxmenthe/beta-tcvae_v1","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"isolating-sources-of-disentanglement-in","repo_url":"https://github.com/voxmenthe/beta_tcvae_v1","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"disentanglement","task_name":"Disentanglement"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=1802.04942","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1802.04942"}},"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/ema-marconato/glancenet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/facebookresearch/disentangling-correlated-factors","reach":{"status":"ok","spdx":"MIT"}},{"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/carbonati/variational-zoo","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rtqichen/beta-tcvae","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tianyu-lu/tcvae","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/suvalaki/Deeper","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/voxmenthe/beta_tcvae_v1","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/voxmenthe/beta-tcvae_v1","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mcharrak/discreteVAE","reach":{"status":"ok"}}],"summary":{"ran":4,"unverified":5},"by_repo_kind":{"official":{"samples":2,"ran":0,"repositories":1},"listed":{"samples":7,"ran":4,"repositories":2}},"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":0,"samples":[{"code_sha256_prefix":"223acfe09c0cf307","entry":"MIG","repo":"tianyu-lu/tcvae","repo_kind":"listed","path":"metric_helpers/mi_metric.py","file_url":"https://github.com/tianyu-lu/tcvae/blob/HEAD/metric_helpers/mi_metric.py","link_basis":"plan_row","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":"223acfe09c0cf307"}},{"code_sha256_prefix":"4ebef74ecd436d41","entry":"analytical_NLL","repo":"tianyu-lu/tcvae","repo_kind":"listed","path":"elbo_decomposition.py","file_url":"https://github.com/tianyu-lu/tcvae/blob/HEAD/elbo_decomposition.py","link_basis":"plan_row","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":"4ebef74ecd436d41"}},{"code_sha256_prefix":"90c6b85fc73eaff7","entry":"estimate_entropies","repo":"tianyu-lu/tcvae","repo_kind":"listed","path":"elbo_decomposition.py","file_url":"https://github.com/tianyu-lu/tcvae/blob/HEAD/elbo_decomposition.py","link_basis":"plan_row","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":"90c6b85fc73eaff7"}},{"code_sha256_prefix":"fca04e40e0d22d1e","entry":"logsumexp","repo":"tianyu-lu/tcvae","repo_kind":"listed","path":"elbo_decomposition.py","file_url":"https://github.com/tianyu-lu/tcvae/blob/HEAD/elbo_decomposition.py","link_basis":"plan_row","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":"fca04e40e0d22d1e"}},{"code_sha256_prefix":"c6b4e17ded1255db","entry":"compute_metric_faces","repo":"tianyu-lu/tcvae","repo_kind":"listed","path":"metric_helpers/mi_metric.py","file_url":"https://github.com/tianyu-lu/tcvae/blob/HEAD/metric_helpers/mi_metric.py","link_basis":"plan_row","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":"c6b4e17ded1255db"}},{"code_sha256_prefix":"f1bd7b98a30a255d","entry":"compute_metric_shapes","repo":"tianyu-lu/tcvae","repo_kind":"listed","path":"metric_helpers/mi_metric.py","file_url":"https://github.com/tianyu-lu/tcvae/blob/HEAD/metric_helpers/mi_metric.py","link_basis":"plan_row","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":"f1bd7b98a30a255d"}},{"code_sha256_prefix":"868dd11974b99556","entry":"estimate_entropies","repo":"voxmenthe/beta-tcvae_v1","repo_kind":"listed","path":"elbo_decomposition.py","file_url":"https://github.com/voxmenthe/beta-tcvae_v1/blob/HEAD/elbo_decomposition.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":"868dd11974b99556"}},{"code_sha256_prefix":"005ab5343cd3459c","entry":"isnan","repo":"rtqichen/beta-tcvae","repo_kind":"official","path":"lib/utils.py","file_url":"https://github.com/rtqichen/beta-tcvae/blob/HEAD/lib/utils.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":"005ab5343cd3459c"}},{"code_sha256_prefix":"0213e98ab9ef1e9b","entry":"logsumexp","repo":"rtqichen/beta-tcvae","repo_kind":"official","path":"lib/utils.py","file_url":"https://github.com/rtqichen/beta-tcvae/blob/HEAD/lib/utils.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":"0213e98ab9ef1e9b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}