블로그 이미지
Leeway is... the freedom that someone has to take the action they want to or to change their plans.
maetel

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday

Category

'randomness'에 해당되는 글 1건

  1. 2008.12.03 ch.7 Stochastic Methods
350p
7.1 Introduction

search for finding acceptable model parameters

stochastic methods relied on randomness
(1) Boltzmann learning (from statistical mechanics in physics)
(2) genetic algorithms (from the mathematical theory of evolution in biology)
: preferable in complex problems
: high computational burden

351p
7.2 Stochastic Search

If we suggest an associated interaction energy of each pair of magnets,
then, to optimize the energy of the full system, we are to find the configuration of states of the magnets.
As the temperature is lowered, the system has increased probability of finding the optimum configuration.

successful in a wide range of energy functions or energy landscapes,
unlikely so in cases such as the "golf course landscape".


352p
7.2.2 The Boltzmann Factor

Boltzmann factor
http://en.wikipedia.org/wiki/Boltzmann_factor

partition function for a normalization constant
http://en.wikipedia.org/wiki/Partition_function_(statistical_mechanics)

http://en.wikipedia.org/wiki/Boltzmann_distribution


the # of configurations = 2^N

Fig.7.1 - Boltzmann networks is to indicate the state fo each node
: The optimization problem is to find a configuration (i.e., assignment of all s_i) that minimizes the energy.

Fig.7.2
: Simulated annealing method uses randomness, governed by a control parameter or "temperature" T.

The number of states declines exponentially with increasing energy.

Because of the statistical independence of the magnets, for large N the probability of finding the state in energy E also decays exponentially.

The dependence of the probability upon T in the Boltzmann factor:
At high T, the probability is distributed roughly evenly among all configurations, while at low T it is concetrated at the lowest-energy configurations.

In the case of large N, the number of configurations decays exponentially with the energy of the configuration.


> Simulated Annealing Algorithm
1) initiate randomized states & select a high initial temperature T
(in the simulation, T is a control parameter that will control the randomness)
2) choose randomly a node i with its state s_i = +1
3) calculate the system energy in this configuration
4) recalculate the energy for a candidate new state s_i = -1
5) accept this change in state if this candidate state has a lower energy, or if the energy is higher, accept this with a probability from the Boltzmann factor.
6) poll (select and test) the nodes randomly several times and set their states
7) lower the temperature and repeat the polling
8) simluated annealing terminates when the temperature is very low (near zero)
(if the cooling has been sufficiently slow, the system has a high probability of being in a low-energy state)

The occational acceptance of a state that is energetically less favorable allows the system to jump out of unacceptable local energy minima.

 
Algorithm 1. Stochastic Simulated Annealing





posted by maetel