SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.04890 · 2024

Nonparametric Partial Disentanglement via Mechanism Sparsity: Sparse Actions, Interventions and Sparse Temporal Dependencies

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 12 functions out of this paper's own repositories and ran 9 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
slachapelle/disentanglement_via_mechanism_sparsity canonical 9 of 12
FunctionStatusWhere it lives
MIG Ran slachapelle/disentanglement_via_mechanism_sparsity/baseline_models/beta-tcvae/metric_helpers/mi_metric.py
code served (permissive licence) · get_code("223acfe09c0cf307")
analytical_NLL Ran slachapelle/disentanglement_via_mechanism_sparsity/baseline_models/beta-tcvae/elbo_decomposition.py
code served (permissive licence) · get_code("4ebef74ecd436d41")
compute_nll Ran slachapelle/disentanglement_via_mechanism_sparsity/optimization.py
code served (permissive licence) · get_code("1234a1b8db3b7662")
estimate_entropies Ran slachapelle/disentanglement_via_mechanism_sparsity/baseline_models/beta-tcvae/elbo_decomposition.py
code served (permissive licence) · get_code("90c6b85fc73eaff7")
get_z_z_hat Ran slachapelle/disentanglement_via_mechanism_sparsity/metrics.py
code served (permissive licence) · get_code("94b6cedb5f7e3107")
logsumexp Ran slachapelle/disentanglement_via_mechanism_sparsity/baseline_models/beta-tcvae/elbo_decomposition.py
code served (permissive licence) · get_code("fca04e40e0d22d1e")
plot_matrix Ran slachapelle/disentanglement_via_mechanism_sparsity/plot.py
code served (permissive licence) · get_code("b6467967b5103c2a")
plot_weighted_adjacency_vs_steps Ran slachapelle/disentanglement_via_mechanism_sparsity/plot.py
code served (permissive licence) · get_code("36c18134426cf72b")
test_consistency Ran slachapelle/disentanglement_via_mechanism_sparsity/metrics.py
code served (permissive licence) · get_code("2718ed7bc7052230")
compute_metric_faces Not yet run slachapelle/disentanglement_via_mechanism_sparsity/baseline_models/beta-tcvae/metric_helpers/mi_metric.py
code served (permissive licence) · get_code("c6b4e17ded1255db")
compute_metric_shapes Not yet run slachapelle/disentanglement_via_mechanism_sparsity/baseline_models/beta-tcvae/metric_helpers/mi_metric.py
code served (permissive licence) · get_code("f1bd7b98a30a255d")
mean_corr_coef_np Not yet run slachapelle/disentanglement_via_mechanism_sparsity/metrics.py
code served (permissive licence) · get_code("a83f8c46ef72bb82")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This work introduces a novel principle for disentanglement we call mechanism sparsity regularization, which applies when the latent factors of interest depend sparsely on observed auxiliary variables and/or past latent factors. We propose a representation learning method that induces disentanglement by simultaneously learning the latent factors and the sparse causal graphical model that explains them. We develop a nonparametric identifiability theory that formalizes this principle and shows that the latent factors can be recovered by regularizing the learned causal graph to be sparse, under some assumptions such as the absence of instantaneous causal effects between latent factors. More precisely, we show identifiability up to a novel equivalence relation we call consistency, which allows some latent factors to remain entangled (hence the term partial disentanglement). To describe the structure of this entanglement, we introduce the notions of entanglement graphs and graph preserving functions. We further provide a graphical criterion which guarantees complete disentanglement, that is identifiability up to permutations and element-wise transformations. We demonstrate the scope of the mechanism sparsity principle as well as the assumptions it relies on with several worked out examples. For instance, the framework shows how one can leverage multi-node interventions with unknown targets on the latent factors to disentangle them. We further draw connections between our nonparametric results and the now popular exponential family assumption. Lastly, we propose an estimation procedure based on variational autoencoders and a sparsity constraint and demonstrate it on various synthetic datasets. This work is meant to be a significantly extended version of a work published at CLeaR 2022.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.04890")
get_code_for_paper("2401.04890")
have("2401.04890")

Connect an agent — have() is free.