69
85

Optimal Approximation Rate of ReLU Networks in terms of Width and Depth

Abstract

This paper concentrates on the approximation power of deep feed-forward neural networks in terms of width and depth. It is proved by construction that ReLU networks with width O(max{dN1/d,N+2})\mathcal{O}\big(\max\{d\lfloor N^{1/d}\rfloor,\, N+2\}\big) and depth O(L)\mathcal{O}(L) can approximate a H\"older continuous function on [0,1]d[0,1]^d with an approximation rate O(λd(N2L2lnN)α/d)\mathcal{O}\big(\lambda\sqrt{d} (N^2L^2\ln N)^{-\alpha/d}\big), where α(0,1]\alpha\in (0,1] and λ>0\lambda>0 are H\"older order and constant, respectively. Such a rate is optimal up to a constant in terms of width and depth separately, while existing results are only nearly optimal without the logarithmic factor in the approximation rate. More generally, for an arbitrary continuous function ff on [0,1]d[0,1]^d, the approximation rate becomes O(dωf((N2L2lnN)1/d))\mathcal{O}\big(\,\sqrt{d}\,\omega_f\big( (N^2L^2\ln N)^{-1/d}\big)\,\big), where ωf()\omega_f(\cdot) is the modulus of continuity. We also extend our analysis to any continuous function ff on a bounded set. Particularly, if ReLU networks with depth 3131 and width O(N)\mathcal{O}(N) are used to approximate one-dimensional Lipschitz continuous functions on [0,1][0,1] with a Lipschitz constant λ>0\lambda>0, the approximation rate in terms of the total number of parameters, W=O(N2)W=\mathcal{O}(N^2), becomes O(λWlnW)\mathcal{O}(\tfrac{\lambda}{W\ln W}), which has not been discovered in the literature for fixed-depth ReLU networks.

View on arXiv
Comments on this paper