Completeness Problem of the Deep Neural Networks

Abstract

Hornik, Stinchcombe & White have shown that the multilayer feed forward networks with enough hidden layers are universal approximators. Roux & Bengio have proved that adding hidden units yield a strictly improved modeling power, and Restricted Boltzmann Machines (RBM) are universal approximators of discrete distributions. In this paper, we provide yet another proof. The advantage of this new proof is that it will lead to several new learning algorithms. We prove that the Deep Neural Networks implement an expansion and the expansion is complete. First, we briefly review the basic Boltzmann Machine and that the invariant distributions of the Boltzmann Machine generate Markov chains. We then review the θ-transformation and its completeness, i.e. any function can be expanded by θ-transformation. We further review ABM (Attrasoft Boltzmann Machine). The invariant distribution of the ABM is a θ-transformation; therefore, an ABM can simulate any distribution. We discuss how to convert an ABM into a Deep Neural Network. Finally, by establishing the equivalence between an ABM and the Deep Neural Network, we prove that the Deep Neural Network is complete.

Share and Cite:

Liu, Y. and Wang, S. (2018) Completeness Problem of the Deep Neural Networks. American Journal of Computational Mathematics, 8, 184-196. doi: 10.4236/ajcm.2018.82014.

1. Introduction

Neural networks and deep learning currently provide the best solutions to many supervised learning problems. In 2006, a publication by Hinton, Osindero, and Teh [1] introduced the idea of a “deep” neural network, which first trains a simple supervised model; then adds on a new layer on top and trains the parameters for the new layer alone. You keep adding layers and training layers in this fashion until you have a deep network. Later, this condition of training one layer at a time is removed [2] [3] [4] [5] .

After Hinton’s initial attempt of training one layer at a time, Deep Neural Networks train all layers together. Examples include TensorFlow [6] , Torch [7] , and Theano [8] . Google’s TensorFlow is an open-source software library for dataflow programming across a range of tasks. It is a symbolic math library, and also used for machine learning applications such as neural networks [3] . It is used for both research and production at Google. Torch is an open source machine learning library and a scientific computing framework. Theano is a numerical computation library for Python. The approach using the single training of multiple layers gives advantages to the neural network over other learning algorithms.

One question is the existence of a solution for a given problem. This will often be followed by an effective solution development, i.e. an algorithm for a solution. This will often be followed by the stability of the algorithm. This will often be followed by an efficiency study of solutions. Although these theoretical approaches are not necessary for the empirical development of practical algorithms, the theoretical studies do advance the understanding of the problems. The theoretical studies will prompt new and better algorithm development of practical problems. Along the direction of solution existence, Hornik, Stinchcombe, & White [9] have shown that the multilayer feedforward networks with enough hidden layers are universal approximators. Roux & Bengio [10] have shown the same, Restricted Boltzmann machines are universal approximators of discrete distributions.

Hornik, Stinchcombe, & White [9] establish that the standard multilayer feedforward networks with hidden layers using arbitrary squashing functions are capable of approximating any measurable function from one finite dimensional space to another to any desired degree of accuracy, provided sufficiently many hidden units are available. In this sense, multilayer feedforward networks are a class of universal approximators.

Deep Belief Networks (DBN) are generative neural network models with many layers of hidden explanatory factors, recently introduced by Hinton, Osindero, and Teh, along with a greedy layer-wise unsupervised learning algorithm. The building block of a DBN is a probabilistic model called a Restricted Boltzmann machine (RBM), used to represent one layer of the model. Restricted Boltzmann machines are interesting because inference is easy in them and because they have been successfully used as building blocks for training deeper models. Roux & Bengio [10] proved that adding hidden units yield a strictly improved modeling power, and RBMs are universal approximators of discrete distributions.

In this paper, we provide yet another proof. The advantage of this proof is that it will lead to several new learning algorithms. We once again prove that Deep Neural Networks are universal approximators. In our approach, Deep Neural Networks implement an expansion and this expansion is complete.

In this paper, a Deep Neural Network (DNN) is an Artificial Neural Network (ANN) with multiple hidden layers between the input and output layers. The organization of this paper is as follows.

