Universality of Deep Convolutional Neural Networks
Ding-Xuan Zhou
Introduction and Main Results
Deep learning provides various models and algorithms to process data as efficiently as biological nervous systems or neuronal responses in the human brain . It is based on deep neural network architectures and those structures bring essential tools for obtaining data features and function representations in practical applications. A main concern about deep learning which has attracted much scientific attention and some criticism is its lack of theories supporting its practical efficiency caused by its network structures, though there have been some theoretical attempts from approximation theory viewpoints . In particular, for deep CNNs having convolutional structures without fully connected layers, it is unknown which kinds of functions can be approximated. This paper provides a rigorous mathematical theory to answer this question and to illustrate the role of convolutions.
The deep CNNs considered in this paper have two essential ingredients: a rectified linear unit (ReLU) defined as a univariate nonlinear function given by
and a sequence of convolutional filter masks inducing sparse convolutional structures. Here a filter mask means a sequence of filter coefficients. We use a fixed integer filter length to control the sparsity, and assume that only for . The convolution of such a filter mask with another sequence is a sequence given by . This leads to a Toeplitz type convolutional matrix which has constant diagonals:
Sparse matrices of this form induce deep CNNs which are essentially different from the classical neural networks involving full connection matrices. Note that the number of rows of is greater than that of columns. This leads us to take a sequence of linearly increasing widths for the network, which enables the deep CNN to represent functions of richer structures.
where is a convolutional matrix, acts on vectors componentwise, and is a sequence of bias vectors .
The hypothesis space of a learning algorithm is the set of all possible functions that can be represented or produced by the algorithm. For the deep CNN of depth considered here, the hypothesis space is a set of functions defined by
while the widths of the deep CNN are bounded by and the total number of free parameters by
We can even take and to get a bound for the relative error
achieved by a deep CNN of depth and at most free parameters, which decreases as the dimension increases. This interesting observation is new for deep CNNs, and does not exist in the literature of fully connected neural networks. It explains the strong approximation ability of deep CNNs.
A key contribution in our theory of deep CNNs is that an arbitrary pre-assigned sequence supported in can be factorized into convolutions of a mask sequence . It is proved by the same argument as in for the case with the special restriction . Convolutions are closely related to translation-invariance in speeches and images , and also in some learning algorithms .
Theorem C. Let and be a sequence supported in with . Then there exists a finite sequence of filter masks supported in with such that the convolutional factorization holds true.
A multi-layer neural network is a sequence of function vectors satisfying an iterative relation
Here is a full connection matrix without special structures. So a deep CNN is a special multi-layer neural network with sparse convolutional matrices. This sparsity gives difficulty in developing a mathematical theory for deep CNNs, since the techniques in the literature of fully connected shallow or multi-layer neural networks do not apply. Our novelty to overcome the difficulty is to factorize an arbitrary finitely supported sequence into convolutions of filter masks supported in . Our method can be applied to distributed learning algorithms .
Recently there have been quite a few papers on approximation and representation of functions by deep neural networks and benefit of depth, but all these results are for fully connected networks without pre-specified structures, not for deep CNNs. In particular, it was shown in that the rate of approximaton of some function classes by multi-layer fully connected neural networks may be achieved by networks with sparse connection matrices , but the locations of the sparse connections are unknown. This sparsity of unknown pattern is totally different from that of deep CNNs, the latter enables computing methods like stochastic gradient descent to learn values of the free parameters efficiently.
For approximation in we can only consider those Sobolev spaces which can be embedded into the space of continuous functions, that is, those spaces with the regularity index . To establish rates of approximation we require in Theorem B. In this case, the set is dense in , so Theorem A follows from Theorem B by scaling.
with and such that
Now we turn to the key step of constructing the filter mask sequence . Define a sequence supported in by stacking the vectors (with components reversed) by
We apply Theorem C to the sequence with support in and find a sequence of filter masks supported in with such that The choice of implies . So and by taking to be the delta sequence, we have This tells us that
Then we construct . Denote , and for . Then we have
Take , and
Thus, we can take and know that the error can be bounded as
This proves Theorem B by taking .
Convolutional factorizations have been considered in our recent work for sequences supported in with under the special restrictions and . Theorem C gives a more general result by improving the bound for in and removing the special restrictions on and .
where is the number of complex roots with multiplicity, and is the number of real roots with multiplicity. By taking groups of up to quadratic factors (or quadratic factors with a linear factor) and linear factors in the above factorization, we get , a factorization of into polynomials of degree up to , which yields a desired convolutional factorization and proves Theorem C.
Acknowledgments
The author would like to thank Gilbert Strang and Steve Smale for their detailed suggestions and encouragement. The work described in this paper is supported partially by the Research Grants Council of Hong Kong [Project No CityU 11306617] and by National Nature Science Foundation of China [Grant No 11461161006].