|
|
Hysteretic Optimization For Spin GlassesB. Gonçalves and S. Boettcher Emory University, Atlanta, Ga 30322 Abstract
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Following the prescription of Algorithm 1 for the variation
of the external field
, each run, in effect, starts by exploring
a large region of phase space which subsequently decreases slowly.
By varying the field between positive and negative amplitudes
,
the runs repeatedly quench the system, following an approach similar
to the well known simulated annealing or tempering algorithms[8,22,21].
HO operates at
, thus there are no thermal fluctuations and
we can simply calculate the field necessary to make the next spin
unstable and increase it to that value (within the
limit) . Typically, HO is run with multiple restarts from the largest
amplitude to increase the chances of finding a better approximation
to the global minimum. Note, however, that each run itself has no
stochastic element once the couplings
to the external field
are fixed. It is therefore useful to restart the demagnetization process
repeatedly with a fresh set of random field directions (see
item 6. in Algorithm 1). In fact, it is also possible
to refresh the
each time the external field
passes
through zero during each run (see item
in Alg. 1).
This algorithm has been very successful in determining the ground
state energies of the Sherrington-Kirkpatrick spin glass[6]
and reasonably efficient for the Traveling Salesman Problem[23],
but there are few attempts to apply it to other problems[12].
In this article we focus on a Ising spin glass on a one-dimensional
ring with power-law interactions[14,15,16,17,18]
defined by the Hamiltonian in Eq. (2) with bonds
of the form:
is the distance between each pair of spins on the ring. By varying
As it has been shown in the literature [14,24,25],
as
is increased this spin glass goes through several distinct
phases, see Fig. 3. For
the system
is effectively Infinite Range (IR). For all
, the singular
part of the mean field transition temperature,
, is of
the order:
where
|
We have performed a benchmark study of the performance of
on
this spin glass model over a range of
values. The point
of this study is not so much to tweak
for optimal performance,
but to obtain a clear assessment of its behavior under variation of
this parameter. To this end, we generated a benchmark of instances
of system sizes
,
, and
, for which we have
obtained extremely good approximation to the ground state energy by
alternate means. In this case, we have used the Extremal Optimization
heuristic (
) [26,27,9] but
expanding a large amount of CPU time to ensure accuracy. (In fact,
using the implementation described in Ref. [9],
has proven itself equally capable of approximating ground states in
the SK model[27] as for the EA[9],
and it appears to be much less dependent on
. Although a
direct comparison is not justified here due to the disproportionate
run times used for
, we have found that even at much more extensive
runs,
was not able to find the exact-known ground state of a
one-dimensional spin glass with more than
spins[12].)
In this set of instances, we have applied
with a minimal set
of control parameters. We set
and for each instance
in our set, we performed
different runs, each with a separate
sets of
that were kept constant throughout the entire run.
The ground state energy was taken to be the best value seen over
10 different quenches. This value was then averaged
over
different instances and compared with the results obtained
by EO for exactly the same set of instances.
In Fig. 4 we plot the quality of the solution obtained
by
as a function of
. The ``Error'' is defined
as the percentage difference in ground state energy of the solutions
found using
relative to
. Generally, the quality of the
results found by
diminishes for increasing system size for all
, as can be expected with the limited CPU time (linear in
) apportioned to these runs. More noticeable is the ever more
pronounced rise in error for
. To understand the physical
reasons behind this behavior, we proceed to studying the dynamics
of the system in the next section.
Avalanches And Correlations

