The Unreasonable Effectiveness of Mathematics: Karpathy vs Wigner
Date: December 4, 2024
In 1960, Eugene Wigner published his seminal paper "The Unreasonable Effectiveness of Mathematics in the Natural Sciences," exploring the mysterious ability of mathematics to describe physical reality. Decades later, Andrej Karpathy wrote "The Unreasonable Effectiveness of Recurrent Neural Networks," drawing a parallel to Wigner's insights in the context of deep learning[1,2].
Wigner's perspective was philosophical and foundational, questioning why mathematical concepts developed purely in the abstract could so precisely describe physical phenomena. He argued that this effectiveness was "unreasonable" because there was no apparent reason why mathematics, a human creation, should so perfectly match the natural world[3].
Karpathy's take, while paying homage to Wigner's title, focused on a more specific phenomenon: the surprising capability of neural networks to learn and generate complex patterns. His observation centered on how relatively simple mathematical structures (RNNs) could capture intricate patterns in everything from Shakespeare to Linux source code[4].
The key difference lies in their scope and context. Wigner was contemplating the fundamental nature of reality and mathematics' role in describing it. Karpathy, on the other hand, was exploring the emergent properties of mathematical models in artificial intelligence. While both observed "unreasonable" effectiveness, they were looking at different manifestations of this phenomenon[5].
Wigner's observation remains more profound and mysterious - it touches on the very nature of mathematics and its relationship to physical reality. Karpathy's observation, while remarkable, can be understood within the framework of mathematical approximation and pattern recognition. The neural networks he describes are, after all, universal function approximators working with finite (though large) datasets.
Both perspectives offer valuable insights: Wigner's work continues to challenge our understanding of the relationship between mathematics and reality, while Karpathy's observations help us appreciate the practical power of mathematical models in modern machine learning.
References
- Wigner, E. (1960). The Unreasonable Effectiveness of Mathematics in the Natural Sciences. Communications in Pure and Applied Mathematics.
- Karpathy, A. (2015). The Unreasonable Effectiveness of Recurrent Neural Networks.
- Hamming, R. W. (1980). The Unreasonable Effectiveness of Mathematics. The American Mathematical Monthly.
- Tegmark, M. (2008). The Mathematical Universe. Foundations of Physics.
- Colyvan, M. (2019). The Indispensability of Mathematics. Stanford Encyclopedia of Philosophy.