Download presentation
Presentation is loading. Please wait.
1
Ch4: Backpropagation (BP)
Werbos -> Ponker -> Rummelhart -> McClelland 。BP Architecture: Characteristics: Multilayer, feedforward, fully connected
2
。 Potential problems being solved by BP
1. Data translation, e.g., data compression 2. Best guess , e.g., pattern recognition, classification Example: Character recognition application a) Traditional method: Translate a 7 × 5 image to 2–byte ASCII code
3
Lookup table Suffer from: a. Noise, distortion, incomplete b. Time consuming
4
b) Recent method: Recognition-by-components
Traditional approach Neural approach
5
4.1. BP Neural Network During training, self-organization of nodes on the intermediate layers s.t. different nodes recognize different features or their relationships. Noisy and incomplete patterns can thus be handled.
6
4.1.2. BP NN Learning Given training examples: , where
find an approximation of through learning
7
。 Learning cycle 7
8
4.2. Generalized Delta Rule (GDR)
Consider input vector Hidden layer: Net input to the jth hidden unit hidden layer jth hidden unit ith input unit bias term with jth unit Output of the jth hidden unit transfer function
9
Output layer: 。 Update of output layer weights The error at a single output unit k, The error to be minimized: where M: # output units
10
The descent direction The learning rule: where: learning rate
11
。 Determine where L: # hidden units 11
12
The weights on the output layer are updated as
。 Consider Two forms for the output functions i) Linear ii) Sigmoid or 12
14
For linear function (A) For sigmoid function Let (A) 14
15
。 Example 1: Quadratic neurons for output nodes
Output function: Sigmoid Determine the updating equations of for output-layer neurons. 15
16
◎ Updates of hidden-layer weights
Difficulty: Unknown outputs of the hidden-layer units Idea: Relate error E to the output of the hidden layer 16
17
17
18
Consider sigmoid output function
18
19
19
20
BPN Summary
22
※ The known error (or loss) on the output layer are
propagated back to a hidden layer of interest to determine the weight changes on that layer
24
4.3. Practical Considerations
。 Principles of determining network size: i) Use as few nodes as possible. If the NN fails to converge to a solution, it may need more nodes. ii) Prune the hidden nodes whose weights change very little during training 。 Principles of choosing training data i) Cover the entire domain (representative) ii) Use as many data as possible (capacity) iii) Adding noise to the input vectors (generalization)
25
。 Parameters: i) Initialize weights with small random values ii) Learning rate η decreases with # iterations η small slow; η large perturbation iii) Momentum technique -- Adding a fraction of the preview change, while tends to keep the weight changes going in the same direction to the weight change, iv) Perturbation – Repeat training using multiple initial weights.
26
4.4. Applications Dimensionality reduction: A BPN can be trained to
map a set of patterns from an n-D space to an m-D space (m < n).
27
Data compression - video images The hidden layer represents the compressed form of the data. The output layer represents the reconstructed form of the data. Each image vector will be used as both the input and the target output.
28
‧ Size: NTSC: National Television Standard Code
525 × 640 = #pixels/image ‧ Strategy: Divide images into blocks, e.g., 8 × 8 = 64 pixels, 64-output layer, 16-hidden layer, 64-input layer, #nodes = 144
29
◎ Paint quality inspection
Reflects a laser beam off the painted panel and onto a screen Poor paint: Reflected laser beam diffused ripples, orange peel, lacks shine Good paint: Relatively smooth and bright luster Closely uniform throughout its image
30
。 Idea
31
The output was to be a numerical score
(1(best) -- 20(worst))
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.