Papers › Orthogonal Jacobian Regularization for Unsupervised Disentanglement in Image Generation

Orthogonal Jacobian Regularization for Unsupervised Disentanglement in Image Generation

17 Aug 2021ICCV 2021 10arXiv:2108.07668archive 2025-07-28

Yuxiang Wei, Yupeng Shi, Xiao Liu, Zhilong Ji, Yuan Gao, Zhongqin Wu, WangMeng Zuo

Unsupervised disentanglement learning is a crucial issue for understanding and exploiting deep generative models. Recently, SeFa tries to find latent disentangled directions by performing SVD on the first projection of a pre-trained GAN. However, it is only applied to the first layer and works in a post-processing way. Hessian Penalty minimizes the off-diagonal entries of the output's Hessian matrix to facilitate disentanglement, and can be applied to multi-layers.However, it constrains each entry of output independently, making it not sufficient in disentangling the latent directions (e.g., shape, size, rotation, etc.) of spatially correlated variations. In this paper, we propose a simple Orthogonal Jacobian Regularization (OroJaR) to encourage deep generative model to learn disentangled representations. It simply encourages the variation of output caused by perturbations on different latent dimensions to be orthogonal, and the Jacobian with respect to the input is calculated to represent this variation. We show that our OroJaR also encourages the output's Hessian matrix to be diagonal in an indirect manner. In contrast to the Hessian Penalty, our OroJaR constrains the output in a holistic way, making it very effective in disentangling latent dimensions corresponding to spatially correlated variations. Quantitative and qualitative experimental results show that our method is effective in disentangled and controllable image generation, and performs favorably against the state-of-the-art methods. Our code is available at https://github.com/csyxwei/OroJaR

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="2108.07668")

Code

Syntology Ran 9 of 21 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · honoured contract; 7 ran · our draft was wrong; 1 ran · fixture could not drive it.

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

csyxwei/orojar officialmentioned in papermentioned on GitHubpytorchBSD-2-Clause 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

21 samples harvested; 9 ran; 1 honoured the contract we drafted; 12 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.

1ran · honoured contract
7ran · our draft was wrong
1ran · fixture could not drive it
12unverified

Licence: 0 of the 21 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 csyxwei/orojar. “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.

D_arch csyxwei/orojar/biggan_discovery/BigGAN.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · 85eb95cce203dfc7 · report
G_arch csyxwei/orojar/biggan_discovery/BigGAN.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · e8c308c9283407d7 · report
gram_schmidt csyxwei/orojar/biggan_discovery/layers.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · c41836f3e51fa8f1 · report
listify csyxwei/orojar/biggan_discovery/orojar.py official repository ran · honoured contract fingerprinted BSD-2-Clause (permissive) · 47b42795fd222ceb · report
multi_layer_first_directional_derivative csyxwei/OroJaR/orojar_pytorch.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · f6b513df7a8f90bf · report
multi_stack_var_and_reduce csyxwei/OroJaR/orojar_pytorch.py official repository ran · fixture could not drive it BSD-2-Clause (permissive) · 16fa0b0146a66a69 · report
orojar csyxwei/OroJaR/orojar_pytorch.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · a2ed9ad66857123a · report
rademacher csyxwei/orojar/orojar_pytorch.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · 8de600fe2220e241 · report
stack_var_and_reduce csyxwei/OroJaR/orojar_pytorch.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · 97ecfd58b1dab254 · report
D_arch csyxwei/orojar/biggan_discovery/BigGANdeep.py official repository unverified BSD-2-Clause (permissive) · a99a05ac52533be9 · report
G_arch csyxwei/orojar/biggan_discovery/BigGANdeep.py official repository unverified BSD-2-Clause (permissive) · 44d6a6343f6eb182 · report
build_job_name csyxwei/orojar/progan_experiments/train_orojar.py official repository unverified BSD-2-Clause (permissive) · 4da4d6bc0bd3244a · report
first_directional_derivative csyxwei/orojar/biggan_discovery/orojar.py official repository unverified BSD-2-Clause (permissive) · 09e8b81f44dc0143 · report
get_current_hessian_penalty_loss_weight csyxwei/orojar/progan_experiments/training/orojar.py official repository unverified BSD-2-Clause (permissive) · 84a7e309cd2bf8f6 · report
loss_dcgan_dis csyxwei/orojar/biggan_discovery/losses.py official repository unverified BSD-2-Clause (permissive) · 982a26492dc6b7fb · report
loss_dcgan_gen csyxwei/orojar/biggan_discovery/losses.py official repository unverified BSD-2-Clause (permissive) · 6c34831223553b6f · report
loss_hinge_dis csyxwei/orojar/biggan_discovery/losses.py official repository unverified BSD-2-Clause (permissive) · 290cd37ab0098d5c · report
norm csyxwei/orojar/biggan_discovery/layers.py official repository unverified BSD-2-Clause (permissive) · 2de3863ec32c1c1f · report
orojar csyxwei/orojar/orojar_pytorch.py official repository unverified BSD-2-Clause (permissive) · ff29a0906a2963fb · report
proj csyxwei/orojar/biggan_discovery/layers.py official repository unverified BSD-2-Clause (permissive) · 4015ab1f3ab9b881 · report
rademacher csyxwei/orojar/biggan_discovery/orojar.py official repository unverified BSD-2-Clause (permissive) · 58800b4db4b14ffd · report

Tasks

DisentanglementImage Generation

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