Papers › Weakly Supervised Disentangled Generative Causal Representation Learning

Weakly Supervised Disentangled Generative Causal Representation Learning

6 Oct 2020arXiv:2010.02637archive 2025-07-28

Xinwei Shen, Furui Liu, Hanze Dong, Qing Lian, Zhitang Chen, Tong Zhang

This paper proposes a Disentangled gEnerative cAusal Representation (DEAR) learning method under appropriate supervised information. Unlike existing disentanglement methods that enforce independence of the latent variables, we consider the general case where the underlying factors of interests can be causally related. We show that previous methods with independent priors fail to disentangle causally related factors even under supervision. Motivated by this finding, we propose a new disentangled learning method called DEAR that enables causal controllable generation and causal representation learning. The key ingredient of this new formulation is to use a structural causal model (SCM) as the prior distribution for a bidirectional generative model. The prior is then trained jointly with a generator and an encoder using a suitable GAN algorithm incorporated with supervised information on the ground-truth factors and their underlying causal structure. We provide theoretical justification on the identifiability and asymptotic convergence of the proposed method. We conduct extensive experiments on both synthesized and real data sets to demonstrate the effectiveness of DEAR in causal controllable generation, and the benefits of the learned representations for downstream tasks in terms of sample efficiency and distributional robustness.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2010.02637")

Code

Syntology Ran 2 of 12 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

By repository: official repository: 12 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xwshen51/DEAR officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 2 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
10unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xwshen51/DEAR. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv1x1 xwshen51/DEAR/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d9def42110729a85 · report
conv3x3 xwshen51/DEAR/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 160bb14bd76201b4 · report
denorm xwshen51/DEAR/utils.py official repository unverified Apache-2.0 (permissive) · 6e16337c88174e00 · report
draw_recon xwshen51/DEAR/utils.py official repository unverified Apache-2.0 (permissive) · e4c3a8a49d8e70d1 · report
gaussian_nll xwshen51/DEAR/bgm.py official repository unverified Apache-2.0 (permissive) · 5f841bea5a7712f0 · report
kl_div xwshen51/DEAR/bgm.py official repository unverified Apache-2.0 (permissive) · 92eea8d46ba7a4f4 · report
make_dataloader xwshen51/DEAR/utils.py official repository unverified Apache-2.0 (permissive) · 02f5fcae9df37e0b · report
reparameterize xwshen51/DEAR/bgm.py official repository unverified Apache-2.0 (permissive) · 5b3c8bcd1091cbb0 · report
resnet18 xwshen51/DEAR/resnet.py official repository unverified Apache-2.0 (permissive) · c9ab5129b95f0a1e · report
snconv2d xwshen51/DEAR/sagan.py official repository unverified Apache-2.0 (permissive) · 572d43d0e50a2023 · report
snconvtrans2d xwshen51/DEAR/sagan.py official repository unverified Apache-2.0 (permissive) · 86964df169b4f2bb · report
snlinear xwshen51/DEAR/sagan.py official repository unverified Apache-2.0 (permissive) · d7e3fc2fa558d6ef · report

Tasks

DisentanglementRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections