On efficiently computable functions, deep networks and sparse compositionality

Tomaso A. PoggioarXiv 2025 · DOI · OpenReview

TL;DR

This paper establishes a fundamental link between efficient Turing computability and the existence of "compositionally sparse" neural network architectures. It demonstrates that any function computable efficiently can be represented by a deep neural network with a structure that mirrors its computational process, leading to efficient approximation and potentially better generalization.

What Problem Does This Paper Address?

The paper bridges the gap between theoretical computer science (Turing computability) and machine learning (neural network approximation). While Turing machines provide an abstract model of computation, they are not directly practical for approximation tasks. Neural networks, on the other hand, are powerful approximators but understanding their representational capacity and how it relates to computational efficiency has been an ongoing challenge. Specifically, the authors address how to translate the notion of "efficient computation" into a structural property of neural networks that explains their approximation capabilities, particularly in the context of deep architectures.

Methods

The core of the paper's methodology involves a three-step process:

  1. Turing Machine to Boolean Circuit Simulation: The authors leverage standard techniques to convert a deterministic Turing machine that computes a function efficiently into a Boolean circuit. This circuit's size and depth are polynomial in the computation time and input/output precision. This step establishes that efficient computability implies the existence of a structured computational representation.
  2. Boolean Circuit to Bounded-Fan-In DAG: The Boolean circuit is then transformed into a "bounded-fan-in" Directed Acyclic Graph (DAG). This means each node (gate) in the DAG has a limited number of incoming connections (arity). This "compositional sparsity" is a key structural property.
  3. Neural Emulation of Gates: Each gate in the bounded-fan-in DAG is replaced by a small, constant-size neural subnetwork. These subnetworks are designed to emulate the logic of the Boolean gates using standard activation functions (like ReLU). By carefully choosing the accuracy of these gate emulators, the overall network can approximate the original function to a desired precision.

The paper also discusses "smooth lift" techniques to bridge the gap between discrete Boolean circuits and continuous real-valued functions.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Efficient Computability Implies Compositional Sparsity: This is the central thesis. The paper shows that if a function can be computed efficiently by a Turing machine, its representation can be decomposed into a sparse, hierarchical structure (a bounded-fan-in DAG). This is a powerful theoretical result connecting computation to structure.
  • Compositional Sparsity Explains Favorable Approximation Rates: The bounded local arity of the DAG structure is shown to be directly related to improved approximation rates that depend on this local complexity rather than the ambient dimension of the input space.
  • Deep Networks as Natural Approximators for Efficiently Computable Functions: The construction naturally leads to deep neural networks. The paper argues that depth is not just an architectural choice but a mathematical necessity for efficiently representing functions that are compositionally sparse.
  • Optimization as Hierarchical Search: The compositional structure of the DAG suggests that optimization algorithms can operate over a polynomial-size subspace, rather than an exponential one, potentially leading to more efficient training.

Key Results

  • Theorem 4.3: If a function $f$ is efficiently Turing computable, then for any finite precision $(n, m_{\text{out}})$, there exists:
  • A compositionally sparse DAG representation of the discretized function with bounded local arity ($k \le 3$), polynomial size ($s \le \text{poly}(n+m_{\text{out}})$), and polynomial depth ($L \le \text{poly}(n+m_{\text{out}})$).
  • A deep neural network with polynomial size and depth that approximates $f$ to an accuracy of $\varepsilon = 2^{-m_{\text{out}}}$.
  • Uniform Approximation: For Lipschitz functions, the paper shows how to achieve uniform $\varepsilon$-approximation on the input domain with network size and depth polynomial in $\log(1/\varepsilon)$.

Limitations and Future Work

  • Uniformity: While the paper mentions "uniformity" (efficient generation of circuits for each precision), it states that this is not essential to the main structural message and is confined to a specific theorem. The core results hold even without this stronger uniformity.
  • Practical Implementation: The paper focuses on theoretical guarantees. Bridging the gap between these theoretical constructions and practical, large-scale neural network training remains an area for future exploration.
  • Generalization: The paper suggests that compositional sparsity might lead to improved generalization, but this is presented as an implication of the structural properties rather than a directly proven result within this paper. Further empirical and theoretical investigation into this aspect would be valuable.
  • Optimization: The connection to optimization as hierarchical search is highlighted, but the paper doesn't detail specific algorithms or provide empirical evidence for this advantage.

Summary updated

BibTeX
@misc{poggio2025efficiently,
  author = {Tomaso A. Poggio},
  title = {{On efficiently computable functions, deep networks and sparse compositionality}},
  year = {2025},
  eprint = {2510.11942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.11942},
}
Figure