Skip to main content
QUICK REVIEW

[Paper Review] The gap between theory and practice in function approximation with deep neural networks

Ben Adcock, Nick Dexter|arXiv (Cornell University)|Jan 16, 2020
Sparse and Compressive Sensing TechniquesEngineering86 references12 citations
TL;DR

This paper investigates the discrepancy between theoretical guarantees and practical performance of deep neural networks (DNNs) in function approximation. It introduces a computational framework to evaluate DNNs on smooth and piecewise smooth functions, revealing that DNNs underperform on smooth functions despite strong theoretical approximation rates, while outperforming classical methods like compressed sensing on other classes. A practical existence theorem proves that DNNs can achieve performance matching best-in-class methods, highlighting the potential for improved architectures and training strategies to close the theory-practice gap.

ABSTRACT

Deep learning (DL) is transforming industry as decision-making processes are being automated by deep neural networks (DNNs) trained on real-world data. Driven partly by rapidly-expanding literature on DNN approximation theory showing they can approximate a rich variety of functions, such tools are increasingly being considered for problems in scientific computing. Yet, unlike traditional algorithms in this field, little is known about DNNs from the principles of numerical analysis, e.g., stability, accuracy, computational efficiency and sample complexity. In this paper we introduce a computational framework for examining DNNs in practice, and use it to study empirical performance with regard to these issues. We study performance of DNNs of different widths & depths on test functions in various dimensions, including smooth and piecewise smooth functions. We also compare DL against best-in-class methods for smooth function approx. based on compressed sensing (CS). Our main conclusion from these experiments is that there is a crucial gap between the approximation theory of DNNs and their practical performance, with trained DNNs performing relatively poorly on functions for which there are strong approximation results (e.g. smooth functions), yet performing well in comparison to best-in-class methods for other functions. To analyze this gap further, we provide some theoretical insights. We establish a practical existence theorem, asserting existence of a DNN architecture and training procedure that offers the same performance as CS. This establishes a key theoretical benchmark, showing the gap can be closed, albeit via a strategy guaranteed to perform as well as, but no better than, current best-in-class schemes. Nevertheless, it demonstrates the promise of practical DNN approx., by highlighting potential for better schemes through careful design of DNN architectures and training strategies.

Motivation & Objective

  • To investigate the discrepancy between theoretical approximation guarantees and empirical performance of deep neural networks (DNNs) in function approximation.
  • To evaluate the practical performance of DNNs across different architectures, widths, depths, and function classes, including smooth and piecewise smooth functions.
  • To compare DNNs against best-in-class methods such as compressed sensing in terms of accuracy, stability, sample complexity, and computational efficiency.
  • To establish a theoretical benchmark demonstrating that DNNs can achieve performance matching or exceeding classical methods, thereby identifying the potential for improved DNN design to close the theory-practice gap.
  • To provide a practical existence theorem showing that there exists a DNN architecture and training procedure that matches the performance of compressed sensing for function approximation.

Proposed method

  • Developed a computational framework to systematically evaluate DNNs on a range of test functions in various dimensions, focusing on smooth and piecewise smooth functions.
  • Implemented and compared DNNs of varying widths and depths against compressed sensing, a best-in-class method for smooth function approximation.
  • Used a regularized optimization problem to train DNNs: minimize $ orm{m{z}}_{1,m{u}} + u orm{m{A'}m{z} - m{f}}_2 $, where $ m{A'} $ approximates the true measurement matrix $ m{A} $ with controlled error $ orm{m{A} - m{A}'}_2 ightarrow 0 $.
  • Applied results from compressed sensing theory, particularly the robust null space property (rNSP), to analyze the stability and error bounds of DNN approximations.
  • Established theoretical bounds on approximation error using $ orm{f - ilde{m{ heta}}}_{L^ rown( rown)} ightarrow C ext{exp}(- ilde{ rown} s^{1/d}) $, where $ s $ is sparsity and $ d $ is dimension.
  • Derived depth and size bounds for the DNN architecture $ ilde{m{ heta}} $, showing $ ext{depth}( ilde{m{ heta}}) ightarrow c'(1 + d ext{log}(d))(1 + ext{log}(s))(s + ext{log}(n) + ilde{ rown} s^{1/d}) $ and $ ext{size}( ilde{m{ heta}}) ightarrow c'(d^2s^2 + (ds + d^2n)(1 + ext{log}(s) + ext{log}(n) + ilde{ rown} s^{1/d})) $.

Experimental results

Research questions

  • RQ1Why do DNNs perform poorly on smooth functions despite strong theoretical approximation guarantees?
  • RQ2How does the performance of DNNs compare to best-in-class methods like compressed sensing in function approximation tasks?
  • RQ3Can a DNN architecture and training procedure be constructed that matches the performance of compressed sensing in terms of approximation error?
  • RQ4What theoretical bounds can be established on the depth, size, and approximation error of DNNs for function approximation?
  • RQ5To what extent can the theory-practice gap in DNN-based function approximation be closed through architectural and training improvements?

Key findings

  • DNNs exhibit a significant performance gap on smooth functions, underperforming relative to theoretical approximation rates, despite strong theoretical guarantees.
  • On piecewise smooth and non-smooth functions, DNNs outperform best-in-class methods such as compressed sensing, indicating a divergence between theory and practice depending on function class.
  • A practical existence theorem is established, proving that there exists a DNN architecture and training procedure that achieves approximation error matching that of compressed sensing.
  • The approximation error bound is $ orm{f - ilde{m{ heta}}}_{L^ rown( rown)} ightarrow C ext{exp}(- ilde{ rown} s^{1/d}) $, where $ s $ is sparsity and $ d $ is dimension, showing exponential convergence in the sparsity parameter.
  • The depth and size of the DNN are bounded by $ ext{depth}( ilde{m{ heta}}) ightarrow c'(1 + d ext{log}(d))(1 + ext{log}(s))(s + ext{log}(n) + ilde{ rown} s^{1/d}) $ and $ ext{size}( ilde{m{ heta}}) ightarrow c'(d^2s^2 + (ds + d^2n)(1 + ext{log}(s) + ext{log}(n) + ilde{ rown} s^{1/d})) $, respectively, for a universal constant $ c' $.
  • The theoretical analysis confirms that the theory-practice gap can be closed via careful design of DNN architecture and training, demonstrating the potential for DNNs to achieve optimal performance in function approximation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.