Skip to main content
QUICK REVIEW

[Paper Review] Reproducing Activation Function for Deep Learning

Senwei Liang, Liyao Lyu|arXiv (Cornell University)|Jan 13, 2021
Advanced Neural Network ApplicationsComputer Science75 references10 citations
TL;DR

This paper introduces Reproducing Activation Functions (RAFs), a data-driven, neuron-wise activation mechanism that combines learnable linear combinations of basic functions (e.g., polynomials, sinusoids, Gaussians) to enhance deep learning accuracy. By enabling neural networks to effectively reproduce traditional approximation tools like Fourier and wavelet bases, RAFs reduce spectral bias, improve neural tangent kernel condition numbers, and achieve up to 99% lower error in solving PDEs and eigenvalue problems compared to baselines.

ABSTRACT

We propose reproducing activation functions (RAFs) to improve deep learning accuracy for various applications ranging from computer vision to scientific computing. The idea is to employ several basic functions and their learnable linear combination to construct neuron-wise data-driven activation functions for each neuron. Armed with RAFs, neural networks (NNs) can reproduce traditional approximation tools and, therefore, approximate target functions with a smaller number of parameters than traditional NNs. In NN training, RAFs can generate neural tangent kernels (NTKs) with a better condition number than traditional activation functions lessening the spectral bias of deep learning. As demonstrated by extensive numerical tests, the proposed RAFs can facilitate the convergence of deep learning optimization for a solution with higher accuracy than existing deep learning solvers for audio/image/video reconstruction, PDEs, and eigenvalue problems. With RAFs, the errors of audio/video reconstruction, PDEs, and eigenvalue problems are decreased by over 14%, 73%, 99%, respectively, compared with baseline, while the performance of image reconstruction increases by 58%.

Motivation & Objective

  • To address the spectral bias in deep learning, where models favor low-frequency solutions and struggle with oscillatory or singular functions.
  • To improve approximation accuracy in deep learning for tasks like image/video reconstruction, PDE solving, and eigenvalue computation.
  • To develop an activation function that can adaptively reproduce classical approximation tools (e.g., polynomials, Fourier, wavelets) with exponential convergence rates.
  • To reduce the condition number of Neural Tangent Kernels (NTKs), thereby accelerating optimization and improving generalization.
  • To enable more efficient and accurate neural network training with fewer parameters by embedding prior knowledge into the activation function structure.

Proposed method

  • Propose RAFs as a learnable, neuron-wise linear combination of basic functions (e.g., x, x², sin(x), exp(-x²)) to form data-driven activation functions.
  • Design the network such that each neuron can use a different activation function, allowing flexible approximation of complex target functions.
  • Theoretical analysis shows RAFs can achieve dimension-independent, exponential approximation rates by emulating classical approximation systems.
  • Integrate RAFs into residual networks with boundary condition enforcement for PDE solvers, ensuring physical consistency.
  • Use Adam optimizer with learning rate decay and evaluate performance via relative L² test error and NTK condition number.
  • Fix scaling parameters for basic functions (e.g., 0.1 for Gaussian) to enhance oscillatory response in NTKs, improving performance on high-frequency problems.

Experimental results

Research questions

  • RQ1Can a learnable, neuron-wise activation function improve deep learning accuracy across diverse tasks like image reconstruction and PDE solving?
  • RQ2Can RAFs effectively reproduce classical approximation systems such as orthogonal polynomials, Fourier bases, and wavelets within a neural network?
  • RQ3Does the use of RAFs lead to a better-conditioned Neural Tangent Kernel (NTK), thereby reducing spectral bias in optimization?
  • RQ4To what extent can RAFs reduce approximation error in high-dimensional and nonlinear PDEs compared to standard activation functions?
  • RQ5Can RAFs achieve exponential approximation rates independent of input dimension, especially for oscillatory or singular solutions?

Key findings

  • RAFs reduced reconstruction error by over 14% in audio and video tasks and by 58% in image reconstruction compared to baseline models.
  • For PDE problems, RAFs achieved a 73% reduction in error compared to standard deep learning solvers.
  • In eigenvalue problems, RAFs reduced error by as much as 99% compared to conventional approaches.
  • The Neural Tangent Kernel (NTK) condition number was significantly lower with RAFs than with traditional activation functions, indicating improved optimization stability.
  • RAFs enabled exponential, dimension-independent approximation rates by emulating classical approximation systems such as Fourier and wavelet bases.
  • Empirical results show that scaling parameters in RAFs (e.g., 0.1 for Gaussian) enhance oscillatory response in NTKs, leading to improved performance on high-frequency problems.

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.