Neural networks are universal approximators, but practical feature engineering like Fourier features beats theory, revealing empirical limits against infinitely complex functions like the Mandelbrot set.
This video explains that neural networks are universal function approximators, learning to model the world by fitting unknown functions from sample data. It walks through the core mechanics—feedforward architectures, weighted sums, activation functions like ReLU and tanh, and backpropagation—before exploring how adding engineered input features can improve learning. Taylor series features prove too finicky, while Fourier features dramatically accelerate and improve approximation in low-dimensional cases like images, though they suffer from the curse of dimensionality in high-dimensional tasks like MNIST. The central lesson is that theoretical elegance isn't enough; practical, empirical testing is essential, and even powerful universal approximators have fundamental limits when confronting functions like the infinitely complex Mandelbrot set.
▶ 3:17 The network is a fully connected feedforward function approximating a target, built from neurons that compute weighted sums plus biases, then pass through an activation function like ReLU.
▶ 5:03 During training, the weights are adjusted to minimize loss/error via backpropagation, which the narrator promises to explain in a dedicated video.
▶ 5:36 The same framework extends to higher-dimensional problems: for image learning, the network maps pixel coordinates (R²) to pixel values (R¹), and slowing learning over time is caused by periodically reducing the learning rate to refine details.
▶ 16:15 Fourier features are created by feeding multiple Fourier series terms into a network as additional inputs, and they dramatically outperform both plain networks and Taylor-feature networks in learning speed and accuracy.
▶ 17:41 Extending Fourier series to multiple inputs requires a full multidimensional series with multiplied sine/cosine combinations, causing the number of terms to explode—an example of the curse of dimensionality that makes the full approach impractical for high-dimensional inputs.
▶ 19:07 A practical workaround is to compute independent 1D Fourier features for each input separately; this is less theoretically rigorous but manageable, and it produces the high-quality image approximations shown earlier.
Load the full timestamped transcript on demand and click any time to jump in the video.