International Journal of Automation and Computing
                                                                                                         DOI: 10.1007/s11633-017-1054-2




      Why and When Can Deep-but Not Shallow-networks
        Avoid the Curse of Dimensionality: A Review
    Tomaso Poggio1           Hrushikesh Mhaskar2, 3            Lorenzo Rosasco1            Brando Miranda1               Qianli Liao1
                            1
                               Center for Brains, Minds, and Machines, McGovern Institute for Brain Research,
                                     Massachusetts Institute of Technology, Cambridge, MA 02139, USA
                         2
                           Department of Mathematics, California Institute of Technology, Pasadena, CA 91125, USA
                     3
                       Institute of Mathematical Sciences, Claremont Graduate University, Claremont, CA 91711, USA




Abstract: The paper reviews and extends an emerging body of theoretical results on deep learning including the conditions under
which it can be exponentially better than shallow learning. A class of deep convolutional networks represent an important special case
of these conditions, though weight sharing is not the main reason for their exponential advantage. Implications of a few key theorems
are discussed, together with new results, open problems and conjectures.

Keywords: Machine learning, neural networks, deep and shallow networks, convolutional neural networks, function approximation,
deep learning.



1     A theory of deep learning                                       weight sharing is not necessary).
                                                                         Implications of the theorems likely to be relevant in prac-
1.1    Introduction                                                   tice are:
                                                                         1) Certain deep convolutional architectures have a the-
   There are at three main sets of theory questions about
                                                                      oretical guarantee that they can be much better than one
deep neural networks. The ﬁrst set of questions is about the
                                                                      layer architectures such as kernel machines.
power of the architecture – Which classes of functions can
                                                                         2) The problems for which certain deep networks are
it approximate and learn well? The second set of questions
                                                                      guaranteed to avoid the curse of dimensionality (see for a
is about the learning process: Why is stochastic gradient
                                                                      nice review[6] ) correspond to input-output mappings that
descent (SGD) so unreasonably eﬃcient, at least in appear-
                                                                      are compositional. The most interesting set of prob-
ance? The third, more important question is about gen-
                                                                      lems consists of compositional functions composed of a
eralization. Overparametrization may explain why minima
                                                                      hierarchy of constituent functions that are local: An ex-
are easy to ﬁnd during training but then why does overﬁt-
                                                                      ample is f (x1 , · · · , x8 ) = h3 (h21 (h11 (x1 , x2 ), h12 (x3 , x4 )),
ting seems to be less of a problem than for classical shallow
                                                                      h22 (h13 (x5 , x6 ), h14 (x7 , x8 ))). The compositional function
networks? Is this because deep networks are very eﬃcient
                                                                      f requires only “local” computations (here with just di-
algorithms for hierarchical vector quantization?
                                                                      mension 2) in each of its constituent functions h.
   In this paper, we focus especially on the ﬁrst set of ques-
                                                                         3) The key aspect of convolutional networks that can
tions, summarizing several theorems that have appeared on-
                                                                      give them an exponential advantage is not weight sharing
line in 2015[1−3] and 2016[4, 5] ). We then describe additional
                                                                      but locality at each level of the hierarchy.
results as well as a few conjectures and open questions. The
main message is that deep networks have the theoretical
guarantee, which shallow networks do not have, that they
                                                                      2     Previous theoretical work
can avoid the curse of dimensionality for an important class             Deep learning references start with Hinton s backprop-
of problems, corresponding to compositional functions, i.e.,          agation and with Lecun s convolutional networks (see
functions of functions. An especially interesting subset of           for a nice review[7] ). Of course, multilayer convolutional
such compositional functions are hierarchically local compo-          networks have been around at least as far back as the
sitional functions where all the constituent functions are lo-        optical processing era of the 1970s. The Neocognitron[8]
cal in the sense of bounded small dimensionality. The deep            was a convolutional neural network that was trained to
networks that can approximate them without the curse of               recognize characters. The property of compositionality was
dimensionality are of the deep convolutional type (though             a main motivation for hierarchical models of visual cortex
                                                                      such as HMAX which can be regarded as a pyramid of
 Review
 Special Issue on Human Inspired Computing                            AND and OR layers[9] , that is a sequence of conjunctions
 Manuscript received November 3, 2016; accepted December 12, 2017
 This work was supported by the Center for Brains, Minds and Ma-
                                                                      and disjunctions. Several papers in the 1980s focused
chines (CBMM), NSF STC award CCF (No. 1231216), and ARO (No.          on the approximation power and learning properties of
W911NF-15-1-0385).
 Recommended by Associate Editor Hong Qiao
 c The Author(s) 2017
2                                                                          International Journal of Automation and Computing


one-hidden layer networks (called shallow networks here).         3     Function approximation by deep net-
Very little appeared on multilayer networks[10−12] , mainly             works
because one hidden layer nets performed empirically as
well as deeper networks. On the theory side, a review by             In this section, we state theorems about the approxima-
Pinkus in 1999[13] concludes that “· · · there seems to be        tion properties of shallow and deep networks.
reason to conjecture that the two hidden layer model may
be signiﬁcantly more promising than the single hidden layer       3.1    Degree of approximation
model· · · ”. A version of the questions about the importance        The general paradigm is as follows. We are interested
of hierarchies was asked in [14] as follows: “A comparison        in determining how complex a network ought to be to the-
with real brains oﬀers another, and probably related, chal-       oretically guarantee approximation of an unknown target
lenge to learning theory. The “learning algorithms” we have       function f up to a given accuracy  > 0. To measure the
described in this paper correspond to one-layer architec-         accuracy, we need a norm  ·  on some normed linear space
tures. Are hierarchical architectures with more layers justi-     X. As we will see the norm used in the results of this paper
ﬁable in terms of learning theory? It seems that the learning     is the sup norm in keeping with the standard choice in ap-
theory of the type we have outlined does not oﬀer any gen-        proximation theory. Notice, however, that from the point
eral argument in favor of hierarchical learning machines for      of view of machine learning, the relevant norm is the L2
regression or classiﬁcation. This is somewhat of a puzzle         norm. In this sense, several of our results are stronger than
since the organization of cortex – for instance visual cortex     needed. On the other hand, our main results on composi-
– is strongly hierarchical. At the same time, hierarchical        tionality require the sup norm in order to be independent
learning systems show superior performance in several en-         from the unknown distribution of the input data. This is
gineering applications.” Because of the great empirical suc-      important for machine learning.
cess of deep learning over the last three years, several papers      Let VN be the set of all networks of a given kind with
addressing the question of why hierarchies have appeared.         complexity N which we take here to be the total number of
Sum-Product networks, which are equivalent to polynomial          units in the network (e.g., all shallow networks with N units
networks (see [15, 16]), are a simple case of a hierarchy that    in the hidden layer). It is assumed that the class of networks
was analyzed[17] but did not provide particularly useful in-      with a higher complexity include those with a lower com-
sights. Montufar et al.[18] showed that the number of linear      plexity; i.e., VN ⊆ VN+1 . The degree of approximation is
regions that can be synthesized by a deep network with rec-       deﬁned by
tiﬁed linear unit (ReLU) nonlinearities is much larger than                        dist(f, VN ) = inf f − P .              (1)
by a shallow network. However, they did not study the                                           P ∈VN

conditions under which this property yields better learning       For example, if dist(f, VN ) = O(N −γ ) for some γ > 0, then
performance. In fact, we will show later that the power of a                                          −1
                                                                  a network with complexity N = O( γ ) will be suﬃcient to
deep network cannot be exploited in general but for certain       guarantee an approximation with accuracy at least . Since
speciﬁc classes of functions. Relevant to the present review      f is unknown, in order to obtain theoretically proved upper
is the work on hierarchical quadratic networks[16] , together     bounds, we need to make some assumptions on the class of
with function approximation results[13,19] . Also relevant is     functions from which the unknown target function is cho-
the conjecture by Cohen et al.[20] on a connection between        sen. This apriori information is codiﬁed by the statement
deep learning networks and the hierarchical Tucker repre-         that f ∈ W for some subspace W ⊆ X. This subspace is
sentations of tensors. In fact, our theorems describe for-        usually a smoothness class characterized by a smoothness
mally the class of functions for which the conjecture holds.      parameter m. Here, it will be generalized to a smoothness
This paper describes and extends results presented in [4, 21–     and compositional class, characterized by the parameters m
24] which derive new upper bounds for the approximation           and d (d = 2 in the example of Fig. 1, is in general the size
by deep networks of certain important classes of functions        of the kernel in a convolutional network).
which avoid the curse of dimensionality. The upper bound
for the approximation by shallow networks of general func-        3.2    Shallow and deep networks
tions was well known to be exponential. It seems natural
                                                                     This section characterizes conditions under which deep
to assume that, since there is no general way for shallow
                                                                  networks are “better” than shallow network in approximat-
networks to exploit a compositional prior, lower bounds for
                                                                  ing functions. Thus we compare shallow (one-hidden layer)
the approximation by shallow networks of compositional
                                                                  networks with deep networks as shown in Fig. 1. Both types
functions should also be exponential. In fact, examples of
                                                                  of networks use the same small set of operations – dot prod-
speciﬁc functions that cannot be represented eﬃciently by
                                                                  ucts, linear combinations, a ﬁxed nonlinear function of one
shallow networks have been given very recently by [25, 26].
                                                                  variable, possibly convolution and pooling. Each node in
We provide in Theorem 5 another example of a class of
                                                                  the networks we consider usually corresponds to a node in
compositional functions for which there is a gap between
                                                                  the graph of the function to be approximated, as shown
shallow and deep networks.
                                                                  in Fig. 1. In particular each node in the network contains a
                                                                  certain number of units. A unit is a neuron which computes
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                                           3




Fig. 1 The top graphs are associated to functions, each of the bottom diagrams depicts the network approximating the function above.
(a) shows a shallow universal network in 8 variables and N units approximates a generic function of 8 variables f (x1 , · · · , x8 ); (b) shows
a binary tree hierarchical network at the bottom in n = 8 variables, which approximates well functions of the form f (x1 , · · · , x8 ) =
h3 (h21 (h11 (x1 , x2 ), h12 (x3 , x4 )), h22 (h13 (x5 , x6 ), h14 (x7 , x8 ))) as represented by the binary graph above. In the approximating network
each of the n − 1 nodes in the graph of the function corresponds to a set of Q = n−1                      N
                                                                                                              ReLU units computing the ridge function
Q
            v ix  + ti )+ , with v i , x ∈ R , ai , ti ∈ R. Each term in the ridge function corresponds to a unit in the node (this is somewhat
   i=1 ai (v
                                               2

diﬀerent from todays deep networks, see text and note in Section 7). In a binary tree with n inputs, there are log2 n levels and a total
of n − 1 nodes. Similar to the shallow network, a hierarchical network is universal, i.e., it can approximate any continuous function,
the text proves that it can approximate a compositional functions exponentially better than a shallow network. No invariance – that is
weight sharing – is assumed here. Notice that the key property that makes convolutional deep nets exponentially better than shallow
for compositional functions is the locality of the constituent functions – that is their low dimensionality. Weight sharing corresponds
to all constituent functions at one level to be the same (h11 = h12 , etc.); (c) shows a diﬀerent mechanism that can be exploited by
the deep network at the bottom to reduce the curse of dimensionality in the compositional function at the top: leveraging diﬀerent
degrees of smoothness of the constituent functions, see Theorem 6 in the text. Notice that in (c) the input dimensionality must be ≥ 2
in order for deep nets to have an advantage over shallow nets. The simplest examples of functions to be considered for (a), (b) and (c)
are functions that are polynomials with a structure corresponding to the graph at the top.

                                                                                 The logic of our theorems is as follows:
                              (x, w + b)+                         (2)          1) Both shallow (a) and deep (b) networks are universal,
where w is the vector of weights on the vector input x. Both                  i.e., they can approximate arbitrarily well any continuous
t and the real number b are parameters tuned by learning.                     function of n variables on a compact domain. The result for
We assume here that each node in the networks computes                        shallow networks is classical. Since shallow networks can be
the linear combination of r such units                                        viewed as a special case of deep networks, it is clear that
                                                                              for any continuous function of n variables, there exists also
                       
                       r
                                                                              a deep network that approximates the function arbitrarily
                              ci (x, ti  + bi )+ .                (3)       well on a compact domain.
                        i=1
                                                                                 2) We consider a special class of functions of n variables
   Notice that for our main example of a deep network cor-
                                                                              on a compact domain that is a hierarchical composition of
responding to a binary tree graph, the resulting architecture
                                                                              local functions such as
is an idealized version of the plethora of deep convolutional
neural networks described in the literature. In particular,                          f (x1 , · · · , x8 ) = h3 (h21 (h11 (x1 , x2 ), h12 (x3 , x4 )),
it has only one output at the top unlike most of the deep
                                                                                                          h22 (h13 (x5 , x6 ), h14 (x7 , x8 ))).        (4)
architectures with many channels and many top-level out-
puts. Correspondingly, each node computes a single value                      The structure of the function in (4) is represented by a
instead of multiple channels, using the combination of sev-                   graph of the binary tree type. This is the simplest example
eral units (see (3)). Our approach and basic results apply                    of compositional functions, reﬂecting dimensionality d = 2
rather directly to more complex networks (see the third                       for the constituent functions h. In general, d is arbitrary but
note in Section 7). A careful analysis and comparison with                    ﬁxed and independent of the dimensionality n of the com-
simulations will be described in the future work.                             positional function f . In our results, we will often think of
4                                                                           International Journal of Automation and Computing


n increasing while d is ﬁxed. In Section 4, we will consider       of our results:
the more general compositional case.                                  1) Compositional functions of n variables are a subset
   3) The approximation of functions with a compositional          of functions of n variables, i.e., Wmn
                                                                                                           ⊇ Wm n,2
                                                                                                                    . Deep net-
structure can be achieved with the same degree of accuracy         works can exploit in their architecture the special structure
by deep and shallow networks but that the number of pa-            of compositional functions, whereas shallow networks are
rameters are much smaller for the deep networks than for           blind to it. Thus, from the point of view of shallow net-
                                                                                          n,2                          n
the shallow network with equivalent approximation accu-            works, functions in Wm     are just functions in Wm   , this is
racy. It is intuitive that a hierarchical network matching         not the case for deep networks.
the structure of a compositional function should be “bet-             2) The deep network does not need to have exactly the
ter” at approximating it than a generic shallow network but        same compositional architecture as the compositional func-
universality of shallow networks asks for non-obvious char-        tion to be approximated. It is suﬃcient that the acyclic
acterization of “better”. Our result makes clear that the          graph representing the structure of the function is a sub-
intuition is indeed correct.                                       graph of the graph representing the structure of the deep
   In the perspective of machine learning, we assume that          network. The degree of approximation estimates depend on
the shallow networks do not have any structural information        the graph associated with the network and are thus an up-
on the function to be learned (here its compositional struc-       per bound on what could be achieved by a network exactly
ture), because they cannot represent it directly and cannot        matched to the function architecture.
exploit the advantage of a smaller number of parameters.              Theorems 1 and 2 estimate the degree of approximation
In any case, in the context of approximation theory, we will       for shallow and deep networks.
exhibit and cite lower bounds of approximation by shal-
low networks for the class of compositional functions. Deep
                                                                   3.3    Shallow networks
networks with standard architectures on the other hand do            Theorem 1 is about shallow networks.
represent compositionality in their architecture and can be          Theorem 1. Let σ : R → R be inﬁnitely diﬀerentiable,
adapted to the details of such prior information.                  and not a polynomial. For f ∈ Wm    n
                                                                                                         , the complexity of
   We approximate functions of n variables of the form of          shallow networks that provide accuracy at least  is
(4) With networks in which the activation nonlinearity is                             n
                                                                           N = O(− m ) and is the best possible.             (5)
a smoothed version of the so called ReLU, originally called
ramp by Breiman and given by σ(x) = |x|+ = max(0, x) .             In Theorem 2.1 of [27], the theorem is stated under the
The architecture of the deep networks reﬂects (4) with each        condition that σ is inﬁnitely diﬀerentiable, and there exists
node hi being a ridge function, comprising one or more neu-        b ∈ R such that σ (k) (b) = 0 for any integer k ≥ 0. It is
rons.                                                              proved in [28] that the second condition is equivalent to σ
   Let I n = [−1, 1]n , X = C(I n ) be the space of all continu-   not being a polynomial. The proof in [27] relies on the fact
ous functions on I n , with f  = maxx∈I n |f (x)|. Let SN,n      that under these conditions on σ, the algebraic polynomials
denote the class of all shallow networks with N units of the       in n variables of (total or coordinatewise) degree < q are in
form                                                               the uniform closure of the span of O(q n ) functions of the
                        N
                                                                   form x → σ(w, x + b) (see the Appendix of [29], Section
                  x →     ak σ(wk , x + bk )                    “Neural networks: polynomial viewpoint”). The estimate
                       k=1
                                                                   itself is an upper bound on the degree of approximation by
where wk ∈ R , bk , ak ∈ R. The number of trainable pa-
               n
                                                                   such polynomials. Since it is based on the approximation of
rameters here is (n + 2)N . Let m ≥ 1 be an integer, and           the polynomial space contained in the ridge functions imple-
   n
Wm   be the set of all functions of n variables with contin-       mented by shallow networks, one may ask whether it could
uous partial derivatives of orders up to m < ∞ such that           be improved by using a diﬀerent approach. The answer re-
       
f  + 1≤|k|1 ≤m Dk f  ≤ 1, where Dk denotes the partial         lies on the concept of nonlinear n-width of the compact set
                                                                      n [4, 30]
derivative indicated by the multi-integer k ≥ 1, and |k|1 is       Wm           . The n-width results imply that the estimate in
the sum of the components of k.                                    Theorem 1 is the best possible among all reasonable[30]
                                                                                                                          n
   For the hierarchical binary tree network, the analogous         methods of approximating arbitrary functions in Wm       . The
                                                        n,2
spaces are deﬁned by considering the compact set Wm         to     estimate of Theorem 1 is the best possible if the only a
be the class of all compositional functions f of n variables       priori information we are allowed to assume is that the tar-
with a binary tree architecture and constituent functions          get function belongs to f ∈ Wm     n
                                                                                                        . The exponential depen-
        2                                                                                                        n
h in Wm   . We deﬁne the corresponding class of deep net-          dence on the dimension n of the number − m of parameters
works DN,2 to be the set of all deep networks with a binary        needed to obtain an accuracy O() is known as the curse
tree architecture, where each of the constituent nodes is in       of dimensionality. Note that the constants involved in O in
SM,2 , where N = |V |M , V is the set of non–leaf vertices         the theorems will depend upon the norms of the derivatives
of the tree. We note that in the case when n is an integer         of f as well as σ.
power of 2, the total number of parameters involved in a              A simple but useful corollary follows from the proof of
deep network in DN,2 , i.e., weights and biases, is 4N .           Theorem 1 about polynomials (which are a smaller space
   Two observations are critical to understand the meaning         than spaces of Sobolev functions). Let us denote with Pkn
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                    5

the linear space of polynomials of degree at most k in n           for networks where each unit evaluates a Gaussian non–
variables.                                                         linearity; i.e., Gaussian networks of the form
   Corollary 1.      Let σ : R → R be inﬁnitely diﬀeren-
                                                                                     
                                                                                     N
tiable, and not a polynomial. Every f ∈ Pkn can be realized                 G(x) =
                                                                                                       2
                                                                                           ak e−|x−wk | ,   x ∈ Rd              (7)
withan arbitrary
                  accuracy by shallow network with r units,                         k=1
r = n+kk
            ≈ kn .
                                                                   where the approximation is on the entire Euclidean space.
3.4    Deep hierarchically local networks                             In summary, when the only a priori assumption on the
                                                                   target function is about the number of derivatives, then to
   Theorem 2 is about deep networks with smooth activa-
                                                                   guarantee an accuracy of , we need a shallow network with
tions and is recent (preliminary versions appeared in [2–4]).            n
                                                                   O(− m ) trainable parameters. If we assume a hierarchical
We formulate it in the binary tree case for simplicity but
                                                                   structure on the target function as in Theorem 2, then the
it extends immediately to functions that are compositions          corresponding deep network yields a guaranteed accuracy of
of constituent functions of a ﬁxed number of variables d                        2
                                                                    with O(− m ) trainable parameters. Note that Theorem 2
instead than of d = 2 variables as in the statement of the         applies to all f with a compositional architecture given by
theorem (in convolutional networks d corresponds to the
                                                                   a graph which correspond to, or is a subgraph of, the graph
size of the kernel).                                               associated with the deep network – in this case the graph
   Theorem 2. For f ∈ Wm       n,2
                                   , consider a deep network                             n,d
                                                                   corresponding to Wm       . Theorem 2 leads naturally to the
with the same compositional architecture and with an acti-         notion of eﬀective dimensionality that we formalize in the
vation function σ : R → R which is inﬁnitely diﬀerentiable,
                                                                   next section.
and not a polynomial. The complexity of the network to                Definition 1. The eﬀective dimension of a class W of
provide approximation with accuracy at least  is                  functions (for a given norm) is said to be d if for every  > 0,
                                         2
                    N = O((n − 1)− m ).                    (6)    any function in W can be recovered within an accuracy of
                                                                    (as measured by the norm) using an appropriate network
   Proof. To prove Theorem 2, we observe that each of the          (either shallow or deep) with −d parameters.
                                    2                                                                                 n     n
