The Hessian Penalty: A Weak Prior for Unsupervised Disentanglement

William Peebles, John Peebles, Jun-Yan Zhu, Alexei Efros, Antonio Torralba
8/24/2020
cs.CVcs.GRcs.LG

Official code: wpeebles/hessian_penalty (209 stars, Python, BSD-2-Clause, last commit 2021-09-02).

Abstract

Existing disentanglement methods for deep generative models rely on hand-picked priors and complex encoder-based architectures. In this paper, we propose the Hessian Penalty, a simple regularization term that encourages the Hessian of a generative model with respect to its input to be diagonal.

Show full abstract

We introduce a model-agnostic, unbiased stochastic approximation of this term based on Hutchinson's estimator to compute it efficiently during training. Our method can be applied to a wide range of deep generators with just a few lines of code. We show that training with the Hessian Penalty often causes axis-aligned disentanglement to emerge in latent space when applied to ProGAN on several datasets. Additionally, we use our regularization term to identify interpretable directions in BigGAN's latent space in an unsupervised fashion. Finally, we provide empirical evidence that the Hessian Penalty encourages substantial shrinkage when applied to over-parameterized latent spaces.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause

Official Implementation of "The Hessian Penalty: A Weak Prior for Unsupervised Disentanglement" (ECCV 2020 Spotlight)

20921Python, ShellAug 25, 20205 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{peebles2020hessian,
  title  = {The Hessian Penalty: A Weak Prior for Unsupervised Disentanglement},
  author = {William Peebles and John Peebles and Jun-Yan Zhu and Alexei Efros and Antonio Torralba},
  year   = {2020},
  eprint = {2008.10599},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.10599}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.10599.svg)](https://codeofpaper.com/paper/2008.10599)

Discussion