Skip to main content
QUICK REVIEW

[Paper Review] Inverting Deep Generative models, One layer at a time

Qi Lei, Ajil Jalal|arXiv (Cornell University)|Jun 18, 2019
Generative Adversarial Networks and Image SynthesisComputer Science24 references5 citations
TL;DR

This paper proposes a novel layer-wise linear programming approach to invert deep generative models with ReLU activations, enabling exact recovery of the latent code in polynomial time under constant expansion and random weights. It proves NP-hardness for multi-layer inversion and establishes provable error bounds for noisy observations, outperforming gradient descent in high-dimensional settings.

ABSTRACT

We study the problem of inverting a deep generative model with ReLU activations. Inversion corresponds to finding a latent code vector that explains observed measurements as much as possible. In most prior works this is performed by attempting to solve a non-convex optimization problem involving the generator. In this paper we obtain several novel theoretical results for the inversion problem. We show that for the realizable case, single layer inversion can be performed exactly in polynomial time, by solving a linear program. Further, we show that for multiple layers, inversion is NP-hard and the pre-image set can be non-convex. For generative models of arbitrary depth, we show that exact recovery is possible in polynomial time with high probability, if the layers are expanding and the weights are randomly selected. Very recent work analyzed the same problem for gradient descent inversion. Their analysis requires significantly higher expansion (logarithmic in the latent dimension) while our proposed algorithm can provably reconstruct even with constant factor expansion. We also provide provable error bounds for different norms for reconstructing noisy observations. Our empirical validation demonstrates that we obtain better reconstructions when the latent dimension is large.

Motivation & Objective

  • To address the challenge of inverting deep generative models with ReLU activations by finding a latent code that explains observed measurements.
  • To overcome the limitations of gradient-based optimization, which can fail to converge or get stuck in local minima.
  • To provide theoretical guarantees for exact and approximate inversion under realistic conditions such as network expansion and random weights.
  • To demonstrate improved empirical performance over gradient descent, especially when the latent dimension is large.

Proposed method

  • Inversion is performed layer by layer using linear programming, leveraging the piecewise linear structure of ReLU networks.
  • For single-layer networks, exact inversion is reformulated as a linear program, solvable in polynomial time.
  • For deeper networks, the method relies on iterative linear programming to reconstruct each layer, assuming sufficient expansion and random weights.
  • The approach uses ℓ₁ and ℓ∞ norms for error bounds, providing tighter control than ℓ₂ norms.
  • It establishes theoretical recovery guarantees under random weight matrices and constant expansion factors.
  • Empirical validation compares the method against gradient descent using MNIST and synthetic data, measuring reconstruction accuracy and success rate.

Experimental results

Research questions

  • RQ1Can exact inversion of a deep generative model with ReLU activations be achieved in polynomial time for a single layer?
  • RQ2Is multi-layer inversion NP-hard, and can the pre-image set be non-convex?
  • RQ3Under what conditions can exact recovery be guaranteed for arbitrary-depth networks with random weights and constant expansion?
  • RQ4How do error bounds for noisy observations depend on the choice of ℓ₁ and ℓ∞ norms?
  • RQ5Can the proposed method outperform gradient descent in high-dimensional latent spaces?

Key findings

  • Single-layer inversion with ReLU activations is equivalent to solving a linear program and can be performed in polynomial time.
  • Multi-layer inversion is NP-hard, and the pre-image set in the latent space can be non-convex.
  • For arbitrary-depth networks with constant-factor expansion and random weights, exact recovery is possible in polynomial time with high probability.
  • The proposed method requires only constant expansion per layer, whereas prior work using gradient descent requires logarithmic expansion in the latent dimension.
  • Empirically, the method achieves 100% success rate up to input dimension k=109, while gradient descent fails at k≥60.
  • In MNIST experiments, the ℓ∞-norm linear programming method produces reconstructions closer to ground truth than gradient descent, especially under noise and masking.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.