HAL Id: jpa-00246775
https://hal.archives-ouvertes.fr/jpa-00246775
Submitted on 1 Jan 1993
HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.
Equivalence between Glauber and heat bath dynanfics in damage spreading simulations
Rita de Almeida
To cite this version:
Rita de Almeida. Equivalence between Glauber and heat bath dynanfics in damage spreading simu-
lations. Journal de Physique I, EDP Sciences, 1993, 3 (4), pp.951-956. �10.1051/jp1:1993175�. �jpa-
00246775�
Classification Physics Abstracts
05.40 05.50
Equivalence between Glauber and heat bath dynamics in damage spreading simulations
Rita M-C- de Almeida
Instituto de Fisica, UFRGS, C-P- 15051, 91501-970 Porto Alegre, RS~ Brazil
(Received
4 November 1992, accepted in final form 6 November1992)
Abstract. The equivalence between Glauber and heat bath dynamics in spin glass damage
spreading simulations is demonstrated by considering explicitly the direction of the thermal noise
(stochastic,
localizedfield)
acting over the spins.Slow relaxation processes are
responsible
for manyinteresting phenomena presented by complex
systems(for
a review see Refs. [1,2]). Although interesting,
thesephenomena
are notquite
well understood and many different theoretical
approaches
and numericaltechniques
have been devised tostudy,
forexample,
thedynanfics
ofspin glasses
or cellular automata. Inparticular, damage spreading
simulations have beenwidely applied
tostudy
thespin glass
transition and relaxation in many models(for
detailedexamples
see Refs. [3]-[14] and Refs.therein).
Damage spreading
simulations consist ofinvestigating
the evolution of twoinitially
differentconfigurations
of a samesample
of a system in order to obtain static anddynamic properties.
In some simulations the monitored
quantity
is theHamnfing
distance between the twoconfig-
urations that evolve
freely subject
to the same thermal noise[3]-[14].
The results show different temperatureregimes,
that differ in thelong
term value of theHamming
distance between the twoconfigurations
and in itsdependence
on initial conditions. The available literature on thesubject
accounts for results obtained with differentdynamics,
inparticular
heat bath and Glauber ones, that show different behaviors inspite
ofbeing physically equivalent (see,
forexample, refs.[8, 12]).
A second kind of
simulations, applied specifically
forferromagnets [15, 16],
considers twoconfigurations
A and B in thermalequilibrium,
where the centralspin
So of one of them iskept
fixed in onegiven direction,
sayS)(t)
=
S)(t
=
0),
for concreteness. Theconfigurations
are then let to evolve and two
quantities
may be monitored: theHamming
distance and the timedependent damage
differencero(I,t),
defined as the difference between theprobability
df~
offinding Sf(t)
=
S)(t
=
0)
andSf(t)
=
-S)(t
=
0)
and theprobability d/+
offinding Sf(t)
=
-S)(t
=
0)
andSf(t)
=
S)(t
=
0).
In a recent paper Glotzer et al. [16]demonstrated that the time
dependent damage
difference is related to the timedependent spin
correlation function and is
independent
of themicroscopic dynanfics ruling
the evolution of the952 JOURNAL DE PHYSIQUE I N°4
configurations: Glauber,
heat bath or any otherequilibrium dynamics yield
the same results forro(I, t).
However, different results are obtained when the Glauber or the heat bathprotocol
is used to measure other
quantities,
as theHamming
distanceD(t)
or the accumulateddamage
difference
A(I, if),
defined as the time average ofro(I, t)
between t = 0 and t = if.Here we demonstrate that the differences obtained with heat bath and Glauber
protocols
for
dynamics-dependent quantities
indamage spreading
simulations arise from anincomplete
account of the thermal noise in both
protocols.
A more detailedanalysis
leads to the same results for the twodynamics.
To understand Glauber and heat bath
dynamics,
consider agiven configuration
S =
(Si,52, ,SN)
of a system with NIsing spins,
describedby
the HamiltonianHIS).
Consider also a
randomly
chosenspin Si,
at agiven
simulation step, andassign
theprobabili-
ties
P(S;)
andP(-Si)
for the state of thespin
after theupdating, given by
~j~~
exPi-flH)
j~~
exP
i-flH)
+ exPi-fIHF)
~~~
~j_~~
exPi-fIHF)
j~~
exP
(-flH)
+ expj-pH~)
where
fl
is the inverse of temperature and HF is the energy of the system when Si hasflipped.
It is
straightforward
to obtain Glauber and heat bathprotocols
fromequations ii
and(2):
I) Glauber
dynamics
considers theflipping probability P~(Sj),
which isgiven directly by equation (2),
thatis, P~(S;)
=
P(-Sj);
it)
Heat bathdynamics
considers theprobability P~~(+I)
thatSi
= +I after the
updating,
which isP~~(+I)
=
P(Si)
if Si = +I andP~~(+I)
=
Pi- Si)
if S; = -I.It is direct to
verify
fromequations ii)
and(2)
that all fourpossible
eventsrepresented by
thepairs
ofspin
states before and after theupdating, (+I, +I), (+I, -I), i-I, +I), (-I, -I),
have the same
probabilities
for bothprotocols: they
arephysically equivalent
andyield
thesame results when
simulating
the evolution of asingle configuration.
Damage spreading simulations,
on the otherhand, study
the evolution of twoconfigurations,
and it has been
implemented
in such a way that the same sequence of random numbers iscompared
to the(+I)-probability
for heat bathor to the
flipping probability
for Glauberdy- namics, yielding dynamics-dependent
finalresults,
what is ratherpuzzling
since bothdynamics
describe
equivalently
the samephysical
situations.The central idea in
damage spreading investigations
is to somehowstudy
the roleplayed by
thecomplexity
of thephase
space in the relaxation processes of a system,isolating
these effects from thestochasticity implied by
the thermal noise. It is then clear that bothsamples
must evolve with the same thermal noise. For agiven spin,
thermal noise is alocal, instantaneously applied magnetic field;
forIsing spins
it means that the thermal noise may notonly
presenta random
intensity,
but also may occur in two different orientations(up
ordown). When,
for
instance,
anup-spin
suffers alocal, instantaneously applied
field in the updirection,
nomatter how intense the field
is, nothing happens.
Whenanalyzing
the evolution of aunique configuration,
there is aprobability
of 50~ that the thermal noise field is in the same direction of the affectedspin
and theonly
difference that makes theexplicit
consideration of the vectorialcharacter of the stochastic field is a renormalization of the relaxation time
by
a factor 2 in Glauber and heat bath simulations(in
bothprotocols,
the field isalways
taken in theopposite
direction of the
spin
because achange
in thespin
orientation isalways possible).
But when twoconfigurations
should evolve with the same thermalnoise,
it means that the thermal field should be in the same direction for bothconfigurations:
simultaneousspin flips
from up todown in one
configuration
and from down to up in theother,
forexample,
are forbidden.However, both heat bath and Glauber standard
protocols,
in someinstance,
allow suchflips:
this
neglect
of the directionaldegree
of freedom of the thermal noiseoriginates
the differences found between Glauber and heat bathdamage spreading
simulations.The
equivalence
between the twodynamics
when the orientation of the thermal noise is taken into account is demonstratedby
direct enumeration of allpossible
events and relatedprobabilities.
Consider thespins
of twoconfigurations, St
andSt, subject
to the thermal fieldhf.
For Glauberdynamics
one considers theflipping probabilities Pi
andPi
for the i~~spin
in
configurations
A and Brespectively,
that aregiven by
~~B
"(I
+ ~XP(2~Sf'~ ~j#I ~ij Sl'~)
~=
l
+exP
1+2P£j~; Jo St~)1~~
13)p+
A,B
with
Jij being
thecouplings
betweenspins
and thesign
+depends
on the value of thespin
Sl'~
Theprobabdities Pfl~
andPf~
in heat bathdynamics
that thei~~-spin
assumes thepositive
value in eachconfiguration
is~~i
" ~A,B
(~)
where
Pj~
is defined inequation (3).
At each simulation step, theseprobabilities
are thencompared'to
a random number z, which
is,
in some sense, associated to theintensity
of the stochastic field at that instant. As anexample,
we shall calculate some of theupdate joint probabilities
in bothprotocols.
Consider that the chosenspin
toupdate
is such thatinitially St
= +I and
St
= -I. For the final
configuration
in heat bathdynamics
to beSt
= +I
and
St
=
+I,
the random number z should be less than the smaller+I-probability, given by equation (4),
that is z <ruin(Pi, Pi ).
As z isuniformly
distributed thejoint probability
in the heat bath
dynamics
in this case isequal
tomin(Pi, Pi ). Analogously,
for the finalconfiguration
in Glauberdynamics
to beSt
= +I and
St
=
+I,
the random number z shouldsimultaneously
be greater than theSt-flip-probability (Pf
= I
-Pj
and less than theSt-flip- probability (Pi ).
Such anupdate
isonly possible
ifPi
> IP£
and the relatedprobability
is
given
bymax(0, Pi
I +P().
These differentprobabilities
for the same event lead to differentjoint
evolutions when one or otherprotocol
isapplied.
Tables I and II enumerate allpossible
events and relatedprobabilities,
obtained as in the aboveexample,
indamage spreading
simulations for standard heat bath and Glauberprotocols respectively.
To take into account the direction of the thermal
perturbation acting
over thespins,
we prc-pose a "directional"
protocol
that may be summarizedby
thefollowing spin update
routine:choose first a random direction
(+I
or-I)
for the stochasticmagnetic
field that is associated to the thermal noise and then a random number z to becompared
to theflip probability (Glauber)
or the+I-probability (heat bath).
When the field is in the same direction of thespin
of agiven configuration, nothing happens
to it. When this is not the case for one or bothconfigurations,
the random number z iscompared
to theflip
or+I-probability
toupdate
the
spins.
Toillustrate,
consider the case wheninitially St
= +I and
St
=
-I,
and weshall calculate the
joint probability
that theupdated
states areSt
= +I and
St
= +I. Now
we must take into account the direction of the thermal noise. When the thermal noise is in
the down
direction,
theprobability
that thespin
inconfiguration
Bflips
to the up orientation is zero, for anyupdating
protocol, and hence thejoint probability
in our case is also zero. When954 JOURNAL DE PHYSIQUE I N°4
Table I
Update joint probabilities
for thespins
in twoconfigurations
A and Bfollowing
standard heat bath
dynamics.
The first two columns show the initial states and thefollowing
columns list the
probabilities
of the four finalpossibilities.
The values ofP£~
are defined inequation (3).
'S~ S~
p(+I, +I) p(+I, -I) p(-I, +I) p(-I, -I)
+I +I
minjPp, P~j
maxj0, P~ Pi j maxj0, Pi P~j minjl Pi, I Pi j +I -IminjPp, Pij
maxj0, PiPpj
maxj0, PiP~j
minjl P~, IPpj
~l +I
~~~l~i'~i1
~~1°'~i ~il~~~1°'~i ~il
~~~l~ ~i' ~~il
-I -I minjP~,P~j maxj0, P~ P~j maxj0,P~ P~j minjl P~, I P~j
Table II
Update joint probabilities
for thespins
in twoconfigurations
A and Bfollowing
standard Glauber
dynamics.
The first two columns show the initial states and thefollowing
columns list the
probabilities
of the four finalpossibilities.
The values ofPi
~ are defined in
equation (3).
'S,
S~p(+I, +I) p(+I, -I) pi-I,
+I) p(-
I,-I)
+I +I
minjPi,
P~j maxj0, P~ Pij maxj0, Pi P~j mini IPi,
I Pi j+I -1 maxj0, Pi + P~ lj minjl Pi, P~j
minjPj,
I P~j maxj0,1- P~Pij
I +1 maxj0, P~ + Pi lj
minjP~,
IPij
minjlPi,
Pi j maxj0,1-Pi P~j
I -I minjP~, P~j maxj0, P~ P~j maxj0, P~ P~ j minjl P~, I P~ j
Table III
Update joint probabilities
for thespins
in twoconfigurations
A and Bfollowing
Glauber or heat bath
dynamics,
where the orientation of the thermal noise field has beenexplicitly
considered. The first two columns show the initial states, the third indicates the direction of the thermal noise fieldh/
and thefollowing
columns list theprobabilities
of the four finalpossibilities.
The values ofPj~
are defined inequation (3).
+1 >0 0 0 0
+I +1 < 0
min(Pi,Pjj
max(o, Pi Pjj max(o, Pi Pij min(i Pi, i Pjj+I -1 >0 Pi
i-'Pj
0 0+1 -1 <0 0 Pi 0 1-Pi
-I +1 > 0 Pi 0 1 Pi 0
-1 +1 <0 0 0 Pi i-Pi
-I -1 > 0 min(Pi,Pjj max(o, Pi Pjj max(o, Pi Pij min(i Pi, i
Pjj
-I -1 <0 0 0 0 1
the thermal noise is in the up
direction, nothing happens
to thespin
in theconfiguration
Aprobability
reduces to theprobability
thatSt flips
in the Glauberprotocol (Pi),
which isequal
to the heat bathprobability
thatSt
= +I. Table III shows the results for the other
possibilities
when the orientation of the thermal noiseh/ acting
over thei~~-spin
is taken into account: for allpossible
events bothdynamics (flip
or +Iprobabilities compared
to therandom number
z) yield rigorously
the sameprobabilities.
In
damage spreading
simulations the evolution of theHamming
distance D between twoconfigurations
is animportant quantity
to be measured.Hence,
it isclarifying
to calculate from tables I to 3 the values of the variation AD of theHamming distance,
and the relatedaveraged probabilities P,
in asingle update
for the threeprotocols. They
areAD~~=+I; P=@<(P[-Pp(>
AD~~=0; P=1-(-'~j/~~<(P[-Pp(> (5)
AD~~=-I; P=((I-<(P[-Pj(>)
for standard heat bath
dynamics,
AD~=+I; P=@<(P[-Pp(>
AD~=0; P=1-'~~~<(P[-Pp(>-§<max(0,Pj+Pp-1)> (6)
AD~=-I; P=(<max(0,P[+Pj-1)>
for standard Glauber
dynamics
andfinally, AD~~~
= +I P =
l§j/~
<[Pi Pi
>~~~~~
~'
~
§ ij/
~'~A ~B
>(~)
&
~DIR
_~ p D' 2N
for the "directional"
protocol,
where thesymbols
< > stand for an average over allpossible pairs
andDIN
andIN D) IN
are theprobabilities
thatSt
=
-St
andSt
=
St respectively.
The above
equations
show that in thehigh
temperaturelimit,
for which theprobabilities Pfl~
go to
0.5,
the heat bath and "directional"protocols yield
the same evolution of theHammiig
distance
ID
-
0),
thephysically expected behavior,
andthey
also show the difference for the Glauberdynamics
limit: for an initialHamming
distance D =0.5,
thelong time, high
temperature value in this case is 0.5
(AD
=0)
[8, 12].This
equivalence
between Glauber and heat bath(non-standard) dynamics,
obtainedthrough
the consideration of the orientation of the
noise,
which iscompatible
with the vectorial char-acter of a thermal source that may act over
spins, brings
to an end thepuzzling
differenceobserved between two
dynamics
that should bephysically equivalent.
It is arigorous equiv-
alence: when the orientation of the noise is taken into account both Glauber and heat bathprotocols
notonly yield
the same result todynamics-independent quantities,
but they are ex-actly
the samedynamics.
The two standardprotocols
have been used toinvestigate
severalproperties
ofcomplex
systems and have somehowmanaged
to grasp manyinteresting
featuresbut,
as shownabove,
not alldegrees
of freedom of the thermal noiseacting
over the con-figurations
were considered and hence some external sources ofdamage
were not discarded:probably
some deviations from the former results will be obtained when this newprotocol
is used toproduce quantitative predictions.
It seems that theneglect
of the orientation of the stochastic field actsagainst
the thermalnoise,
whose effect is to lower theHamming
distanceD,
in thesense that it allows
(forbidden) flips
that tends to separate theconfigurations.
Conse-quently,
transition temperatures may have been overestimated. The directionalprotocol
could956 JOURNAL DE PHYSIQUE I N°4
then
yield
moreprecise
results whendetermining quantitatively
transition temperatures and relaxationbehaviors,
forexample.
Finally,
the orientation of the thermal noise may also appear as a relevantingredient
in dam- agespreading
simulations of other systems besidesspin glasses:
inbinary alloys,
forexample,
where order-disorder transition is
studied,
thedriving
force for atom diffusion is a chemicalpotential
that may also present different orientations.Acknowledgements.
1acknowledge
J-R-Iglesias,
L-G-Brunnet,
J-J-Arenzon,
G.Martinez,
and A-T- Bernardes forhelpful
discussions and carefulreading
of themanuscript.
This work has beenpartially
supported by
brazilianagencies CNPq (Conselho
Nacional de Desenvolvimento Cientifico eTecno16gico)
and FINEP(Financiadora
de Estudos eProjetos).
References
[II Binder K. and Young A-P-, Rev. Mod. Phys. 58
(1986)801.
[2] Chowdhury D., Spin Glasses and other Frustrated Systems
(World
Scientific and Co.,1986).
[3] Derrida B. and Weisbuch G., Europhys. Lett.
4(1987)
657.[4] Costa U-M-S-, J.Phys. A 20
(1987)
L583.[5] Barber M. and Derrida B., J.Stat.Phys. 51
(1988)
877.[6] Golinelli O. and Derrida B., J.Phys. France 49
(1988)
1663.[7] de ATcangelis L., Coniglio A. and HeTTmann H-J-, Europhys. Lett. 9
(1989)
749.[8] MaTiz A-M-, Herrmann H-J- and de Arcangelis L., J.Stat.Phys. 59
(1990)
1043.[9] Campbell I-A- and de ATcangelis L., Europhys. Lent. 13
(1990)
587.[10] Campbell I-A- and de Arcangelis L., Physica A 178
(1991)
29.[iii
Stanley H-E-, Staufler D., Kerst4sz J. and Herrmann H-J-, Phys. Rev. Lent. 59(1987)
2326.[12] da Cruz H-R-, Costa U-M-S- and Curado E-M-F-, J.Phys. A 22
(1989)
L651.[13] Le Gait G., J.Phys.A 22
(1989)
L647.[14] Nobre F-D-, Mariz A-M- and Sousa E-S-, Phys. Rev. Lent. 69
(1992)
13.[15] Coniglio A., de Arcangelis L., Herrmann H-J- and Jan N., Europhys. Lent.
8(1988)
315.[16] GlotzeT S-C-, Poole P-H- and Jan N., J. Stat. Phys. 68