1. Field of the Invention
The present invention relates to improving resilience in a computational environment that is based on programs that learn, such as a neural network model. In particular, the present invention relates to introducing noise into a learning program to improve resilience to overfitting data, and to avoid getting stuck in local optima.
2. Discussion of the Related Art
Learning programs, such as neural networks, have been used to uncover hidden information inherent in data. The uncovered hidden information allows that data to be subsequently analyzed for a variety of purposes, such as classification or for use in decision making. A neural network model is usually based on a graph consisting of nodes that are referred to as “neurons” and directed, weighted edges connecting the neurons. When implemented in a computational environment, the directed graph of the neural network model typically represents a function that is computed in the computational environment. In a typical implementation, each neuron is assigned a simple computational task (e.g., a linear transformation followed by a squashing function, such as a logistic function) and a loss function is computed over the entire neural network model. The parameters of the neural network model are typically determined (“learned”) using a method that involves minimizing the loss function. A large number of techniques have been developed to minimize the loss function. One such method is “gradient descent,” which is computed by finding analytical gradients for the loss functions and perturbing or moving the test values by a small amount in the direction of the gradient.
One specialized neural network model, called an autoencoder, has been gaining adherents recently. In the autoencoder, the function that is to be learned is the identity function, and the loss function is a reconstruction error computation on the input values themselves. One technique achieves effective learning of a hidden structure in the data by requiring the function to be learned with fewer intermediate neurons than the values in the input vector itself. The resulting neural network model may then be used in further data analysis. As an example, consider the data of a 100×100 pixel black-and-white image, which may be represented by 10000 input neurons. If the intermediate layer of the computation in a 3-layer network is constrained to having only 1000 neurons, the identity function is not trivially learnable. However, the resulting connections between the 10000 input neurons and the 1000 neurons in the hidden layer of the neural network model would represent in some extent the interesting structure in the data. Once the number of neurons in such an intermediate layer begins to approach 10000 then the trivial identity mapping becomes a more likely local optimum to be found by the training process. The trivial identity mapping, of course, would fail to discover any hidden structure of the data.
An interesting technique to allow a large number of intermediate neurons to be used is the “denoising autoencoder.” In a denoising autoencoder, the input values are distorted, but the network is still evaluated based on its ability to reconstruct the original data. This makes the identity function not usually a good local optimum, and thereby allows a larger hidden layer (i.e., with more neurons) to be available to learn more relationships inherent in the data.
The present invention provides an apparatus and a method which allow a learning program to use a large number of parameters without failing through overfitting or getting stuck in local optima. In one embodiment, a method not only distorts the input values, but also distorts some of the parameters in the program model, such as a neural network model. Such an approach not only forces the learned program to acquire parameter values that allow the program to predict missing or desired data in the input, but also to correct errors in the input data or the program parameters themselves.
The present invention is better understood upon consideration of the detailed description below.
The present invention provides a method which allows programs to be learned using a large number of parameters. A method of the present invention distorts both the input values and some of the parameters in the program model (e.g., a neural network model).
A method of the present invention is described in conjunction with the operation of program learning system 100. Under this method, the following operations are carried out for each individual input in program learning system 100:
The method iterates repeatedly (and sometimes stochastically) over all the available input vectors. The collection of all input vectors is referred to as the “input set”. In this context, blanking or randomizing refers to assigning a value that is recognized by the system to represent a missing datum, a value based on a random distribution, or a zero value. The expected output data in expected output module 106 may be generated by a training algorithm, or provided a priori. Under this method, the program model learns to construct the expected output data using only a varying fraction of its parameter values. As a result, the program model must adapt to be less reliant on any one parameter and to develop error-correcting parameters. As a result, the learned program can be used to predict missing input data and to correct errors in the input data, as well as to predict desired data related to the input data (e.g., a classification). The learned program will also exhibit resilience in accommodating greater variations in input data and state values.
The selection of the level of corruption also plays an interesting part in avoiding overfitting of the data. While the program model learns simple cases at low levels of distortion, leaving in variable amounts of distortion in the network connections allow the program to learn more challenging cases, especially after the simple cases have been learned. In that way, the gradient of the program in the learning network is always driven in the direction of having to solve ever more complicated cases, and empirically this tendency seems to reduce the amount the program model overfits the data. As the program model functions at greater corruption, the learned program incorporates to greater extent the inherent structure of the data, and the predicted values required.
According to one embodiment of the present invention, a language model was trained using phrases randomly extracted from a number of Wikipedia documents to predict a next word from one or more words in an input vector (e.g., a phrase or sentence completion application). The language model was able to learn underlying structures in common phrases. For example, the word “City” is predicted to likely follow the two-word sequence “New” and “York.” In another embodiment, a search model was trained to predict from an input phrase the documents in a document collection that the input phrase is likely to have originated from. The language model and the search model may be linked to build a search engine. Many applications may be found in predicting various interactions in a social media network.
The methods provided in this detailed description may be implemented in a distributed computational environment in which one or more computing elements (e.g., neurons) are implemented by a physical computational resource (e.g., an arithmetic or logic unit). Implementing program learning system 100 in parallel graphics processors is one example of such an implementation. Alternatively, the methods may be implemented in a computational environment which represents each parameter in a customized data structure in memory, and a single processing unit processes program element in any suitable order. The methods of the present invention can also be implemented in a computational environment that is in between the previous two approaches.
The above detailed description is provided to illustrate the specific embodiments of the present invention and is not intended to be limiting. Various modification and variations within the scope of the present invention are possible. The present invention is set forth in the following claims.
This application is related to and claims priority of U.S. provisional patent application (“Provisional Application”), Ser. No. 61/661,736, entitled “Method for Improving Resilience in Customized Neural Network Computational Environments,” filed on Jun. 19, 2012. The disclosure of the Provisional Patent Application is hereby incorporated by reference in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
20030195897 | Agrafiotis et al. | Oct 2003 | A1 |
20050216426 | Weston et al. | Sep 2005 | A1 |
20140006321 | Harik | Jan 2014 | A1 |
20140250034 | Harik | Sep 2014 | A1 |
Entry |
---|
Domke, Justin “Automatic Differentiation and Neural Networks”; Sep. 1, 2011; Downloaded Mar. 19, 2015; http://users.cecs.anu.edu.au/˜jdomke/courses/sml2011/08autodiff—nnets.pdf; 13 pages. |
StatSoft Inc ; “Neural Networks”; 2002 [Online] Downloaded Apr. 14, 2014, http://www.obgyn.cam.ac.uk/cam-only/statsbook/stneunet.html, 34 pages. |
Grabner, Markus et al.; “Automatic Differentiation for GPU-Accelerated 2D/3D Registration”; Institute for Computer Graphics and Vision, Graz University of Technology, Graz, Austria; 2008 [Online] Downloaded Mar. 19, 2015; http://link.springer.com/chapter/10.1007/978-3-540-68942-3—23#, 11 pages |
Le, Quoc V. et al., “On Optimization Methods for Deep Learning”, Proceedings of the 28th International Conference on Machine Learning, Bellevue, WA, 2011, 8 pages. |
Vincent, Pascal et al., “Stacked Denoising Autoencoders: Learning Useful Representations in a Deep Network with a Local Denoising Criterion”, Journal of Machine Learning Research 11 (2010), pp. 3371-3408. |
Vincent, Pascal et al., “Extracting and Composing Robust Features with Denoising Autoencoders”, Proceedings of the 25th International Conference on Machine Learning, Helsinki, Finland, 2008, pp. 1096-1103. |
Number | Date | Country | |
---|---|---|---|
20140156569 A1 | Jun 2014 | US |
Number | Date | Country | |
---|---|---|---|
61661736 | Jun 2012 | US |