Boltzmann Machine - Tutorialspoint
Boltzmann Machine - Tutorialspoint
Boltzmann Machine
These are stochastic learning processes having recurrent structure and are the basis of the early
optimization techniques used in ANN. Boltzmann Machine was invented by Geoffrey Hinton and Terry
Sejnowski in 1985. More clarity can be observed in the words of Hinton on Boltzmann Machine.
“A surprising feature of this network is that it uses only locally available information. The change of
weight depends only on the behavior of the two units it connects, even though the change optimizes a
global measure” - Ackley, Hinton 1985.
Some important points about Boltzmann Machine −
They use recurrent structure.
They consist of stochastic neurons, which have one of the two possible states, either 1 or 0.
f
frro
ozze
enns
stta
atte
e .
Architecture
The following diagram shows the architecture of Boltzmann machine. It is clear from the diagram, that
it is a two-dimensional array of units. Here, weights on interconnections between units are –p where p
> 0. The weights of self-connections are given by b where b > 0.
https://www.tutorialspoint.com/artificial_neural_network/artificial_neural_network_boltzmann_machine.htm 1/3
5/17/2020 Boltzmann Machine - Tutorialspoint
Training Algorithm
As we know that Boltzmann machines have fixed weights, hence there will be no training algorithm as
we do not need to update the weights in the network. However, to test the network we have to set the
weights as well as to find the consensus function C
CFF .
Boltzmann machine has a set of units Ui and Uj and has bi-directional connections on them.
We are considering the fixed weight say wij.
C
CFF =
= ∑
∑∑∑w
wiijj u
uii u
ujj
i
i j
j⩽⩽i
i
Now, when the state changes from either 1 to 0 or from 0 to 1, then the change in consensus can be
given by the following relation −
Δ
ΔCCF
F =
= (
(11 −
− 2
2uuii )
)( wiijj +
(w + ∑
∑u wiijj )
uii w )
j
j≠≠i
i
+
+11,, U
Uii i
issc
cuur
rrre
ennt
tlly
yoof
fff
(
(11 −
− 2
2uuii )
) =
= {
{
−
−11,, U
Uii i
issc
cuur
rrre
ennt
tlly
yoon
n
Generally, unit Ui does not change its state, but if it does then the information would be residing local
to the unit. With that change, there would also be an increase in the consensus of the network.
Probability of the network to accept the change in the state of the unit is given by the following relation
−
1
1
A
AFF(
(ii,, T
T)) =
=
Δ
ΔCCF
F((i
i))
1
1 +
+ e
exxp
p[[−
− ]]
T
T
Here, T is the controlling parameter. It will decrease as CF reaches the maximum value.
https://www.tutorialspoint.com/artificial_neural_network/artificial_neural_network_boltzmann_machine.htm 2/3
5/17/2020 Boltzmann Machine - Tutorialspoint
Testing Algorithm
Step 2 − Continue steps 3-8, when the stopping condition is not true.
Step 4 − Assume that one of the state has changed the weight and choose the integer I, J as random
values between 1 and n.
Δ
ΔCCF
F =
= (
(11 −
− 2
2uuii )
)((w
wiijj +
+ ∑
∑uuii w
wiijj )
)
j
j≠≠i
i
Step 6 − Calculate the probability that this network would accept the change in state
1
1
A
AFF(
(ii,, T
T)) =
=
Δ
ΔCCF
F((i
i))
1
1 +
+ e
exxp
p[[−
− ]]
T
T
T n
neew
w = 0.95T o
olld
d
https://www.tutorialspoint.com/artificial_neural_network/artificial_neural_network_boltzmann_machine.htm 3/3