Principles of training multi-layer neural network using backpropagation
2016-05-19 17:14
761 查看
The project describes teaching process of multi-layer neural network employing backpropagation algorithm. To illustrate this process the three layer neural network with two inputs and one output,which is shown in the picture below, is used: Each neuron is composed of two units. First unit adds products of weights coefficients and input signals. The second unit realise nonlinear function, called neuron activation function. Signal e is adder output signal, and y = f(e) is output signal of nonlinear element. Signal y is also output signal of neuron. To teach the neural network we need training data set. The training data set consists of input signals (x1 and x2 ) assigned with corresponding target (desired output) z. The network training is an iterative process. In each iteration weights coefficients of nodes are modified using new data from training data set. Modification is calculated using algorithm described below: Each teaching step starts with forcing both input signals from training set. After this stage we can determine output signals values for each neuron in each network layer. Pictures below illustrate how signal is propagating through the network, Symbols w(xm)n represent weights of connections between network input xm and neuron n in input layer. Symbols yn represents output signal of neuron n. Propagation of signals through the hidden layer. Symbols wmn represent weights of connections between output of neuron m and input of neuron n in the next layer. Propagation of signals through the output layer. In the next algorithm step the output signal of the network y is compared with the desired output value (the target), which is found in training data set. The difference is called error signal d of output layer neuron. It is impossible to compute error signal for internal neurons directly, because output values of these neurons are unknown. For many years the effective method for training multiplayer networks has been unknown. Only in the middle eighties the backpropagation algorithm has been worked out. The idea is to propagate error signal d (computed in single teaching step) back to all neurons, which output signals were input for discussed neuron. The weights' coefficients wmn used to propagate errors back are equal to this used during computing output value. Only the direction of data flow is changed (signals are propagated from output to inputs one after the other). This technique is used for all network layers. If propagated errors came from few neurons they are added. The illustration is below: When the error signal for each neuron is computed, the weights coefficients of each neuron input node may be modified. In formulas below df(e)/derepresents derivative of neuron activation function (which weights are modified). Coefficient h affects network teaching speed. There are a few techniques to select this parameter. The first method is to start teaching process with large value of the parameter. While weights coefficients are being established the parameter is being decreased gradually. The second, more complicated, method starts teaching with small parameter value. During the teaching process the parameter is being increased when the teaching is advanced and then decreased again in the final stage. Starting teaching process with low parameter value enables to determine weights coefficients signs. |
相关文章推荐
- main函数参数的用法
- 使用AIDL实现进程间的通信之复杂类型传递
- 使用AIDL实现进程间的通信
- JetBrains重大安全升级!
- 70. Climbing Stairs
- 127_AIDL的使用
- c 语言模块接口函数在main之前注册
- Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number. An example is the root-to-leaf path1->2->3which represents the number123. Find the total sum of a
- xcode7 解决NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)
- maven打好的jar包如何在运行时指定main-class
- 【leetcode】11. Container With Most Water
- [Ogre][地形][原创]基于OgreTerrain的地形实现
- 人工智能基础01--绪论
- LeetCode 11. Container With Most Water(容器装水)
- RAD Studio 10 安装失败 提示错误 License status check failure解决办法
- leetcode 11. Container With Most Water
- 使用 SDL 过程中遇到的两个问题: 找不到main函数 和 链接错误
- ansible 报错 FAILED | rc=0 >> MODULE FAILURE 解决方法
- codeforces 675E E. Trains and Statistic(线段树+dp)
- 问题解决了,可是为什么呢?could not find the main class.program will exitmain