In Section 2, we briefly review how to study the completeness problem of Deep Neural Networks (DNN). In this approach, given an input A, an output B, and a mapping from A to B, one can convert this problem to a probability distribution [3] [4] of (A, B): p(a, b), a A , b B . If an input is a A and an output is b B , then the probability p(a, b) will be close to 1. One can find a Markov chain [11] such that the equilibrium distribution of this Markov chain, p(a, b), realizes, as faithfully as possible, the given supervised training set.

In Section 3, the Boltzmann machines [3] [4] are briefly reviewed. All possible distributions together form a distribution space. All of the distributions, implemented by Boltzmann machines, define a Boltzmann Distribution Space, which is a subset of the distribution space [12] [13] [14] . Given an unknown function, one can find a Boltzmann machine such that the equilibrium distribution of this Boltzmann machine realizes, as faithfully as possible, the unknown function.

In Section 4, we review the ABM (Attrasoft Boltzmann Machine) [15] which has an invariant distribution. An ABM is defined by two features: 1) an ABM with n neurons has neural connections up to the nth order; and 2) all of the connections up to nth order are determined by the ABM algorithm [15] . By adding more terms in the invariant distribution compared to the second order Boltzmann Machine, ABM is significantly more powerful in simulating an unknown function. Unlike Boltzmann Machine, ABM’s emphasize higher order connections rather than lower order connections. Later, we will discuss the relationships between the higher order connections and DNN.

In Section 5, we review θ-transformation [12] [13] [14] .

In Section 6, we review the completeness of the θ-transformation [12] [13] [14] . The θ-transformation is complete; i.e. given a function, one can find a θ-transformation to convert it from the x-coordinate system to the θ-coordinate system.

In Section 7, we discuss how the invariant distribution of an ABM implements a θ-transformation [12] [13] [14] , i.e. given an unknown function, one can find an ABM such that the equilibrium distribution of this ABM realizes precisely the unknown function. Therefore, an ABM is complete.

The next two sections are the new contributions of this paper. In section 8, we show that we can reduce an ABM to a DNN, i.e. we show that a higher order ANN can be replaced by a lower order ANN by increasing layers. We do not seek an efficient conversion from a higher order ANN to a lower order ANN with more layers. We will merely prove this is possible.

In Section 9, we prove that the DNN is complete, i.e. given an unknown function, one can find a Deep Neural Network that can simulate the unknown function.

2. Basic Approach for Completeness Problem

The goal of this paper is to prove that given any unknown function from A to B, one can find a DNN such that it can simulate this unknown function. It turns out that if we can reduce this from a discrete problem to a continuous problem, it will be very helpful. In this section, we introduce the basic idea of how to study the completeness problem.

The basic supervised learning [2] problem is: given a training set {A, B}, where A = { a 1 , a 2 , } and B = { b 1 , b 2 , } , find a mapping from A to B. The first step is to convert this problem to a probability [3] [4] :

p = p ( a , b ) , a A , b B .

If a1 matches with b1, the probability is 1 or close to 1. If a1 does not match with b1, the probability is 0 or close to 0. This can reduce the problem of inferencing a mapping from A to B, to inferencing a distribution function.

An irreducible finite Markov chain possesses a stationary distribution [11] . This invariant distribution can be used to simulate an unknown function. It is the invariant distribution of the Markov Chain which eventually allows us to prove that the DNN is complete.

3. Boltzmann Machine

A Boltzmann machine [3] [4] is a stochastic neural network in which each neuron has a certain probability to be 1. The probability of a neuron to be 1 is determined by the so called Boltzmann distribution. The collection of the neuron states:

x = ( x 1 , x 2 , , x n )

of a Boltzmann machine is called a configuration. The configuration transition is mathematically described by a Markov chain with 2n configurations x X , where X is the set of all points, ( x 1 , x 2 , , x n ) When all of the configurations are connected, it forms a Markov chain. A Markov chain has an invariant distribution [11] . Whatever initial configuration a Boltzmann machine starts from, the probability distribution converges over time to the invariant distribution, p(x). The configuration x X appears with a relative frequency p(x) over a long period of time.

The Boltzmann machine [3] [4] defines a Markov chain. Each configuration of the Boltzmann machine is a state of the Markov chain. The Boltzmann machine has a stable distribution. Let T be the parameter space of a family of Boltzmann machines. An unknown function can be considered as a stable distribution of a Boltzmann machine. Given an unknown distribution, a Boltzmann machine can be inferred such that its invariant distribution realizes, as faithfully as possible, the given function. Therefore, an unknown function is transformed into a specification of a Boltzmann machine.

More formally, let F be the set of all functions. Let T be the parameter space of a family of Boltzmann machines. Given an unknown f F , one can find a Boltzmann machine such that the equilibrium distribution of this Boltzmann machine realizes, as faithfully as possible, the unknown function [3] [4] . Therefore, the unknown, f, is encoded into a specification of a Boltzmann machine, t T . We call the mapping from F to T, a Boltzmann Machine Transformation: F T [12] [13] [14] .

Let T be the parameter space of a family of Boltzmann machines, and let FT be the set of all functions that can be inferred by the Boltzmann Machines over T; obviously, FT is a subset of F. It turns out that FT is significantly smaller than F and that it is not a good approximation for F. The main contribution of the Boltzmann Machine is to establish a framework for inferencing a mapping from A to B.

4. Attrasoft Boltzmann Machines (ABM)

The invariant distribution of a Boltzmann machine [3] [4] is:

p ( x ) = b e i < j M i j x i x j (1)

If the threshold vector does not vanish, the distributions are:

p ( x ) = b e i < j M i j x i x j T i x i . (2)

By rearranging the above distribution, we have:

p ( x ) = e c T i x i + i < j M i j x i x j (3)

It turns out that the third order Boltzmann machines have the following type of distributions:

p ( x ) = e c T i x i + i < j M i j x i x j + i < j < k M i j k x i x j x k (4)

An ABM [12] [13] [14] is an extension of the higher order Boltzmann Machine to the maximum order. An ABM with n neurons has neural connections up to the nth order. All of the connections up to the nth order are determined by the ABM algorithm [15] . By adding additional higher order terms to the invariant distribution, ABM is significantly more powerful in simulating an unknown function.

By adding additional terms, the invariant distribution for an ABM is,

p ( x ) = e H ,

H = θ 0 + θ 1 i 1 x i 1 + θ 2 i 1 i 2 x i 1 x i 2 + θ 3 i 1 i 2 i 3 x i 1 x i 2 x i 3 + + θ n 12 n x 1 x 2 (5)

ABM is significantly more powerful in simulating an unknown function. As more and more terms are added, from the second order terms to the nth order terms, the invariant distribution space will become larger and larger. Like Boltzmann Machines of the last section, ABM implements a transformation, F B T . Our goal ultimately that this ABM transformation is complete so that given any function f F , we can find an ABM, t T , such that the equilibrium distribution of this ABM realizes precisely the unknown function. We show that this is exactly the case.

5. θ-Transformation

5.1. Basic Notations

We first introduce some notations used in this paper [12] [13] [14] . There are two different types of coordinate systems: the x-coordinate system and the θ-coordinate system [12] [13] [14] . Each of these two coordinate systems has two representations, x-representation and θ-representation. An N-dimensional vector, p, is:

p = ( p 0 , p 1 , , p N 1 ) ,

which is the x-representation of p in the x-coordinate systems.

In the x-coordinate system, there are two representations of a vector:

{ p i } in the x-representation and

{ p m i 1 i 2 i m } in the θ-representation.

In the θ-coordinate system, there are two representations of a vector:

{ θ i } in the x-representation and

{ θ m i 1 i 2 i m } in the θ-representation.

The reason for two different representations is that the x-representation is natural for the x-coordinate system, and the θ-representation is natural for the θ-coordinate system.

The transformations between { p i } and { p m i 1 i 2 i m } , and those between { θ i } and { θ m i 1 i 2 i m } , are similar. Because of the similarity, in the following, only the transformation between { p i } and { p m i 1 i 2 i m } will be introduced. Let N = 2n be the number of neurons. An N-dimensional vector, p, is:

p = ( p 0 , p 1 , , p N 1 ) .

Consider px, because x { 0 , 1 , , N 1 = 2 n 1 } is the position inside a distribution, then x can be rewritten in the binary form:

x = x n 2 n 1 + + x 2 2 1 + x 1 2 0 .

Some of the coefficients xi might be zero. In dropping those coefficients which are zero, we write:

x = x i 1 x i 2 x i m = 2 i m 1 + + 2 i 2 1 + 2 i 1 1 .

This generates the following transformation:

p m i 1 i 2 i m = p x = p 2 i m 1 + + 2 i 2 1 + 2 i 1 1

where

1 i 1 < i 2 < < i m n .

In this θ-representation, a vector p looks like:

{ p 0 , p 1 1 , p 1 2 , p 1 3 , , p 2 12 , p 2 13 , p 2 23 , , p 3 123 , } (6)

The 0-th order term is p 0 , the first order terms are: p 1 1 , p 1 2 , p 1 3 , , … The first few terms in the transformation between { p i } and { p m i 1 i 2 i m } are:

p 0 = p 0 , p 1 1 = p 1 , p 1 2 = p 2 , p 2 12 = p 3 , p 1 3 = p 14 , p 2 13 = p 5 p 2 23 = p 6 , p 3 123 = p 7 , p 1 4 = p 8 ,

The x-representation is the normal representation, and the θ-representation is a form of binary representation.

Example Let n = 3, N = 2n = 8, and consider an invariant distribution:

{ p 0 , p 1 , p 2 , p 3 , p 4 , p 5 , p 6 , p 7 } ,

where p0 is the probability of state x = 0, . There are 8 probabilities for 8 different states, x = { 0 , 1 , 2 , , 7 } . In the new representation, it looks like:

{ p 0 , p 1 1 , p 1 2 , p 1 3 , p 2 12 , p 2 13 , p 2 23 , p 3 123 } .

Note that the relative positions of each probability are changed. The first vector, { p 0 , p 1 , p 2 , p 3 , p 4 , p 5 , p 6 , p 7 } , is in the x-representation and the second vector { p 0 , p 1 1 , p 1 2 , p 1 3 , p 2 12 , p 2 13 , p 2 23 , p 3 123 } is in the θ-representation. These two representations are two different expressions of the same vector.

5.2. θ-Transformation

The θ-transformation uses a function F, called a generating function. The function F is required to have the inverse:

F G = G F = I , G = F 1 . (7)

Let p be a vector in the x-coordinate system. As already discussed above, it can be written either as:

p ( x ) = ( p 0 , p 1 , , p N 1 ) (8)

Or

p ( x ) = ( p 0 ; p 1 1 , , p 1 n ; p 2 12 , , p 2 n 1 , n ; p 3 123 , , p n 12 n ) . (9)

The θ-transformation transforms a vector from the x-coordinate to the θ-coordinate via a generating function. The components of the vector p in the x-coordinate, p(x), can be converted into components of a vector p(θ) in the θ-coordinate:

p ( θ ) = ( θ 0 ; θ 1 1 , , θ 1 n ; θ 2 12 , , θ 2 n 1 , n ; θ 3 123 , , θ n 12 n ) , (10)

Or

p ( θ ) = ( θ 0 , θ 1 , , θ N 1 ) . (11)

Let F be a generating function, which transforms the x-representation of p in the x-coordinate to a θ-representation of p in the θ-coordinate system. The θ-components are determined by the vector F[p(x)] as follows:

F [ p ( x ) ] = θ 0 + θ 1 i 1 x i 1 + θ 2 i 1 i 2 x i 1 x i 2 + θ 3 i 1 i 2 i 3 x i 1 x i 2 x i 3 + + θ n 12 n x 1 x 2 x n (12)

where

1 i 1 < i 2 < < i m n .

Prior to the transformation, p(x) is the x-representation of p in the x-coordinate; after transformation, F[p(x)] is a θ-representation of p in the θ-coordinate system.

There are N components in the x-coordinate and N components in the θ-coordinate. By introducing a new notation X:

X 0 = X 0 = 1 , X 1 2 = X 1 = x 1 , X 1 2 = X 2 = x 2 , X 2 12 = X 3 = x 1 x 2 , X 1 3 = X 4 = x 3 , X 2 13 = X 5 = x 1 x 3 , X 2 23 = X 6 = x 2 x 3 , X 3 123 = X 7 = x 1 x 2 x 3 , X 1 4 = X 8 = x 1 x 2 x 3 x 4

then the vector can be written as:

F [ p ( x ) ] = θ J X J (13)

By using the assumption GF = I, we have:

p ( x ) = G { θ J X J } (14)

where J denotes the index in either of the two representations in the θ-coordinate system.

The transformation of a vector p from the x-representation, p(x), in the x-coordinate system to a θ-representation, p(θ), in the θ-coordinate system is called θ-transformation [12] [13] [14] .

The θ-transformation is determined by [12] [13] [14] :

θ m i 1 i 2 i m = F [ p m i 1 i 2 i m ] + F [ p m 2 i 1 i m 2 ] + + F [ p m 2 i 3 i m ] + F [ p m 4 ] + F [ p m 1 i 1 i m 1 ] F [ p m 1 i 2 i m ] F [ p m 3 i 1 i m 3 ] (15)

The inverse of the θ-transformation [12] [13] [14] is:

p m i 1 i 2 i m = G ( θ 0 + θ 1 i 1 + θ 1 i 2 + + θ 1 i m + θ 2 i 1 i 2 + θ 2 i 1 i 3 + + θ 2 i m 1 i m + + θ m i 1 i 2 i m ) . (16)

5.3. An Example

Let an ANN have 3 neurons:

( x 1 , x 2 , x 3 )

and let a distribution be:

( p 0 , p 1 , p 2 , p 3 , p 4 , p 5 , p 6 , p 7 ) .

Assume that the generating functions are:

F ( y ) = log ( y ) , G ( y ) = exp ( y ) .

By θ-transformation, the components are [12] [13] [14] :

θ 0 = log p 0 , θ 1 = log p 1 p 0 , θ 2 = log p 2 p 0 ,

θ 3 = log p 3 p 0 p 1 p 2 , θ 4 = log p 4 p 0 , θ 5 = log p 5 p 0 p 1 p 4 , θ 6 = log p 6 p 0 p 2 p 4 ,

θ 4 = θ 3 123 = log p 3 123 p 1 2 p 1 2 p 1 3 p 2 12 p 2 13 p 2 23 p 0 = log p 7 p 1 p 2 p 4 p 3 p 5 p 6 p 0

The inverse are:

p 0 = exp ( θ 0 ) , p 1 = exp ( θ 0 + θ 1 ) , p 2 = exp ( θ 0 + θ 2 ) , p 3 = exp ( θ 0 + θ 1 + θ 2 + θ 3 ) ,

p 4 = exp ( θ 0 + θ 4 ) , p 5 = exp ( θ 0 + θ 1 + θ 4 + θ 5 ) , p 6 = exp ( θ 0 + θ 2 + θ 4 + θ 6 ) ,

p 7 = exp ( θ 0 + θ 1 + θ 2 + θ 3 + θ 4 + θ 5 + θ 6 + θ 7 ) .

Because of the nature of the exponential function, the 0 probability is 0 = e−∞, so the minimum of the probability, pi, will be some very small value, ε, rather than 0 to avoid singularity.

Example

Let p = { 2 , 7 , 3 , 8 , 2 , 5 , 5 , 6 } , then θ = { 0.693 , 1.252 , 0.405 , 0.271 , 0 , 0.336 , 0.510 , 0.462 } .

Example

Let θ = { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 2.302 } , then p = { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 10 } .

Example

Let θ = { 2.302 , 0.223 , 1.609 , 1.832 , 0.510 , 0.875 , 1.763 , 1.581 } , then p = { 10 , 8 , 2 , 10 , 6 , 2 , 7 , 3 } .

6. θ-Transformation Is Complete

Because the θ-transformation is implemented by normal function, FG = GF = I, as long as there is no singular points in the transformation, any distribution function can be expanded. For example, in the last section, we require p i ε , which is a predefined small number.