constituent functions being in Wm     , (1) applied with n = 2        Thus, the eﬀective dimension for the class Wm      is m , that
                                                                         n,2   2
implies that each of these functions can be approximated           of Wm is m .
                                      m
from SN,2 up to accuracy  = cN − 2 . Our assumption that
f ∈ Wm implies that each of these constituent functions is
        N,2
                                                                   4    General compositionality results:
Lipschitz continuous. Hence, it is easy to deduce that, e.g.,
                                                                        functions composed by a hierarchy
if P , P1 , P2 are approximations to the constituent func-
tions h, h1 , h2 , respectively within an accuracy of , then           of functions with bounded eﬀective
since h − P  ≤ , h1 − P1  ≤  and h2 − P2  ≤ ,                  dimensionality
then h(h1 , h2 ) − P (P1 , P2 ) = h(h1 , h2 ) − h(P1 , P2 ) +
h(P1 , P2 ) − P (P1 , P2 ) ≤ h(h1 , h2 ) − h(P1 , P2 ) +           The main class of functions we considered in previous
h(P1 , P2 ) − P (P1 , P2 ) ≤ c by Minkowski inequality.         papers consists of functions as in Fig. 1 (b) that we called
Thus,                                                              compositional functions. The term “compositionality” was
                                                                   used with the meaning it has in language and vision, where
                h(h1 , h2 ) − P (P1 , P2 ) ≤ c                  higher level concepts are composed of a small number of
                                                                   lower level ones, objects are composed of parts, sentences
for some constant c > 0 independent of the functions in-           are composed of words and words are composed of sylla-
volved. This, together with the fact that there are (n − 1)        bles. Notice that this meaning of compositionality is nar-
nodes, leads to (6).                                              rower than the mathematical meaning of composition of
   Also in this case the proof provides the following corol-       functions. The compositional functions we have described
lary about the subset Tkn of the space Pkn which consists          in previous papers may be more precisely called functions
of compositional polynomials with a binary tree graph and          composed of hierarchically local functions.
constituent polynomial functions of degree k (in 2 variables)         Here we generalize formally our previous results to the
   Corollary 2. Let σ : R → R be inﬁnitely diﬀerentiable,          broader class of compositional functions (beyond the hier-
and not a polynomial. Let n = 2l . Then, f ∈ Tkn can be            archical locality of Figs. 1 (b), 1 (c) and 2) by restating for-
realized by a deep network witha binary
                                           tree graph and a       mally a few comments of previous papers. Let begin with
total of r units with r = (n − 1) 2+k
                                    2
                                        ≈ (n  − 1)k2 .             one of the previous examples. Consider
   It is important to emphasize that the assumptions on
σ in the theorems are not satisﬁed by the ReLU function
x → x+ , but they are satisﬁed by smoothing the function              Q(x, y) = (Ax2 y 2 + Bx2 y + Cxy 2 + Dx2 +
                                                                                                                      10
in an arbitrarily small interval around the origin. This sug-                      2Exy + F y 2 + 2Gx + 2Hy + I)2 .
gests that the result of Theorem 2 should be valid also for
the non-smooth ReLU. Section 4 provides formal results.            Since Q is nominally a polynomial of coordinatewise degree
Stronger results than the theorems of this section[5] hold         211 , Lemma 3.2 of [27] shows that a shallow network with
6                                                                           International Journal of Automation and Computing


211 + 1 units is able to approximate Q arbitrarily well on         of dimensionality if the constituent functions of a composi-
I 2 . However, because of the hierarchical structure of Q,         tional function have a small eﬀective dimension, i.e., have
Lemma 3.2 of [27] shows also that a hierarchical network           ﬁxed, “small” dimensionality or ﬁxed, “small” roughness.
with 9 units can approximate the quadratic expression, and         A diﬀerent interpretation of Theorem 3 is the following.
10 further layers, each with 3 units can approximate the              Proposition 1. If a family of functions f : Rn → R
                                                                                                                    n
successive powers. Thus, a hierarchical network with 11            of smoothness m has an eﬀective dimension < m      , then the
layers and 39 units can approximate Q arbitrarily well. We         functions are compositional in a manner consistent with the
note that even if Q is nominally of degree 211 , each of the       estimates in Theorem 3.
monomial coeﬃcients in Q is a function of only 9 variables,           Notice that the functions included in Theorem 3 are func-
A, · · · , I.                                                      tions that are either local or the composition of simpler
    A diﬀerent example is                                          functions or both. Fig. 2 shows some examples in addition
                                                                   to the examples at the top of Fig. 1.
                     Q(x, y) = |x2 − y 2 |.                 (8)

This is obviously a Lipschitz continuous function of 2 vari-
ables. The eﬀective dimension of this class is 2, and hence,
a shallow network would require at least c−2 parameters to
approximate it within . However, the eﬀective dimension
of the class of univariate Lipschitz continuous functions is
1. Hence, if we take into account the fact that Q is a com-
position of a polynomial of degree 2 in 2 variables and the
univariate Lipschitz continuous function t → |t|, then it is
easy to see that the same approximation can be achieved
by using a two layered network with O(−1 ) parameters.
   To formulate our most general result that includes the
examples above as well as the constraint of hierarchical lo-
cality, we ﬁrst deﬁne formally a compositional function in         Fig. 2 The ﬁgure shows the graphs of functions that may have
terms of a directed acyclic graph. Let G be a directed acyclic     small eﬀective dimensionality, depending on the number of units
graph (DAG), with the set of nodes V . A G–function is de-         per node required for good approximation.
ﬁned as follows. Each of the source node obtains an input
from R. Each in-edge of every other node represents an in-            As before, there is a simple corollary for polynomial func-
put real variable, and the node itself represents a function       tions:
of these input real variables, called a constituent function.         Corollary 3. Let σ : R → R be inﬁnitely diﬀerentiable,
The out-edges fan out the result of this evaluation. We            and not a polynomial. Let Skn ∈ Pkn be the family of com-
assume that there is only one sink node, whose output is           positional polynomial with a total number of monomials
the G-function. Thus, ignoring the compositionality of this        which is non-exponential, e.g., it is O(kn ). Then, f ∈ Skn
function, it is a function of n variables, where n is the num-     can be represented by a deep network with a a total of r
ber of source nodes in G.                                          units which is at most polynomial in n.
   Theorem 3. Let G be a DAG, n be the number of                      Notice that polynomials in Skn are sparse with a number
source nodes, and for each v ∈ V , let dv be the number            of terms which is not exponential in n, i.e., it is not O(kn )
of in-edges of v. Let f : Rn → R be a compositional G-            but linear in n (that is O(nk)) or at most polynomial in n.
                                                            dv
function, where each of the constituent function is in Wm    v
                                                               .
Consider shallow and deep networks with inﬁnitely smooth           4.1    Approximation results for shallow and
activation function as in Theorem 1. Then deep networks                   deep networks with (non-smooth) Re-
– with an associated graph that corresponds to the graph                  LUs
of f – avoid the curse of dimensionality in approximating f
for increasing n, whereas shallow networks cannot directly           The results we described so far use smooth activation
avoid the curse. In particular, the complexity of the best         functions. We already mentioned why relaxing the smooth-
approximating shallow network is exponential in n                  ness assumption should not change our results in a funda-
                                                                   mental way. While studies on the properties of neural net-
                                     n
                        Ns = O(− m )                       (9)    works with smooth activation abound, the results on non-
                                                                   smooth activation functions are much more sparse. Here
where m = minv∈V mv , while the complexity of the deep             we brieﬂy recall some of them.
network is               − dv                                       In the case of shallow networks, the condition of a smooth
                Nd = O(       mv ).              (10)             activation function can be relaxed to prove density (see
                              v∈V
                                                                   Proposition 3.7 of [13]):
                               dv
Following Deﬁnition 1, we call mv
                                  the eﬀective dimension             Proposition 2. Let σ =: R → R be in C 0 , and not a
of function v. Then, deep networks can avoid the curse             polynomial. Then shallow networks are dense in C 0 .
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                               7

   In particular, ridge functions using ReLUs of the form             not in the sup norm, this is not a problem under any dis-
r
   i=1 ci (wi , x+bi )+ , with wi , x ∈ R , ci , bi ∈ R are dense
                                           n
                                                                      cretization of real number required for computer simula-
in C.                                                                 tions (see the Appendix of [29]).
   Networks with non-smooth activation functions are ex-                 Fig. 3–6 provide a sanity check and empirical support for
pected to do relatively poorly in approximating smooth                our main results and for the claims in the introduction.
functions such as polynomials in the sup norm. “Good”
degree of approximation rates (modulo a constant) have                4.2     Lower bounds and gaps
been proved in the L2 norm. Deﬁne B the unit ball                        So far we have shown that there are deep networks –
in Rn . Call C m (B n ) the set of all continuous functions           for instance of the convolutional type – that can avoid the
with continuous derivative up to degree m deﬁned on the               curse of dimensionality if the functions they are learning are
unit ball. We deﬁne the Sobolev space Wpm as the com-                 blessed with compositionality. There are no similar guaran-
pletion of C m (B n ) with respect to the Sobolev norm p              tee for shallow networks: for shallow networks approximat-
(see page 168 of [13] for detail). We deﬁne the space                 ing generic continuous functions the lower and the upper
Bpm = {f : f ∈ Wpm , f m,p ≤ 1} and the approximation               bound are both exponential[13] . From the point of view of
error E(B2m ; H; L2 ) = inf g∈H f − gL2 . It is shown in            machine learning, it is obvious that shallow networks, unlike
Corollary 6.10 in [13] that                                           deep ones, cannot exploit in their architecture the reduced
                                           
   Proposition 3. For M r : f (x) = ri=1 ci (wi , x + bi )+ ,       number of parameters associated with priors corresponding
                                      m
it holds E(B2m ; Mr ; L2 ) ≤ Cr − n for m = 1, · · · , n+3 2
                                                             .        to compositional functions. In past papers we listed a few
   These approximation results with respect to the L2 norm            examples, some of which are also valid lower bounds from
cannot be applied to derive bounds for compositional net-             the point of view of approximation theory:
works. Indeed, in the latter case, as we remarked already,               1) The polynomial considered earlier
estimates in the uniform norm are needed to control the
propagation of the errors from one layer to the next, see              Q(x1 , x2 , x3 , x4 ) = (Q1 (Q2 (x1 , x2 ), Q3 (x3 , x4 )))1 024
Theorem 2. Results in this direction are given in [31], and
                                                                      which can be approximated by deep networks with a
more recently in [32] and [5] (see Theorem 3.1). In partic-
                                                                      smaller number of parameters than shallow networks is
