Single Layer Recurrent Network Bidirectional Symmetric - - PowerPoint PPT Presentation

single layer recurrent network bidirectional symmetric
SMART_READER_LITE
LIVE PREVIEW

Single Layer Recurrent Network Bidirectional Symmetric - - PowerPoint PPT Presentation

Hopfield Network Single Layer Recurrent Network Bidirectional Symmetric Connection Binary / Continuous Units Associative Memory Optimization Problem Hopfield Model Discrete Case Recurrent neural network that uses


slide-1
SLIDE 1

Hopfield Network

  • Single Layer Recurrent Network
  • Bidirectional Symmetric Connection
  • Binary / Continuous Units
  • Associative Memory
  • Optimization Problem
slide-2
SLIDE 2

Hopfield Model – Discrete Case

Recurrent neural network that uses McCulloch and Pitt’s (binary) neurons. Update rule is stochastic. Eeach neuron has two “states” : Vi

L , Vi H

Vi

L = -1 , Vi H = 1

Usually : Vi

L = 0 , Vi H = 1

Input to neuron i is : Where:

  • wij = strength of the connection from j to i
  • Vj = state (or output) of neuron j
  • Ii = external input to neuron i

i j i j ij i

I V w H + = ∑

slide-3
SLIDE 3

Hopfield Model – Discrete Case

Each neuron updates its state in an asynchronous way, using the following rule: The updating of states is a stochastic process: To select the to-be-updated neurons we can proceed in either of two ways:

  • At each time step select at random a unit i to be updated

(useful for simulation)

  • Let each unit independently choose to update itself with

some constant probability per unit time (useful for modeling and hardware implementation)

     > + = + < + = − =

∑ ∑

≠ ≠

1 1

i j i j ij i i j i j ij i i

I V w H if I V w H if V

slide-4
SLIDE 4

Dynamics of Hopfield Model

In contrast to feed-forward networks (wich are “static”) Hopfield networks are dynamical system. The network starts from an initial state V(0) = ( V1(0), ….. ,Vn(0) )T and evolves in state space following a trajectory: Until it reaches a fixed point: V(t+1) = V(t)

slide-5
SLIDE 5

Dynamics of Hopfield Networks

What is the dynamical behavior of a Hopfield network ? Does it coverge ? Does it produce cycles ? Examples (a) (b)

slide-6
SLIDE 6

Dynamics of Hopfield Networks

To study the dynamical behavior of Hopfield networks we make the following assumption: In other words, if W = (wij) is the weight matrix we assume: In this case the network always converges to a fixed point. In this case the system posseses a Liapunov (or energy) function that is minimized as the process evolves.

n ... j , i w w

ji ij

1

= ∀ =

T

W W =

slide-7
SLIDE 7

The Energy Function – Discrete Case

Consider the following real function: and let Assuming that neuron h has changed its state, we have: But and have the same sign. Hence (provided that )

i n i i j i n i n i j j ij

V I V V w E

∑ ∑ ∑

= = ≠ =

− − =

1 1 1

2 1

( ) ( )

t E t E E − + = ∆

1

h H h j h j hj

V I V w E

h

∆             + − = ∆

4 4 3 4 4 2 1

h

H

h

V ∆

≤ ∆ E

T

W W =

slide-8
SLIDE 8

Schematic configuration space

model with three attractors