Artificial Neural Networks

Li M. Fu

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Introduction

Background

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Topics

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The Neural Network Inference Algorithm (A general view)

Given a training instance,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The Neural Network Learning Algorithm (A general view)

Given n training instances,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Perceptrons

Perceptron Learning Algorithm

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Perceptrons: An Example

In a single-layer perceptron, unit 1 receives inputs from units 2 and 3.
Given that W_{1,2} = -3, W_{1,3} = 2, X_{2} = 1, X_{3} = 1, theta_{1} = 1 how to calculate O_{1}?
O_{1} = F_{h}(-3 x 1 + 2 x 1 - 1) = F_{h}(-2) = 0
Now, if the desired output T_{1} = 1, how do we adjust weights? Assume that the learning rate eta = 0.3.
delta_{1} = 1 - 0 = 1
Delta_W_{1,2} = eta * delta_{1} * X_{2} = 0.3 x 1 x 1 = 0.3
Delta_W_{1,3} = eta * delta_{1} * X_{3} = 0.3 x 1 x 1 = 0.3
W_{1,2} = -3 + 0.3 = -2.7
W_{1,3} = 2 + 0.3 = 2.3
The threshold is the negative of the weight W_{1,b} from the bias unit. That is, W_{1,b} = - theta_{1} = -1.
Delta_W_{1,b} = 0.3 x 1 x 1 = 0.3
W_{1,b} = -1 + 0.3 = -0.7
Thus, the threshold is changed to 0.7.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Backpropagation

Backpropagation Method

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

A Case Study: Face Recognition

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Other Neural Network Models

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Associative Memories

Associative Memories and Hopfield Nets

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Summary

Other Supplementary Material

Perceptron Learning Algorithm

Matlab-Backpropagation