-Artificial Neural Network- Hopfield Neural Network(HNN) - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

-Artificial Neural Network- Hopfield Neural Network(HNN)

Description:

-Artificial Neural Network- Hopfield Neural Network(HNN) * Assoicative Memory ... – PowerPoint PPT presentation

Number of Views:947
Avg rating:5.0/5.0
Slides: 21
Provided by: edut1550
Category:

less

Transcript and Presenter's Notes

Title: -Artificial Neural Network- Hopfield Neural Network(HNN)


1
-Artificial Neural Network- Hopfield Neural
Network(HNN)
  • ??????
  • ?????
  • ??? ??

2
Assoicative Memory (AM) -1
  • Def Associative memory (AM) is any device that
    associates a set of predefined output patterns
    with specific input patterns.
  • Two types of AM
  • Auto-associative Memory Converts a corrupted
    input pattern into the most resembled input.
  • Hetro-associative Memory Produces an output
    pattern that was stored corresponding to the most
    similar input pattern.

3
Assoicative Memory (AM) - 2
  • Models It is the associative mapping of an input
    vector X
  • into the output vector V.
  • EX Hopfield Neural Network (HNN)
  • EX Bidirectional Associative Memory
    (BAM)

4
Introduction
  • Hopfield Neural Network(HNN) was proposed by
    Hopfield in 1982.
  • HNN is an auto-associative memory network.
  • It is a one layer, fully connected network.

5
HNN Architecture
  • Input? Xi ??-1, 1?
  • Outputsame as input(?single layer network)
  • Transfer functionXi new
  • Weights
  • Connections

(Xi?????X?)
6
HNN Learning Process
  • Learning Process
  • a. Setup the network, i.e., design the input
    nodes connections.
  • b. Calculate and derived the weight matrix
  • C. Store the weight matrix. The learning process
    is done when the weight matrix is derived.


We shall obtain a nxn weight matrix, Wnxn.
7
HNN Recall Process
  • Recall
  • a. Read the nxn weight matrix, Wnxn.
  • b. Input the test pattern X for recalling.
  • c. Compute new input (i.e. output)
  • d. Repeat process c. until the network converge
  • (i.e. the net value is not changed or the
    error is very small)

1 net j gt 0 Xj old if net j
0 1 net j lt 0
X j
X new
8
Example Use HNN to memorize patterns (1)
  • Use HNN to memorize the following patterns. Let
    the Green color is represented by 1 and white
    color is represented by -1. The input data is
    as shown in the table

X3
X4
X2
X1


P X1 X2 X3 X4 X5 X6
X1 1 -1 1 -1 1 -1
X2 -1 1 -1 1 -1 1
X3 1 1 1 1 1 1
X4 -1 -1 -1 -1 -1 -1
9
Example Use HNN to memorize patterns (2)
  • Wii0

P X1 X2 X3 X4 X5 X6
X1 1 -1 1 -1 1 -1
X2 -1 1 -1 1 -1 1
X3 1 1 1 1 1 1
X4 -1 -1 -1 -1 -1 -1

10
Example Use HNN to memorize patterns (3)


Recall


The pattern is recalled as
11
-Artificial Neural Network- Bidirectional
Associative Memory (BAM)
  • ??????
  • ?????
  • ??? ??

12
Introduction
  • Bidirectional Associative Memory (BAM) was
    proposed by Bart Kosko in 1985.
  • It is a hetro-associative memory network.
  • It allows the network to memorize from a set of
    pattern Xp to recall another set of pattern Yp

13
Assoicative Memory (AM) 1
  • Def Associative memory (AM) is any device that
    associates a set of predefined output patterns
    with specific input patterns.
  • Two types of AM
  • Auto-associative Memory Converts a corrupted
    input pattern into the most resembled input.
  • Hetro-associative Memory Produces an output
    pattern that was stored corresponding to the most
    similar input pattern.

14
Assoicative Memory (AM) 2
  • Models It is the associative mapping of an input
    vector X
  • into the output vector V.
  • EX Hopfield Neural Network (HNN)
  • EX Bidirectional Associative Memory
    (BAM)

15
BAM Architecture
  1. Input layer
  2. Output layer
  3. Weights
  4. Connection


Its a 2-layer, fully connected, feed forward
feed back network.
16
BAM Architecture (cont.)
  1. Transfer function

17
BAM Example(1/4)


? ?? ?? ?
??????
? ?? ? ??
? ?? ? ??
Y1 Y 2 Y3 Y4
1 -1 1 -1 1 -1 1 -1 1 -1
-1 1 -1 1 -1 1 -1 1 -1 1
1 1 1 1 1 1 -1 -1 -1 1-1
-1 -1 -1 -1 -1 -1 1 1 1 1

??? ???
Test pattern
18
BAM Example(2/4)
Y1 Y 2 Y3 Y4
1 -1 1 -1 1 -1 1 -1 1 -1
-1 1 -1 1 -1 1 -1 1 -1 1
1 1 1 1 1 1 -1 -1 -1 1-1
-1 -1 -1 -1 -1 -1 1 1 1 1
  • 1. Learning
  • Set up network
  • Setup weights

19
BAM Example(3/4)
  • 2. Recall
  • Read network weights
  • Read test pattern
  • Compute Y
  1. Compute X
  2. Repeat (3) (4) until converge

20
BAM Example(4/4)
  • ???Application

test pattern (1 1 1 -1 1 -1)16
(1)
(2)
?????

??? ???
?
Write a Comment
User Comments (0)
About PowerShow.com