<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Phys.</journal-id>
<journal-title>Frontiers in Physics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Phys.</abbrev-journal-title>
<issn pub-type="epub">2296-424X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">782156</article-id>
<article-id pub-id-type="doi">10.3389/fphy.2021.782156</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Nonreversible Markov Chain Monte Carlo Algorithm for Efficient Generation of Self-Avoiding Walks</article-title>
<alt-title alt-title-type="left-running-head">Zhao and Vucelja</alt-title>
<alt-title alt-title-type="right-running-head">Nonreversible MCMC for Self-Avoiding Walks</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Zhao</surname>
<given-names>Hanqing</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/1613373/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Vucelja</surname>
<given-names>Marija</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1489860/overview"/>
</contrib>
</contrib-group>
<aff>
<institution>Department of Physics, University of Virginia</institution>, <addr-line>Charlottesville</addr-line>, <addr-line>VA</addr-line>, <country>United&#x20;States</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/94317/overview">Nuno A. M. Ara&#xfa;jo</ext-link>, University of Lisbon, Portugal</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/94536/overview">Andre Auto Moreira</ext-link>, Federal University of Ceara, Brazil</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1054535/overview">Rui A. da Costa</ext-link>, University of Aveiro, Portugal</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Marija Vucelja, <email>mvucelja@virginia.edu</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Mathematical and Statistical Physics, a section of the journal Frontiers in Physics</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>10</day>
<month>01</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>9</volume>
<elocation-id>782156</elocation-id>
<history>
<date date-type="received">
<day>23</day>
<month>09</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>10</day>
<month>12</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Zhao and Vucelja.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Zhao and Vucelja</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these&#x20;terms.</p>
</license>
</permissions>
<abstract>
<p>We introduce an efficient nonreversible Markov chain Monte Carlo algorithm to generate self-avoiding walks with a variable endpoint. In two dimensions, the new algorithm slightly outperforms the <italic>two-move nonreversible Berretti-Sokal algorithm</italic> introduced by H. Hu, X. Chen, and Y. Deng, while for three-dimensional walks, it is 3&#x2013;5&#x20;times faster. The new algorithm introduces nonreversible Markov chains that obey global balance and allow for three types of elementary moves on the existing self-avoiding walk: shorten, extend or alter conformation without changing the length of the&#x20;walk.</p>
</abstract>
<kwd-group>
<kwd>nonreversible Markov chain Monte Carlo</kwd>
<kwd>Markov chain</kwd>
<kwd>Monte Carlo</kwd>
<kwd>self-avoiding walk</kwd>
<kwd>efficient sampling</kwd>
</kwd-group>
<contract-num rid="cn001">1944539</contract-num>
<contract-sponsor id="cn001">National Science Foundation<named-content content-type="fundref-id">10.13039/100000001</named-content>
</contract-sponsor>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>A Self-Avoiding Walk (SAW) is defined as a contiguous sequence of moves on a lattice that does not cross itself; it does not visit the same point more than once. SAWs are fractals with fractal dimension 4/3 in two dimensions, close to 5/3 in three dimensions, and two in dimensions above four [<xref ref-type="bibr" rid="B2">2</xref>, <xref ref-type="bibr" rid="B3">3</xref>]. In particular two-dimensional SAWs are conjectured to be the scaling limit of a family of random planar curves given by the Schramm-Loewner evolution with parameter <italic>&#x3ba;</italic> &#x3d; 8/3 [<xref ref-type="bibr" rid="B4">4</xref>]. Since their introduction, SAWs have been used to model linear polymers [<xref ref-type="bibr" rid="B5">5</xref>&#x2013;<xref ref-type="bibr" rid="B7">7</xref>]. They are essential for studies of polymer enumeration where scaling theory, numerical approaches, and field theory are too hard to analyse [<xref ref-type="bibr" rid="B8">8</xref>, <xref ref-type="bibr" rid="B9">9</xref>]. SAWs are also used in the numerical studies of finite-scaling [<xref ref-type="bibr" rid="B10">10</xref>] and two-point functions [<xref ref-type="bibr" rid="B11">11</xref>] of Ising model and <italic>n</italic>&#x20;&#x2212; vector spin model [<xref ref-type="bibr" rid="B12">12</xref>]. Analytical results on SAWs are scarce, and generating long SAWs is computationally complex.</p>
<p>Typically one uses Monte Carlo approaches [<xref ref-type="bibr" rid="B13">13</xref>, <xref ref-type="bibr" rid="B14">14</xref>] to generate SAWs numerically. Many previous Markov chain Monte Carlo (MCMC) algorithms have been designed to efficiently produce different kinds of SAWs by manipulating potential constructions that can be executed on a walk to increase, decrease its length, or change its conformation. For example, the pivot algorithm samples fixed-length SAWs&#x2014;it alters the walk&#x2019;s shape without changing its length [<xref ref-type="bibr" rid="B15">15</xref>]. While the Berretti-Sokal algorithm and BFACF algorithm contain length-changing moves and can generate walks with varying lengths [<xref ref-type="bibr" rid="B16">16</xref>,&#x20;<xref ref-type="bibr" rid="B17">17</xref>].</p>
<p>The above described MCMC algorithms satisfy the detailed balance condition&#x2014;which states that the weighted probabilities of transitions between states are equal. In other words, these algorithms use reversible Markov chains. The reversibility introduces a diffusion-like behavior in the space of states. In recent years, there has been progress in designing nonreversible Markov chains that converge to the correct target distribution. Such chains due to &#x201c;inertia&#x201d; reduce the diffusive behavior, sometimes leading to better convergence and mixing properties compared to the reversible chains [<xref ref-type="bibr" rid="B18">18</xref>&#x2013;<xref ref-type="bibr" rid="B25">25</xref>].</p>
<p>As for SAW, H. Hu, X. Chen, and Y. Deng modified the Berretti-Sokal algorithm to allow for nonreversible Markov chains [<xref ref-type="bibr" rid="B1">1</xref>]. This modification yields about a ten times faster convergence than the original Berretti-Sokal algorithm in two dimensions and is even more superior in higher dimensions. Both the original and the modified Berretti-Sokal algorithm have two elementary moves&#x2014;to shorten or extend the SAW. Building upon these algorithms, we add another move&#x2014;to alter the conformation of SAW and introduce a three-move nonreversible MCMC technique to create SAWs. We discuss the advantages of this approach and compare the two nonreversible algorithms. The three types of moves correspond to three types of &#x201c;atmospheres&#x201d;; therefore, we start below by defining an atmosphere.</p>
</sec>
<sec id="s2">
<title>2 The Atmospheres</title>
<p>The algorithms creating SAWs usually manipulate different kinds of proposed moves, often referred to as <italic>atmospheres</italic> [<xref ref-type="bibr" rid="B26">26</xref>&#x2013;<xref ref-type="bibr" rid="B29">29</xref>]. Atmospheres can be described as potential constructions that can be executed on a given walk to increase or decrease the current length or change the conformation. When generating SAWs, the algorithm usually performs moves on either endpoint atmospheres or generalized atmospheres where <italic>positive</italic> and <italic>negative</italic> atmospheres are generally defined as ways of adding or removing a fixed number of edges to the current walk. In contrast, <italic>neutral</italic> moves are ways of altering the walk&#x2019;s shape without changing its length. For instance, the pivot algorithm, which only acts on neutral atmospheres, can be used to sample fixed-length walks [<xref ref-type="bibr" rid="B15">15</xref>]. In contrast, the Berretti-Sokal algorithm and BFACF algorithm contain length-changing atmospheric moves and can generate walks of different lengths [<xref ref-type="bibr" rid="B16">16</xref>,&#x20;<xref ref-type="bibr" rid="B17">17</xref>].</p>
<p>Suppose <italic>s</italic> is the current SAW starting from the origin with length &#x7c;<italic>s</italic>&#x7c; and its last vertex is <italic>v</italic>. The positive endpoint atmospheres are the lattice edges incident with the last vertex, which can be occupied to extend the length by one. The negative endpoint atmosphere is just the last occupied edge since removing it can extract the length by one. The neutral endpoint atmospheres are edges that can be occupied by changing the direction of the vertex <italic>v</italic>. For any SAW with a non-zero length, the number of negative endpoint atmospheres is one. If the SAW has zero length, the number of negative endpoint atmospheres is set to zero, as the length can not be further reduced.</p>
<p>
<xref ref-type="fig" rid="F1">Figure&#x20;1</xref> shows a SAW with a length equal to four. In this example, three unoccupied edges are incident with the last vertex; they are shown in red on the graph, making three positive ending atmospheres. As we see from the last occupied edge (black arrow), there is just one negative endpoint atmosphere. There are two neutral endpoint atmospheres, and the corresponding edges are displayed with green arrows.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>The endpoint atmospheres on a self-avoiding walk of length &#x7c;<italic>s</italic>&#x7c; &#x3d; 4. For this self-avoiding walk, there are three positive ending atmospheres (red arrows) and one endpoint atmosphere, which is the last occupied edge (black arrow), and the number of neutral endpoint atmospheres is two (green arrows).</p>
</caption>
<graphic xlink:href="fphy-09-782156-g001.tif"/>
</fig>
<p>Three types of elementary moves in the algorithm executing the endpoint atmospheres correspond to the three kinds of endpoint atmospheres. Here we call a <italic>positive move</italic> the one to be performed on a positive endpoint atmosphere, resulting in occupying one empty edge incident with the last vertex. Similarly, a <italic>negative move</italic> implies executing on the negative endpoint atmosphere, that is, deleting the last occupied edge. Finally, the <italic>neutral move</italic> is changing the direction of the last occupied edge. The three kinds of moves&#x2019; for the SAW in <xref ref-type="fig" rid="F1">Figure&#x20;1</xref> are illustrated in <xref ref-type="fig" rid="F2">Figure&#x20;2</xref>.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Possible self-avoiding walks after executing one move on the self-avoiding walk shown in <xref ref-type="fig" rid="F1">Figure&#x20;1</xref>.</p>
</caption>
<graphic xlink:href="fphy-09-782156-g002.tif"/>
</fig>
</sec>
<sec id="s3">
<title>3 The Berretti-Sokal Algorithm</title>
<p>The balance condition is one of the most important factors in designing an MCMC algorithm since it ensures that the Markov chain will converge to a target distribution. The balance condition for most MCMCs is the so-called Detailed Balance Condition (DBC)<disp-formula id="e1">
<mml:math id="m1">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(1)</label>
</disp-formula>where <italic>P</italic>
<sub>
<italic>ij</italic>
</sub> is the transition probability from state <italic>j</italic> to state <italic>i</italic>, &#x3a9; is the space of states, and <italic>&#x3c0;</italic> is the stationary distribution, see e.g., [<xref ref-type="bibr" rid="B21">21</xref>, <xref ref-type="bibr" rid="B30">30</xref>]. Detailed balance is a local condition and thus easy to implement. However, for a Markov chain to asymptotically converge to a stationary distribution <italic>&#x3c0;</italic>, all we need is a weaker condition&#x2014;the Global Balance Condition (GBC):<disp-formula id="e2">
<mml:math id="m2">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi>&#x3c0;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="1em"/>
<mml:mo>&#x2200;</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
<label>(2)</label>
</disp-formula>where &#x3a9; is a space of states. The GBC physically means that the total probability influx at a state equals the total probability efflux from that state [<xref ref-type="bibr" rid="B13">13</xref>,&#x20;<xref ref-type="bibr" rid="B20">20</xref>].</p>
<p>Note that the probability distribution of a SAW of length &#x7c;<italic>s</italic>&#x7c; is<disp-formula id="e3">
<mml:math id="m3">
<mml:mi>&#x3c0;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:math>
<label>(3)</label>
</disp-formula>where <italic>x</italic> is the weight of a unit step. This is what we want the Markov chain target distribution to&#x20;be.</p>
<p>One of the most famous reversible MCMC algorithms that&#x20;manipulate the endpoint atmospheres is the Berretti-Sokal algorithm [<xref ref-type="bibr" rid="B16">16</xref>]. The Berretti-Sokal algorithm only considers the positive and negative endpoint atmospheres and thus has two elementary moves: the increasing and the decreasing move. In this paper, we are using a Metropolis-Hastings style [<xref ref-type="bibr" rid="B31">31</xref>, <xref ref-type="bibr" rid="B32">32</xref>] implementation of the Berretti-Sokal algorithm. It works as follows:<list list-type="simple">
<list-item>
<p>1) Suppose the current length of a SAW is given by <italic>N</italic>. With equal probability, the algorithm chooses the increasing move or the decreasing&#x20;move.</p>
</list-item>
<list-item>
<p>2) If the increasing move is selected, with probability <italic>P</italic>
<sub>&#x2b;</sub> one of the empty edges incident with <italic>v</italic>
<sub>
<italic>N</italic>
</sub>, the last vertex, will be occupied randomly when this leads to a valid SAW of <italic>N</italic>&#x20;&#x2b; 1 steps. Similarly, for the decreasing move, the last occupied edge is deleted with probability <italic>P</italic>
<sub>&#x2212;</sub>. The two probabilities are given&#x20;by</p>
</list-item>
</list>
<disp-formula id="e4">
<mml:math id="m4">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="{" close="}">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>x</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(4)</label>
</disp-formula>
<disp-formula id="e5">
<mml:math id="m5">
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="{" close="}">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(5)</label>
</disp-formula>where <italic>z</italic> is the coordination number of the system, i.e.,&#x20;the number of lattice points neighboring a vertex on the lattice.</p>
<p>Special attention is needed for the &#x201c;null&#x201d; walk, &#x7c;<italic>s</italic>&#x7c; &#x3d; 0, in such case only an increasing mode is allowed and the number of empty edges is <italic>z</italic>, rather than <italic>z</italic>&#x20;&#x2212; 1. For simplicity we permanently set <italic>P</italic>
<sub>&#x2b;</sub> &#x3d; min{1, <italic>x</italic> (<italic>z</italic>&#x20;&#x2212;&#x20;1)}.</p>
<p>To prove that the DBC holds in the Berretti-Sokal algorithm, let us for example consider the case where <italic>x</italic> (<italic>z</italic>&#x20;&#x2212; 1) &#x3c; 1. From <xref ref-type="disp-formula" rid="e4">Eqs. 4</xref>, <xref ref-type="disp-formula" rid="e5">5</xref> we conclude that the choice implies <italic>P</italic>
<sub>&#x2b;</sub> &#x3c; 1 and <italic>P</italic>
<sub>&#x2212;</sub> &#x3d; 1. Thus we have <italic>x</italic>
<sup>&#x7c;<italic>s</italic>&#x7c;</sup>
<italic>P</italic>
<sub>&#x2b;</sub>(<italic>z</italic>&#x20;&#x2212; 1)<sup>&#x2212;1</sup> &#x3d; <italic>x</italic>
<sup>&#x7c;<italic>s</italic>&#x2b;1&#x7c;</sup> &#x3d; <italic>x</italic>
<sup>&#x7c;<italic>s</italic>&#x2b;1&#x7c;</sup>
<italic>P</italic>
<sub>&#x2212;</sub>, which satisfies the DBC, given in <xref ref-type="disp-formula" rid="e1">Eq. 1</xref>. The proof is analogous in the case <italic>x</italic> (<italic>z</italic>&#x20;&#x2212; 1) &#x3e;&#x20;1.</p>
</sec>
<sec id="s4">
<title>4 Nonreversible Berretti-Sokal Algorithms</title>
<p>One possible way to set up a nonreversible algorithm is to increase the phase space by introducing replicas [<xref ref-type="bibr" rid="B1">1</xref>, <xref ref-type="bibr" rid="B20">20</xref>, <xref ref-type="bibr" rid="B21">21</xref>] and work on the extended space with nonzero probability fluxes. Here we follow an analogous approach. As mentioned above, there has been a successful <italic>two-move nonreversible Berretti-Sokal algorithm</italic> [<xref ref-type="bibr" rid="B1">1</xref>]. The authors achieved an important improvement in the speed of the algorithm. The speedup is about tenfold in two-dimensional systems and is even more pronounced in higher-dimensional systems. They set up two modes in the algorithm, which we call the increasing mode and the decreasing&#x20;mode.</p>
<sec id="s4-1">
<title>4.1&#x20;Three-Move Nonreversible Berretti-Sokal Algorithm</title>
<p>The new algorithm has a third type of move&#x2014;besides shortening and extending the SAW, we also allow the SAW to change its conformation. Namely, in the increasing mode, the algorithm can perform either an increasing move or a neutral move; in this mode, the decreasing move is not allowed. Analogously, in the decreasing mode, the algorithm will only execute either a decreasing move or a neutral move. A diagram describing the algorithm is shown in <xref ref-type="fig" rid="F3">Figure&#x20;3</xref>. It works as follows:<list list-type="simple">
<list-item>
<p>1) In the increasing mode, with equal probability, perform either the <italic>positive move</italic> or the <italic>neutral move</italic>. For the <italic>positive move</italic>,&#x20;the algorithm will randomly occupy one of the empty edges incident to the last vertex with probability <italic>P</italic>
<sub>&#x2b;</sub>. While for the <italic>neutral move</italic>, the algorithm will change the direction of its last occupied edge randomly. If the chosen move does not lead to a valid SAW, the algorithm will change to the decreasing&#x20;mode.</p>
</list-item>
<list-item>
<p>2) In the decreasing mode, with equal probability, perform either the <italic>negative move</italic> or the <italic>neutral move</italic>. For the negative move, the algorithm will delete the last occupied edge with probability <italic>P</italic>
<sub>&#x2212;</sub>. For the <italic>neutral move</italic>, the algorithm will change the direction of its last occupied edge randomly. If the chosen move does not lead to a valid SAW, the algorithm will change into the increasing&#x20;mode.</p>
</list-item>
<list-item>
<p>3) When the length is 0, the algorithm will be changed into the increasing mode, and a <italic>positive move</italic> will be performed.</p>
</list-item>
</list>
</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>
<bold>(A)</bold> Diagram of probability flows in the <italic>three-move nonreversible Berretti-Sokal algorithm</italic>. Each rectangle specifies a SAW of length &#x7c;<italic>s</italic>&#x7c;. Each realization of the algorithm is different because of the neutral moves, allowing to alter the configuration of the walk. The top row represents the <italic>increasing mode</italic> in which the algorithm can produce either a positive or neutral move, while the bottom row represents the <italic>decreasing mode</italic> where the algorithm produces either negative or neutral moves. The circular arrow represents the execution of a neutral move, leading to a SAW with the same length but a different shape as the last occupied edge&#x2019;s direction is changed. The &#x201c;null&#x201d; walk, &#x7c;<italic>s</italic>&#x7c; &#x3d; 0, requires special attention; in this case, we do not allow neutral and decreasing moves. <bold>(B)</bold> Example of the incoming fluxes for SAW of length &#x7c;<italic>s</italic>&#x7c; &#x3d; 2 in 2<italic>D</italic> on a square lattice.</p>
</caption>
<graphic xlink:href="fphy-09-782156-g003.tif"/>
</fig>
<p>Therefore, in each step, the algorithm will either execute one of the elementary moves successfully or change to the other mode. The global balance condition implies that the total influx probability flow equals the efflux probability flow; that is, we have<disp-formula id="e6">
<mml:math id="m6">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2213;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
</mml:math>
<label>(6)</label>
</disp-formula>where <italic>x</italic>
<sup>&#x7c;<italic>s</italic>&#x7c;</sup> is the distribution of SAWs of length &#x7c;<italic>s</italic>&#x7c; and <italic>&#x3d5;</italic> &#x2212; s describe the incoming probability fluxes, where the superscript denotes the mode and the subscripts denote the move. The three terms on LHS are the incoming flow of executing a &#xb1; move in mode (&#xb1;), <inline-formula id="inf1">
<mml:math id="m7">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, the incoming flow of executing one neutral move in mode (&#xb1;), <inline-formula id="inf2">
<mml:math id="m8">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, and the incoming flow from switching the mode from (&#x2213;) to (&#xb1;), <inline-formula id="inf3">
<mml:math id="m9">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2213;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#xb1;</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>. To clarify the third term in the LHS by example: <inline-formula id="inf4">
<mml:math id="m10">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is the incoming flux from switching from (&#x2212;) mode to the (&#x2b;) mode. Let us show that global balance condition holds for the <italic>increasing mode</italic> when <italic>x</italic> (<italic>z</italic>&#x20;&#x2212; 1) &#x3c; 1. Proofs for the other cases follow analogously. In this case the three fluxes are:<list list-type="simple">
<list-item>
<p>&#x2022; The incoming flux from a positive move&#x20;is</p>
</list-item>
</list>
<disp-formula id="e7">
<mml:math id="m11">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:msub>
<mml:mrow>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
<label>(7)</label>
</disp-formula>where in the second equality we used <xref ref-type="disp-formula" rid="e4">Eq. 4</xref>. The factor 1/2 is the result of selecting either a positive move or a neutral move and the term (<italic>z</italic>&#x20;&#x2212; 1)<sup>&#x2212;1</sup> is from occupying one of the <italic>z</italic>&#x20;&#x2212; 1 empty edges incident to the last vertex.<list list-type="simple">
<list-item>
<p>&#x2022; The incoming flux from a neutral move&#x20;is</p>
</list-item>
</list>
<disp-formula id="e8">
<mml:math id="m12">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:msup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2033;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
<label>(8)</label>
</disp-formula>where <italic>z</italic>
<sup>&#x2033;</sup> is the number of possible edges which will lead to a valid SAW for the last occupied edge when changing its direction.</p>
<p>&#x2022; The incoming flux from the decreasing mode, <inline-formula id="inf5">
<mml:math id="m13">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula>, since <italic>P</italic>
<sub>&#x2212;</sub>&#x20;&#x3d; 1, as we assume that <italic>x</italic> (<italic>z</italic>&#x20;&#x2212; 1) &#x3c; 1, the only possible reason of changing from another mode is that when the last occupied changes it direction, it does not lead to a valid SAW, thus<disp-formula id="e9">
<mml:math id="m14">
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3d5;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mo>&#x2b;</mml:mo>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msup>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>s</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>z</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2033;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(9)</label>
</disp-formula>
</p>
<p>Summing over the incoming flows, given in <xref ref-type="disp-formula" rid="e7">Eqs. 7</xref>&#x2013;<xref ref-type="disp-formula" rid="e9">9</xref> incoming-flow-from-minus, we verify that the global balance condition, <xref ref-type="disp-formula" rid="e6">Eq. 6</xref>, holds. Note that we do not assume that a particular SAW configuration of length &#x7c;<italic>s</italic>&#x7c; is achieved with the same frequency in the increasing and the decreasing mode&#x2014;it comes out as a corollary of the global balance condition.</p>
<p>To test the efficiency of the new algorithm, we used the integrated autocorrelation time <italic>&#x3c4;</italic>. For a given observable <inline-formula id="inf6">
<mml:math id="m15">
<mml:mi mathvariant="script">O</mml:mi>
</mml:math>
</inline-formula>, it is defined as<disp-formula id="e10">
<mml:math id="m16">
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">O</mml:mi>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>&#x3c3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="script">O</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
<label>(10)</label>
</disp-formula>where <italic>m</italic> is the number of steps, <inline-formula id="inf7">
<mml:math id="m17">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">O</mml:mi>
</mml:mrow>
<mml:mo>&#x304;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> is the estimator of the average <inline-formula id="inf8">
<mml:math id="m18">
<mml:mi mathvariant="script">O</mml:mi>
</mml:math>
</inline-formula>, and <italic>&#x3c3;</italic>
<sup>2</sup> denotes a variance, c.f. [<xref ref-type="bibr" rid="B33">33</xref>]. Here we choose the length of the walk, &#x7c;<italic>s</italic>&#x7c;, for the observable as it is a common choice for SAWs. We tested the efficiency as a function of the linear system size by generating SAWs in a square lattice with <italic>n</italic>&#x20;&#xd7; <italic>n</italic> points and in a cubic lattice with <italic>n</italic>&#x20;&#xd7; <italic>n</italic>&#x20;&#xd7; <italic>n</italic> points. The boundary conditions were fixed. With <italic>&#x3c4;</italic>
<sub>0</sub> we denote the integrated autocorrelation time of the <italic>two-move nonreversible Berretti-Sokal algorithm</italic> (algorithm from [<xref ref-type="bibr" rid="B1">1</xref>]). The comparison of the two algorithms is on <xref ref-type="fig" rid="F4">Figure&#x20;4</xref>.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The ratio of integrated autocorrelation times of the <italic>three-move nonreversible Berretti-Sokal algorithm</italic>, <italic>&#x3c4;</italic>, and the <italic>two-move nonreversible Berretti-Sokal algorithm</italic>, <italic>&#x3c4;</italic>
<sub>0</sub>, for 2<italic>D</italic>, and 3<italic>D</italic> systems as a function of the linear system size <italic>n</italic>. The <italic>three-move nonreversible Berretti-Sokal algorithm</italic>&#x2019;s performance is slightly better in 2<italic>D</italic> systems while it is 3 &#x2013; 5 times faster in most 3<italic>D</italic> systems.</p>
</caption>
<graphic xlink:href="fphy-09-782156-g004.tif"/>
</fig>
<p>Note, that there are two different scenarios based on the value of weight of a unit step <italic>x</italic>. For example, for a 2<italic>D</italic> square lattice, when <italic>x</italic>&#x20;&#x3d; 0.4, <italic>P</italic>
<sub>&#x2b;</sub> &#x3d; 1, and <italic>P</italic>
<sub>&#x2212;</sub> &#x3c; 1, while for <italic>x</italic>&#x20;&#x3d; 0.2, <italic>P</italic>
<sub>&#x2212;</sub> &#x3d; 1, and <italic>P</italic>
<sub>&#x2b;</sub> &#x3c; 1. To study both scenarios present the results under initial setting where <italic>x</italic>&#x20;&#x3d; 0.2 and <italic>x</italic>&#x20;&#x3d; 0.4 in a 2<italic>D</italic> system and correspondingly <italic>x</italic>&#x20;&#x3d; 0.12 and <italic>x</italic>&#x20;&#x3d; 0.24 in a 3<italic>D</italic> system. From <xref ref-type="fig" rid="F4">Figure&#x20;4</xref> we conclude that the ratio of the autocorrelation times for large systems is weakly dependent on the value of&#x20;<italic>x</italic>.</p>
<p>In 2<italic>D</italic>, the ratio of the autocorrelation time of the new algorithm over the previous one is always less than one, which means that the new algorithm has a slightly better performance. We further tested the new algorithm in a three-dimensional cubic system. The new algorithm tends to have better performance in large systems, and the difference is more significant than the 2<italic>D</italic> situation. When the length of the cube is less than 20, the previous algorithm is more efficient with less autocorrelation time. However, as the system&#x2019;s scale increases, the ratio <italic>&#x3c4;</italic>/<italic>&#x3c4;</italic>
<sub>0</sub> becomes less than one, and the value is between 0.2 and 0.3, indicating that the new algorithm is 3&#x2013;5&#x20;times faster in these larger 3<italic>D</italic> systems. We have also tested our algorithm in 4<italic>D</italic> and 5<italic>D</italic> systems where no general improvements are found compared to the <italic>two-move nonreversible Berretti-Sokal algorithm</italic>. We show the detailed findings in <xref ref-type="app" rid="app1">Appendix</xref>. The fact that the addition of neutral moves does not improve the efficiency in generating SAWs in 4<italic>D</italic> and 5<italic>D</italic>, could be explained by the fact that as dimension gets higher, it will be much more likely for the algorithm to make a successful, positive move, which results in less benefit from adding the neutral&#x20;move.</p>
<p>To summarize, we have created a new nonreversible algorithm manipulating the endpoint atmospheres to generate SAWs. By introducing all three kinds of endpoint atmospheres&#x2019; moves, the new algorithm has greater flexibility than the <italic>two-move nonreversible Berretti-Sokal algorithm</italic>, from [<xref ref-type="bibr" rid="B1">1</xref>]. For instance, when occupied lengths surround the endpoint of a given SAW, the algorithm will change into the negative mode since neither a neutral move nor a positive move will lead to a valid SAW. Assume that <italic>P</italic>
<sub>&#x2b;</sub> &#x3c; 1, for an algorithm with only positive and negative moves, it will return to the origin and start from the beginning again. On the other hand, with a neutral move, the SAW does not have to start from the origin again. When a neutral move in the negative mode is not possible, the algorithm will change into the positive mode. The addition of neutral moves gives the algorithm greater flexibility in finding valid&#x20;SAWs.</p>
</sec>
</sec>
<sec id="s5">
<title>5 Conclusion</title>
<p>We have created a new nonreversible algorithm manipulating the endpoint atmospheres to generate SAWs. The previous <italic>two-move nonreversible Berretti-Sokal algorithm</italic> has already improved the efficiency greatly as its speed is ten times faster than the original Berretti-Sokal algorithm in 2<italic>D</italic> systems and is even more superior in higher-dimensional systems. By introducing all three kinds of endpoint atmospheres&#x2019; moves, the <italic>three-move nonreversible Berretti-Sokal algorithm</italic> has greater flexibility and higher efficiency than the two-move algorithm. By comparing the autocorrelation time, the new algorithm is slightly faster in 2<italic>D</italic> systems and is 3&#x2013;5&#x20;times faster in most 3<italic>D</italic> systems.</p>
<p>The <italic>three-move nonreversible Beretti-Sokal algorithm</italic> is&#x20;designed to create SAWs with a fixed beginning point and variant ending points. There are also algorithms manipulating general atmospheres instead of endpoint atmospheres. Algorithms like the BFACF algorithm can&#x20;create SAWs with a fixed beginning and ending point&#x20;[<xref ref-type="bibr" rid="B17">17</xref>]. Meanwhile, other algorithms generating SAWs like the PERM, GARM, and pivot algorithm have no nonreversible versions yet [<xref ref-type="bibr" rid="B15">15</xref>, <xref ref-type="bibr" rid="B28">28</xref>, <xref ref-type="bibr" rid="B34">34</xref>, <xref ref-type="bibr" rid="B35">35</xref>]. Previous research has improved the efficiency of PERM algorithm without implementing the nonreversible MCMC techniques [<xref ref-type="bibr" rid="B36">36</xref>]. These algorithms might serve as aspects for future research.</p>
<p>Finally, here we manually found a way with three atmospheres on how to fulfill the global balance. Looking into the future, one might delegate this task to a neural network alike in [<xref ref-type="bibr" rid="B37">37</xref>]. Optimizing the transition operator with more than three types of endpoint atmospheres might further increase the efficacy.</p>
</sec>
</body>
<back>
<sec id="s6">
<title>Data Availability Statement</title>
<p>The raw data supporting the conclusion of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec id="s7">
<title>Author Contributions</title>
<p>All authors listed have made a substantial, direct, and intellectual contribution to the work and approved it for publication.</p>
</sec>
<sec id="s8">
<title>Funding</title>
<p>This material is based upon work supported by the National&#x20;Science Foundation under Grant No. DMR-1944&#x2009;539.</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ack>
<p>MV and HZ acknowledge discussions with Michael Chertkov, Gia-Wei Chern, Jon Machta, Joris Bierkens, Christoph Andrieu, and Chris Sherlock.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>X</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>Y</given-names>
</name>
</person-group>. <article-title>Irreversible Markov Chain Monte Carlo Algorithm for Self-Avoiding Walk</article-title>. <source>Front Phys</source> (<year>2016</year>) <volume>12</volume>:<fpage>120503</fpage>. <pub-id pub-id-type="doi">10.1007/s11467-016-0646-6</pub-id> </citation>
</ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Havlin</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Ben-Avraham</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>New Approach to Self-Avoiding Walks as a Critical Phenomenon</article-title>. <source>J&#x20;Phys A: Math Gen</source> (<year>1982</year>) <volume>15</volume>:<fpage>L321</fpage>&#x2013;<lpage>L328</lpage>. <pub-id pub-id-type="doi">10.1088/0305-4470/15/6/013</pub-id> </citation>
</ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Havlin</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Ben-Avraham</surname>
<given-names>D</given-names>
</name>
</person-group>. <article-title>Theoretical and Numerical Study of Fractal Dimensionality in Self-Avoiding Walks</article-title>. <source>Phys Rev A</source> (<year>1982</year>) <volume>26</volume>:<fpage>1728</fpage>&#x2013;<lpage>34</lpage>. <pub-id pub-id-type="doi">10.1103/physreva.26.1728</pub-id> </citation>
</ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lawler</surname>
<given-names>GF</given-names>
</name>
<name>
<surname>Schramm</surname>
<given-names>O</given-names>
</name>
<name>
<surname>Werner</surname>
<given-names>W</given-names>
</name>
</person-group>. <article-title>On the Scaling Limit of Planar Self-Avoiding Walk</article-title>. <source>Fractal geometry Appl a jubilee Beno&#xee;t Mandelbrot</source> (<year>2002</year>) <volume>2</volume> <fpage>339</fpage>&#x2013;<lpage>64</lpage>. <pub-id pub-id-type="doi">10.1090/pspum/072.2/2112127</pub-id> </citation>
</ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Flory</surname>
<given-names>P</given-names>
</name>
</person-group>. <source>Principles of Polymer Chemisty</source>. <publisher-loc>Ithaca, NY</publisher-loc>: <publisher-name>Cornell University Press</publisher-name> (<year>1953</year>). </citation>
</ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Metropolis</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Ulam</surname>
<given-names>S</given-names>
</name>
</person-group>. <article-title>The Monte Carlo Method</article-title>. <source>J&#x20;Am Stat Assoc</source> (<year>1949</year>) <volume>44</volume>:<fpage>335</fpage>&#x2013;<lpage>41</lpage>. <pub-id pub-id-type="doi">10.1080/01621459.1949.10483310</pub-id> </citation>
</ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Janse van Rensburg</surname>
<given-names>EJ</given-names>
</name>
</person-group>. <article-title>Monte Carlo Methods for the Self-Avoiding Walk</article-title>. <source>J&#x20;Phys A: Math Theor</source> (<year>2009</year>) <volume>42</volume>:<fpage>323001</fpage>. <pub-id pub-id-type="doi">10.1088/1751-8113/42/32/323001</pub-id> </citation>
</ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>de Carvalho</surname>
<given-names>CA</given-names>
</name>
<name>
<surname>Caracciolo</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Fr&#xf6;hlich</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Polymers and G&#x7c;&#x3c6;&#x7c;4 Theory in Four Dimensions</article-title>. <source>Nucl Phys B</source> (<year>1983</year>) <volume>215</volume>:<fpage>209</fpage>&#x2013;<lpage>48</lpage>. <pub-id pub-id-type="doi">10.1016/0550-3213(83)90213-4</pub-id> </citation>
</ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Duplantier</surname>
<given-names>B</given-names>
</name>
</person-group>. <article-title>Polymer Network of Fixed Topology: Renormalization, Exact Critical Exponent&#x3b3;in Two Dimensions, Andd&#x3d;4&#x2212;&#x3b5;</article-title>. <source>Phys Rev Lett</source> (<year>1986</year>) <volume>57</volume>:<fpage>941</fpage>&#x2013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1103/physrevlett.57.941</pub-id> </citation>
</ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Grimm</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Fang</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Garoni</surname>
<given-names>TM</given-names>
</name>
</person-group>. <article-title>Random-Length Random Walks and Finite-Size Scaling in High Dimensions</article-title>. <source>Phys Rev Lett</source> (<year>2018</year>) <volume>121</volume>:<fpage>185701</fpage>. <pub-id pub-id-type="doi">10.1103/physrevlett.121.185701</pub-id> </citation>
</ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname>
<given-names>Z</given-names>
</name>
<name>
<surname>Grimm</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Garoni</surname>
<given-names>TM</given-names>
</name>
</person-group>. <article-title>Random-length Random Walks and Finite-Size Scaling on High-Dimensional Hypercubic Lattices I: Periodic Boundary Conditions</article-title>. <source>arxiv</source> (<year>2020</year>). </citation>
</ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fang</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Deng</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>Z</given-names>
</name>
</person-group>. <article-title>Logarithmic Finite-Size Scaling of the Self-Avoiding Walk at Four Dimensions</article-title>. <source>Phys Rev E</source> (<year>2021</year>) <volume>104</volume>:<fpage>064108</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.104.064108</pub-id> </citation>
</ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Sokal</surname>
<given-names>A</given-names>
</name>
</person-group>. <article-title>Monte Carlo Methods in Statistical Mechanics: Foundations and New Algorithms</article-title>. In: <person-group person-group-type="editor">
<name>
<surname>DeWitt-Morette</surname>
<given-names>C</given-names>
</name>
<name>
<surname>Cartier</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Folacci</surname>
<given-names>A</given-names>
</name>
</person-group>, editors. <source>Functional Integration, Vol. 361 of NATO ASI Series, 131&#x2013;192</source>. <publisher-loc>New York, NY, USA</publisher-loc>: <publisher-name>Springer US</publisher-name> (<year>1997</year>). <pub-id pub-id-type="doi">10.1007/978-1-4899-0319-8_6</pub-id> </citation>
</ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Newman</surname>
<given-names>MEJ</given-names>
</name>
<name>
<surname>Barkema</surname>
<given-names>GT</given-names>
</name>
</person-group>. <source>Monte Carlo Methods in Statistical Mechanics</source>. <publisher-loc>Walton St. Oxford</publisher-loc>: <publisher-name>Clarendon Press</publisher-name> (<year>1999</year>). </citation>
</ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Madras</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Sokal</surname>
<given-names>AD</given-names>
</name>
</person-group>. <article-title>The Pivot Algorithm: A Highly Efficient Monte Carlo Method for the Self-Avoiding Walk</article-title>. <source>J&#x20;Stat Phys</source> (<year>1988</year>) <volume>50</volume>:<fpage>109</fpage>&#x2013;<lpage>86</lpage>. <pub-id pub-id-type="doi">10.1007/bf01022990</pub-id> </citation>
</ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Berretti</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Sokal</surname>
<given-names>AD</given-names>
</name>
</person-group>. <article-title>New Monte Carlo Method for the Self-Avoiding Walk</article-title>. <source>J&#x20;Stat Phys</source> (<year>1985</year>) <volume>40</volume>:<fpage>483</fpage>&#x2013;<lpage>531</lpage>. <pub-id pub-id-type="doi">10.1007/bf01017183</pub-id> </citation>
</ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rensburg</surname>
<given-names>EJJv.</given-names>
</name>
<name>
<surname>Whittington</surname>
<given-names>SG</given-names>
</name>
</person-group>. <article-title>The BFACF Algorithm and Knotted Polygons</article-title>. <source>J&#x20;Phys A: Math Gen</source> (<year>1991</year>) <volume>24</volume>:<fpage>5553</fpage>&#x2013;<lpage>67</lpage>. <pub-id pub-id-type="doi">10.1088/0305-4470/24/23/021</pub-id> </citation>
</ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Diaconis</surname>
<given-names>P</given-names>
</name>
<name>
<surname>Holmes</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Neal</surname>
<given-names>RM</given-names>
</name>
</person-group>. <article-title>Analysis of a Non-reversible Markov Chain Sampler</article-title> (<year>1997</year>) <publisher-name>Cornell University</publisher-name>. <comment>Technical Report BU-1385-M</comment>. </citation>
</ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>F</given-names>
</name>
<name>
<surname>Lovasz</surname>
<given-names>L</given-names>
</name>
<name>
<surname>Pak</surname>
<given-names>I</given-names>
</name>
</person-group>. <article-title>Lifting Markov Chains to Speed up Mixing</article-title>. In: <conf-name>Proceedings of the ACM symposium on Theory of Computing</conf-name>; <conf-date>1999 May 1-4</conf-date>; <conf-loc>New York, NY, United&#x20;States</conf-loc> (<year>1999</year>). p. <fpage>275</fpage>&#x2013;<lpage>81</lpage>. <pub-id pub-id-type="doi">10.1145/301250.301315</pub-id> </citation>
</ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Turitsyn</surname>
<given-names>KS</given-names>
</name>
<name>
<surname>Chertkov</surname>
<given-names>M</given-names>
</name>
<name>
<surname>Vucelja</surname>
<given-names>M</given-names>
</name>
</person-group>. <article-title>Irreversible Monte Carlo Algorithms for Efficient Sampling</article-title>. <source>Physica D: Nonlinear Phenomena</source> (<year>2011</year>) <volume>240</volume>:<fpage>410</fpage>&#x2013;<lpage>4</lpage>. <pub-id pub-id-type="doi">10.1016/j.physd.2010.10.003</pub-id> </citation>
</ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vucelja</surname>
<given-names>M</given-names>
</name>
</person-group>. <article-title>Lifting-A Nonreversible Markov Chain Monte Carlo Algorithm</article-title>. <source>Am J&#x20;Phys</source> (<year>2016</year>) <volume>84</volume>:<fpage>958</fpage>&#x2013;<lpage>68</lpage>. <pub-id pub-id-type="doi">10.1119/1.4961596</pub-id> </citation>
</ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sakai</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Hukushima</surname>
<given-names>K</given-names>
</name>
</person-group>. <article-title>Dynamics of One-Dimensional Ising Model without Detailed Balance Condition</article-title>. <source>J&#x20;Phys Soc Jpn</source> (<year>2013</year>) <volume>82</volume>:<fpage>064003</fpage>. <pub-id pub-id-type="doi">10.7566/jpsj.82.064003</pub-id> </citation>
</ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bierkens</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Roberts</surname>
<given-names>G</given-names>
</name>
</person-group>. <article-title>A Piecewise Deterministic Scaling Limit of Lifted Metropolis&#x2013;Hastings in the Curie&#x2013;Weiss Model</article-title>. <source>Ann Appl Probab</source> (<year>2017</year>) <volume>27</volume>:<fpage>846</fpage>&#x2013;<lpage>82</lpage>. <pub-id pub-id-type="doi">10.1214/16-aap1217</pub-id> </citation>
</ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bierkens</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Non-reversible Metropolis-Hastings</article-title>. <source>Stat Comput</source> (<year>2016</year>) <volume>26</volume>:<fpage>1213</fpage>&#x2013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1007/s11222-015-9598-x</pub-id> </citation>
</ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kapfer</surname>
<given-names>SC</given-names>
</name>
<name>
<surname>Krauth</surname>
<given-names>W</given-names>
</name>
</person-group>. <article-title>Irreversible Local Markov Chains with Rapid Convergence towards Equilibrium</article-title>. <source>Phys Rev Lett</source> (<year>2017</year>) <volume>119</volume>:<fpage>240603</fpage>. <pub-id pub-id-type="doi">10.1103/physrevlett.119.240603</pub-id> </citation>
</ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Janse van Rensburg</surname>
<given-names>EJ</given-names>
</name>
<name>
<surname>Rechnitzer</surname>
<given-names>A</given-names>
</name>
</person-group>. <article-title>Atmospheres of Polygons and Knotted Polygons</article-title>. <source>J&#x20;Phys A: Math Theor</source> (<year>2008</year>) <volume>41</volume>:<fpage>105002</fpage>. <pub-id pub-id-type="doi">10.1088/1751-8113/41/10/105002</pub-id> </citation>
</ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rechnitzer</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Rensburg</surname>
<given-names>EJJV</given-names>
</name>
</person-group>. <article-title>Canonical Monte Carlo Determination of the Connective Constant of Self-Avoiding Walks</article-title>. <source>J&#x20;Phys A: Math Gen</source> (<year>2002</year>) <volume>35</volume>:<fpage>L605</fpage>&#x2013;<lpage>L612</lpage>. <pub-id pub-id-type="doi">10.1088/0305-4470/35/42/103</pub-id> </citation>
</ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rechnitzer</surname>
<given-names>A</given-names>
</name>
<name>
<surname>Janse van Rensburg</surname>
<given-names>EJ</given-names>
</name>
</person-group>. <article-title>Generalized Atmospheric Rosenbluth Methods (GARM)</article-title>. <source>J&#x20;Phys A: Math Theor</source> (<year>2008</year>) <volume>41</volume>:<fpage>442002</fpage>. <pub-id pub-id-type="doi">10.1088/1751-8113/41/44/442002</pub-id> </citation>
</ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>van Rensburg</surname>
<given-names>EJJ</given-names>
</name>
<name>
<surname>Rechnitzer</surname>
<given-names>A</given-names>
</name>
</person-group>. <article-title>Generalized Atmospheric Sampling of Self-Avoiding Walks</article-title>. <source>J&#x20;Phys A: Math Theor</source> (<year>2009</year>) <volume>42</volume>:<fpage>335001</fpage>. <pub-id pub-id-type="doi">10.1088/1751-8113/42/33/335001</pub-id> </citation>
</ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Levin</surname>
<given-names>DA</given-names>
</name>
<name>
<surname>Peres</surname>
<given-names>Y</given-names>
</name>
<name>
<surname>Wilmer</surname>
<given-names>EL</given-names>
</name>
</person-group>. <source>Markov Chains and Mixing Times</source>. <publisher-loc>Providence, RI, USA</publisher-loc>: <publisher-name>American Mathematical Society</publisher-name> (<year>2009</year>). </citation>
</ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Metropolis</surname>
<given-names>N</given-names>
</name>
<name>
<surname>Rosenbluth</surname>
<given-names>AW</given-names>
</name>
<name>
<surname>Rosenbluth</surname>
<given-names>MN</given-names>
</name>
<name>
<surname>Teller</surname>
<given-names>AH</given-names>
</name>
<name>
<surname>Teller</surname>
<given-names>E</given-names>
</name>
</person-group>. <article-title>Equation of State Calculations by Fast Computing Machines</article-title>. <source>J&#x20;Chem Phys</source> (<year>1953</year>) <volume>21</volume>:<fpage>1087</fpage>&#x2013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1063/1.1699114</pub-id> </citation>
</ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hastings</surname>
<given-names>WK</given-names>
</name>
</person-group>. <article-title>Monte Carlo Sampling Methods Using Markov Chains and Their Applications</article-title>. <source>Biometrika</source> (<year>1970</year>) <volume>57</volume>:<fpage>97</fpage>&#x2013;<lpage>109</lpage>. <pub-id pub-id-type="doi">10.1093/biomet/57.1.97</pub-id> </citation>
</ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Goodman</surname>
<given-names>J</given-names>
</name>
<name>
<surname>Weare</surname>
<given-names>J</given-names>
</name>
</person-group>. <article-title>Ensemble Samplers with Affine Invariance</article-title>. <source>CAMCoS</source> (<year>2010</year>) <volume>5</volume>:<fpage>65</fpage>&#x2013;<lpage>80</lpage>. <pub-id pub-id-type="doi">10.2140/camcos.2010.5.65</pub-id> </citation>
</ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hsu</surname>
<given-names>H-P</given-names>
</name>
<name>
<surname>Grassberger</surname>
<given-names>P</given-names>
</name>
</person-group>. <article-title>Polymers Confined between Two Parallel Plane walls</article-title>. <source>J&#x20;Chem Phys</source> (<year>2004</year>) <volume>120</volume>:<fpage>2034</fpage>&#x2013;<lpage>41</lpage>. <pub-id pub-id-type="doi">10.1063/1.1636454</pub-id> </citation>
</ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Owczarek</surname>
<given-names>AL</given-names>
</name>
<name>
<surname>Prellberg</surname>
<given-names>T</given-names>
</name>
</person-group>. <article-title>Scaling of Self-Avoiding Walks in High Dimensions</article-title>. <source>J&#x20;Phys A: Math Gen</source> (<year>2001</year>) <volume>34</volume>:<fpage>5773</fpage>&#x2013;<lpage>80</lpage>. <pub-id pub-id-type="doi">10.1088/0305-4470/34/29/303</pub-id> </citation>
</ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Campbell</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Janse van Rensburg</surname>
<given-names>EJ</given-names>
</name>
</person-group>. <article-title>Parallel PERM</article-title>. <source>J&#x20;Phys A: Math Theor</source> (<year>2020</year>) <volume>53</volume>:<fpage>265005</fpage>. <pub-id pub-id-type="doi">10.1088/1751-8121/ab8ff7</pub-id> </citation>
</ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="book">
<person-group person-group-type="editor">
<name>
<surname>Guyon</surname>
<given-names>I</given-names>
</name>
<name>
<surname>Luxburg</surname>
<given-names>UV</given-names>
</name>
<name>
<surname>Bengio</surname>
<given-names>S</given-names>
</name>
<name>
<surname>Wallach</surname>
<given-names>H</given-names>
</name>
<name>
<surname>Fergus</surname>
<given-names>R</given-names>
</name>
<name>
<surname>Vishwanathan</surname>
<given-names>S</given-names>
</name>
<etal/>
</person-group> editors. <source>A-NICE-MC: Adversarial Training for MCMC</source>. <publisher-loc>Red Hook, New York</publisher-loc>: <publisher-name>Curran Associates, Inc.</publisher-name> (<year>2017</year>). </citation>
</ref>
</ref-list>
<app-group>
<app id="app1">
<title>Appendix</title>
<p>We investigated the performance of the <italic>three-move nonreversible Berretti-Sokal algorithm</italic> in 4<italic>D</italic> and 5<italic>D</italic>. We did not find it to be efficient, when compared to the <italic>two-move nonreversible Berretti-Sokal algorithm</italic>. The detailed findings are in the&#x20;<xref ref-type="app" rid="app1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>The ratio of integrated autocorrelation times of the <italic>three-move nonreversible Berretti-Sokal algorithm</italic>, <italic>&#x3c4;</italic>, and the <italic>two-move nonreversible Berretti-Sokal algorithm</italic>, <italic>&#x3c4;</italic>
<sub>0</sub>, for 4<italic>D</italic> and 5<italic>D</italic> systems as a function of the linear system size <italic>n</italic> and the SAW unit step weight <italic>x</italic>. The ratio about 1 for (<italic>x</italic>&#x20;&#x3d; 6/35, <italic>d</italic>&#x20;&#x3d; 4) and (<italic>x</italic>&#x20;&#x3d; 1/5, <italic>d</italic>&#x20;&#x3d; 5), however for (<italic>x</italic>&#x20;&#x3d; 3/35, <italic>d</italic>&#x20;&#x3d; 4) and (<italic>x</italic>&#x20;&#x3d; 1/10, <italic>d</italic>&#x20;&#x3d; 5) it is above unity, which indicates that two-mode nonreversible Berretti-Sokal algorithm is more efficient there.</p>
</caption>
<table>
<tbody valign="top">
<tr>
<td colspan="3" align="left">Dimension <italic>d</italic>&#x20;&#x3d; 4</td>
</tr>
<tr>
<td align="left">System size <italic>n</italic>
</td>
<td align="center">
<italic>x</italic>&#x20;&#x3d; 6/35</td>
<td align="center">
<italic>x</italic>&#x20;&#x3d; 3/35</td>
</tr>
<tr>
<td align="left">25</td>
<td align="center">0.714&#x20;&#xb1; 0.069</td>
<td align="center">2.970&#x20;&#xb1; 0.356</td>
</tr>
<tr>
<td align="left">51</td>
<td align="center">1.081&#x20;&#xb1; 0.050</td>
<td align="center">2.216&#x20;&#xb1; 0.229</td>
</tr>
<tr>
<td align="left">75</td>
<td align="center">0.994&#x20;&#xb1; 0.033</td>
<td align="center">2.812&#x20;&#xb1; 0.658</td>
</tr>
<tr>
<td align="left">101</td>
<td align="center">0.945&#x20;&#xb1; 0.028</td>
<td align="center">2.349&#x20;&#xb1; 0.190</td>
</tr>
<tr>
<td colspan="3" align="left">Dimension <italic>d</italic>&#x20;&#x3d; 5</td>
</tr>
<tr>
<td align="left">System size <italic>n</italic>
</td>
<td align="center">
<italic>x</italic>&#x20;&#x3d; 1/5</td>
<td align="center">
<italic>x</italic>&#x20;&#x3d; 1/10</td>
</tr>
<tr>
<td align="left">21</td>
<td align="center">0.920&#x20;&#xb1; 0.002</td>
<td align="center">4.214&#x20;&#xb1; 1.108</td>
</tr>
<tr>
<td align="left">25</td>
<td align="center">0.961&#x20;&#xb1; 0.001</td>
<td align="center">4.451&#x20;&#xb1; 0.571</td>
</tr>
<tr>
<td align="left">31</td>
<td align="center">0.992&#x20;&#xb1; 0.002</td>
<td align="center">4.992&#x20;&#xb1; 0.696</td>
</tr>
<tr>
<td align="left">35</td>
<td align="center">0.995&#x20;&#xb1; 0.002</td>
<td align="center">3.261&#x20;&#xb1; 0.513</td>
</tr>
</tbody>
</table>
</table-wrap>
</app>
</app-group>
</back>
</article>