Unlike the comparison in the previous section, we now focus exclusively
on the intrinsic behavior of
itself. We will pinpoint the causes
of
s breakdown using quantitative measures. Using essentially
the same program as previously, for each value of
, we perform
(undamped) hysteresis cycles each, but for a much larger set
of
instances. Throughout, we set
.
When the hysteresis procedure described causes a spin to become unstable and get flipped, this may cause several other spins to become unstable, thus initiating an avalanche in the system. Each avalanche can involve a significant fraction of the number of spins in the system, including, on occasion, several flips of the same spin in a form of long-range self interaction. Avalanches have a wide range of sizes and can, in principle, be larger than the system size by flipping the same spin multiple times.
As a first step in our analysis, we measure
,
the average avalanche size as a function of
at different
system sizes. This measurement will help us determine what range of
we need to study, since it should become system size independent
in the nearest-neighbor limit. As we show on the right hand side
of Fig. 5, this happens near
, thus
restricting our interval of interest to
,
as expected from the literature[17].
We find that this quantity obeys an empirical scaling relation of
the form:
The scaling becomes increasingly worse with
, signaling
a new
dependence.
We believe this change in behavior at
is due to the
topological change, from IR to LR, that occurs at this point (see
the discussion in the previous section). Even though each node in
the LR regime is still connected to other spins at arbitrarily large
distances, its possible influence is now limited to a fraction of
the total number of variables in the system, resulting in
smaller avalanches. The avalanche size effectively creates a limit
on the length of the jumps in configuration space that the system
is capable of performing, forcing a less than optimal sampling of
phase space, and increasingly poorer results.
Avalanches sizes are determined by the total number of spin flips
that occur. If the same spin happens to flip several times, then it
will be counted multiple times as well, but we are also counting
the number
of just which spins flip at least once., The ratio
of the avalanche size,
, over the number of unique spins
flipped,
, gives us a measure of how important loops are in the
dynamics of the system, a large ratio will indicate that perturbations
spread throughout the system and keep returning to the same spin,
while a number close to unity would mean that avalanches propagate
in just one direction and never double back.
On Fig. 7 we plot
for different system sizes. We find that the ratio between the
size of the avalanche and the number of unique spins flipped is always
small and becomes approximately system size independent in the Short
Range phase. This confirms, once again, that in this region the sphere
of influence of each spin is very small, being limited practically
only to Nearest Neighbors.
This quantity obeys a phenomenological scaling relation of the form:
Finally, we study how the algorithms approaches the final configuration,
at
and
, by looking at the auto-correlation function
given by:
In Fig. 9 we plot this quantity for the case of
,
averaged over
different instances for each value of
and with
different runs per instance. For small values of
,
the plateau at low correlations is extended (lower solid black curve),
followed by an increase towards the value of
near the final stages
. As
increases, the auto-correlations increase
within the plateau which itself shortens, and the tendency towards
becomes noticeable right from the onset (upper solid black curve
for
). This is a clear demonstration of the ideas expressed
earlier, that the volume of configuration space explored becomes smaller
with the decrease in avalanche size corresponding to increasing
.
Discussion

The performance of the Hysteretic Optimization procedure for spin
glasses was analyzed for a spin glass model that interpolates between
systems with highly connected variables in the mean field limit and
sparsely connected variables in the nearest-neighbor lattice limit.
is shown to be very fast, but the quality of it's solutions
quickly start decaying for increasing values of the distance dependence
exponent,
. An analysis of the avalanche dynamics occurring
in these systems revealed that the failure of
is due to the
truncation of avalanche size, and hence a limited exploration of the
energy landscape, that occurs when the system is no longer in the
Infinite Range phase.
The analysis of the behavior of the auto-correlation function with
confirmed this idea by showing that
becomes stuck
in a limited region of configuration space increasingly earlier for
larger values of the distance dependence exponent,
.
, being dependent on avalanches for its local search, cannot
continue to work when the avalanches are no longer large enough to
facilitate large jumps in configuration space. Any attempt to use
in a finite connected system, such as an Edwards-Anderson spin
glass or many combinatorial optimization problems[13],
is, therefore, inefficient (see Chap. 10 in Ref. [1]
and Ref. [12]). Our attempts to simulate sparsely connected
systems, in this case 3SAT[13] and EA spin glasses with
bonds, with discrete bond weights proved particularly
unsuccessful. In such system, all variables only possess a finite
(and typically, small) range of local field states to take on. For
instance, in such an EA spin glass in
dimensions, all spins
have exactly
states. Thus, a hysteresis loop has just 7
jumps between full up- and and full-down saturation. At each jump,
a finite fraction of spins flip simultaneously due to degeneracies,
but mostly in an uncorrelated manner dictated by their local
environment.
These results also highlight one important ingredient for any efficient
algorithm or heuristic: the ability to travel between very distant
regions of configuration space without being impaired by the large
energy barriers that make such jumps energetically or entropically
unfavorable. This ability is only within
s reach for Infinitely
Range systems.
Acknowledgments

We would like to thank Helmut Katzgraber for inspiring discussions and the Division of Materials Research at the NSF for their support under grant #0312150 and the Emory University Research Council for seed funding.
Bibliography