ular, using a result in [32] and following the proof strategy
                                                                      based on polynomial approximation of functions of the type
of Theorem 2, it is possible to derive the following results
                                                                      g(g(g())). Here, however, a formal proof of the impossibil-
on the approximation of Lipshitz continuous functions with
                                                                      ity of good approximation by shallow networks is not avail-
deep and shallow ReLU networks that mimics our Theorem
                                                                      able. For a lower bound, we need at one case of a compo-
2.
                                                                      sitional function which cannot be approximated by shallow
   Theorem 4. Let f be a L-Lipshitz continuous function
                                                                      networks with a non-exponential degree of approximation.
of n variables. Then, the complexity of a network which is
a linear combination of ReLU providing an approximation
with accuracy at least  is
                                  
                                       −n
                        Ns = O
                                      L

where that of a deep compositional architecture is
                       
                                   −2
                Nd = O    n − 1)(        .
                                  L

   Our general Theorem 3 can be extended in a similar way.
Theorem 4 is an example of how the analysis of smooth ac-
tivation functions can be adapted to ReLU. Indeed, it shows
how deep compositional networks with standard ReLUs can
avoid the curse of dimensionality. In the above results, the          Fig. 3 The ﬁgure shows on the top the graph of the function
regularity of the function class is quantiﬁed by the magni-           to be approximated, while the bottom part of the ﬁgure shows
tude of Lipshitz constant. Whether the latter is best notion          a deep neural network with the same graph structure. The left
of smoothness for ReLU based networks, and if the above               and right node inf the ﬁrst layer has each n units giving a to-
estimates can be improved, are interesting questions that             tal of 2n units in the ﬁrst layer. The second layer has a total
we defer to a future work. A result that is more intuitive            of 2n units. The ﬁrst layer has a convolution of size n to mir-
and may reﬂect what networks actually do is described in              ror the structure of the function to be learned. The composi-
the Appendix of [29] (Section “Non-smooth ReLUs: how                  tional function we approximate has the form f (x1 , x2 , x3 , x4 ) =
deep nets may work in reality”). Though the construction              h2 (h11 (x1 , x2 ), h12 (x3 , x4 )) with h11 , h12 and h2 as indicated in
described there provides approximation in the L2 norm but             the ﬁgure.
8                                                                                      International Journal of Automation and Computing




Fig. 4 An empirical comparison of shallow versus 2-layers binary tree networks in the approximation of compositional functions. The
loss function is the standard mean square error (MSE). There are several units per node of the tree. In our setup here the network
with an associated binary tree graph was set up so that each layer had the same number of units and shared parameters. The number
of units for the shallow and binary tree neural networks had the same number of parameters. On the left, the function is composed
of a single ReLU per node and is approximated by a network using ReLU activations. On the right, the compositional function is
f (x1 , x2 , x3 , x4 ) = h2 (h11 (x1 , x2 ), h12 (x3 , x4 )) and is approximated by a network with a smooth ReLU activation (also called softplus).
The functions h1 , h2 , h3 are as described in Fig. 3. In order to be close to the function approximation case, a large data set of 60 K
training examples was used for both training sets. We used for SGD the Adam[33] optimizer. In order to get the best possible solution,
we ran 200 independent hyper parameter searches using random search[34] and reported the one with the lowest training error. The
hyper parameters search was over the step size, the decay rate, frequency of decay and the mini-batch size. The exponential decay
hyper parameters for Adam were ﬁxed to the recommended values according to the original paper[33] . The implementations were based
on TensorFlow[35] .




Fig. 5 Another comparison of shallow versus 2-layers binary tree networks in the learning of compositional functions. The set up of
the experiment was the same as in the one in Fig. 4 except that the compositional function had two ReLU units per node instead of only
one. The right part of the ﬁgure shows a cross section of the function f (x1 , x2 , 0.5, 0.25) in a bounded interval x1 ∈ [−1, 1], x2 ∈ [−1, 1].
The shape of the function is piece wise linear as it is always the case for ReLUs networks.

   2) Such an example, for which a proof of the lower bound                 tial gap between certain functions produced by deep net-
exists since a few decades, consider a function which is a                  works and their approximation by shallow networks. The
linear combination of n tensor product Chui–Wang spline                     theorem[25] can be summarized as saying that a certain fam-
wavelets, where each wavelet is a tensor product cubic                      ily of classiﬁcation problems with real-valued inputs can-
spline. It is shown in [11, 12] that is impossible to imple-                not be approximated well by shallow networks with fewer
ment such a function using a shallow neural network with                    than exponentially many nodes whereas a deep network
a sigmoidal activation function using O(n) neurons, but a                   achieves zero error. This corresponds to high-frequency,
deep network with the activation function (|x|+ )2 can do                   sparse trigonometric polynomials in our case. His upper
so. In this case, as we mentioned, there is a formal proof of               bound can be proved directly from our Theorem 2 by con-
a gap between deep and shallow networks. Similarly, Eldan                   sidering the real-valued polynomials x1 x2 · · · xd deﬁned on
and Shamir[36] show other cases with separations that are                   the cube [−1, 1]d which is obviously a compositional func-
exponential in the input dimension.                                         tion with a binary tree graph.
   3) As we mentioned earlier, Telgarsky proves an exponen-
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                     9




Fig. 6 We show that the main advantage of deep convolutional networks (convNets) comes from “hierarchical locality” instead of
weight sharing. We train two 5-layer ConvNets with and without weight sharing on CIFAR-10. ConvNet without weight sharing
has diﬀerent ﬁlter parameters at each spatial location. There are 4 convolutional layers (ﬁlter size 3×3, stride 2) in each network.
The number of feature maps (i.e., channels) are 16, 32, 64 and 128 respectively. There is an additional fully-connected layer as a
classiﬁer. The performances of a 2-layer and 5-layer fully-connected networks are also shown for comparison. Each hidden layer of the
fully-connected network has 512 units. The models are all trained for 60 epochs with cross-entropy loss and standard shift and mirror
ﬂip data augmentation (during training). The training errors are higher than those of validation because of data augmentation. The
learning rates are 0.1 for epoch 1 to 40, 0.01 for epoch 41 to 50 and 0.001 for rest epochs. The number of parameters for each model
are indicated in the legends. Models with hierarchical locality signiﬁcantly outperform shallow and hierarchical non-local networks.

   4) We exhibit here another example of a compositional             In contrast, there exists c3 > 0 such that
function that can be approximated well by deep networks
but not by shallow networks.
   Let n ≥ 2 be an integer, B ⊂ Rn be the unit ball of                                  Δ(DN ) ≤ c3 N − n .
                                                                                                            4
                                                                                                                                (12)
  n
R . We consider the class W of all compositional functions
                                     
f = f2 ◦ f1 , where f1 : Rn → R, and |k|≤4 Dk f1 ∞ ≤ 1,
f2 : R → R and D4 f2 ∞ ≤ 1. We consider
                                                                     The constants c1 , c2 , c3 may depend upon n.
                                                                       Proof. The estimate (12) follows from the estimates al-
             Δ(AN ) := sup     inf f − P ∞,B                       ready given for deep networks. In the remainder of this
                         f ∈W P ∈AN
                                                                     proof, c will denote a generic positive constant depending
                                                                     upon n alone, but its value may be diﬀerent at diﬀerent
where AN is either the class SN of all shallow networks with
                                                                     occurrences. To prove (11), we use Lemma 3.2 in [12]. Let
N units or DN of deep networks with two layers, the ﬁrst
                                                                     φ be a C ∞ function supported on [0, 1], and we consider
with n inputs, and the next with one input. In both cases,
                                                                     fN (x) = φ(|4N x|2 ). Note that fN 1 ≥ C, with C inde-
the activation function is a C ∞ function σ : R → R that is
                                                                     pendent of N . Then, it is clear that each fN ∈ W , and
not a polynomial.
                                                                     fN 1 ≥ c. Clearly,
   Theorem 5. There exist constants c1 , c2 > 0 such that
for N ≥ c1 ,


                      Δ(SN ) ≥ c2 .                        (11)              Δ(SN ) ≥ c inf           |fN (x) − P (x)|dx.       (13)
                                                                                          P ∈SN   B
10                                                                                       International Journal of Automation and Computing

                            N
We choose P ∗ (x) =                      ∗         ∗
                                 k=1 σ(wk , x + bk ) such that                there exists a deep network that approximates such a func-
                                                                                tion better than a shallow network. The same network ap-
                 inf            |fN (x) − P (x)|dx ≥                            proximates well functions characterized by subgraphs of the
                P ∈SN       B
                                                                                original class.
                        1
                                 |fN (x) − P ∗ (x)|dx.                 (14)        The proofs of our theorems show that linear combina-
                        2   B
                                                                                tions of compositional functions are universal in the sense
Since fN is supported on {x ∈ Rn : |x| ≤ 4−N }, we may                          that they can approximate any function and that deep net-
use Lemma 3.2 in [12] with gk∗ (t) = σ(t + b∗k ) to conclude                    works with a number of units that increases exponentially
that                                                                            with layers can approximate any function. Notice that deep
                                                                                compositional networks can interpolate if they are over-
                                                                                parametrized with respect to the data, even if the data re-
     |fN (x) − P (x)|dx ≥                                                       ﬂect a non-compositional function (see Proposition 8 in the
 B
                                                                               Appendix of [29], Section “Optimization of compositional
          inf                        |fN (x) −       ak gk (wk , x)|dx ≥ c.   functions and Bezout theorem”).
gk ∈L1
     loc
         , wk ∈Rn , ak ∈R        B
                                                                                   As an aside, note that the simplest compositional func-
Together with (13) and (14), this implies (11).                                 tion – addition – is trivial in the sense that it oﬀers no ap-
   So by now plenty of examples of lower bounds exist show-                     proximation advantage to deep networks. The key function
ing a gap between shallow and deep networks. A particu-                         is multiplication which is for us the prototypical composi-
larly interesting case is the product function, that is the                     tional functions. As a consequence, polynomial functions
monomial f (x1 , · · · , xn ) = x1 x2 · · · xn which is, from our               are compositional – they are linear combinations of mono-
point of view, the prototypical compositional functions.                        mials which are compositional.
Keeping in mind the issue of lower bounds, the question                            As we mentioned earlier, networks corresponding to
here has to do with the minimum integer r(n) such that the                      graphs that include the graph of the function to be learned
function f is in the closure of the span of σ(wk , x + bk ),                  can exploit compositionality. The bounds, however, will de-
with k = 1, · · · , r(n), and wk , bk ranging over their whole                  pend on the number of parameters r in the network used
domains. Such a proof has been published for the case                           and not the parameters r∗ (r∗ < r) of the optimal deep
of smooth ReLUs, using unusual group techniques and is                          network with a graph exactly matched to the graph of the
sketched in the Appendix of [37]:                                               function to be learned. As an aside, the price to be paid
   Proposition 4. For shallow networks approximating the                        in using a non-optimal prior depend on the learning algo-
