Approximation Capabilities of Feedforward Neural Networks with GELU Activations
Konstantin Yakovlev, Nikita Puchkin
TL;DR
The paper develops a constructive theory for approximating multivariate functions and all prescribed derivatives using deep GELU neural networks on unbounded domains. By combining localized Taylor-polynomial techniques with clipping and partition-of-unity constructions, it obtains explicit Sobolev-error bounds that hold uniformly as the domain grows, and provides detailed network-architecture bounds (depth, width, sparsity, and weight magnitudes) for a suite of elementary operations, monomials, exponentiation, and division. Key contributions include global boundedness of higher-order derivatives via input clipping, and scalable, provable approximations of polynomials and multivariate functions with Sobolev-norm accuracy across expanding domains. The results extend prior domain-restricted analyses and yield practical, quantifiable guarantees for building GELU-based approximators with controlled smoothness and stability for applications in generative modeling and physics-informed learning.
Abstract
We derive an approximation error bound that holds simultaneously for a function and all its derivatives up to any prescribed order. The bounds apply to elementary functions, including multivariate polynomials, the exponential function, and the reciprocal function, and are obtained using feedforward neural networks with the Gaussian Error Linear Unit (GELU) activation. In addition, we report the network size, weight magnitudes, and behavior at infinity. Our analysis begins with a constructive approximation of multiplication, where we prove the simultaneous validity of error bounds over domains of increasing size for a given approximator. Leveraging this result, we obtain approximation guarantees for division and the exponential function, ensuring that all higher-order derivatives of the resulting approximators remain globally bounded.
