선정목록으로
An Efficient Simulation Protocol for Determining the Density of States: Combination of Replica-Exchange Wang-Landau Method and Multicanonical Replica-Exchange Method
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1901.01430
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1901.01430
- 토픽
- Chemical and Physical Properties of Materials
- OpenAlex ID
- W6891856269
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (21) 에폭시수지, (16) CPI(투명 폴리이미드)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- Monte Carlo simulation, Molecular dynamics, Density of states, Polymers, Biopolymer folding
- 판단 근거
- 이 논문은 고분자(polymers) 및 생체 고분자의 상태 밀도(DOS)를 정확하게 계산하기 위한 통계 역학적 시뮬레이션 프로토콜을 다루고 있습니다.
- R&D 활용 포인트
- 고분자 컴파운드나 기능성 필름의 열적/구조적 특성을 분자 수준에서 예측하고 설계하기 위한 시뮬레이션 방법론으로 활용 가능합니다.
- 평가 입력
- 본문 38,819자 중 30,032자 발췌
초록
By combining two generalized-ensemble algorithms, Replica-Exchange Wang-Landau (REWL) method and Multicanonical Replica-Exchange Method (MUCAREM), we propose an effective simulation protocol to determine the density of states with high accuracy. The new protocol is referred to as REWL-MUCAREM, and REWL is first performed and then MUCAREM is performed next. In order to verify the effectiveness of our protocol, we performed simulations of a square-lattice Ising model by the three methods, namely, REWL, MUCAREM, and REWL-MUCAREM. The results showed that the density of states obtained by the REWL-MUCAREM is more accurate than that is estimated by the two methods separately.
본문 38,819자
본문 펼치기
An Efficient Simulation Protocol for Determining the Density of States:
Combination of Replica-Exchange Wang-Landau Method
and Multicanonical Replica-Exchange Method
Takuya Hayashi <sup>1</sup> and Yuko Okamoto <sup>1,2,3,4,5</sup>
1Department of Physics, Graduate School of Science,
Nagoya University, Nagoya, Aichi 464-8602, Japan
2Structural Biology Research Center, Graduate School of Science,
Nagoya University, Nagoya, Aichi 464-8602, Japan
3Center for Computational Science, Graduate School of Engineering,
Nagoya University, Nagoya, Aichi 464-8603, Japan
4Information Technology Center, Nagoya University, Nagoya, Aichi 464-8601, Japan
5JST-CREST, Nagoya, Aichi 464-8602, Japan
By combining two generalized-ensemble algorithms, Replica-Exchange Wang-Landau (REWL)
method and Multicanonical Replica-Exchange Method (MUCAREM), we propose an effective simulation protocol to determine the density of states with high accuracy. The new protocol is referred
to as REWL-MUCAREM, and REWL is first performed and then MUCAREM is performed next.
In order to verify the effectiveness of our protocol, we performed simulations of a square-lattice Ising
model by the three methods, namely, REWL, MUCAREM, and REWL-MUCAREM. The results
showed that the density of states obtained by the REWL-MUCAREM is more accurate than that
is estimated by the two methods separately.
I. INTRODUCTION
The statistical mechanical expectation value of a physical quantity can be accurately calculated if the
density of states (DOS) is given. However, in many cases, we do not know DOS a priori and it is often
difficult to obtain it theoretically or experimentally. In recent decades, many methods were developed for
the determination of DOS by using Monte Carlo (MC) and/or molecular dynamics (MD) simulations (e.g.,
see Refs. [1]–[31]). One of the earliest such methods may be Umbrella Sampling [1]. Muticanonical Algorithm [2]–[4], Simulated Tempering [5]–[7], Replica-Exchage Method [8]–[11], Wang-Landau method [12, 13],
and Metadynamics [14]–[16] were then developed, and generalizations and extensions of these methods were
further proposed [17]–[31]. These methods are closely related. For example, it has been shown that Statistical Temperature Molecular Dyanamics [22] is equivalent to Metadynamics [30]. We also remark that
Metadynamics can be considered to be Wang-Landau method in reaction coordinate space (rather than energy space) [32]. These methods have been successfully applied to a wide range of problems in condensed
matter and statistical physics including spin glasses, liquid crystals, polymers, and proteins. Nevertheless,
the problem still remains that the exact calculation of DOS cannot be achieved when the systems become
large and complex.
In this article, we propose an efficient simulation protocol to obtain the most precise DOS by combining the
Replica-Exchange Wang-Landau method (REWL)[28, 29] and the Multicanonical Replica-Exchange Method
(MUCAREM)[18–20].
This article is organized as follows. In Sec. II, we explain the methods. In Sec. III, the computational
details are given. In Sec. IV, the results and discussion are presented. Sec. V is devoted to conclusions.
II. COMPUTATIONAL METHODS
We first introduce three basic generalized-ensemble algorithms, Multicanonical Algorithm, Wang-Landau
method, and Replica-Exchange Method. The Multicanonical Algorithm (MUCA)[2, 3] is one of the representative methods. A simulation in multicanonical ensemble is based on a non-Boltzmann weight factor,
which we refer to as the multicanonical weight factor. This is inversely proportional to DOS of the system,
and a free random walk in potential energy space is realized so that a wide configurational space may be
2
sampled. The DOS is often not known a priori. The multicanonical weight factor is usually determined
by iterations of short trial simulations[4, 33]. After a production run with the determined MUCA weight
factor, the single-histogram reweighting techniques[34] are employed to obtain an accurate DOS. However,
the weight factor determination process can be tedious and difficult. The Wang-Landau method (WL)[12, 13]
solved this problem drastically. In the WL sampling, the weight factor, which is also inversely proportional to
DOS, is updated during the simulation by multiplying a constant to the weight factor. This procedure leads
to a uniform histogram in potential energy space, and the modified weight factor converges to the inverse
of the DOS. Another powerful algorithm is the Replica-Exchange Method (REM)[8, 9] (it is also referred to
as parallel tempering[35]). Closely related method was independently developed in [36]. In this method,
several copies (replicas) of the original system at different temperatures are simulated independently and
simultaneously by conventional canonical MC or MD. Every few steps, pairs of replicas are exchanged with a
specified transition probability. This exchange process realizes a random walk in temperature space, which in
turn induces a random walk in potential energy space. After a production simulation, the multiple histogram
reweighting techniques[37, 38] (an extension of which is also referred to as the Weighted Histogram Analysis
Method (WHAM)[38]) are used in order to determine the most accurate DOS from all the histograms of
sampled potential energy at different temperatures.
These basic simulation methods can be combined for more effective sampling. One method is referred
to as the Multicanonical Replica-Exchange Method (MUCAREM)[18–20]. In this method, the total energy
range where we want to calculate the DOS is divided into smaller regions, each corresponding to a replica,
and MUCA simulations are performed independently and simultaneously in each replica. Every few steps,
a pair of neighboring replicas are exchanged like REM. The configurations can be sampled more effectively
than ordinary MUCA because of replica exchange. The final, most accurate estimation of DOS is obtained
by the multiple-histogram reweighting techniques again [18–20]. A similar method is the Replica-Exchange
Wang-Landau (REWL) method[28, 29]. The idea is almost the same as in MUCAREM except for using WL
instead of MUCA for each replica. After a REWL simulation, DOS pieces are obtained for different energy
regions. Connecting these pieces at the point where the slope of DOS is coincident, we can obtain the final
estimation of DOS over the entire energy range.
We found that the DOS with the highest accuracy can be obtained by combining these two methods. The
REWL is employed in the first half of the total number of MC (or MD) steps in order to get a rough estimate
of MUCAREM weight factor and the MUCAREM is performed in the second half in order to refine the DOS.
We refer to this protocol as REWL-MUCAREM. The DOS thus obtained has higher accuracy than that is
estimated by the two methods separately.
A brief explanation of MUCA is now given here. The multicanonical probability distribution of potential
energy PMUCA(E) is defined by
PMUCA(E) ∝ g(E)WMUCA(E) ≡ const, (1)
where WMUCA(E) is the multicanonical weight factor and the function g(E) is the DOS. E is the total
potential energy of a system. By omitting a constant factor, we have
1
WMUCA(E) = g(E) <sup>.</sup> (2)
In MUCA MC simulations, the trial moves are accepted with the following Metropolis transition probability
w (E → E <sup>′</sup> ):
= min
1, <sup>g(E)</sup>
g(E <sup>′</sup> )
. (3)
w (E → E <sup>′</sup> ) = min
1, <sup>WMUCA(E′)</sup>
WMUCA(E)
Here, E is the potential energy of the original configuration and E <sup>′</sup> is that of a proposed one. After a long
production run, the best estimate of DOS can be obtained by the single-histogram reweighting techniques:
H(E)
g(E) = WMUCA(E) <sup>,</sup> (4)
where H(E) is the histogram of sampled potential energy. Practically, the WMUCA(E) is set exp[−βE] at first
and modified by repeating sampling and reweighting. Here, β is the inverse of temperature T (β = 1/kBT
with kB being the Boltzmann constant).
3
The WL also uses 1/g(E) as the weight factor and the Metropolis criterion is the same as in Eq.(3).
However, g(E) is updated dynamically as g(E) → f × g(E) during the simulation when the simulation visits
a certain energy value E. f is a modification factor. We continue the updating until the energy histogram
becomes flat. If H(E) is flat enough, a next simulation begins after resetting the histogram to zero and
reducing the modification factor (usually, f → <sup>√</sup> f ). The flatness evaluation can be done in various ways. In
this article, we considered that the histogram is sufficiently flat when
Hmin
Hmax
- 0.5, (5)
where Hmin and Hmax are the least number and the largest number of nonzero entries in the histogram,
respectively[39]. This process is terminated when the modification factor attains a predetermined value ffinal
and exp(10 <sup>−8</sup> ) ≃ 1.000 000 01 is often used as ffinal. Hence, the estimated g(E) tends to converge to the true
DOS of the system within this much accuracy set by ffinal. (Several reports argue that there is a possibility
that conventional WL algorithm has a systematic error which does not decrease any more. See, e.g., Ref.[24].)
In MUCAREM, the entire energy range of interest [Emin, Emax] is divided into M sub-regions, Emin <sup>{m}</sup> <sup>≤</sup>
E ≤ Emax <sup>{m}</sup> <sup>(m</sup> <sup>=</sup> <sup>1, 2, · · ·</sup> <sup>, M</sup> <sup>),</sup> <sup>where</sup> <sup>E</sup> min <sup>{1}</sup> <sup>=</sup> <sup>Emin</sup> <sup>and</sup> <sup>E</sup> max <sup>{M}</sup> <sup>=</sup> <sup>E</sup> max <sup>.</sup> <sup>There</sup> <sup>should</sup> <sup>be</sup> <sup>some</sup> <sup>overlaps</sup>
between the adjacent regions. MUCAREM uses M replicas of the original system. The weight factor for
In MUCAREM, the entire energy range of interest [Emin, Emax] is divided into M sub-regions, Emin <sup>{m}</sup>
max <sup>{m}</sup> <sup>(m</sup> <sup>=</sup> <sup>1, 2, · · ·</sup> <sup>, M</sup> <sup>),</sup> <sup>where</sup> <sup>E</sup> min <sup>{1}</sup>
the adjacent regions. MUCAREM
min <sup>{1}</sup> <sup>=</sup> <sup>Emin</sup> <sup>and</sup> <sup>E</sup> max <sup>{M}</sup>
E ≤ Emax <sup>{m}</sup> <sup>(m</sup> <sup>=</sup> <sup>1, 2, · · ·</sup> <sup>, M</sup> <sup>),</sup> <sup>where</sup> <sup>E</sup> min <sup>{1}</sup> <sup>=</sup> <sup>Emin</sup> <sup>and</sup> <sup>E</sup> max <sup>{M}</sup> <sup>=</sup> <sup>E</sup> max <sup>.</sup> <sup>There</sup> <sup>should</sup> <sup>be</sup> <sup>some</sup> <sup>overlaps</sup>
between the adjacent regions. MUCAREM uses M replicas of the original system. The weight factor for
sub-region m is defined by[18–20]:
L
e <sup>−β{m}</sup>
L
<sup>{m}</sup> E, for E < Emin <sup>{m}</sup>
H
<sup>{m}</sup> E, for E - Emax <sup>{m}</sup>
WMUCA <sup>{m}</sup> <sup>(E) =</sup>
e <sup>−β</sup> L <sup>{m}</sup> E, for E < Emin <sup>{m}</sup>,
1
gm(E) <sup>,</sup> for Emin <sup>{m}</sup> <sup>≤</sup> <sup>E</sup> <sup>≤</sup>
max,
(6)
L <sup>{m}</sup> = d log [gm(E)] /dE (E = Emin <sup>{m}</sup>
H
e <sup>−β{m}</sup>
<sup>{m}</sup> max
min <sup>≤</sup> <sup>E</sup> <sup>≤</sup> <sup>E{m}</sup>
max <sup>{m}</sup>,
where gm(E) is the DOS for Emin <sup>{m}</sup>
min <sup>{m}</sup> <sup>≤</sup> <sup>E</sup> <sup>≤</sup> <sup>E</sup> max <sup>{m}</sup>
E <sup>{m}</sup>
max <sup>in</sup> <sup>sub-region m,</sup> <sup>β</sup> L <sup>{m}</sup>
<sup>{m}</sup>
where gm(E) is the DOS for Emin <sup>{m}</sup> <sup>≤</sup> <sup>E</sup> <sup>≤</sup> <sup>E</sup> max <sup>{m}</sup> <sup>in</sup> <sup>sub-region m,</sup> <sup>β</sup> L <sup>{m}</sup> = d log [gm(E)] /dE (E = Emin <sup>{m}) and,</sup>
βH <sup>{m}</sup> = d log [gm (E )] /dE (E = Emax <sup>{m}).</sup> <sup>The</sup> <sup>MUCAREM</sup> <sup>weight</sup> <sup>factor</sup> <sup>W</sup> MUCAREM <sup>(E)</sup> <sup>for</sup> <sup>the</sup> <sup>entire</sup> <sup>energy</sup>
range is expressed by the following formula:
H <sup>{m}</sup> = d log [gm (E )] /dE (E = Emax <sup>{m}</sup>
M
m=1
WMUCAREM(E) =
WMUCA <sup>{m}</sup> <sup>(E)</sup> <sup>.</sup> (7)
WMUCA <sup>{m}</sup>
m=1
After a certain number of independent MC steps, replica exchange is proposed between two replicas, i and j,
in neighboring sub-regions, m and m + 1, respectively. The transition probability, wMUCAREM, of this replica
exchange is given by
wMUCAREM = min
MUCA <sup>{m}</sup> <sup>(Ei)W</sup> MUCA <sup>{m+1}</sup>
1, <sup>W</sup> MUCA <sup>{m}</sup> <sup>(Ej</sup> <sup>)W</sup> MUCA <sup>{m+1}</sup>
WMUCA <sup>{m}</sup>
MUCA <sup>{m+1}(Ei)</sup>
MUCA <sup>{m+1}(Ej)</sup>
, (8)
where Ei and Ej are the energy of replicas i and j before the replica exchange, respectively. If replica exchange
is accepted, the two replicas exchange their weight factors WMUCA <sup>{m}</sup> <sup>(E) and W</sup> MUCA <sup>{m+1}(E) and energy histogram</sup>
Hm(E) and Hm+1(E). The final estimation of DOS can be obtained from Hm(E) after a simulation by the
multiple-histogram reweighting techniques or WHAM. Let nm be the total number of samples for the m-th
energy sub-region. The final estimation of DOS, g(E), is obtained by solving the following WHAM equations
self-consistently by iteration[19]:
Hm(E)
,
g(E) =
M
m=1
m=1
M
m=1
nm exp (fm) WMUCA <sup>{m}</sup> <sup>(E)</sup>
nm exp (fm) WMUCA <sup>{m}</sup>
(9)
m=1
exp (−fm) =
E
g(E)WMUCA <sup>{m}</sup> <sup>(E)</sup> <sup>.</sup>
g(E)WMUCA <sup>{m}</sup>
4
TABLE I. Conditions of the present simulations.
Frequency (in MC sweeps)
Methods Number of spins Number of replicas of flatness evaluation Total MC sweeps
N M in Eq. (5) per replica
MUCAREM 64 4 NA 200 000
256 8 200 000
1024 16 200 000
4096 32 500 000
16384 64 3 000 000
REWL 64 4 1000 200 000
256 8 200 000
1024 16 200 000
4096 32 500 000
16384 64 3 000 000
REWL−MUCAREM 64 4 1000−NA 100 000−100 000
256 8 100 000−100 000
1024 16 100 000−100 000
4096 32 250 000−250 000
16384 64 1 500 000−1 500 000
These MUCAREM sampling and WHAM reweighting processes can, in principle, be repeated to obtain
more accurate DOS[20]. We remark that REM is often used to obtain the first estimate of DOS in the
MUCAREM iterations. We also remark that when REM instead of MUCAREM is performed, the best
estimate of DOS can be obtained by solving Eq. (9), where WMUCA <sup>{m}</sup> <sup>(E)</sup> <sup>is</sup> <sup>replaced</sup> <sup>by</sup> <sup>exp(−βmE)</sup> <sup>with</sup>
temperature Tm (βm = 1/kBTm) for (m = 1, 2, · · · M ).
The REWL method is essentially based on the same weight factors as in MUCAREM, while the WL simulations replace the MUCA simulations for each replica. This simulation is terminated when the modification
factors on all sub-regions attain a certain minimum value ffinal. After a REWL simulation, M pieces of
DOS fragments with overlapping energy intervals are obtained. The fragments need to be connected in order
to determine the final DOS in the entire energy range [Emin, Emax]. The joining point for any two overlapping DOS pieces is chosen where the inverse microcanonical temperature β = d log [g(E )] /dE coincides
best[28, 29].
III. COMPUTATIONAL DETAILS
In order to compare the effectiveness of the REWL-MUCAREM with other methods, we performed simulations of a 2-dimensional Ising model with periodic boundary conditions.
In a square-lattice Ising model, the total energy E is defined by
E = −J
⟨i,j⟩
SiSj, (10)
where i and j are labels for lattice points. J is the magnitude of interaction between neighboring spins. In
this article, J and kB are set to one for simplicity. ⟨i, j⟩ represents pairs of nearest-neighbor spins. Si is the
state of spin on a lattice point i and takes on values of ±1. Beale calculated the exact DOS of the model of
finite sizes[40, 41].
Table I lists the conditions of our simulations. The total number of spins N is L <sup>2</sup>, where L is the length of a
side of the square lattice, The total number of spins considered was N = 64, 256, 1024, 4096, and 16384. One
MC sweep is defined as an evaluation of Metropolis criteria N times. The cost of computations (for example,
the total number of MC sweeps) was set equal. However, we should point out that while the ordinary REWL
algorithm is terminated when the recursion factor f converged to ffinal, but our REWL simulations were
finished after a certain fixed number of flatness evaluations had been made.
5
(A)
2.5
2
1.5
1
0.5
0
2.5
2
1.5
1
0.5
0
(a) EXACT
(b) MUCAREM
8
16
32
64
128
8
16
32
64
128
(B)
0.03 (a) MUCAREM
0
-0.03
-0.06
0.03 (b) REWL
(c) REWL
8
16
32
64
128
(d) REWL-MUCAREM
8
16
32
64
128
(c) REWL-MUCAREM
32*32
64*64
128*128
32*32
64*64
128*128
32*32
64*64
128*128
1 1.5 2 2.5 3 3.5 4 1 1.5 2 2.5 3 3.5 4
0
-0.03
-0.06
0.03
0
-0.03
-0.06
1 1.5 2 2.5 3 3.5 4
T
T
T
FIG. 1. The specific heat. (a) in (A) gives the exact solutions which were calculated by the exact DOS[40, 41]. (b), (c),
and (d) were obtained by simulations with L = 8, 16, 32, 64, and 128 by MUCAREM, REWL, and REWL-MUCAREM,
respectively. (B) shows the differences between the simulation results and exact one, ∆C(T ) = Csim(T ) - CEXACT(T ).
A Marsaglia random number generator was employed and we used the program code on open source[33, 42].
The number of replicas was set equal to L/2. Each replica performed a MUCA simulation in MUCAREM
or a WL simulation in REWL within their energy sub-regions, which had an overlap of about 80 percent
between neighboring sub-regions. In the cases of REWL and REWL-MUCAREM simulations, WL flatness
criterion was tested every 1000 MC sweeps. If the histogram of energy distribution is sufficiently flat at this
time, the WL recursion factor was reduced. Replica exchange was tried every 100 MC sweeps. The cost of
calculation in our simulations was measured by the total number of MC sweeps because we spend most of
computational time to perform MC simulations. With the conditions in Table I, we made n = 25 independent
runs with different initial random number seeds. In this work, we did not iterate the DOS evaluation during
the MUCAREM simulations for simplicity. In the present MUCAREM simulation, the first half of the total
MC sweeps was run with REM and the remaining of the simulation was MUCAREM with the DOS obtained
from the REM simulation. We evaluated the effectiveness of iterations of MUCAREM and WHAM (see
Appendix A). In the REM simulation, M temperature values were evenly distributed between β1 = 1.0 and
βM = 0.01.
IV. RESULTS AND DISCUSSION
The four figures in Figs. 1(A) show the specific heat which was calculated from the estimated DOS
by using the following equation:
T, (11)
C(T ) = <sup>⟨E2⟩T</sup> T <sup>−⟨2</sup> <sup>E⟩2</sup>
where
A(E)g(E)e <sup>−βE</sup>
⟨A⟩T =
E
E
E
, (12)
g(E)e <sup>−βE</sup>
E
6
1.1
1
0.9
1.1
1
0.9
1.1
1
0.9
(a) MUCAREM
(b) REWL
(c) REWL-MUCAREM
-2 -1.5 -1 -0.5 0
E / N
FIG. 2. Mean local flatness G(E) in Eq. (16) (red curves). The total number of spins is N = 32 × 32. G(E) were
obtained from the simulations by (a) MUCAREM, (b) REWL, and (c) REWL-MUCAREM. The error bars (vertical
yellow bars) were obtained by standard error estimation. The best estimated DOS will give G(E) = 1.
and A(E) is any physical quantity that depends on E. The errors were obtained by the standard error
estimation:
, A =
n (n − 1)
. (13)
n
A <sup>{i}</sup>
εA =
n
i=1
�A <sup>{i}</sup> - A
�2
n
i=1
i=1
Here, A <sup>{i}</sup> is obtained from the i-th simulation (i = 1, 2, · · ·, n). Although the exact values of specific heat in
finite sizes were obtained by Ferdinand and Fisher[43], we calculated the exact specific heat in Fig. 1(A)(a)
from the exact DOS, gEXACT(E), of Beale[40, 41] by using Eqs. (11) and (12). We used the Mathematica
code, which is given in [41], for the calculations of gEXACT(E). All the algorithms could reproduce the exact
solutions very well.
The differences between exact values and simulation results are shown in Fig. 1(B). Note that |∆C(T )|
takes maximum values around the phase transition temperature Tc = 2/ log(1+ √2) ≃ 2.269 in each method.
√
takes maximum values around the phase transition temperature Tc = 2/ log(1+ √2) ≃ 2.269 in each method.
The results imply that the results of the three methods agree with the exact ones in the order of REWLMUCAREM, REWL, and MUCAREM. It means that REWL-MUCAREM could get more accurate DOS
than the other two methods.
In order to directly compare the accuracy of DOS among the three methods, we show the mean local
7
1
0.95
0.9
0.85
0.8
0.75
MUCAREM
REWL
REWL-MUCAREM
100 1000 10000
N (log scale)
FIG. 3. Global flatness F defined in Eq. (15) as a function of the total number of spins, N . If gsim <sup>{i}</sup> <sup>(E)</sup> <sup>is</sup> <sup>equal</sup> <sup>to</sup>
gEXACT(E) in the entire energy range, F takes a value one.
flatness G(E) in Fig. 2 for the system of N = 32 × 32, where
G(E) = <sup>1</sup>
n
n
i=1
i=1
G <sup>{i}</sup> (E),
(14)
gsim <sup>{i}</sup>
G <sup>{i}</sup> (E) = g
gsim <sup>{i}</sup> <sup>(E)</sup>
gEXACT(E) <sup>.</sup>
Here, gsim <sup>{i}</sup>
Here, gsim <sup>{i}</sup> <sup>is</sup> <sup>the</sup> <sup>DOS</sup> <sup>estimated</sup> <sup>from</sup> <sup>the</sup> <sup>i-th</sup> <sup>simulation</sup> <sup>(i = 1, 2, · · ·</sup> <sup>, n).</sup> <sup>We</sup> <sup>matched</sup> <sup>log gEXACT(E)</sup> <sup>and</sup>
log gsim <sup>{i}</sup> <sup>(E)</sup> <sup>at</sup> <sup>E/N</sup> <sup>=</sup> <sup>−0.5.</sup> <sup>If</sup> <sup>g</sup> sim <sup>{i}</sup> <sup>(E)</sup> <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>gEXACT(E),</sup> <sup>G{i}(E)</sup> <sup>becomes</sup> <sup>flat</sup> <sup>(=</sup> <sup>1)</sup> <sup>ideally</sup> <sup>in</sup> <sup>the</sup>
sim <sup>{i}</sup> <sup>(E)</sup> <sup>at</sup> <sup>E/N</sup> <sup>=</sup> <sup>−0.5.</sup> <sup>If</sup> <sup>g</sup> sim <sup>{i}</sup>
log gsim <sup>{i}</sup> <sup>(E)</sup> <sup>at</sup> <sup>E/N</sup> <sup>=</sup> <sup>−0.5.</sup> <sup>If</sup> <sup>g</sup> sim <sup>{i}</sup> <sup>(E)</sup> <sup>is</sup> <sup>equal</sup> <sup>to</sup> <sup>gEXACT(E),</sup> <sup>G{i}(E)</sup> <sup>becomes</sup> <sup>flat</sup> <sup>(=</sup> <sup>1)</sup> <sup>ideally</sup> <sup>in</sup> <sup>the</sup>
entire energy range. The red curves and the yellow vertical bars in Fig. 2 are the values of G(E) and the error
bars, respectively. The errors were also estimated by the standard error estimation. The difference between
red curve and black base line became large at lower energy region. The tendency became stronger in larger
systems, where the phase transition became stronger (see Fig 1). Because the error bars are the smallest
at lower energy region among the three methods, REWL-MUCAREM could obtain more precise DOS than
REWL and MUCAREM.
In order to examine the accuracy of DOS further, we define the degree of global flatness F by the following
formula:
F ≡ G <sup>G</sup> max <sup>min</sup>
, (15)
where Gmin is the minimum value of G(E) over the entire energy range and Gmax is the maximum one. F
takes on values between 0 and 1. The closer the calculated gsim <sup>{i}</sup> <sup>(E)</sup> <sup>is</sup> <sup>to</sup> <sup>gEXACT(E)</sup> <sup>globally,</sup> <sup>the</sup> <sup>closer</sup> <sup>F</sup> <sup>is</sup>
to 1. Fig. 3 shows the measured flatness F . As a measure of errors, we define the minimum value of F and
8
maximum one by
2
Fmin = <sup>Gmin −</sup> <sup>1</sup>
Gmax + 2 <sup>1</sup>
Fmax = <sup>Gmin +</sup> 22 <sup>1</sup>
<sup>1</sup>
2 <sup>1</sup> <sup>ε(Eglmax)</sup> <sup>,</sup>
E
<sup>Gmin −</sup> <sup>1</sup> 2 <sup>ε(Eglmin)</sup>
Gmax + 2 <sup>1</sup> <sup>ε(Eglmax)</sup>
<sup>Gmin +</sup> 2 <sup>1</sup> <sup>ε(Eglmin)</sup>
2 <sup>ε(Eglmax)</sup>
Gmax − <sup>1</sup>
(16)
2 <sup>1</sup> <sup>ε(Eglmin)</sup>
2 <sup>ε(Eglmax)</sup> <sup>.</sup>
<sup>1</sup>
Here, ε(E) is the standard error of G(E), and Eglmin and Eglmax are the energy values where Gmin and Gmax
are obtained, respectively. It is obvious that the value deteriorates as the size of system gets larger. This
means that it was difficult to estimate the DOS of large systems because of the large degrees of freedom. We
needed more samples in order to obtain DOS for larger systems. We could not find much differences among
the three methods up to N = 16 × 16. One bad data was founded in MUCAREM for the size of N = 32 × 32,
and it made the error bar larger than the other methods. If we consider the system larger than N = 32 × 32,
REWL-MUCAREM gave the best results among the three methods.
In the present implementation of MUCAREM, we performed two multiple-histogram reweighting (WHAM)
operations: one after the REM simulation in the first half of the run and second after the MUCAREM simulation in the second half of the run. Although a second WHAM operation converges quickly, the calculation cost
of the first WHAM operation can become non-negligible in large systems. The REWL-MUCAREM uses only
the second WHAM and this WHAM converges even more quickly than in MUCAREM, because a good estimate of DOS is already prepared by the preceding REWL simulation. Hence, REWL first and MUCAREM
second is the order that we want to adopt in REWL-MUCAREM. Note also that in REWL-MUCAREM, we
do not need the piece-connecting process of DOS required in REWL, because WHAM automatically gives
DOS in the entire energy range of interest.
V. CONCLUSIONS
In this article, we investigated an effective simulation protocol to estimate the density of states with highest
accuracy. We proposed REWL-MUCAREM that combines the advantages of REWL and MUCAREM, where
REWL is performed first and MUCAREM is performed next. This protocol was compared with existing two
methods in a square-lattice Ising model, and the results showed that REWL-MUCAREM gave the most
accurate density of states.
REWL-MUCAREM is effective with other systems and it can be extended to the MD simulation, because
MUCA MD [44, 45] and WL MD [46] have already been developed. We have already calculated the residual
entropy of Ice Ih [47] and we applied the protocol to helix-coil transitions of homo-polymers [48]. The previews of these results are given in Appendix B. REWL-MUCAREM MD simulations of protein folding are
now under way. We remark that there is an article which says that improvements can be transfered between
MC and MD broad histogram methods [30]. The protocol of REWL-MUCAREM is easy to implement and
it can give more reliable results.
Acknowledgements:
Some of the computations were performed on the supercomputers at the Supercomputer Center, Institute
for Solid State Physics, University of Tokyo.
Appendix A: Optimization of Conditions in MUCAREM
We would like to discuss the optimization conditions in MUCAREM in order to obtain more accurate
DOS in REWL-MUCAREM. We performed two more MUCAREM simulations with different conditions.
Table A-I lists the conditions of the additional simulations (MUCAREM2 and MUCAREM3) together with
the first MUCAREM in Table I (which is now referred to as MUCAREM1). The major differences of the
additional MUCAREM simulations from the previous MUCAREM simulation lies in the following: number
of MC sweeps for REM and MUCAREM, number of replicas used for REM, and number of iterations of
MUCAREM. In the additional MUCAREM simulations, the 10 % of the total MC sweeps was run with
9
TABLE A-I. Conditions of MUCAREM simulations.
Methods Number of spins MUCAREM Number of replicas Number of MC sweeps Total MC sweeps
N iterations per replica
REM MUCAREM REM MUCAREM
MUCAREM1 64 1 4 4 100 000 100 000 200 000 × 4
256 8 8 100 000 100 000 200 000 × 8
1024 16 16 100 000 100 000 200 000 × 16
4096 32 32 250 000 250 000 500 000 × 32
16384 64 64 1 500 000 1 500 000 3 000 000 × 64
MUCAREM2 64 1 8 4 10 000 180 000 200 000 × 4
256 16 8 10 000 180 000 200 000 × 8
1024 32 16 10 000 180 000 200 000 × 16
4096 64 32 25 000 450 000 500 000 × 32
16384 128 64 150 000 2 700 000 3 000 000 × 64
MUCAREM3 64 2 8 4 10 000 90 000 200 000 × 4
256 16 8 10 000 90 000 200 000 × 8
1024 32 16 10 000 90 000 200 000 × 16
4096 64 32 25 000 225 000 500 000 × 32
16384 128 64 150 000 1 350 000 3 000 000 × 64
REM and the remaining 90 % of the simulation was MUCAREM with the DOS obtained from the preceding
REM simulation. In REM simulations in MUCAREM2 and MUCAREM3, replica exchange was proposed
every 10 MC sweeps. On the other hand, in MUCAREM in MUCAREM2 and MUCAREM3, replica exchange
was proposed every 100 MC sweeps.
It is often said that the DOS obtained by MUCAREM simulations becomes better by iterating MUCAREM
and WHAM reweighting[20]. We iterated MUCAREM simulations once for MUCAREM3. It should be
mentioned that because we obtained clearly wrong DOS, we performed one extra run for each system N =
32 × 32 and N = 128 × 128 in MUCAREM2, and simply discarded these apparently bad runs. (We did
not find a bad run in REWL and REWL-MUCAREM simulations.) We think the problem came from the
difficulty of uniformly sampling over a wide energy range in REM. The rough DOS obtained from the first
REM was not good and the inaccuracy had a bad influence to the sampling of the following MUCAREM.
Giving apparently wrong results suggests that MUCAREM simulations are unstable comparing to REWL
and REWL-MUCAREM simulations, which implies that the total number of MC sweeps and/or the number
of runs n should be longer for MUCAREM simulations to conclude with confidence.
Fig. A1 shows the global flatness F in Eq. (15). Although there are little differences in F among the
three MUCAREM simulations up to the system N = 64 × 64, we found a large difference in the system
N = 128 × 128. MUCAREM3 could obtain a good estimate of DOS compared with MUCAREM1 and
MUCAREM2. It implies that the DOS became better by iterating MUCAREM simulations rather than by
using more sampling obtained from a single, long run of MUCAREM. The error bar for the system N = 64×64
is large if it was compared to other size of systems in MUCAREM3. We found a bad result from one run
out of the 25 runs, which made the error bar larger. These again suggest that MUCAREM simulations
are unstable compared to REWL and REWL-MUCAREM simulations. Note that the estimation of DOS
under the conditions of MUCAREM3 for N = 128 × 128 is even better than that of REWL-MUCAREM in
Fig. 3, although MUCAREM seems to be unstable. We expect that REWL-MUCAREM could remove the
instability of MUCAREM and it would give better DOS if its MUCAREM simulation in REWL-MUCAREM
was also iterated.
We can obtain good estimate of DOS under appropriate conditions and the DOS becomes more accurate
by iterating the MUCAREM and WHAM reweighting operations. Although the most suitable conditions
will depend on systems and methods, the combination of REWL and MUCAREM can give accurate DOS
without worrying about bad data.
10
1
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
MUCAREM1
<u>M �������</u>
��
100 1000 10000
N (log scale)
FIG. A1. Global flatness F defined in Eq. (15) as a function of the total number of spins, N .@The error bars of
MUCAREM3 except for N = 64 × 64 were sufficiently small compared to the symbols.
Appendix B: Applications of REWL-MUCAREM
We applied the REWL-MUCAREM MC protocol to two characteristic systems, Ice Ih and biopolymer. In
this Appendix, we show some preliminary results.
The first example is the estimation of the residual entropy of Ice Ih by REWL-MUCAREM [47]. According
to Pauling’s theory, the residual entropy is obtained from the degrees of freedom of orientations of water
molecules which are observed in the groundstate [49]. Two simple Potts-like models, which are referred to
as the 2-site model and 6-state model, with nearest-neighbor interactions on three-dimensional hexagonal
lattice were introduced and the residual entropy was estimated by a MUCA simulation [39]. We applied our
protocol to the 2-site model for obtaining the residual entropy with high accuracy. The final estimation of
the residual entropy is estimated by extrapolation, taking the thermodynamic limit.
The estimations of the degrees of freedom of orientations of one water molecule W1(1/N ) are shown in
Fig. B1(a). Here, N stands for the total number of water molecules of the system. The relationship between
the degrees of freedom W1(1/N ) and the residual entropy S1(1/N ) is given by
. (B1)
S1
= kB log W1
N
- 1
N
- 1
In Fig. B1(a), three data points (N = 1600, 2880, 4704) are plotted. It was not possible to obtain the value
for N = 4704 by the previous MUCA simulations [39, 50], and we needed the REWL-MUCAREM to obtain
this new value. A fit (the green curve in Fig B1(a)) for the data to the form
(B2)
�θ
N
- 1
W1
= W0 + a1
N
- 1
is shown. Here, W0, a1 and θ are fitting parameters and W0 converts to the final estimation of the residual
entropy S0 in the thermodynamical limit (N →∞).
Our final estimation of W0 is [47]
and the final residual entropy S0 is
11
W0 = 1.507480 ± 0.000048, (B3)
S0 = 0.815627 ± 0.000039 [cal/deg mole] . (B4)
These results agree well with the other results in [51, 52], which were estimated by other simulation methods.
(a)
1.5100
1.5095
1.5090
1.5085
New data
1.5080
1.5075
1.5070
0 0.00025 0.0005 0.00075 0.001
1/N
(b)
8
6
4
2
Temperature [K]
0
100 200 300 400 500 600 700 700
0
100 200 300 400 500 600 700 700
FIG. B1. (a) The number of degrees of orientation per water molecule W1 as a function of the number of total water
molecules. The purple data points correspond to N = 1600, 2880, 4704. The green fit curve was estimated by Eq. (B2).
(b) The temperature dependence of average helix length of deca-alanine. Deca-alanine takes a coil structure at high
temperatures (see the right structure) and takes an α-helix structure at low temperatures (see the left structure).
Another example is a folding simulation of a simple biopolymer [48]. In order to examine the effectiveness
of our protocol for protein folding simulation, we studied the helix-coil transition of a deca-alanine (which is
a helix former) with AMBER99/GBSA force field. REWL-MUCAREM MC protocol was employed and the
dihedral angles between residues were updated by the Metropolis criterion during simulations.
The temperature dependence of the average helix length of deca-alanine is shown in Fig. B1(b). Because
the structures of the terminal residues are frayed, the maximum helix length is 8. The deca-alanine is in a
coil state above the transition temperature of Tc ≈ 350 K and in a helix state below Tc. Folding simulations
of larger and more complex proteins are under way [48].
[1] G. M. Torrie and J. P. Valleau, J. Comput. Phys. 23, 187 (1977).
[2] B. A. Berg and T. Neuhaus, Phys. Lett. B 267, 249 (1991).
[3] B. A. Berg and T. Neuhaus, Phys. Rev. Lett. 68, 9 (1992).
[4] W. Janke, Physica A 254, 164 (1998).
[5] A. P. Lyubartsev, A. A. Martinovski, S. V. Shevkunov, and P. N. Vorontsov-Velyaminov, J. Chem. Phys. 96,
1776 (1992).
[6] E. Marinari and G. Parisi, Europhys. Lett. 19, 451 (1992).
[7] A. Irb¨ack and F. Potthast, J. Chem. Phys. 103, 10298 (1995).
[8] K. Hukushima and K. Nemoto, J. Phys. Soc. Jpn. 65, 1604 (1996).
[9] C. J. Geyer, in Computing Science and Statistics: Proceedings of the 23rd Symposium on the Interface, E. M.
Keramidas (ed.), (Interface Foundation, Fairfax Station, 1991) pp. 156-163.
[10] U. H. E. Hansmann, Chem. Phys. Lett. 281, 140, (1997).
[11] Y. Sugita and Y. Okamoto, Chem. Phys. Lett. 314, 141 (1999).
[12] F. Wang and D. P. Landau, Phys. Rev. Lett. 86, 2050 (2001).
12
[13] F. Wang and D. P. Landau, Phys. Rev. E 64, 056101 (2001).
[14] A. Laio and M. Parrinello, Proc. Natl. Acad. Sci. USA 99, 12562 (2002).
[15] T. Huber, A. E. Torda, W. F. van Gunsteren, J. Comp. Aid. Mol. Des. 8, 695 (1994).
[16] H. Gr¨ubmuller, Phys. Rev. E 52, 2893 (1995).
[17] Y. Sugita, A. Kitao, and Y. Okamoto, J. Chem. Phys. 113, 6042 (2000).
[18] Y. Sugita and Y. Okamoto, Chem. Phys. Lett. 329, 261 (2000).
[19] A. Mitsutake, Y. Sugita, and Y. Okamoto, J. Chem. Phys. 118, 6664 (2003).
[20] A. Mitsutake, Y. Sugita, and Y. Okamoto, J. Chem. Phys. 118, 6676 (2003).
[21] K. Hukushima and Y. Iba, AIP Conf. Proc. 690, 200 (2003).
[22] J. Kim, J. E. Straub, and T. Keyes, Phys. Rev. Lett. 97, 050601 (2006).
[23] H. Okumura and Y. Okamoto, J. Comput. Chem. 27, 379 (2006).
[24] R. E. Belardinelli, S. Manzi and V. D. Pereyra, Phys. Rev. E 75, 067701 (2008).
[25] A. Mitsutake and Y. Okamoto, J. Chem. Phys. 130, 214105 (2009).
[26] Y. Mori and Y. Okamoto, J. Phys. Soc. Jpn. 79, 074003 (2010).
[27] J. Kim, J. E. Straub, and T. Keyes, J. Phys. Chem. B 116, 8646 (2012).
[28] T. Vogel, Y. W. Li, T. W¨ust, and D. P. Landau, Phys. Rev. Lett. 110, 210603 (2013).
[29] T. Vogel, Y. W. Li, T. W¨ust, and D. P. Landau, Phys. Rev. E 90, 023302 (2014).
[30] C. Junghans, D. Perez, and T. Vogel, J. Chem. Theory Comput. 10, 1843 (2014).
[31] F. Ya¸sar, N. A. Bernhardt, and U. H. E. Hansmann, J. Chem. Phys. 143, 224102 (2015).
[32] Y. Okamoto, Mol. Sim. 38, 1282 (2012).
[33] B. A. Berg, Markov Chain Monte Carlo Simulation and Their Statistical Analysis (World Scientific, Singapore,
2004).
[34] A. M. Ferrenberg and R. H. Swendsen, Phys. Rev. Lett. 61, 2635 (1988).
[35] E. Marinari, G. Parisi, and J. J. Ruiz-Lorenzo, in Spin Glasses and Random Fields, A. P. Young (ed.) (World
Scientific, Singapore, 1997) pp. 59-98.
[36] R. H. Swendsen and J. S. Wang, Phys. Rev. Lett. 57, 2607 (1986).
[37] A. M. Ferrenberg and R. H. Swendsen, Phys. Rev. Lett. 63, 1195 (1989).
[38] S. Kumar, J. M. Rosenberg, D. Bouzida, R. H. Swendsen, and P. A. Kollman, J. Comput. Chem. 13, 1011 (1992).
[39] B. A. Berg, C. Muguruma, and Y. Okamoto, Phys. Rev. B 75, 092202 (2007).
[40] P. D. Beale, Phys. Rev. Lett. 76, 78 (1996).
[41] [http://spot.colorado.edu/˜beale/](http://spot.colorado.edu/~beale/)
[42] G. Marsaglia, A. Zaman, and W. W. Tsang, Stat. Prob. Lett. 8, 35 (1990).
[43] A. E. Ferdinand and M. E. Fisher, Phys. Rev. 185, 832 (1969).
[44] U. H. E. Hansmann, Y. Okamoto, and F. Eisenmenger, Chem. Phys. Lett. 259, 321 (1996).
[45] N. Nakajima, H. Nakamura, and A. Kidera, J. Phys. Chem. B 101, 817 (1997).
[46] T. Nagasima, A. R. Kinjo, T. Mitsui, and K. Nishikawa, Phys. Rev. E 75, 066706 (2007).
[47] T. Hayashi, C. Muguruma, and Y. Okamoto, manuscript in preparation.
[48] T. Hayashi and Y. Okamoto, manuscript in preparation.
[49] L. Pauling, J. Am. Chem. Soc. 57, 2680 (1935).
[50] B. A. Berg, C. Muguruma, and Y. Okamoto, Mol. Sim. 38, 856 (2012).
[51] J. Kolafa, J. Chem. Phys., 140, 204507 (2014).
[52] L. Vanderstraeten, B. Vanhecke, and F. Verstraete, Phys. Rev. E. 98, 042145 (2018).
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.