7. ABM Is Complete

An ABM with n neurons has neural connections up to the nth order. The invariant distribution is:

p ( x ) = e H ,

H = θ 0 + θ 1 i 1 x i 1 + θ 2 i 1 i 2 x i 1 x i 2 + θ 3 i 1 i 2 i 3 x i 1 x i 2 x i 3 + + θ n 12 n x 1 x 2 x n . (17)

An ABM implements a θ-transformation [12] [13] [14] with:

F ( y ) = log ( y ) , G ( y ) = exp ( y ) . (18)

Furthermore, the “connection matrix” element can be calculated as follows [6] [7] [8] :

θ m i 1 i 2 i m = log p m i 1 i 2 i m p m 2 i 1 i m 2 p m 2 i 3 i m p m 4 p m 1 i 1 i m 1 p m 1 i 2 i m p m 3 i 1 i m 3 (19)

The reverse problem is as follows: given an ABM, the invariant distribution can be calculated as follows [12] [13] [14] :

p m i 1 i 2 i m = exp ( θ 0 + θ 1 i 1 + θ 1 i 2 + + θ 1 i m + θ 2 i 1 i 2 + θ 2 i 1 i 3 + + θ 2 i m 1 i m + + θ m i 1 i 2 i m ) . (20)

Therefore, an ABM can realize a θ-expansion, which in turn can approximate any distribution. ABM is complete [12] [13] [14] .

8. Reduction of ANN from Higher Order to Lower Order

In this section, we show that we can reduce a higher order ANN to a lower order ANN by introducing more layers. We start with the base case, three neurons; then we go to the inductive step of the mathematical induction.

8.1. Third Order ABM

Assume that we have a first ANN with three neurons in one layer, x = { x 1 , x 2 , x 3 } ; the higher order distribution is:

p ( x ) = e H ,

H = θ 0 + i 1 = 1 3 θ 1 i 1 x i 1 + i 1 < i 2 , i 1 = 1 3 θ 2 i 1 i 2 x i 1 x i 2 + θ 3 123 x 1 x 2 x 3 (21)

There is only one third order term in the above distribution for 3 neurons.

We simulate the first network with a second ANN with two layers, x = { x 1 , x 2 , x 3 } and y = { y 1 , y 2 , y 3 , y 4 } . The transition from the first layer to the second layer is:

y 1 = x 1 , y 2 = x 2 , y 3 = x 3 , y 4 = x 1 x 2 .

Let { y 1 , y 2 , y 3 } be the same network as the first ANN without the higher order term. The neuron, y4, has 4 additional connections, which will be defined as follows:

θ 1 4 = 0 , θ 2 34 = θ 3 123 , θ 2 14 = θ 2 24 = 0 .

The second order distribution of { y 1 , y 2 , y 3 , y 4 } is:

p ( y ) = e H ,

H = θ 0 + i 1 = 1 4 θ 1 i 1 y i 1 + i 1 < i 2 , i 1 = 1 4 θ 2 i 1 i 2 y i 1 y i 2 .

There are only connections up to the second order. Separating y4, we have:

i 1 = 1 4 θ 1 i 1 y i 1 = i 1 = 1 3 θ 1 i 1 x i 1 + θ 1 4 y 4 ,

i 1 < i 2 , i 1 = 1 4 θ 2 i 1 i 2 y i 1 y i 2 = i 1 < i 2 , i 1 = 1 3 θ 2 i 1 i 2 x i 1 x i 2 + θ 2 34 y 3 y 4 + θ 2 14 y 1 y 4 + θ 2 24 y 2 y 4 .

Using the conditions:

θ 1 4 = 0 , θ 2 34 = θ 3 123 , θ 2 14 = θ 2 24 = 0 ,

and substituting y-neurons by x-neurons:

θ 1 4 y 4 = 0 , θ 2 34 y 3 y 4 = θ 3 123 x 1 x 2 x 3 , θ 2 14 y 1 y 4 = 0 , θ 2 24 y 2 y 4 = 0 ,

we have:

