Skip to main content
QUICK REVIEW

[Paper Review] Deep Network Approximation: Beyond ReLU to Diverse Activation Functions

Zhang Shi-jun, Jianfeng Lu|arXiv (Cornell University)|Jul 13, 2023
Stochastic Gradient Optimization TechniquesComputer Science15 citations
TL;DR

The paper develops a unified approximation framework showing that networks with a wide class of activation functions can match ReLU-network expressive power, with explicit width-depth scaling factors, and identifies cases where these factors shrink further.

ABSTRACT

This paper explores the expressive power of deep neural networks for a diverse range of activation functions. An activation function set $\mathscr{A}$ is defined to encompass the majority of commonly used activation functions, such as $\mathtt{ReLU}$, $\mathtt{LeakyReLU}$, $\mathtt{ReLU}^2$, $\mathtt{ELU}$, $\mathtt{CELU}$, $\mathtt{SELU}$, $\mathtt{Softplus}$, $\mathtt{GELU}$, $\mathtt{SiLU}$, $\mathtt{Swish}$, $\mathtt{Mish}$, $\mathtt{Sigmoid}$, $\mathtt{Tanh}$, $\mathtt{Arctan}$, $\mathtt{Softsign}$, $\mathtt{dSiLU}$, and $\mathtt{SRS}$. We demonstrate that for any activation function $\varrho\in \mathscr{A}$, a $\mathtt{ReLU}$ network of width $N$ and depth $L$ can be approximated to arbitrary precision by a $\varrho$-activated network of width $3N$ and depth $2L$ on any bounded set. This finding enables the extension of most approximation results achieved with $\mathtt{ReLU}$ networks to a wide variety of other activation functions, albeit with slightly increased constants. Significantly, we establish that the (width,$\,$depth) scaling factors can be further reduced from $(3,2)$ to $(1,1)$ if $\varrho$ falls within a specific subset of $\mathscr{A}$. This subset includes activation functions such as $\mathtt{ELU}$, $\mathtt{CELU}$, $\mathtt{SELU}$, $\mathtt{Softplus}$, $\mathtt{GELU}$, $\mathtt{SiLU}$, $\mathtt{Swish}$, and $\mathtt{Mish}$.

Motivation & Objective

  • Motivate understanding of the expressive power of deep nets beyond ReLU.
  • Define a broad activation-function set that covers most common activations.
  • Establish approximation results linking non-ReLU activations to ReLU networks on bounded sets.
  • Derive how width-depth requirements can be reduced for certain activation families.
  • Discuss implications for transferring ReLU-based approximation results to other activations.

Proposed method

  • Define activation function set A encompassing ReLU, Leaky ReLU, ReLU^2, ELU, GELU, SiLU, Swish, Mish, Sigmoid, Tanh, Arctan, Softsign, dSiLU, SRS, and their translations/scalings/reflects.
  • Show that for any ρ in A and any ReLU network φ_ReLU with width N and depth L, there exists a ρ-network φ_ρ with width 3N and depth 2L that approximates φ_ReLU arbitrarily well on any bounded domain [-A,A]^d.
  • Prove density-type results: N_N_ρ{3N,2L} is dense in N_N_ReLU{N,L} under sup-norm on bounded sets.
  • Present corollaries transferring ReLU approximation results to general Activation ρ in A for function classes like C([0,1]^d), C^s([0,1]^d), and piecewise linear functions.
  • Extend to higher-smoothness cases (ρ^{(k)}) yielding width-depth scaling (k+1)N and depth L (Theorem 6).
  • Provide refined scaling in special cases: (2,1) for ρ in A_2, and (1,1) for ρ in a refined subset ~A_2, with detailed comparisons (Theorems 8–9).

Experimental results

Research questions

  • RQ1Can a wide class of activation functions approximate ReLU networks on bounded domains with comparable expressiveness?
  • RQ2What are the explicit width-depth scaling factors required to approximate ReLU networks using activation functions from the defined set A?
  • RQ3How do smoother or structured activations within A affect the width-depth requirements for universal approximation?
  • RQ4Do there exist activation-function subsets that allow tighter (smaller) width-depth scaling, and how do they compare to ReLU-based results?

Key findings

  • For any ρ in A, a ReLU network of width N and depth L can be approximated by a ρ-network of width 3N and depth 2L on any bounded domain with arbitrary accuracy.
  • Consequence: ρ-activated networks share at least the expressive power of ReLU networks, enabling transfer of ReLU-based approximation results to many activation functions.
  • If ρ belongs to a smoother subset A_2 or a refined subset ~A_2, the width-depth scaling can be reduced to (2,1) or (1,1) respectively, achieving tighter efficiency.
  • Theorems 6–9 extend the main result to higher smoothness (ρ ∈ C^k) and to specialized activation families, yielding even smaller resource requirements in some cases.
  • Corollaries show that standard approximation results for continuous and smooth functions (C([0,1]^d), C^s([0,1]^d)) hold for ρ-activated networks with adjusted constants.
  • Table 1 summarizes the width-depth trade-offs across activation categories, and Table 2 provides a representative error comparison when approximating ReLU with various ρ in ~A_2.

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.