English

Best k-layer neural network approximations

Machine Learning 2019-12-13 v2 Machine Learning

Abstract

We show that the empirical risk minimization (ERM) problem for neural networks has no solution in general. Given a training set s1,,snRps_1, \dots, s_n \in \mathbb{R}^p with corresponding responses t1,,tnRqt_1,\dots,t_n \in \mathbb{R}^q, fitting a kk-layer neural network νθ:RpRq\nu_\theta : \mathbb{R}^p \to \mathbb{R}^q involves estimation of the weights θRm\theta \in \mathbb{R}^m via an ERM: infθRm  i=1ntiνθ(si)22. \inf_{\theta \in \mathbb{R}^m} \; \sum_{i=1}^n \lVert t_i - \nu_\theta(s_i) \rVert_2^2. We show that even for k=2k = 2, this infimum is not attainable in general for common activations like ReLU, hyperbolic tangent, and sigmoid functions. A high-level explanation is like that for the nonexistence of best rank-rr approximations of higher-order tensors --- the set of parameters is not a closed set --- but the geometry involved for best kk-layer neural networks approximations is more subtle. In addition, we show that for smooth activations σ(x)=1/(1+exp(x))\sigma(x)= 1/\bigl(1 + \exp(-x)\bigr) and σ(x)=tanh(x)\sigma(x)=\tanh(x), such failure to attain an infimum can happen on a positive-measured subset of responses. For the ReLU activation σ(x)=max(0,x)\sigma(x)=\max(0,x), we completely classifying cases where the ERM for a best two-layer neural network approximation attains its infimum. As an aside, we obtain a precise description of the geometry of the space of two-layer neural networks with dd neurons in the hidden layer: it is the join locus of a line and the dd-secant locus of a cone.

Keywords

Cite

@article{arxiv.1907.01507,
  title  = {Best k-layer neural network approximations},
  author = {Lek-Heng Lim and Mateusz Michalek and Yang Qi},
  journal= {arXiv preprint arXiv:1907.01507},
  year   = {2019}
}

Comments

19 pages

R2 v1 2026-06-23T10:10:14.644Z