Skip to main content
QUICK REVIEW

[Paper Review] Duality of Width and Depth of Neural Networks.

Fenglei Fan, Ge Wang|arXiv (Cornell University)|Feb 6, 2020
Neural Networks and ApplicationsComputer Science2 citations
TL;DR

This paper establishes a quasi-equivalence between the width and depth of ReLU neural networks, showing that any feedforward ReLU network can be transformed into an equivalent wide or deep network with arbitrarily small error. The transformation reveals a duality between width and depth, with the equivalence resembling a data-driven version of De Morgan's law in classification tasks.

ABSTRACT

While classic studies proved that wide networks allow universal approximation, recent research and successes of deep learning demonstrate the power of the network depth. Based on a symmetric consideration, we investigate if the design of artificial neural networks should have a directional preference, and what the mechanism of interaction is between the width and depth of a network. We address this fundamental question by establishing a quasi-equivalence between the width and depth of ReLU networks. Specifically, we formulate a transformation from an arbitrary ReLU network to a wide network and a deep network for either regression or classification so that an essentially same capability of the original network can be implemented. That is, a deep regression/classification ReLU network has a wide equivalent, and vice versa, subject to an arbitrarily small error. Interestingly, the quasi-equivalence between wide and deep classification ReLU networks is a data-driven version of the De Morgan law.

Motivation & Objective

  • To investigate whether artificial neural networks inherently favor depth or width in their architectural design.
  • To explore the fundamental interaction mechanism between network width and depth in ReLU networks.
  • To establish a theoretical transformation that preserves network capability while converting between wide and deep architectures.
  • To demonstrate that wide and deep ReLU networks are quasi-equivalent under arbitrary approximation error.
  • To reveal a data-driven analog of De Morgan's law in the context of classification networks.

Proposed method

  • Propose a transformation that maps an arbitrary ReLU network into an equivalent wide network with the same functional capability.
  • Develop a dual transformation that maps the same network into an equivalent deep network, maintaining regression or classification performance.
  • Use symmetric construction principles to ensure that both width and depth variants achieve the same output with error bounded by an arbitrarily small ε.
  • Apply the transformation to both regression and classification tasks, preserving the network's expressivity.
  • Leverage the structure of ReLU activation and piecewise linear function representation to enable the width-depth duality.
  • Formalize the equivalence as a quasi-equivalence, acknowledging that exact equivalence is not required due to the tolerance for small error.

Experimental results

Research questions

  • RQ1Can a deep ReLU network be transformed into a wide network with equivalent functional capability?
  • RQ2Can a wide ReLU network be transformed into a deep network with equivalent performance?
  • RQ3What is the mathematical mechanism underlying the duality between width and depth in ReLU networks?
  • RQ4How does the quasi-equivalence relate to logical duality, such as De Morgan's law, in classification settings?
  • RQ5To what extent can the approximation error between the original and transformed networks be controlled?

Key findings

  • Any ReLU network can be transformed into a wide network that approximates the original function within an arbitrarily small error ε.
  • The same network can also be transformed into a deep network that preserves the same functional capability with error bounded by ε.
  • The quasi-equivalence between wide and deep networks holds for both regression and classification tasks.
  • The duality in network architecture is formally analogous to De Morgan's law in the context of classification, suggesting a logical symmetry.
  • The transformation is constructive and symmetric, enabling bidirectional conversion between width and depth while maintaining expressivity.
  • The results imply that depth and width are not inherently preferred but are interchangeable under the proposed transformation.

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.