H = θ 0 + i 1 = 1 3 θ 1 i 1 x i 1 + i 1 < i 2 , i 1 = 1 3 θ 2 i 1 i 2 x i 1 x i 2 + θ 3 123 x 1 x 2 x 3 .

So in this base case, we have proven that the invariant distribution of a higher order ANN can be precisely duplicated by the invariant distribution of a lower order ANN with multiple layers.

8.2. Higher Order ABM

We now show how to reduce the nth order term to the (n − 1) order term.

Consider a first ANN has neural connections up to the nth order. There is only one nth-order term:

θ n 12 n x 1 x 2 x n .

The rest of the connections are at most (n − 1) order.

We simulate the first network with a second ANN with additional layers, which has an additional layer y = { y 1 , y 2 , y 3 , , y n , y n + 1 } added on the top of the first ANN. This second ANN has neural connections up to the (n − 1) order. The transitions from the first layer to the second layer are defined as:

y 1 = x 1 , y 2 = x 2 , , y n = x n , y n + 1 = x 1 x 2 .

Based on the same approach in the last section, we can reduce this term from the order of n to the order of n − 1. The neuron, yn+1, has many additional connections. With the exception of the following term:

θ n 1 34 n + 1 = θ n 12 n ,

all other connections will be defined as 0:

θ 1 n + 1 = 0 , θ 2 1 n + 1 = θ 2 2 n + 1 = = 0 , , θ 3 12 n + 1 = θ 3 13 n + 1 = = 0 ,

The (n − 1) order distribution of { y 1 , y 2 , y 3 , , y n , y n + 1 } is:

p ( y ) = e H ,

H = θ 0 + i 1 = 1 n + 1 θ 1 i 1 y i 1 + i 1 < i 2 , i 1 = 1 n + 1 θ 2 i 1 i 2 y i 1 y i 2 + + i 1 < i 2 , i 1 = 1 n + 1 θ n 1 i 1 i 2 y i 1 y i 2 +

Separating yn+1 from the other first order term, substituting y-neurons by x-neurons, and using the condition θ 1 n + 1 = 0 , we have:

i 1 = 1 n + 1 θ 1 i 1 y i 1 = i 1 = 1 n θ 1 i 1 x i 1 + θ 1 n + 1 y n + 1 = i 1 = 1 n θ 1 i 1 x i 1

Separating yn+1 from the other second order term, substituting y-neurons by x-neurons, and using the conditions, θ 2 1 n + 1 = θ 2 2 n + 1 = = 0 , we have:

i 1 < i 2 < , i 1 = 1 n + 1 θ 2 i 1 i 2 y i 1 y i 2 = i 1 < i 2 , i 1 = 1 n θ 2 i 1 i 2 y i 1 y i 2 + θ 2 1 n + 1 y 1 y n + 1 + θ 2 2 n + 1 y 2 y n + 1 + = i 1 < i 2 < , i 1 = 1 n θ 2 i 1 i 2 y i 1 y i 2

Separating yn+1 from the (n − 1) order term, substituting y-neurons by x-neurons, and using the condition:

θ n 1 34 n + 1 = θ n 12 n , θ n 1 12 n + 1 = θ n 1 13 n + 1 = = 0 ,

we have:

i 1 < i 2 < , i 1 = 1 n + 1 θ n 1 i 1 i 2 y i 1 y i 2 = i 1 < i 2 < , i 1 = 1 n θ n 1 i 1 i 2 x i 1 x i 2 + θ n 12 n x 1 x 2 x n

Combine all of the above terms, we have:

p ( x ) = e H

H = θ 0 + θ 1 i 1 x i 1 + θ 2 i 1 i 2 x i 1 x i 2 + θ 3 i 1 i 2 i 3 x i 1 x i 2 x i 3 + + θ n 12 n x 1 x 2 x n (22)

Now, we have proven that the invariant distribution of an nth order ANN can be precisely duplicated by the invariant distribution of a (n − 1) order ANN with multiple layers.

We have shown both reduction from n = 3 to n = 2 and reduction from arbitrary n to n − 1.

9. Completeness of Deep Neural Networks