- 1
-
A. Hartmann and H. Rieger, editors.
New Optimization Algorithms in Physics.
Springer, Berlin, 2004. - 2
-
H. Frauenfelder, editor.
Landscape Paradigms in Physics and Biology.
Elsevier, Amsterdam, 1997. - 3
-
D. J. Wales.
Energy landscapes.
Cambridge University Press, Cambridge, 2003. - 4
-
G. Zarand, F. Pazmandi, K.F. Pal, and G.T. Zimanyi.
Using hysteresis for optimization.
Phys. Rev. Lett., 89:150201, 2002. - 5
-
K. F. Pal.
Hysteretic optimization for the traveling salesman problem.
Physica A, 329:287-297, 2003. - 6
-
K. F. Pal.
Hysteretic optimization, faster and simpler.
Physica A, 359:650-658, 2006. - 7
-
K. F. Pal.
Hysteretic optimization for the Sherrington-Kirkpatrick spin glass.
Physica A, 367:261-268, 2006. - 8
-
S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi.
Optimization by simulated annealing.
Science, 220:671-680, 1983. - 9
-
S. Boettcher and A. G. Percus.
Optimization with extremal dynamics.
Phys. Rev. Lett., 86:5211-5214, 2001. - 10
-
D. Sherrington and S. Kirkpatrick.
Solvable model of a spin-glass.
Phys. Rev. Lett., 35:1792-1796, 1975. - 11
-
S. F. Edwards and P. W. Anderson.
Theory of spin glasses.
J. Phys. F: Metal Phys., 5:965, 1975. - 12
-
S. Zapperi, F. Colaiori, L. Dante, V. Basso, G. Durin, A. Magni, and M. J.
Alava.
Is demagnetization an efficient optimization method?
J. Magn. Mat., E1009:272-276, 2004. - 13
-
A.G. Percus, G. Istrate, and C. Moore.
Computational Complexity and Statistical Physics.
Oxford University Press, New York, 2006. - 14
-
G. Kotliar, P. W. Anderson, and D. L. Stein.
One-dimensional spin-glass model with long-range random interactions.
Phys. Rev. B, 27:R602, 1983. - 15
-
D. S. Fisher and D. A. Huse.
Ordered phase of short-range ising spin-glasses.
Phys. Rev. Lett., 56:1601, 1985. - 16
-
D. S. Fisher and D. A. Huse.
Equilibrium behavior of the spin-glass ordered phase.
Phys. Rev. B, 38:386, 1988. - 17
-
H. G. Katzgraber and A. P. Young.
Monte carlo studies of the one-dimensional ising spin glass with power-law interactions.
Phys. Rev. B, 67:134410, 2003. - 18
-
H. G. Katzgraber and A. P. Young.
Probing the almeida-thouless line away from the mean-field model.
Phys. Rev. B, 72:184416, 2005. - 19
-
F. Pázmándi, G. Zaránd, and G. T. Zimányi.
Self-organized criticality in the hysteresis of the Sherrington-Kirkpatrick model.
Phys. Rev. Lett., 83:1034-1037, 1999. - 20
-
H. H. Hoos and T. Stützle.
Stochastic Local Search: Foundations and Applications.
Morgan Kaufmann, San Francisco, 2004. - 21
-
E. Marinari and G. Parisi.
Simulated tempering: a new monte carlo scheme.
Europhys. Lett., 19:451-458, 1992. - 22
-
P. Salamon, P. Sibani, and R. Frost.
Facts, Conjectures, and Improvements for Simulated Annealing.
Society for Industrial & Applied Mathematics, 2002. - 23
-
K. F. Pal.
Hysteretic optimization, faster and simpler.
Physica A, 360:525, 2006. - 24
-
A. J. Bray, M. A. Moore, and A. P. Young.
Lower critical dimension of metallic vector spin-glasses.
Phys. Rev. Lett., 56:2641-2644, 1986. - 25
-
D. S. Fisher and D. A. Huse.
Equilibrium behavior of the spin-glass ordered phase.
Phys. Rev. B, 38:386-411, 1988. - 26
-
S. Boettcher and A. G. Percus.
Nature's way of optimizing.
Artificial Intelligence, 119:275, 2000. - 27
-
S. Boettcher.
Extremal optimization for sherrington-kirkpatrick spin glasses.
Euro. Phys. J. B, 46:501, 2005.



