Can neural networks approximate any function given enough hidden neurons?

后端 未结 6 2024
太阳男子
太阳男子 2020-12-12 21:20

I understand neural networks with any number of hidden layers can approximate nonlinear functions, however, can it approximate:

f(x) = x^2

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 21:52

    I am not sure why there is such a visceral reaction, I think it is a legitimate question that is hard to find by googling it, even though I think it is widely appreciated and repeated outloud. I think in this case you are looking for the actually citations showing that a neural net can approximate any function. This recent paper explains it nicely, in my opinion. They also cite the original paper by Barron from 1993 that proved a less general result. The conclusion: a two-layer neural network can represent any bounded degree polynomial, under certain (seemingly non-restrictive) conditions.

    Just in case the link does not work, it is called "Learning Polynomials with Neural Networks" by Andoni et al., 2014.

提交回复
热议问题