Given an unknown function, one can find a θ-expansion to convert it from the x-coordinate system to the θ-coordinate system using the following generating function:

F ( y ) = log ( y ) , G ( y ) = exp ( y ) .

This expansion can be represented by an ABM.

ABM is a higher order ANN which can be expanded into multiple layers with only second order terms. Therefore, a Deep Neural Network can realize a θ-expansion, which in turn can approximate any distribution. Therefore, the Deep Neural Network is complete.

We stress that we merely provide the proof for the existence of a solution for simulating any mapping from A to B. We did not seek for an effective implementation of a Deep Neural Network from supervised training data, (A, B). We have merely proved that this is possible.

10. Conclusions

Hornik, Stinchcombe, & White have shown that the multilayer feed forward networks with enough hidden layers are universal approximators. Roux & Bengio have shown the same. In this paper, we provide yet another proof. The advantage of this proof is that it will lead to several new learning algorithms, which will be presented in our future publications.

In conclusion, we have studied the completeness problem of the Deep Neural Networks. We have reviewed the Attrasoft Boltzmann Machine (ABM). An ABM with n neurons has neural connections up to the nth order. We have reviewed the θ-transformation and shown that the θ-transformation is complete, i.e. any function can be expanded by θ-transformation. We have further shown that the invariant distribution of the ABM is a θ-transformation; therefore, an ABM can simulate any distribution. An ABM with n neurons has neural connections up to the nth order. We have shown how to convert an ABM to a Deep Neural Network. Finally, by establishing the equivalence between an ABM and the Deep Neural Network, we have proven that the Deep Neural Network is complete. In other words, the Deep Neural Network can simulate any mapping from A to B.

Acknowledgements

I would like to thank Gina Porter for proof reading this paper.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Hinton, G.E., Osindero, S. and Teh, Y. (2006) A Fast Learning Algorithm for Deep Belief Nets. Neural Computation, 18, 1527-1554.
https://doi.org/10.1162/neco.2006.18.7.1527
[2] Bengio, Y. (2009) Learning Deep Architectures for AI (PDF). Foundations and Trends in Machine Learning, 2, 1-127.
https://doi.org/10.1561/2200000006
[3] Amari, S., Kurata, K. and Nagaoka, H. (1992) Information Geometry of Boltzmann Machine. IEEE Transactions on Neural Networks, 3, 260-271.
https://doi.org/10.1109/72.125867
[4] Byrne, W. (1992) Alternating Minimization and Boltzmann Machine Learning. IEEE Transactions on Neural Networks, 3, 612-620.
https://doi.org/10.1109/72.143375
[5] Coursera (2017).
https://www.coursera.org/
[6] TensorFlow (2017).
https://www.tensorflow.org/
[7] Torch (2017).
http://torch.ch/
[8] Theano (2017).
http://deeplearning.net/software/theano/introduction.html
[9] Hornik, K., Stinchcombe, M. and White, H. (1989) Multilayer Feedforward Networks Are Universal Approximators. Neural Networks, 2, 359-366.
https://doi.org/10.1016/0893-6080(89)90020-8
[10] Le Roux, N. and Bengio, Y. (2008) Representational Power of Restricted Boltzmann Machines and Deep Belief Networks. Neural Computation, 20, 1631-1649.
https://doi.org/10.1162/neco.2008.04-07-510
[11] Feller, W. (1968) An Introduction to Probability Theory and Its Application. John Wiley and Sons, New York.
[12] Liu, Y. (1993) Image Compression Using Boltzmann Machines. Proceedings of SPIE, 2032, 103-117.
https://doi.org/10.1117/12.162027
[13] Liu, Y. (1995) Boltzmann Machine for Image Block Coding. Proceedings of SPIE, 2424, 434-447.
https://doi.org/10.1117/12.205245
[14] Liu, Y. (1997) Character and Image Recognition and Image Retrieval Using the Boltzmann Machine. Proceedings of SPIE, 3077, 706-715.
https://doi.org/10.1117/12.271533
[15] Liu, Y. (2002) US Patent No. 7, 773, 800.
http://www.google.com/patents/US7773800

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.