Deep learning has achieved monumental success in fields ranging from image recognition to natural language processing. However, a rigorous theoretical explanation for why deeper networks perform better than shallow ones has remained elusive. While the Universal Approximation Theorem suggests that shallow networks can, in principle, approximate any function, empirical evidence consistently shows that depth is a prerequisite for high performance. In this paper, Lê Nguyên Hoang and Rachid Guerraoui from EPFL provide a theoretical framework to explain this persistent mystery.
The Theoretical Gap: Size vs. Time
Standard computational theory often focuses on the Kolmogorov complexity of data—the length of the shortest possible algorithm required to describe it. However, the authors argue that this metric alone is insufficient to explain the necessity of depth. Instead, they shift the focus to Logical Depth, a concept that measures the time or number of sequential steps required to generate data from its shortest description.
Real-world data, such as a high-resolution image or a complex DNA sequence, may have a relatively low Kolmogorov complexity (a short "seed" or set of rules), but it possesses immense logical depth because it is the result of inherently sequential, non-parallelizable biological or physical processes. Deep learning succeeds because its multi-layered architecture mirrors this sequential nature.
The Three Central Conjectures
The authors build their theoretical position through three interconnected conjectures that link data generation to network architecture:
- The Complexity Conjecture: Most real-world problems have a Kolmogorov complexity larger than what humans can manually code. While humans can write roughly $10^9$ bits of code, the messy complexity of the physical world requires far more information to describe accurately.
- The Logical Depth Conjecture: Real-world data features large non-parallelizable logical depth. This means the shortest algorithm to produce the data requires a long sequence of steps that cannot be sped up by adding more processors. For example, "decompressing" a label like "a cat on a keyboard" into a realistic image requires significant sequential processing.
- The Architecture Conjecture: Deeper neural networks are uniquely suited to compute functions with larger non-parallelizable logical depth compared to shallow networks of equivalent complexity. If a problem is inherently sequential, a shallow network would require an exponential (and thus impossible) number of neurons to achieve what a deep network can do with a linear number of neurons.
The P vs. NC Connection
The authors link these ideas to the fundamental P vs. NC question in computer science. This question asks whether all problems solvable in polynomial time (P) can be solved efficiently in parallel (NC). They argue that if $P \neq NC$—a widely held belief in the CS community—then depth is a mathematical necessity for learning.
The fact that 1200-layer networks continue to outperform shallower ones provides empirical "evidence" for this folklore conjecture. If the universe's data generation is a process in P but not in NC, then only a deep (sequential) architecture can efficiently reverse-engineer or "compress" that data into understanding.
Conclusion and Future Directions
This framework reframes the "unreasonable effectiveness" of deep learning as a natural consequence of the sequential nature of physical laws. It suggests that deep networks are not just a design choice, but a requirement for modeling a universe that is itself "deep."
However, the authors acknowledge that formalizing this theory remains a challenge. "Logical depth" is notoriously difficult to calculate for real-world data, and finding a version of it that is "exploitable" by gradient descent is a major open question. Future work must move toward proving that no shallow network can compute certain high-logical-depth functions that deep networks handle with ease, potentially unlocking a new era of mathematically grounded AI design.
Summary updated