10
$\begingroup$

In 1969, Seymour Papert and Marvin Minsky showed that Perceptrons could not learn the XOR function.

This was solved by the backpropagation network with at least one hidden layer. This type of network can learn the XOR function.

I believe I was once taught that every problem that could be learned by a backpropagation neural network with multiple hidden layers, could also be learned by a backpropagation neural network with a single hidden layer. (Although possibly a nonlinear activation function was required).

However, it is unclear to me what the limits are to backpropagation neural networks themselves. Which patterns cannot be learned by a neural network trained with gradient descent and backpropagation?

$\endgroup$
0

2 Answers 2

3
$\begingroup$

Multilayer Perceptron (MLP) can theoretically approximate any bounded, continuous function. There's no guarantee for a discontinuous function. There are plenty of important discontinuous functions, like, say, the prime counting function.

The prime counting function $\pi(n)$ is simply equal to the number of primes less than or equal to $n$. It has a discontinuity about each prime $p$, so good luck trying to approximate this with a neural network!

However, this function is extensively studied and extremely important in number theory. See the Riemann hypothesis.

$\endgroup$
1
  • $\begingroup$ There are guarantees for discontinuous functions, since universal approximation results also exist for $L^p$-spaces (see for example openreview.net/pdf?id=O-XJwyoIF-k). So the reason for being bad at approximating $\pi$ must be something else. $\endgroup$ Dec 22, 2023 at 17:36
2
$\begingroup$

While I'm not familiar with any explicit statements regarding what a Multilayer Perceptron (MLP) cannot learn, I can provide some further detail on the positive statements you made about MLP capabilities:

A MLP with a single hidden layer is capable of what is commonly termed 'Universal Function Approximation', i.e. it can approximate any bounded continuous function to an arbitrary degree of accuracy. With two hidden layers, the boundness restriction is removed [Cybenko, 1988].

This paper goes on to demonstrate that this is true for a wide range of activation functions (not necessarily nonlinear). 3 layer MLPs are also capable of representing any boolean function (although they may require an exponential number of neurons).

See also this interesting answer on CS SE about other Universal approximators.

$\endgroup$

You must log in to answer this question.