Glossary

What is Universal approximation theorem?

In Turkish: Evrensel yaklaşım teoremi · Topic: Math foundations

A mathematical result stating that a sufficiently wide neural network can, under suitable conditions, approximate a very wide range of continuous functions to any desired accuracy.

How does it work?

The theorem shows that a feedforward network with a single hidden layer, a suitable nonlinear activation function and enough neurons can approximate any continuous function on a bounded region as closely as desired. Intuitively, each neuron produces a small piece of a curve, and adding the pieces together builds up a complex shape, much like imitating a surface with small blocks. The theorem only says that such a network exists. It does not say how to find the right weights.

Why does it matter?

It is one of the basic arguments for why neural networks are so flexible. However, it does not guarantee how large the network must be, whether training can find it, or whether it will work well on new data. That is why claims like 'a neural network can learn anything' deserve caution.

Example

A complicated relationship that gives house prices from inputs such as floor area, location and age can in theory be represented to any desired closeness by a wide enough network, but that does not mean training will find that network.

FAQ

Does the theorem mean any neural network can learn anything?

No. It only says a suitable network exists. Practical questions such as whether there is enough training data, whether optimization succeeds and whether the model generalizes are outside its scope.

If one hidden layer is enough, why are deep networks used?

The theorem admits that a single layer may need to be extremely wide. In practice, deep networks can represent many functions with far fewer parameters and in a way that is easier to learn.

All terms