Invertible Generative Models for Inverse Problems: Mitigating Representation Error and Dataset Bias

Invertible Generative Models for Inverse Problems: Mitigating Representation Error and Dataset Bias

Invertible generative models for inverse problems: mitigating representation error and dataset bias Muhammad Asim * 1 Max Daniels * 2 Oscar Leong 3 Ali Ahmed y 1 Paul Hand y 2 Abstract 1. Introduction Trained generative models have shown remark- able performance as priors for inverse problems in imaging – for example, Generative Adversar- ial Network priors permit recovery of test images from 5-10x fewer measurements than sparsity pri- ors. Unfortunately, these models may be unable to represent any particular image because of ar- chitectural choices, mode collapse, and bias in the training dataset. In this paper, we demonstrate that invertible neural networks, which have zero representation error by design, can be effective natural signal priors at inverse problems such as denoising, compressive sensing, and inpainting. Given a trained generative model, we study the empirical risk formulation of the desired inverse problem under a regularization that promotes high likelihood images, either directly by penalization or algorithmically by initialization. For compres- sive sensing, invertible priors can yield higher Figure 1. We train an invertible generative model with CelebA accuracy than sparsity priors across almost all images (including those shown). When used as a prior for com- pressive sensing, it can yield higher quality image reconstructions undersampling ratios, and due to their lack of rep- than Lasso and a trained DCGAN, even on out-of-distribution im- resentation error, invertible priors can yield better ages. Note that the DCGAN reflects biases of the training set by reconstructions than GAN priors for images that removing the man’s glasses and beard, whereas our invertible prior have rare features of variation within the biased does not. training set, including out-of-distribution natural images. We additionally compare performance for compressive sensing to unlearned methods, Generative deep neural networks have shown remarkable arXiv:1905.11672v4 [cs.CV] 12 Jul 2020 such as the deep decoder, and we establish theo- performance as natural signal priors in imaging inverse prob- retical bounds on expected recovery error in the lems, such as denoising, inpainting, compressive sensing, case of a linear invertible model. blind deconvolution, and phase retrieval. These generative models can be trained from datasets consisting of images of particular natural signal classes, such as faces, fingerprints, MRIs, and more (Karras et al., 2018; Minaee & Abdol- Equal contributions are denoted by * and y. 1Department rashidi, 2018; Shin et al., 2018; Chen et al., 2018). Some of Electrical Engineering, Information Technology University, such models, including variational autoencoders (VAEs) Lahore, Pakistan 2Department of Mathematics and Khoury Col- and generative adversarial networks (GANs), learn an ex- lege of Computer Sciences, Northeastern University, Boston, plicit low-dimensional manifold that approximates a natural 3 MA Department of Computational and Applied Mathematics, signal class (Goodfellow et al., 2014; Kingma & Welling, Rice University, Houston, TX. Correspondence to: Max Daniels <[email protected]>. 2014; Rezende et al., 2014). We will refer to such mod- els as GAN priors. These priors can be used for inverse problems by attempting to find the signal in the range of Invertible generative models for inverse problems: mitigating representation error and dataset bias the generative model that is most consistent with provided in which a generative prior is trained using high dimensional measurements. When the GAN has a low dimensional la- latent representations which are structured as the parameters tent space, this allows for a low dimensional optimization of a randomly initialized convolutional neural network. problem that operates directly on the natural signal class. In this paper, we study flow-based invertible neural networks Consequently, generative priors can obtain significant perfor- as signal priors. These networks are mathematically invert- mance improvements over classical methods. For example, ible (one-to-one and onto) by architectural design (Dinh GAN priors have been shown to outperform sparsity priors et al., 2017; Gomez et al., 2017; Jacobsen et al., 2018; at compressive sensing with 5-10x fewer measurements in Kingma & Dhariwal, 2018). Consequently, they have zero some cases. Additionally, GAN priors have led to novel representation error and are capable of recovering any image, theory for signal recovery in the linear compressive sensing including those significantly out-of-distribution relative to a and nonlinear phase retrieval problems (Bora et al., 2017; training set; see Figure1. We call the domain of an invert- Hand & Voroninski, 2018; Hand et al., 2018), and they have ible generator the latent space, and we call the range of the also shown promising results for the nonlinear blind image generator the signal space. These must have equal dimen- deblurring problem (Asim et al., 2019). sionality. The strengths of these invertible models include: A significant drawback of GAN priors for solving inverse their architecture allows exact and efficient latent-variable problems is that they can have large representation error or inference, direct log-likelihood evaluation, and efficient im- bias due to architecture and training. That is, a desired image age synthesis; they have the potential for significant memory may not be in or near the range of a particular trained GAN. savings in gradient computations; and they can be trained Representation error can occur both for in-distribution and by directly optimizing the likelihood of training images. out-of-distribution images. For in-distribution, it can be This paper emphasizes an additional strength: because they caused by inappropriate latent dimensionality and mode lack representation error, invertible models can mitigate collapse. For out-of-distribution images, representation er- dataset bias and improve recovery performance on inverse ror can be large in part because the GAN training process problems, including for signals that are out-of-distribution explicitly discourages such images due to the presence of relative to training data. the concurrently trained discriminator network. For many We present a method for using pretrained generative invert- imaging inverse problems, it is important to be able to re- ible neural networks as priors for imaging inverse problems. cover signals that are out-of-distribution relative to training An invertible generator, once trained, can be used for a wide data. For example, in scientific and medical imaging, novel variety of inverse problems, with no specific knowledge objects or pathologies may be expressly sought. Addition- of those problems used during the training process. As an ally, desired signals may be out-of-distribution because a invertible net permits a likelihood estimate for all images, training dataset has bias and is unrepresentative of the true image recovery can be posed as seeking the highest likeli- underlying distribution. As an example, the CelebA dataset hood image that is consistent with provided measurements. (Liu et al., 2015) is biased toward people who are young, who do not have facial hair or glasses, and who have a As a proxy for the image log-likelihood, we pose an op- light skin tone. As we will see, a GAN prior trained on timization of squared data-fit over the latent space under this dataset learns these biases and exhibits image recovery regularization by likelihood of latent representations. In the failures because of them. case of denoising, we explicitly penalize log-likelihood of latent codes, while in compressive sensing and inpainting, Several recent priors have been developed that have lower regularization is achieved algorithmically. This is due in representation error than GANs. One class of approaches part to initializion with latent code zero. are unlearned neural network priors, such as the Deep Image Prior and the Deep Decoder (Ulyanov et al., 2018; Heckel & The contributions of this paper are as follows. We train a Hand, 2019). These are neural networks that are randomly generative invertible model using the CelebA dataset. With initialized, and whose weights are optimized at inversion this fixed model as a signal prior, we study its performance time to best fit provided measurements. They have practi- at multiple inverse problems. cally zero representation error for natural images. Because they are untrained, there is no training set or training distribu- For image denoising, invertible neural network pri- tion, and hence there is no notion of in- or out-of-distribution • ors can yield sharper images with higher PSNRs than natural images. Another class of approaches include updat- BM3D (Dabov et al., 2007). ing the weights of the trained GAN at inversion time in an image adaptive way, such as the IAGAN (Hussein et al., For compressive sensing of in-distribution images, in- 2020). Such an approach could be interpreted as using the • vertible neural network priors can yield higher PSNRs GAN as a warm start for a Deep Image Prior. A further ap- than GANs with low-dimensional latent dimension- proach is Latent Convolutional Models (Athar et al., 2019), ality (both DCGAN and PG-GAN), Image Adaptive Invertible generative models for inverse problems: mitigating representation error and dataset bias GANs, sparsity priors, and a Deep Decoder across a Unless otherwise stated, we initialize both formulations at wide range of undersampling ratios. z0 = 0. Invertible neural

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    29 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us