product monomial f (x1 , · · · , xn ) = x1 x2 · · · xn , the mini-              rithm. For instance, under sparsity constraints, it may be
mum integer r(n) is r(n) = O(2n ).                                              possible to pay a smaller price than r (but higher than r ∗ ).
   Notice, in support of the claim, that assuming that a shal-                     In this sense, some of the densely connected deep net-
low network with (non-smooth) ReLUs has a lower bound                           works used in practice – which contain sparse graphs possi-
of r(q) = O(q) will lead to a contradiction with Håstad the-                   bly relevant for the function to be learned and which are still
orem by restricting xi from xi ∈ (−1, 1) to xi ∈ {−1, +1}.                      “smaller” than the exponential number of units required to
Håstad theorem[38] establishes the inapproximability of the                    represent a generic function of n variables – may be capable
parity function by shallow circuits of non-exponential size.                    in some cases of exploiting an underlying compositionality
In fact, Håstad s theorem can be used to prove Proposition                    structure without paying an exorbitant price in terms of
4 by approximating the product function using the binary                        required complexity.
representation of xi . This requires combining a number
of products of Boolean variables: Håstad result applies to
each of the products. The upper bound for approximation                         5    Connections with                 the     theory        of
by deep networks of ReLUs can be obtained following the                              Boolean functions
arguments of Proposition 7 in the Appendix of [29] (Section
“Non-smooth ReLUs: how deep nets may work in reality”).                            The approach followed in our main theorems suggest the
4.3     Messy graphs and densely connected                                      following considerations (see the Appendix of [29], Section
                                                                                “Boolean Functions” for a brief introduction). The struc-
        deep networks
                                                                                ture of a deep network is reﬂected in polynomials that are
   As mentioned already, the approximating deep network                         best approximated by it – for instance generic polynomi-
does not need to exactly match the architecture of the com-                     als or sparse polynomials (in the coeﬃcients) in d variables
positional function as long as the graph or tree associated                     of order k. The tree structure of the nodes of a deep net-
with the function is contained in the graph associated with                     work reﬂects the structure of a speciﬁc sparse polynomial.
the network. This is of course good news: The composi-                          Generic polynomial of degree k in d variables are diﬃcult
tionality prior embedded in the architecture of the network                     to learn because the number of terms, trainable parameters
does not reﬂect exactly the graph of a new function to be                       and associated VC-dimension are all exponential in d. On
learned. We have shown that for a given class of com-                           the other hand, functions approximated well by sparse poly-
positional functions characterized by an associated graph,                      nomials can be learned eﬃciently by deep networks with a
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                         11

tree structure that matches the polynomial. We recall that        available bounds for the generalization error of the network
in a similar way several properties of certain Boolean func-      to derive sample complexity bounds. As an example con-
tions can be “read out” from the terms of their Fourier ex-       sider Theorem 16.2 in [42] which provides the following sam-
pansion corresponding to “large” coeﬃcients, that is from         ple bound for a generalization error G with probability at
a polynomial that approximates well the function.                 least 1−δ in a network in which the W parameters (weights
   Classical results[38] about the depth-breadth tradeoﬀ in       and biases) which are supposed to minimize the empirical
circuits design show that deep circuits are more eﬃcient          error (the theorem is stated in the standard ERM setup)
in representing certain Boolean functions than shallow cir-       are expressed in terms of k bits:
                                                                                             2                  2 
cuits. Håstad proved that highly-variable functions (in the
sense of having high frequencies in their Fourier spectrum),                 M (G , δ) ≤    2
                                                                                                 kW log 2 + log        .              (15)
                                                                                            G                    δ
in particular the parity function cannot even be decently ap-
proximated by small constant depth circuits[39] . A closely          This suggests the following comparison between shallow
related result follow immediately from Theorem 2 since            and deep compositional (here binary tree-like networks).
functions of real variables of the form x1 x2 · · · xd have the   Assume a network size that ensures the same approxima-
compositional form of the binary tree (for d even). Restrict-     tion error  .
ing the values of the variables to −1, +1 yields an upper            Then in order to achieve the same generalization error
bound:                                                            G , the sample size Mshallow of the shallow network must
   Proposition 5.          The family of parity functions         be much larger than the sample size Mdeep of the deep net-
x1 x2 · · · xd with xi ∈ {−1, +1} and i = 1, · · · , xd can be    work:
represented with exponentially fewer units by a deep than
                                                                                             Mdeep
a shallow network.                                                                                   ≈ n .                           (16)
                                                                                            Mshallow
   Notice that Håstad s results on Boolean functions have
been often quoted in support of the claim that deep neural           This implies that for largish n, there is a (large) range
networks can represent functions that shallow networks can-       of training set sizes between Mdeep and Mshallow for which
not. For instance, Bengio and LeCun[40] write “We claim           deep networks will not overﬁt (corresponding to small G )
that most functions that can be represented compactly by          but shallow networks will (for dimensionality n ≈ 104 and
                                                                                                       4
deep architectures cannot be represented by a compact shal-        ≈ 0.1, (16) yields Mshallow ≈ 1010 Mdeep ).
low architecture.”                                                   A similar comparison is derived if one considers the best
   Finally, we want to mention a few other observations on        possible expected error obtained by a deep and a shallow
Boolean functions that show an interesting connection with        network. Such an error is obtained ﬁnding the architecture
our approach. It is known that within Boolean functions           with the best trade-oﬀ between the approximation and the
the AC 0 class of polynomial size constant depth circuits         estimation error. The latter is essentially of the same order
is characterized by Fourier transforms where most of the          as the generalization bound implied by (15), and is essen-
power spectrum is in the low order coeﬃcients. Such func-         tially the same for deep and shallow networks, i.e.,
tions can be approximated well by a polynomial of low de-                                        rn
gree and can be learned well by considering only such coef-                                      √                                    (17)
                                                                                                   M
ﬁcients. There are two algorithms[41] that allow learning of
certain Boolean function classes:                                 where we denoted by M the number of samples. For shal-
   1) the low order algorithm that approximates functions         low networks, the number of parameters corresponds to r
by considering their low order Fourier coeﬃcients                 units of n dimensional vectors (plus oﬀ-sets), whereas for
   2) the sparse algorithm which learns a function by ap-         deep compositional networks the number of parameters cor-
proximating its signiﬁcant coeﬃcients.                            responds to r units of 2 dimensional vectors (plus oﬀ-sets)
   Decision lists and decision trees can be learned by the        in each of the n − 1 units. Using our previous results on de-
ﬁrst algorithm. Functions with small L1 norm can be ap-           gree of approximation, the number of units giving the best
proximated well by the second algorithm. Boolean circuits         approximation/estimation trade-oﬀ is
expressing DNFs can be approximated by the ﬁrst one but                         √       n
                                                                                        m+n                             √           2
                                                                                  M                                                  m+2
even better by the second. In fact, in many cases a function       rshallow ≈                        and      rdeep ≈        M
                                                                                  n
can be approximated by a small set of coeﬃcients but these
                                                                                                                     (18)
coeﬃcients do not correspond to low-order terms. All these
                                                                  for shallow and deep networks, respectively. The corre-
cases are consistent with the notes about sparse functions
                                                                  sponding (excess) expected errors E are
in Section 7.
                                                                                                             m
                                                                                                       n     m+n
                                                                                     Eshallow ≈       √                               (19)
6    Generalization bounds                                                                              M

  Our estimate of the number of units and parameters              for shallow networks and
needed for a deep network to approximate compositional                                                      m
                                                                                                      1     m+2

functions with an error G allow the use of one of several                            Edeep ≈        √                                (20)
                                                                                                       M
12                                                                                        International Journal of Automation and Computing


for deep networks. For the expected error, as for the gen-                       decrease by a factor ≈ 30). It is important to emphasize
eralization error, deep networks appear to achieve an ex-                        the dual advantage here of compositionality, which 1) re-
ponential gain. The above observations hold under the                            duces generalization error by decreasing the complexity of
assumption that the optimization process during training                         the hypothesis space G of compositional functions relative
ﬁnds the optimum parameters values for both deep and                             the space of non-compositional functions and 2) exploits the
shallow networks. Taking into account optimization, e.g.,                        multi task structure, that replaces ln|G| with ln|G|
                                                                                                                                  T
                                                                                                                                      .
by stochastic gradient descent, requires considering a fur-                        We conjecture that the good generalization exhibited by
ther error term, but we expect that the overall conclusions                      deep convolutional networks in multi-class tasks such as Ci-
about generalization properties for deep versus shallow net-                     FAR and Imagenet are due to three factors:
works should still hold true.                                                      1) SGD has a regularizing eﬀect.
   Notice that independently of considerations of generaliza-                      2) The task is compositional.
tion, deep compositional networks are expected to be very                          3) The task is multiclass.
eﬃcient memories – in the spirit of hierarchical vector quan-
tization – for associative memories reﬂecting compositional                      7    Notes on a theory of compositional
rules (see the Appendix of [29], Section “Vector quantiza-                            computation
tion and hierarchical vector quantization” and [43]). Notice
that the advantage with respect to shallow networks from                            The key property of the theory of compositional func-
the point of view of memory capacity can be exponential (as                      tions sketched here is that certain deep networks can learn
                                                     4
in the example after (16) showing Mshallow ≈ 1010 Mdeep ).                       them avoiding the curse of dimensionality because of the
                                                                                 blessing of compositionality via a small eﬀective dimension.
6.1      Generalization in multi-class deep net-                                    We state here several comments and conjectures.
         works                                                                      1. General comments
   Most of the successful neural networks exploit com-                              1) Assumptions of the compositionality type may have
positionality for better generalization in an additional                         more direct practical implications and be at least as eﬀec-
important way[44] .            Suppose that the mappings to                      tive as assumptions about function smoothness in counter-
be learned in a family of classiﬁcation tasks (for in-                           ing the curse of dimensionality in learning and approxima-
stance classiﬁcation of diﬀerent object classes in Ima-                          tion.
genet) may be approximated by compositional functions                               2) The estimates on the n-width imply that there is some
                                                                                                       n                      n,2
