[Paper Review] Regularized Autoencoders via Relaxed Injective Probability Flow
This paper proposes Injective Flow, a generative model that relaxes the bijectivity constraint of invertible flows by using injective mappings from low-dimensional latents to high-dimensional data, enabling tractable training via lower-bounded probability flows. The method improves sample quality over VAEs and autoencoders, achieving state-of-the-art FID scores on CIFAR-10 and CelebA while maintaining a compressed latent space.
Invertible flow-based generative models are an effective method for learning to generate samples, while allowing for tractable likelihood computation and inference. However, the invertibility requirement restricts models to have the same latent dimensionality as the inputs. This imposes significant architectural, memory, and computational costs, making them more challenging to scale than other classes of generative models such as Variational Autoencoders (VAEs). We propose a generative model based on probability flows that does away with the bijectivity requirement on the model and only assumes injectivity. This also provides another perspective on regularized autoencoders (RAEs), with our final objectives resembling RAEs with specific regularizers that are derived by lower bounding the probability flow objective. We empirically demonstrate the promise of the proposed model, improving over VAEs and AEs in terms of sample quality.
Motivation & Objective
- To address the high computational and memory costs of invertible flow models, which require equal input and latent dimensionality due to bijectivity constraints.
- To enable efficient, scalable generative modeling with compressed latent spaces by relaxing bijectivity to injectivity.
- To derive a tractable training objective from probability flow that naturally motivates regularization strategies used in regularized autoencoders.
- To improve sample quality and FID scores compared to VAEs and standard autoencoders while maintaining a low-dimensional latent space.
- To provide a new perspective on regularized autoencoders by linking them to probability flow objectives with derived regularizers.
Proposed method
- Uses injective, differentiable mappings $ g: \mathbb{R}^d \to \mathbb{R}^D $ with $ d \ll D $, where $ g $ is invertible only on its image $ g(Z) $.
- Applies a change of variables formula for injective mappings, deriving a log-likelihood expression involving the Jacobian determinant $ \left| \det J_g(z)^\top J_g(z) \right|^{1/2} $.
- Derives a lower-bound on the probability flow objective using stochastic approximations to make the Jacobian term tractable for optimization.
- Employs an amortized encoder with a penalty method to enforce injectivity during training, approximating $ g(h(x)) \approx x $ on training points.
- Introduces a smoothness regularizer on $ g $ that emerges naturally from the probability flow framework, resembling regularization in prior autoencoder work.
- Uses a Gaussian or mixture of Gaussians as prior over the latent space, with post-fit priors used for sampling to improve FID scores.
Experimental results
Research questions
- RQ1Can injective mappings replace bijective mappings in flow-based generative models to reduce dimensionality and computational cost?
- RQ2Does relaxing bijectivity to injectivity still allow for high-quality sample generation with tractable training objectives?
- RQ3Can the probability flow framework naturally motivate and justify regularization strategies used in regularized autoencoders?
- RQ4How does the performance of injective flow models compare to VAEs and autoencoders in terms of sample quality and FID scores?
- RQ5Can injective flows achieve better FID scores than prior regularized autoencoders while maintaining a low-dimensional latent space?
Key findings
- The proposed Injective Flow models achieve state-of-the-art FID scores on CIFAR-10 and CelebA, outperforming both VAEs and standard autoencoders.
- On MNIST, the models are competitive with β-VAE, though β-VAE slightly outperforms them in FID score.
- InjFlow ℓn, which uses an annealed, data-dependent λ, achieves better FID scores than InjFlow with fixed λ=1, indicating the importance of adaptive regularization.
- Visualizations show that InjFlow samples are sharper and preserve more fine details (e.g., hair strands) than VAEs, which tend to be blurry.
- Reconstructions from InjFlow preserve more fine-grained details than both VAEs and standard autoencoders, consistent with improved FID scores.
- FID scores are further improved when using a post-fit mixture of Gaussians (GMM) prior instead of a single Gaussian, suggesting that prior expressivity enhances sample quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.