[Paper Review] Backpropagation for Implicit Spectral Densities
This paper introduces spectral backpropagation, a method to optimize implicit spectral densities in deep generative models without requiring explicit likelihoods or invertible mappings. By leveraging automatic differentiation to backpropagate through spectral density approximations, the approach enables training of non-invertible models like Wide ResNets and reveals novel properties in GAN generators, including high-likelihood nonsensical outputs and eigenvectors of the generator's metric that correspond to quasi-disentangled, semantically meaningful factors.
Most successful machine intelligence systems rely on gradient-based learning, which is made possible by backpropagation. Some systems are designed to aid us in interpreting data when explicit goals cannot be provided. These unsupervised systems are commonly trained by backpropagating through a likelihood function. We introduce a tool that allows us to do this even when the likelihood is not explicitly set, by instead using the implicit likelihood of the model. Explicitly defining the likelihood often entails making heavy-handed assumptions that impede our ability to solve challenging tasks. On the other hand, the implicit likelihood of the model is accessible without the need for such assumptions. Our tool, which we call spectral backpropagation, allows us to optimize it in much greater generality than what has been attempted before. GANs can also be viewed as a technique for optimizing implicit likelihoods. We study them using spectral backpropagation in order to demonstrate robustness for high-dimensional problems, and identify two novel properties of the generator G: (1) there exist aberrant, nonsensical outputs to which G assigns very high likelihood, and (2) the eigenvectors of the metric induced by G over latent space correspond to quasi-disentangled explanatory factors.
Motivation & Objective
- To develop a general-purpose tool for optimizing implicit likelihoods in deep generative models without requiring explicit likelihoods or invertible mappings.
- To enable gradient-based training of flexible, non-invertible models such as Wide ResNets by approximating spectral densities via automatic differentiation.
- To study the structural properties of GAN generators using spectral backpropagation, particularly the organization of latent space.
- To demonstrate the method's viability on high-dimensional problems and uncover new insights into generator behavior.
Proposed method
- Spectral backpropagation computes gradients through an approximation of the spectral density of a non-invertible generator function $ f $, enabling optimization of implicit likelihoods.
- The method uses automatic differentiation to backpropagate through the spectral decomposition of the Jacobian matrix $ J_f $, avoiding explicit computation of $ f^{-1} $ or $ \log|\det J_f| $.
- It formulates the optimization of $ d_{\text{KL}}(Q,P_X) $ and $ d_{\text{KL}}(P_X,Q) $ using spectral density approximations, bypassing the need for explicit likelihood evaluation.
- The approach evaluates the metric $ M_f = J_f J_f^T $ at each latent point $ z $, and computes its eigenvectors and eigenvalues to analyze local geometry of the generator's output space.
- It introduces $ v_{\text{eff}}(\tau) $, a measure of effective dimensionality of latent space, defined as the average number of eigenvectors causing relative pixelwise changes above threshold $ \tau $.
- Computational studies use perturbations along eigenvectors and random directions to compare semantic interpretability and magnitude of changes in generated samples.
Experimental results
Research questions
- RQ1Can implicit likelihoods be optimized efficiently in non-invertible models without explicit density evaluation or invertibility assumptions?
- RQ2Do GAN generators assign high likelihood to nonsensical, aberrant outputs, and what does this imply for training stability?
- RQ3Do the eigenvectors of the generator's metric $ M_f $ correspond to meaningful, disentangled factors of variation in the generated data?
- RQ4How does the effective dimensionality of latent space, measured via $ v_{\text{eff}}(\tau) $, vary with model depth $ n_f $ and latent dimension $ n_z $?
- RQ5Can local perturbations along spectral directions of the generator yield more interpretable and semantically coherent changes than random perturbations?
Key findings
- The spectral backpropagation method successfully minimizes both $ d_{\text{KL}}(Q,P_X) $ and $ d_{\text{KL}}(P_X,Q) $ for non-invertible Wide ResNet-based models, demonstrating feasibility on high-dimensional data.
- GAN generators produce aberrant, nonsensical outputs to which they assign very high likelihood, indicating a potential failure mode in implicit likelihood optimization.
- The eigenvectors of the metric $ M_f $ induced by the generator $ G $ correspond to quasi-disentangled, semantically meaningful factors: e.g., first two eigenvectors affect hair length and facial orientation, third affects bangs, fourth and fifth change background color, sixth and seventh alter hair color.
- For CelebA and LSUN Bedroom datasets, doubling $ n_z $ roughly doubles $ v_{\text{eff}}(\tau) $, indicating increased effective dimensionality, while doubling $ n_f $ results in only a modest increase in $ v_{\text{eff}} $, suggesting limited additional information capture.
- Perturbations along spectral eigenvectors lead to significantly more interpretable and attribute-specific changes than random perturbations, with dominant eigenvalues causing the most drastic and meaningful modifications.
- The method reveals that higher $ n_z $ may encourage the generator to capture more explanatory factors, though potentially at the cost of reduced sample quality, as suggested by qualitative analysis of perturbation effects.
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.