such as f (x1 , · · · , xn ) = hl · · · (h21 (h11 (x1 , x2 ), h12 (x3 , x4 )),   function in either Wm   (Theorem 1) or Wm        (Theorem 2)
h22 (h13 (x5 , x6 ), h14 (x7 , x8 ) · · · )) · · · ), where hl depends on        for which the approximation cannot be better than that
the task (for instance to which object class) but all the other                  suggested by the theorems.
constituent functions h are common across the tasks. Un-                            3) The main question that may be asked about the rele-
der such an assumption, multi-task learning, that is train-                      vance of the theoretical results of this paper and networks
ing simultaneously for the diﬀerent tasks, forces the deep                       used in practice has to do with the many “channels” used
network to “ﬁnd” common constituent functions. Multi-                            in the latter and with our assumption that each node in the
task learning has theoretical advantages that depends on                         networks computes a scalar function – the linear combina-
compositionality: The sample complexity of the problem                           tion of r units (3). The following obvious but interesting
can be signiﬁcantly lower[45] . The Maurer s approach is in                     extension of Theorem 1 to vector-valued functions says that
fact to consider the overall function as the composition of                      the number of hidden units required for a given accuracy in
a preprocessor function common to all task followed by a                         each component of the function is the same as in the scalar
task-speciﬁc function. As a consequence, the generalization                      case considered in our theorems (of course the number of
error, deﬁned as the diﬀerence between expected and em-                          weights is larger):
pirical error, averaged across the T tasks, is bounded with                         Corollary 4. Let σ : R → R be inﬁnitely diﬀeren-
probability at least 1 − δ (in the case of ﬁnite hypothesis                      tiable, and not a polynomial. For a vector-valued function
spaces) by                                                                       f : Rn → Rq with components fi ∈ Wm      n
                                                                                                                            , i = 1, · · · , q, the
                                                                                 number of hidden units in shallow networks with n inputs,
                                         ln|G| + ln( 1δ )                        q outputs that provide accuracy at least  in each of the
                       1
                   √          ln|H| +                                   (21)     components of f is
                       2M                      T
                                                                                                                   n
                                                                                                       N = O(− m ).                          (22)
where M is the size of the training set, H is the hypothe-
sis space of the common classiﬁer and G is the hypothesis                           The demonstration follows the proof of Theorem 1, see
space of the system of constituent functions, common across                      also the Section “Neural networks: polynomial viewpoint”
tasks.                                                                           in the Appendix of [29]. It amounts to realizing that the
   The improvement in generalization error because of the                        hidden units (or linear combinations of them) can be equiv-
multitask structure can be in the order of the square root                       alent to the monomials of a generic polynomial of degree k
of the number of tasks (in the case of Imagenet with its                         in n variables that can be used by a diﬀerent set of coef-
1 000 object classes, the generalization error may therefore                     ﬁcients for each of fi . This argument of course does not
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                13

mean that during learning this is what happens; it provides       in terms of a hierarchy of (d − 1) two-dimensional tables.
one way to synthesize the approximation and an associated         Instead of nd entries there are (d − 1)n2 entries. This has
upper bound. The corollary above leads to a simple argu-          in turn obvious connections with hierarchical vector quan-
ment that generalizes our binary tree results to standard,        tization (HVQ), discussed in the Appendix of [29], Section
multi-channel deep convolutional networks by introducing a        “Vector quantization and hierarchical vector quantization”.
set of virtual linear units as outputs of one layer and inputs       2) As the Appendix of [29], Section “Non-smooth ReLUs:
of the next one.                                                  how deep nets may work in reality” shows, every function
   4) We have used polynomials (see the Appendix of [29],         f can be approximated by an epsilon-close binary function
Section “Non-smooth ReLUs: how deep nets may work in              fB . Binarization of f : Rn → R is done by using k par-
reality”) to prove results about complexity of approxima-         titions for each variable xi and indicator functions. Thus,
tion in the case of neural networks. Neural network learning      f → fB : {0, 1}kn → R and sup|f − fB | ≤ , with  de-
with SGD may or may not synthesize polynomial, depend-            pending on k and bounded Df .
ing on the smoothness of the activation function and on              3) fB can be written as a polynomial (a Walsh decom-
the target. This is not a problem for theoretically estab-        position) fB ≈ pB . It is always possible to associate a pb
lishing upper bounds on the degree of convergence because         to any f , given .
results using the framework on nonlinear width guarantee             4) The binarization argument suggests a direct way to
the “polynomial” bounds are optimal.                              connect results on function approximation by neural nets
   5) Both shallow and deep representations may or may            with older results on Boolean functions. The latter are spe-
not reﬂect invariance to group transformations of the in-         cial cases of the former results.
puts of the function[22, 46] . Invariance – also called weight       5) One can think about tensors in terms of d-dimensional
sharing – decreases the complexity of the network. Since          tables. The framework of hierarchical decompositions of
we are interested in the comparison of shallow versus deep        tensors – in particular the hierarchical tucker format – is
architectures, we have considered the generic case of net-        closely connected to our notion of compositionality. Inter-
works (and functions) for which invariance is not assumed.        estingly, the hierarchical tucker decomposition has been the
In fact, the key advantage of deep versus shallow network         subject of recent papers on deep learning[20] . This work, as
– as shown by the proof of the theorem – is the associated        well more classical papers[48] , does not characterize directly
hierarchical locality (the constituent functions in each node     the class of functions for which these decompositions are ef-
are local that is have a small dimensionality) and not in-        fective. Notice that tensor decompositions assume that the
variance (which designates shared weights that is nodes at        sum of polynomial functions of order d is sparse (see equa-
the same level sharing the same function). One may then           tion at the top of page 2 030 of [48]). Our results provide
ask about the relation of these results with i-theory[47] . The   a rigorous grounding for the tensor work related to deep
original core of i-theory describes how pooling can provide       learning. There is obviously a wealth of interesting connec-
either shallow or deep networks with invariance and selec-        tions with approximation theory that should be explored.
tivity properties. Invariance of course helps but not expo-          Notice that the notion of separation rank of a tensor is
nentially as hierarchical locality does.                          very closely related to the eﬀective r in (32) of the Appendix
   6) There are several properties that follow from the the-      of [29] (Section “Neural networks: polynomial viewpoint”).
ory here which are attractive from the point of view of neu-         3. Sparsity
roscience. A main one is the robustness of the results with          1) We suggest to deﬁne binary sparsity of f , in terms of
respect to the choice of nonlinearities (linear rectiﬁers, sig-   the sparsity of the Boolean function pB . Binary sparsity
moids, Gaussians, etc.) and pooling.                              implies that an approximation to f can be learned by non-
   7) In a machine learning context, minimization over            exponential deep networks via binarization. Notice that
a training set of a loss function such as the square loss         if the function f is compositional, the associated Boolean
yields an empirical approximation of the regression func-         functions fB is sparse. The converse is not true.
tion p(y/x). Our hypothesis of compositionality becomes              2) In may situations, Tikhonov regularization corre-
an hypothesis about the structure of the conditional prob-        sponds to cutting high order Fourier coeﬃcients. Spar-
ability function.                                                 sity of the coeﬃcients subsumes Tikhonov regularization
   2. Spline approximations, Boolean functions and                in the case of a Fourier representation. Notice that as an
tensors                                                           eﬀect, the number of Fourier coeﬃcients is reduced, that
   1) Consider again the case of Section 4 “General compo-        is trainable parameters, in the approximating trigonomet-
sitionality results” in the Appendix of [29] of a multivariate    ric polynomial. Sparsity of Fourier coeﬃcients is a general
function f : [0, 1]d → R. Suppose to discretize it by a           constraint for learning Boolean functions.
set of piecewise constant splines and their tensor products.         3) Sparsity in a speciﬁc basis. A set of functions may be
Each coordinate is eﬀectively replaced by n Boolean vari-         deﬁned to be sparse in a speciﬁc basis when the number of
ables. This results in a d-dimensional table with N = nd          parameters necessary for its -approximation increases less
entries. This in turn corresponds to a boolean function           than exponentially with the dimensionality. An open ques-
f : {0, 1}N → R. Here, the assumption of compositional-           tion is the appropriate deﬁnition of sparsity. The notion
ity corresponds to compressibility of a d-dimensional table       of sparsity we suggest here is the eﬀective r in (32) of the
14                                                                        International Journal of Automation and Computing


Appendix of [29] (Section “Neural networks: polynomial           the connections in the trees of the ﬁgures may reﬂect linear
viewpoint”). For a general function r ≈ kn , we may deﬁne        combinations of the input units).
sparse functions those for which r  kn in                          3) Low order may be a key constraint for cortex. If it
                                                                 captures what is possible in terms of connectivity between
                                  
                                  r
                                                                 neurons, it may determine by itself the hierarchical architec-
              f (x) ≈ Pk∗ (x) =         pi (wi , x)    (23)    ture of cortex which in turn may impose compositionality
                                  i=1
                                                                 to language and speech.
where P ∗ is a speciﬁc polynomial that approximates f (x)           4) The idea of functions that are compositions of
within the desired . Notice that the polynomial Pk∗ can         “simpler” functions extends in a natural way to recur-
be a sum of monomials or a sum of, for instance, orthog-         rent computations and recursive functions. For instance,
onal polynomials with a total of r parameters. In general,       h(f (t) (g(x))) represents t iterations of the algorithm f (h
sparsity depends on the basis and one needs to know the          and g match input and output dimensions to f ).
basis and the type of sparsity to exploit it in learning, for
instance with a deep network with appropriate activation
functions and architecture.
                                                                 8    Why are compositional functions so
   There are function classes that are sparse in every bases.
Examples are compositional functions described by a binary            common or important?
tree graph.
   4. Theory of computation, locality and composi-
tionality                                                           First, let us formalize the requirements on the algorithms
   1) From the computer science point of view, feedforward       of local compositionality is to deﬁne scalable computations
multilayer networks are equivalent to ﬁnite state machines       as a subclass of nonlinear discrete operators, mapping vec-
running for a ﬁnite number of time steps[49, 50] . This result   tors from Rn into Rd (for simplicity we put in the following
holds for almost any ﬁxed nonlinearity in each layer. Feed-      d = 1). Informally, we call an algorithm Kn : Rn → R
forward networks are equivalent to cascades without loops        scalable if it maintains the same “form” when the input
(with a ﬁnite number of stages) and all other forms of loop      vectors increase in dimensionality, i.e., the same kind of
free cascades (i.e., McCulloch-Pitts nets without loops, per-    computation takes place when the size of the input vector
ceptrons, analog perceptrons, linear threshold machines).        changes. This motivates the following construction. Con-
Finite state machines, cascades with loops, and diﬀerence        sider a “layer” operator H2m : R2m → R2m−2 for m ≥ 1
equation systems which are Turing equivalent, are more           with a special structure that we call “shift invariance”.
powerful than multilayer architectures with a ﬁnite num-            Definition 2. For integer m ≥ 2, an operator H2m is
                                                                                                      
ber of layers. The latter networks, however, are practically     shift-invariant if H2m = Hm      ⊕ Hm    where R2m = Rm ⊕
                                                                                         
universal computers, since every machine we can build can        R , H = H and H : R → Rm−1 . An operator
                                                                   m                              m

