Skip to main content
QUICK REVIEW

[Paper Review] On approximating $ abla f$ with neural networks

Saeed Saremi|arXiv (Cornell University)|Oct 28, 2019
Model Reduction and Neural NetworksPhysics and Astronomy13 references8 citations
TL;DR

This paper proves that deep feedforward neural networks ($\psi$) with more than one hidden layer cannot approximate $\nabla f$ for a smooth function $f$ unless all input and output weights are parallel, severely limiting their expressivity. As an alternative, it proposes implicit parametrization via $\phi$ such that $\nabla\phi \approx \nabla f$, which avoids the symmetry constraints and enables universal approximation with depth.

ABSTRACT

Consider a feedforward neural network $ψ: \mathbb{R}^d ightarrow \mathbb{R}^d$ such that $ψ\approx abla f$, where $f:\mathbb{R}^d ightarrow \mathbb{R}$ is a smooth function, therefore $ψ$ must satisfy $\partial_j ψ_i = \partial_i ψ_j$ pointwise. We prove a theorem that a $ψ$ network with more than one hidden layer can only represent one feature in its first hidden layer; this is a dramatic departure from the well-known results for one hidden layer. The proof of the theorem is straightforward, where two backward paths and a weight-tying matrix play the key roles. We then present the alternative, the implicit parametrization, where the neural network is $ϕ: \mathbb{R}^d ightarrow \mathbb{R}$ and $ abla ϕ\approx abla f$; in addition, a "soft analysis" of $ abla ϕ$ gives a dual perspective on the theorem. Throughout, we come back to recent probabilistic models that are formulated as $ abla ϕ\approx abla f$, and conclude with a critique of denoising autoencoders.

Motivation & Objective

  • To investigate the expressive capacity of deep feedforward networks ($\psi$) in approximating the gradient $\nabla f$ of a smooth function $f$.
  • To identify structural constraints—specifically, symmetry conditions $\partial_j\psi_i = \partial_i\psi_j$—that limit $\psi$'s ability to represent $\nabla f$ when depth exceeds one.
  • To propose an alternative parametrization using $\phi$ such that $\nabla\phi \approx \nabla f$, avoiding the constraints of explicit $\psi$ networks.
  • To analyze the implications for modern probabilistic models and denoising autoencoders that rely on $\psi \approx \nabla f$.

Proposed method

  • Derives the condition $\partial_j\psi_i = \partial_i\psi_j$ as a necessary constraint for $\psi$ to approximate $\nabla f$, arising from the symmetry of mixed partial derivatives of $f$.
  • Proves that for deep networks ($L > 2$), the only solution to this constraint is that all input weights $\theta_m^{(0)}$ and output weights $\theta_n^{(L-1)}$ are parallel, drastically reducing representational capacity.
  • Introduces the implicit parametrization framework using $\phi: \mathbb{R}^d \to \mathbb{R}$, where $\nabla\phi$ is used to approximate $\nabla f$, circumventing the symmetry constraints.
  • Performs a "soft analysis" of $\nabla\phi$, showing it corresponds to a product of $L-1$ neural networks, suggesting a richer computational structure than conventional $\psi$ networks.
  • Critiques denoising autoencoders by showing their $\psi$-networks fail to generalize beyond one hidden layer due to the same symmetry constraints.

Experimental results

Research questions

  • RQ1Can a deep feedforward neural network $\psi: \mathbb{R}^d \to \mathbb{R}^d$ with more than one hidden layer approximate $\nabla f$ for a general smooth function $f$?
  • RQ2What structural constraints arise from the requirement $\partial_j\psi_i = \partial_i\psi_j$ in deep networks, and how do they limit parameterization?
  • RQ3Why do denoising autoencoders fail to generalize beyond one hidden layer when approximating the score function $\nabla f$?
  • RQ4Can the gradient of a deep network $\phi: \mathbb{R}^d \to \mathbb{R}$, i.e., $\nabla\phi$, serve as a universal approximator for $\nabla f$ despite the limitations of $\psi$ networks?

Key findings

  • For deep networks ($L > 2$), the symmetry constraint $\partial_j\psi_i = \partial_i\psi_j$ forces all input weights $\theta_m^{(0)}$ and output weights $\theta_n^{(L-1)}$ to be parallel, restricting the network to represent only a single feature in the first hidden layer.
  • The condition $\theta_{im}^{(1)}\theta_{mj}^{(0)} = \theta_{jm}^{(1)}\theta_{mi}^{(0)}$ must hold for all $i,j,m$, which is only satisfiable under the parallel weight constraint in deep architectures.
  • The implicit parametrization via $\phi$ avoids the symmetry constraints, enabling deep networks to represent $\nabla f$ universally, as $\nabla\phi$ corresponds to a product of $L-1$ networks.
  • Denoising autoencoders, which implicitly define $\psi \approx \nabla f$, are limited to one hidden layer because deeper $\psi$ networks cannot satisfy the symmetry constraints, despite their generalization in the one-layer case.
  • The analysis reveals a fundamental phase transition: one hidden layer $\psi$ networks can represent $\nabla f$ with tied weights, but deeper $\psi$ networks are ineffective unless constrained to a single feature, making $\phi$ the only viable deep alternative.

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.