be approximated as closely as we like by deﬁning suﬃciently      K2M : R2M → R is called scalable and shift invariant if
many stages or a suﬃciently complex single stage. Recur-         K2M = H2 ◦ · · · ◦ H2M where each H2k , 1 ≤ k ≤ M , is shift
rent networks as well as diﬀerential equations are Turing        invariant.
universal.                                                          We observe that scalable shift-invariant operators K :
   2) Approximation properties can be related to the no-         R2m → R have the structure K = H2 ◦ H4 ◦ H6 ◦ · · · ◦ H2m ,
tion of connectivity of a network. Connectivity is a key         with H4 = H2 ⊕ H2 , H6 = H2 ⊕ H2 ⊕ H2 , etc.
property in network computations. Local processing may              Thus, the structure of a shift-invariant, scalable opera-
be a key constraint also in neuroscience. One of the natu-       tor consists of several layers. Each layer consists of iden-
ral measures of connectivity that can be introduced is the       tical blocks. Each block is an operator H : R2 → R: see
order of a node deﬁned as the number of its distinct inputs.     Fig. 7. We note also that an alternative weaker constraint
The order of a network is then the maximum order among           on H2m in Deﬁnition 2, instead of shift invariance, is mirror
its nodes. The term order dates back to the Perceptron           symmetry, i.e., H  = R ◦ H  , where R is a reﬂection. Ob-
book[50, 51] . From the previous observations, it follows that   viously, shift-invariant scalable operator are equivalent to
a hierarchical network of order at least 2 can be universal.     shift-invariant compositional functions. Obviously the deﬁ-
In the Perceptron book, many interesting visual computa-         nition can be changed in several of its details. For instance
tions have low order (e.g., recognition of isolated ﬁgures).     for two-dimensional images, the blocks could be operators
The message is that they can be implemented in a single          H : R5 → R mapping a neighborhood around each pixel
layer by units that have a small number of inputs. More          into a real number.
complex visual computations require inputs from the full            The ﬁnal step in the argument uses the results of previ-
visual ﬁeld. A hierarchical network can achieve eﬀective         ous sections to claim that a nonlinear node with two inputs
high order at the top using units with low order. The net-       and enough units can approximate arbitrarily well each of
work architecture of Fig. 1 (b) has low order: Each node in      the H2 blocks. This leads to conclude that deep convolu-
the intermediate layers is connected to just 2 other nodes,      tional neural networks are natural approximators of scal-
rather than (say) all nodes in the previous layer (notice that   able, shift-invariant operators.
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                    15

                                                                        for Brains, Minds and Machines (CBMM) Memo No. 037,
                                                                        The Center for Brains, Minds and Machines, USA, 2015.

                                                                    [3] T. Poggio, F. Anselmi, L. Rosasco. I-theory on Depth
                                                                        vs Width: Hierarchical Function Composition, Center for
                                                                        Brains, Minds and Machines (CBMM) Memo No. 041, The
                                                                        Center for Brains, Minds and Machines, USA, 2015.
Fig. 7 A shift-invariant, scalable operator. Processing is from
the bottom (input) to the top (output). Each layer consists of      [4] H. Mhaskar, Q. L. Liao, T. Poggio. Learning Real and
                                                                        Boolean Functions: When is Deep Better than Shallow,
identical blocks, each block has two inputs and one output; each
                                                                        Center for Brains, Minds and Machines (CBMM) Memo
block is an operator H2 : R2 → R. The step of combining two            No. 045, The Center for Brains, Minds and Machines, USA,
inputs to a block into one output corresponds to coarse-graining        2016.
of a Ising model.
                                                                    [5] H. N. Mhaskar, T. Poggio. Deep Vs. Shallow Networks:
   Let us provide a couple of very simple examples of compo-            An Approximation Theory Perspective, Center for Brains,
sitional functions. Addition is compositional but degree of             Minds and Machines (CBMM) Memo No. 054, The Center
                                                                        for Brains, Minds and Machines, USA, 2016.
approximation does not improve by decomposing addition
in diﬀerent layers of network; all linear operators are com-        [6] D. L. Donoho. High-dimensional data analysis: The curses
positional with no advantage for deep networks; multiplica-             and blessings of dimensionality. Lecture – Math Challenges
tion as well as the AND operation (for Boolean variables)               of Century, vol. 13, pp. 178–183, 2000.
is the prototypical compositional function that provides an
advantage to deep networks.                                         [7] Y. LeCun, Y. Bengio, G. Hinton. Deep learning. Nature,
                                                                        vol. 521, no. 7553, pp. 436–444, 2015.
   This line of arguments deﬁnes a class of algorithms that
is universal and can be optimal for a large set of problems.        [8] K. Fukushima. Neocognitron: A self-organizing neural net-
It does not however explain why problems encountered in                 work model for a mechanism of pattern recognition unaf-
practice should match this class of algorithms. Though we               fected by shift in position. Biological Cybernetics, vol. 36,
and others have argued that the explanation may be in                   no. 4, pp. 193–202, 1980.
either the physics or the neuroscience of the brain, these
                                                                    [9] M. Riesenhuber, T. Poggio. Hierarchical models of object
arguments (see the Appendix of [29], Section “Does physics              recognition in cortex. Nature Neuroscience, vol. 2, no. 11,
or neuroscience imply compositionality?”) are not (yet) rig-            pp. 1019–1025, 1999.
orous. Our conjecture is that compositionality is imposed
by the wiring of our cortex and is reﬂected in language.           [10] H. N. Mhaskar. Approximation properties of a multilayered
Thus, compositionality of many computations on images                   feedforward artiﬁcial neural network. Advances in Compu-
                                                                        tational Mathematics, vol. 1, no. 1, pp. 61–80, 1993.
many reﬂect the way we describe and think about them.
                                                                   [11] C. K. Chui, X. Li, H. Mhaskar. Neural networks for local-
Acknowledgement                                                         ized approximation. Mathematics of Computation, vol. 63,
                                                                        no. 208, pp. 607–623, 1994.
  The authors thank O. Shamir for useful emails that
prompted us to clarify our results in the context of lower         [12] C. K. Chui, X. Li, H. N. Mhaskar. Limitations of the ap-
                                                                        proximation capabilities of neural networks with one hid-
bounds.
                                                                        den layer. Advances in Computational Mathematics, vol. 5,
                                                                        no. 1, pp. 233–243, 1996.
Open Access This article is distributed under the terms
of the Creative Commons Attribution 4.0 International              [13] A. Pinkus. Approximation theory of the MLP model in neu-
                                                                        ral networks. Acta Numerica, vol. 8, pp. 143–195, 1999.
License    (http://creativecommons.org/licenses/by/4.0/),
which permits unrestricted use, distribution, and repro-
                                                                   [14] T. Poggio, S. Smale. The mathematics of learning: Dealing
duction in any medium, provided you give appropriate                    with data. Notices of the American Mathematical Society,
credit to the original author(s) and the source, provide                vol. 50, no. 5, pp. 537–544, 2003.
a link to the Creative Commons license, and indicate if
changes were made.                                                 [15] B. Moore, T. Poggio. Representation properties of multi-
                                                                        layer feedforward networks. Neural Networks, vol. 1, no. S1,
                                                                        pp. 203, 1998.
References
                                                                   [16] R. Livni, S. Shalev-Shwartz, O. Shamir. A provably
 [1] F. Anselmi, L. Rosasco, C. Tan, T. Poggio. Deep Convolu-           eﬃcient algorithm for training deep networks. CoRR,
     tional Networks are Hierarchical Kernel Machines, Center           abs/1304.7045, 2013.
     for Brains, Minds and Machines (CBMM) Memo No. 035,
     The Center for Brains, Minds and Machines, USA, 2015.         [17] O. Delalleau, Y. Bengio. Shallow vs. deep sum-product net-
                                                                        works. In Proceedings of Advances in Neural Information
 [2] T. Poggio, L. Rosasco, A. Shashua, N. Cohen, F. Anselmi.           Processing Systems 24, NIPS, Granada, Spain, pp. 666–674,
     Notes on Hierarchical Splines, DCLNs and i-theory, Center          2011.
16                                                                           International Journal of Automation and Computing


[18] G. F. Montufar, R. Pascanu, K. Cho, Y. Bengio. On the          [33] D. Kingma, J. Ba. Adam: A method for stochastic opti-
     number of linear regions of deep neural networks. In Pro-           mization. arXiv:1412.6980, 2014.
     ceedings of Advances in Neural Information Processing Sys-
     tems 27, NIPS, Denver, USA, pp. 2924–2932, 2014.               [34] J. Bergstra, Y. Bengio. Random search for hyper-parameter
                                                                         optimization. Journal of Machine Learning Research,
[19] H. N. Mhaskar. Neural networks for localized approxima-             vol. 13, no. 1, pp. 281–305, 2012.
     tion of real functions. In Proceedings of IEEE-SP Workshop
     on Neural Networks for Processing III, pp. 190–196, IEEE,      [35] M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. F. Chen,
     Linthicum Heights, USA, 1993.                                       C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S.
                                                                         Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard,
[20] N. Cohen, O. Sharir, A. Shashua. On the expressive power            Y. Q. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Leven-
     of deep learning: A tensor analysis. arXiv:1509.0500v1,             berg, D. Mané, R. Monga, S. Moore, D. Murray, C. Olah,
     2015.                                                               M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Tal-
                                                                         war, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viégas,
[21] F. Anselmi, J. Z. Leibo, L. Rosasco, J. Mutch, A. Tacchetti,        O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu,
     T. Poggio. Unsupervised Learning of Invariant Representa-           X. Q. Zheng. TensorFlow: Large-scale machine learning on
     tions With Low Sample Complexity: The Magic of Sensory              heterogeneous distributed systems. arXiv:1603.04467, 2016.
     Cortex or A New Framework for Machine Learning? Center
     for Brains, Minds and Machines (CBMM) Memo No. 001,            [36] R. Eldan, O. Shamir. The power of depth for feedforward
     The Center for Brains, Minds and Machines, USA, 2014.               neural networks. arXiv:1512.03965v4, 2016.

[22] F. Anselmi, J. Z. Leibo, L. Rosasco, J. Mutch, A. Tacchetti,   [37] H. W. Lin, M. Tegmark. Why does deep and cheap learning
     T. Poggio. Unsupervised learning of invariant representa-           work so well? arXiv:1608.08225, 2016.
     tions. Theoretical Computer Science, vol. 633, pp. 112–121,
     2016.                                                          [38] J. T. Håstad. Computational Limitations for Small Depth
                                                                         Circuits, Cambridge, MA, USA: MIT Press, 1987.
[23] T. Poggio, L. Rosaco, A. Shashua, N. Cohen, F. Anselmi.
     Notes on Hierarchical Splines, DCLNs and i-theory, Center      [39] N. Linial, Y. Mansour, N. Nisan. Constant depth circuits,
     for Brains, Minds and Machines (CBMM) Memo No. 037.                 Fourier transform, and learnability. Journal of the ACM,
     The Center for Brains, Minds and Machines, 2015.                    vol. 40, no. 3, pp. 607–620, 1993.

[24] Q. L. Liao, T. Poggio. Bridging the Gaps between Residual      [40] Y. Bengio, Y. LeCun. Scaling learning algorithms towards
     Learning, Recurrent Neural Networks and Visual Cortex,              AI. Large-Scale Kernel Machines, L. Bottou, O. Chapelle,
     Center for Brains, Minds and Machines (CBMM) Memo                   D. DeCoste, J. Weston, Eds., Cambridge, MA, USA: MIT
     No. 047, The Center for Brains, Minds and Machines, 2016.           Press, 2007.

                                                                    [41] Y. Mansour. Learning Boolean functions via the Fourier
[25] M. Telgarsky. Representation beneﬁts of deep feedforward
                                                                         transform. Theoretical Advances in Neural Computation
     networks. arXiv:1509.08101v2, 2015.
                                                                         and Learning, V. Roychowdhury, K. Y. Siu, A. Orlitsky,
                                                                         Eds., pp. 391–424, US: Springer, 1994.
[26] I. Safran, O. Shamir. Depth separation in ReLU net-
     works for approximating smooth non-linear functions.
                                                                    [42] M. Anthony, P. Bartlett. Neural Network Learning: Theo-
     arXiv:1610.09887v1, 2016.
                                                                         retical Foundations, Cambridge, UK: Cambridge University
                                                                         Press, 2002.
[27] H. N. Mhaskar. Neural networks for optimal approxima-
     tion of smooth and analytic functions. Neural Computation,     [43] F. Anselmi, L. Rosasco, C. Tan, T. Poggio. Deep Convolu-
     vol. 8, no. 1, pp. 164–177, 1996.                                   tional Networks are Hierarchical Kernel Machines, Center
                                                                         for Brains, Minds and Machines (CBMM) Memo No. 035,
[28] E. Corominas, F. S. Balaguer. Conditions for an in-                 The Center for Brains, Minds and Machines, USA, 2015.
     ﬁnitely diﬀerentiable function to be a polynomial. Revista
     Matemática Hispanoamericana vol. 14, no. 1–2, pp. 26–43,      [44] B. M. Lake, R. Salakhutdinov, J. B. Tenenabum. Human-
     1954. (in Spanish)                                                  level concept learning through probabilistic program induc-
                                                                         tion. Science, vol. 350, no. 6266, pp. 1332–1338, 2015.
[29] T. Poggio, H. Mhaskar, L. Rosasco, B. Miranda, Q. L. Liao.
     Why and when can deep–but not shallow–networks avoid           [45] A. Maurer. Bounds for linear multi-task learning. Journal of
     the curse of dimensionality: A review. arXiv:1611.00740v3,          Machine Learning Research, vol. 7, no. 1, pp. 117–139, 2016.
     2016.
                                                                    [46] S. Soatto. Steps towards a theory of visual information: Ac-
[30] R. A. DeVore, R. Howard C. A. Micchelli. Optimal non-               tive perception, signal-to-symbol conversion and the inter-
     linear approximation. Manuscripta Mathematica, vol. 63,             play between sensing and control. arXiv:1110.2053, 2011.
     no. 4, pp. 469–478, 1989.
                                                                    [47] T. A. Poggio, F. Anselmi. Visual Cortex and Deep Net-
[31] H. N. Mhaskar. On the tractability of multivariate inte-            works: Learning Invariant Representations, Cambridge,
     gration and approximation by neural networks. Journal of            MA, UK: MIT Press, 2016.
     Complexity, vol. 20, no. 4, pp. 561–590, 2004.
                                                                    [48] L. Grasedyck. Hierarchical singular value decomposition of
[32] F. Bach. Breaking the curse of dimensionality with convex           tensors. SIAM Journal on Matrix Analysis and Applica-
     neural networks. arXiv:1412.8690, 2014.                             tions, no. 31, no. 4, pp. 2029–2054, 2010.
 T. Poggio et al. / Why and When Can Deep-but Not Shallow-networks Avoid the Curse of Dimensionality: A Review                        17

[49] S. Shalev-Shwartz, S. Ben-David. Understanding Machine          G. G. Lorentz, as well as two edited collections of research ar-
     Learning: From Theory to Algorithms, Cambridge, UK:             ticles: Wavelet Analysis and Applications, Narosa Publishers,
     Cambridge University Press, 2014.                               2001, and Frontiers in Interpolation and Approximation, Chap-
                                                                     man and Hall/CRC, 2006. He has held visiting positions, as well
[50] T. Poggio, W. Reichardt. On the representation of multi-        as given several invited lectures throughout North America, Eu-
     input systems: Computational properties of polynomial           rope, and Asia. He was awarded the Humboldt Fellowship for
     algorithms. Biological Cybernetics, vol. 37, no. 3, 167-186,    research in Germany four times. He was John von Neumann dis-
     1980.                                                           tinguished professor at Technical University of Munich in 2011.
                                                                     He is listed in Outstanding Young Men of America (1985) and
[51] M. L. Minsky, S. A. Papert. Perceptrons: An Introduc-           Who s Who in America s Teachers (1994). His research was sup-
     tion to Computational Geometry, Cambridge MA, UK: The           ported by the National Science Foundation and the U. S. Army
     MIT Press, 1972.                                                Research Oﬃce, the Air Force Oﬃce of Scientiﬁc Research, the
                                                                     National Security Agency, and the Research and Development
                      Tomaso Poggio received the Ph. D. de-          Laboratories.
                      gree in theoretical physics from University       E-mail: hmhaska@calstatela.edu
                      of Genoa, Italy in 1971. He is the Eu-
                      gene McDermott Professor at Department                                Lorenzo Rosasco         received the Ph. D.
                      of Brain and Cognitive Sciences, the direc-                           degree from the University of Genova, Italy
                      tor of Center for Brains, Minds and Ma-                               in 2006, where he worked under the super-
                      chines, the member of the Computer Sci-                               vision of Alessandro Verri and Ernesto De
                      ence and Artiﬁcial Intelligence Laboratory                            Vito in the Statistical Learning and Image
                      at Massachusetts Institute of Technology                              Processing Research Unit (SLIPGURU).
(MIT), USA. Since 2000, he is a member of the faculty of                                    He is an assistant professor at the Univer-
the McGovern Institute for Brain Research. He was a Wis-                                    sity of Genova, Italy. He is also aﬃliated
senschaftlicher assistant in Max Planck Institut für Biologische                           with the Massachusetts Institute of Tech-
Kybernetik, Tüebingen, Germany from 1972 until 1981 when            nology (MIT), USA, where is a visiting professor, and with the
he became an associate professor at MIT. He is an honorary           Istituto Italiano di Tecnologia (IIT), Italy where he is an external
member of the Neuroscience Research Program, a member of the         collaborator. He is leading the eﬀorts to establish the Laboratory
American Academy of Arts and Sciences and a Founding Fellow          for Computational and Statistical Learning (LCSL), born from a
of AAAI. He received several awards such as the Otto-Hahn-           collaborative agreement between IIT and MIT. During his Ph. D.
Medaille Award of the Max-Planck-Society, the Max Planck Re-         degree period, he has been visiting student at the Toyota Tech-
search Award (with M. Fahle), from the Alexander von Hum-            nological Institute at Chicago, USA (working with Steve Smale)
boldt Foundation, the MIT 50K Entrepreneurship Competition           and at the Center for Biological and Computational Learning
Award, the Laurea Honoris Causa from the University of Pavia         (CBCL) at MIT– working with Tomaso Poggio. Between 2006
in 2000 (Volta Bicentennial), the 2003 Gabor Award, the 2009         and 2009, he was a postdoctoral fellow at CBCL working with
Okawa prize, the American Association for the Advancement of         Tomaso Poggio.
Science (AAAS) Fellowship (2009) and the Swartz Prize for The-          His research interests include theory and algorithms for ma-
oretical and Computational Neuroscience in 2014. He is one           chine learning. He has developed and analyzed methods to learn
of the most cited computational neuroscientists (with a h-index      from small as well as large samples of high dimensional data, us-
greater than 100-based on GoogleScholar).                            ing analytical and probabilistic tools, within a multidisciplinary
   E-mail: tp@ai.mit.edu (Corresponding author)                      approach drawing concepts and techniques primarily from com-
   ORCID iD: 0000-0002-3944-0455                                     puter science but also from statistics, engineering and applied
                                                                     mathematics.
                       Hrushikesh Mhaskar          did his under-       E-mail: lrosasco@mit.edu
                       graduate studies in Institute of Science,
                       Nagpur, and received the ﬁrst M. Sc. de-                            Brando Miranda           received the B. Sc.
                       gree in mathematics from the Indian In-                             degree in electrical engineering and com-
                       stitute of Technology, India in 1976. He                            puter science (EECS) and the M. Eng.
                       received the Ph. D. degree in mathematics                           degree (supervised by Professor Tomaso
                       and M. Sc. degree in computer science from                          Poggio) in machine learning from Mas-
                       the Ohio State University, USA in 1980. He                          sachusetts Institute of Technology (MIT),
                       then joined Cal. State L. A., and was pro-                          USA in 2014 and 2016, respectively.
moted to full professor in 1990. After retirement in 2012, he                                 His research interests include machine
is now a visiting associate at California Institute of Technology,                         learning, statistics, neural networks, theo-
Research Professor at Claremont Graduate University, and occa-       ries in deep learning and applied mathematics.
sionally served as a consultant for Qualcomm. He has published          E-mail: brando90@mit.edu
more than 135 refereed articles in the area of approximation the-
ory, potential theory, neural networks, wavelet analysis, and data                        Qianli Liao        is a Ph. D. degree candi-
processing. His book Weighted Polynomial Approximation was                                date in electrical engineering and computer
published in 1997 by World Scientiﬁc, and the book with Dr.                               science (EECS) at Massachusetts Institute
D. V. Pai, Fundamentals of Approximation Theory was pub-                                  of Technology (MIT), USA, supervised by
lished by Narosa Publishers, CRC, and Alpha Science in 2000.                              Professor Tomaso Poggio.
He serves on the editorial boards of Journal of Approximation                                His research interests include machine
Theory, Applied and Computational Harmonic Analysis, and                                  learning, optimization, neural networks,
Jaen Journal of Approximation. In addition, he was a co-editor                            theoretical deep learning, computer vision,
of a special issue of “Advances in Computational Mathematics                              visual object/face recognition, biologically-
on Mathematical Aspects of Neural Networks”, two volumes of          plausible and brain-inspired learning.
Journal of Approximation Theory, dedicated to the memory of             E-mail: lql@mit.edu
