Newman-Ziff algorithm for the bootstrap percolation: application to the Archimedean lattices
Jeong-Ok Choi, Unjong Yu

TL;DR
This paper introduces efficient algorithms based on the Newman-Ziff method to analyze bootstrap and diffusion percolation models on Archimedean lattices, revealing they share the same universality class as classical percolation.
Contribution
The authors extend the Newman-Ziff algorithm to bootstrap and diffusion percolation, enabling high-precision calculation of thresholds and critical exponents on Archimedean lattices.
Findings
Bootstrap and diffusion percolation have the same critical exponents as classical percolation.
The algorithms allow precise determination of percolation thresholds.
Percolation transitions are continuous in these models.
Abstract
We propose very efficient algorithms for the bootstrap percolation and the diffusion percolation models by extending the Newman-Ziff algorithm of the classical percolation [M. E. J. Newman and R. M. Ziff, Phys. Rev. Lett. 85 (2000) 4104]. Using these algorithms and the finite-size-scaling, we calculated with high precision the percolation threshold and critical exponents in the eleven two-dimensional Archimedean lattices. We present the condition for the continuous percolation transition in the bootstrap percolation and the diffusion percolation, and show that they have the same critical exponents as the classical percolation within error bars in two dimensions. We conclude that the bootstrap percolation and the diffusion percolation almost certainly belong to the same universality class as the classical percolation.
| Bootstrap percolation | Diffusion percolation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Lattice | |||||||||
| T1 | 6 | 0.49997(4) | 1.336(3) | 0.104(1) | 0.50000(1) | 1.335(1) | 0.104(1) | ||
| () | 0.49999(4) | 1.336(3) | 0.104(1) | 0.49999(2) | 1.334(1) | 0.104(1) | |||
| 0.62915(5) | 1.335(3) | 0.104(2) | 0.37083(4) | 1.334(2) | 0.103(1) | ||||
| T2 | 4 | 0.59272(3) | 1.335(4) | 0.104(1) | 0.54731(1) | 1.333(4) | 0.104(1) | ||
| () | 0.59272(3) | 1.336(3) | 0.104(1) | 0.42037(2) | 1.333(2) | 0.104(1) | |||
| T3 | 3 | 0.69710(5) | 1.337(3) | 0.104(1) | 0.56008(1) | 1.333(1) | 0.104(1) | ||
| () | 0.69703(4) | 1.335(3) | 0.104(1) | 0.30943(2) | 1.333(2) | 0.104(1) | |||
| T4 | 5 | 0.57948(3) | 1.337(3) | 0.104(1) | 0.57950(1) | 1.332(2) | 0.104(1) | ||
| () | 0.57948(3) | 1.336(3) | 0.104(1) | 0.48450(1) | 1.334(1) | 0.104(1) | |||
| 0.73227(3) | 1.333(2) | 0.103(3) | 0.26936(3) | 1.334(1) | 0.104(1) | ||||
| T5 | 5 | 0.55020(3) | 1.337(3) | 0.104(1) | 0.54387(1) | 1.333(1) | 0.104(1) | ||
| () | 0.55020(4) | 1.335(3) | 0.104(1) | 0.47648(2) | 1.333(2) | 0.104(1) | |||
| 0.71884(4) | 1.330(4) | 0.103(1) | 0.28165(1) | 1.332(1) | 0.103(1) | ||||
| T6 | 5 | 0.55080(3) | 1.337(4) | 0.104(1) | 0.54108(1) | 1.333(1) | 0.104(1) | ||
| () | 0.55080(4) | 1.336(3) | 0.104(1) | 0.47072(1) | 1.334(1) | 0.104(1) | |||
| 0.72813(5) | 1.336(4) | 0.101(4) | 0.27194(1) | 1.335(1) | 0.103(1) | ||||
| T7 | 4 | 0.62180(3) | 1.337(3) | 0.104(1) | 0.57502(1) | 1.332(2) | 0.104(1) | ||
| () | 0.62178(4) | 1.336(3) | 0.104(1) | 0.42652(1) | 1.333(1) | 0.104(1) | |||
| 0.86713(5) | 1.337(4) | 0.103(3) | 0.13447(3) | 1.334(2) | 0.104(1) | ||||
| T8 | 4 | 0.65268(3) | 1.336(5) | 0.104(1) | 0.58661(1) | 1.334(2) | 0.104(1) | ||
| () | 0.65269(4) | 1.337(4) | 0.104(1) | 0.39451(2) | 1.335(2) | 0.104(1) | |||
| T9 | 3 | 0.80787(3) | 1.338(4) | 0.104(1) | 0.65335(1) | 1.332(1) | 0.104(1) | ||
| () | 0.80787(3) | 1.338(3) | 0.104(1) | 0.34028(4) | 1.333(2) | 0.104(1) | |||
| T10 | 3 | 0.74779(3) | 1.339(4) | 0.104(1) | 0.61644(1) | 1.332(1) | 0.104(1) | ||
| () | 0.74779(3) | 1.337(4) | 0.104(1) | 0.31816(3) | 1.333(1) | 0.104(1) | |||
| T11 | 3 | 0.72971(3) | 1.336(5) | 0.104(1) | 0.58862(1) | 1.334(2) | 0.104(1) | ||
| () | 0.72971(4) | 1.336(5) | 0.104(1) | 0.30280(4) | 1.334(1) | 0.104(1) | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Newman-Ziff algorithm for the bootstrap percolation: application to the Archimedean lattices
Jeong-Ok Choi
Unjong Yu
Division of Liberal Arts and Sciences, Gwangju Institute of Science and Technology, Gwangju 61005, South Korea
Department of Physics and Photon Science, Gwangju Institute of Science and Technology, Gwangju 61005, South Korea
Abstract
We propose very efficient algorithms for the bootstrap percolation and the diffusion percolation models by extending the Newman-Ziff algorithm of the classical percolation [M. E. J. Newman and R. M. Ziff, Phys. Rev. Lett. 85 (2000) 4104]. Using these algorithms and the finite-size-scaling, we calculated with high precision the percolation threshold and critical exponents in the eleven two-dimensional Archimedean lattices. We present the condition for the continuous percolation transition in the bootstrap percolation and the diffusion percolation, and show that they have the same critical exponents as the classical percolation within error bars in two dimensions. We conclude that the bootstrap percolation and the diffusion percolation almost certainly belong to the same universality class as the classical percolation.
keywords:
Percolation , Bootstrap percolation , Newman-Ziff algorithm , Critical exponent , Universality class , Archimedean lattice
1 Introduction
The bootstrap percolation (BP) model [1] has attracted continuous attention for its various applications such as disordered dilute magnetic systems [1, 2], neuronal activity [3], jamming transition [4], and diffusion of innovations [5]. The BP process operates as follows: (i) Each site is occupied with the probability and empty otherwise; (ii) Occupied sites that have less than occupied neighbors become empty, and the process is repeated until all the occupied sites have at least occupied neighbors. The diffusion percolation (DP) model [6] is closely-related to the BP, and sometimes it is also called the BP [7, 8, 9]. In the DP, process (i) is the same as the BP, but process (ii) is different: empty sites that have at least occupied neighbors become occupied recursively, until all the empty sites have less than occupied neighbors.
The BP and DP have been studied on lattices [10, 11, 12, 13, 6, 14, 15, 16, 17, 18, 8], trees [1, 19, 20], and complex networks [21, 7, 22, 9]. A few facts are known about the BP and DP. Clearly, the BP with and DP with are the same as the classical percolation (CP) model, where is the maximum value of degree. For a given graph, the percolation threshold of the DP () is not larger than that of the CP (), and that of the BP () is not less than that of the CP. The BP with or has the same percolation threshold as the CP. As for -regular lattices, if , then there is a close relationship between the BP and DP: (1) The sum of percolation thresholds of the BP and its corresponding DP is the same or larger than 1 () [6] (The sum is 1 for self-matching lattices such as the triangular lattice [23].); (2) There are lattice-dependent parameters and , where the BP of and DP of have first-order percolation transitions with the percolation thresholds and , respectively, if and only if and ; the two parameters satisfy . For the square and triangular lattices, [10, 24, 6].
About the critical exponents and the universality class of continuous percolation transitions of the BP and DP, there have been long debates. There are several critical exponents for the percolation, and in fact any two of them determine all of the rest exponents through scaling relations [25]. For the CP, they are universal and depend only on the spatial dimension. While the BP of is known to have the same critical exponents as the CP [14], it is not clear for the DP and the BP of . Kogut and Leath argued that depends on for the BP from Monte-Carlo simulations on the square, triangular, and cubic lattices [10], and renormalization group studies confirmed it [11, 13]. Adler conjectured that is universal but is non-universal in the BP and DP [6, 14, 15]. To the contrary, other studies, which include most recent simulations, insist that both and are universal [12, 16, 17, 18]. They argued that non-universality of previous works can be from the small size of clusters used in the simulations. However, we judge that the universality class of the BP and DP is not definitely clear yet. In Ref. [17], for example, the Fisher exponent for the DP with was calculated on the triangular lattice to be , which is consistent with for the two-dimensional CP. At first glance, it looks like a good evidence to support the conclusion of the same universality; however, obtained by the scaling relation in two dimensions is , which is consistent with of the CP but the uncertainty is too large to make any conclusion. In addition, the BP and DP have been studied only in four kinds of lattices (the square, triangular, honeycomb, and cubic lattices).
In this paper, we introduce efficient algorithms for the BP and DP models and present much more precise results on eleven two-dimensional Archimedean lattices. We calculated percolation threshold and critical exponents ( and ) to present positive evidences for that the BP and DP belong to the same universality class as the CP in two dimensions.
2 Methods
The classical site percolation model can be simulated simply by the following two steps: (i) Fill each site with independent probability and leave it empty with probability ; (ii) Identify all the connected clusters to check whether a percolating cluster exists. The simulation should be repeated many times to make a statistical average for a given . This algorithm is simple but inefficient. In order to get results with different probability , the whole simulation should be done again. It is more difficult to calculate the derivative of a quantity with respect to the probability , because numerical differentiation inevitably gives large error [26]. A more efficient algorithm was proposed by Newman and Ziff [27, 28], and it has become a standard method in classical percolation studies. The Newman-Ziff algorithm consists of four steps: (i) Initially, all sites are empty; (ii) Choose an empty site randomly and fill it; (iii) Update the information of connected clusters to check whether percolation occurs; (iv) Repeat steps (ii) and (iii) until all the sites are occupied. An efficient algorithm to update the information of connected clusters (tree-based union/find algorithms) is also presented in Ref. [28]. An average is obtained by repeating the whole steps, where is any quantity (e.g., size of the largest cluster) for a fixed number of occupied sites . In one run of the Newman-Ziff algorithm, is correlated with inevitably, but values of of different runs are absolutely independent and so the statistical averaging of has no problem. A value for a fixed occupation probability can be obtained by the transformation of
[TABLE]
where is the total number of sites. Therefore, once is obtained, can be calculated for all values of . Another advantage of the Newman-Ziff algorithm is that the derivative can be obtained through
[TABLE]
without numerical differentiation [29].
However, the Newman-Ziff algorithm cannot be used directly in the BP or DP models, because filling of each site depends on the local environment. As for the DP, the Newman-Ziff algorithm can be modified as follows.
(1) Initially, all sites are empty.
(2) Make an array of all the sites in random order.
(3) Get one site by the array. If the site is empty, fill it and other sites that have at least occupied neighbors, recursively. If the site is already occupied, do nothing.
(4) Update the information about connected clusters to check whether percolation occurs.
(5) Repeat steps (3) and (4) until all the sites are occupied.
The whole steps are repeated to make an average quantity , and the transformation of Eq. (1) gives . This algorithm is equivalent to the original DP with fixed because the final state does not depend on the sequence of the filling process once an initial occupation is determined. The BP model can be simulated by the same way as DP: Initially all sites are filled and sites are emptied one-by-one in random order. This algorithm is called the avalanching bootstrap percolation of the second kind (ABP2) [30]. However, the algorithm is inefficient because it is difficult to identify and update the cluster information during simulation. Therefore, we propose a more efficient algorithm for the BP model by introducing preoccupied state in addition to empty and occupied states. When a site is chosen in the Newman-Ziff algorithm, it is occupied only when there are at least occupied neighbors; otherwise, it is assigned to be preoccupied. Preoccupied state means that the site will be occupied after the condition is satisfied. The algorithm can be presented as follows.
(1) Initially, all sites are empty.
(2) Make an array of all the sites in random order.
(3-a) Get one site by the array. Set the site into the preoccupied state.
(3-b) Identify the connected cluster of preoccupied sites that includes the site. (To accelerate the simulation, preoccupied sites with less than occupied or preoccupied neighbors can be excluded from the cluster, because they are impossible to be filled.)
(3-c) Fill tentatively all the sites of the cluster.
(3-d) Within the cluster, set sites that have less than occupied neighbors into the preoccupied state again, recursively, until all the occupied sites have at least occupied neighbors.
(4) Update the information about connected clusters to check whether percolation occurs.
(5) Repeat steps (3) and (4) until all the sites are occupied.
All steps of this algorithm are identical with the Newman-Ziff algorithm of the CP except for step (3), and the efficient routine that updates the information of connected clusters can be used without modification. Although we focus on two-dimensional lattices in this paper, both of the algorithms for the DP and BP can also be applied to any dimensional systems and to complex networks.
The CPU time needed in these algorithms is proportional to the lattice size by with . CPU time for the DP, CP, and BP () are of the same order of magnitude for the same value of ; in the case of the BP with , CPU time requirement is about 10 times more than that of the CP. Three-dimensional lattices show the same behavior, but more calculations would be needed than two dimensions because the number of sites increases as , where is linear size. For a lattice of , it takes about one second of CPU time for one sweep except for the BP of by Intel(R) Xeon(R) CPU of 2.2 GHz. Note that the running time can be easily reduced by parallelizing the algorithm. In the case of the traditional brute force approach, which calculates directly, the CPU time requirement depends on the number of occupied sites. On average, it takes about half of the Newman-Ziff algorithm because some part of the lattice is not filled at all. However, it gives only at a specific value of , and another independent calculation is needed to get for . In addition, it is practically impossible to get its derivative with high precision. Therefore, our new algorithms are much more efficient except when only is to be calculated at a known specific .
Using these algorithms, we calculated the strength of the largest cluster (the probability that a site belongs to the largest cluster; ), average cluster size excluding the largest one (), percolation probability in any direction () and in both directions (), and proportion of occupied sites () as a function of for the CP, BP, and DP.
In this work, we consider eleven Archimedean lattices, which are vertex-transitive graphs made in two dimensions by edge-to-edge tiling of regular polygons whose vertices are surrounded by the same sequence of polygons. There are only eleven Archimedean lattices [31] and they are typically used for systematic studies [32, 33, 34]. They are shown in Fig. 1. The periodic boundary condition is used and the percolation is defined by the existence of a cluster that wraps all the way around the lattice. The number of lattice sites studied in this work is from to .
The percolation thresholds ( and ) of infinite lattices are determined by the finite-size-scaling. The percolation threshold estimate of a finite lattice is determined by the probabilities of initial filling () that give the maximums of physical quantities that show critical behavior or their derivatives. The percolation threshold can also be found by the crossing points of percolation probabilities of different lattice size [28]. We averaged the percolation threshold values obtained by these methods to get the final estimate. Critical exponents and are obtained by the derivative of percolation probability and , respectively [35, 29]. The correction-to-scaling [36, 37] is ignored.
Most of the results were produced by using Mersenne twister pseudo-random-number generator (MT19937) [38], which was confirmed reliable in a site percolation problem [39]. We also confirmed that other pseudo-random-number generators give equivalent results.
3 Results
Figure 2 shows the strength of the largest cluster , average cluster size excluding the largest one , percolation probability in any direction and in both directions , and proportion of occupied sites for the DP (), CP, and BP () in the triangular lattice. Parameter is the linear size of the lattice. They all show continuous phase transition, which becomes sharper as the lattice size increases. The proportion of occupied sites is independent of lattice size and does not show any critical behavior at the percolation threshold. Equivalent behavior is observed in the BP and DP of the other values of and , and in the other Archimedean lattices. The percolation threshold of infinite lattices [] is determined by the finite-size-scaling: . The percolation threshold estimate for a finite lattice is determined by the probabilities of initial filling () that give the maximum values of , , , , and . The fitting parameter depend on lattice structure, the physical quantity measured, and percolation type [40]. Figure 3 confirms the scaling behavior very well. In the case of the BP of , however, deviation from the scaling is large in small lattices for and , and so results of lattices smaller than were excluded in the fitting. This kind of deviation is also observed in BP of in the other kinds of lattices. The percolation threshold can also be found by the value of at the crossing points of and with various linear size () [28], as shown in Fig. 2. We ruled out the data from small lattices to reduce possible error from the finite-size-effect. All the values of the percolation threshold obtained by these methods were consistent with each other within error bars. The maximum of the probability of percolation only in one direction, , which has negligible finite-size-effect, gives the most accurate percolation threshold.
The final estimate of the percolation threshold was obtained by taking an average. Table 1 shows the percolation threshold of all continuous transitions; cases with the first-order transition (the BP with and DP with ) are omitted in the table. Note that for even-coordinated lattices and for odd-coordinated lattices, with exception of T7 (bounce lattice), which has and . The percolation threshold results of the BP with or are the same as that of the CP within error bars, as is expected. We confirmed that they are also consistent with exact or the most precise numerical results of the CP [23, 32, 41, 42] within relative errors of the order of . The percolation threshold values of the BP and DP of other values of and for square, triangular, and honeycomb lattices are also consistent with references [6, 16, 17], but our work is much more precise.
Figure 4 shows maximum values of the derivative of percolation probability, and , and derivative of percolation probability and strength of the largest cluster at the percolation threshold calculated in this work. They satisfy the scaling relations [35, 29]:
[TABLE]
Therefore, the critical exponents can be obtained by fitting. In cases of the BP of , there exists small but systematic deviation from the scaling behavior for in small lattices (), which were excluded from the fitting. Table 1 summarizes the critical exponents obtained in this work. They are consistent with those of the two-dimensional classical percolation model ( and ) within error bars, which are much smaller than references [10, 11, 13, 6, 15, 16, 17]. Therefore, we are convinced that continuous transitions of the BP and DP have the same critical exponents as the CP in two dimensions.
4 Summary
We extended the Newman-Ziff algorithm of the classical percolation to propose very efficient algorithms for the BP and DP models. Using these algorithms we studied the BP and DP in the eleven Archimedean lattices. The BP with and the DP with have continuous percolation phase transitions. We found that except for the bounce lattice (T7), which has . Through the finite-size-scaling, we calculated the percolation threshold and critical exponents for the BP and DP with the continuous phase transition. We found that the critical exponents and are the same as those of the CP within error bars to conclude that the BP and DP almost certainly belong to the same universality class as the CP in two dimensions.
The algorithms presented in this paper can be directly applied to any dimensions and graphs. Since the BP and DP models are useful both in materials on lattices and in complex systems, studies of the BP and DP using these new algorithms in three-dimensional lattices and complex networks would be also interesting.
Acknowledgments
This work was supported by GIST Research Institute (GRI) grant funded by the GIST in 2019.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Chalupa, P. L. Leath, G. R. Reich, Bootstrap percolation on a Bethe lattice, J. Phys. C 12 (1) (1979) L 31. doi:10.1088/0022-3719/12/1/008 . · doi ↗
- 2[2] S. Sabhapandit, D. Dhar, P. Shukla, Hysteresis in the random-field Ising model and bootstrap percolation, Phys. Rev. Lett. 88 (19) (2002) 197202. doi:10.1103/Phys Rev Lett.88.197202 . · doi ↗
- 3[3] J. Soriano, M. R. Martínez, T. Tlusty, E. Moses, Development of input connections in neural cultures, Proc. Natl. Acad. Sci. U.S.A. 105 (37) (2008) 13758–13763. doi:10.1073/pnas.0707492105 . · doi ↗
- 4[4] P. D. Gregorio, A. Lawlor, P. Bradley, K. A. Dawson, Exact solution of a jamming transition: Closed equations for a bootstrap percolation problem, Proc. Natl. Acad. Sci. U.S.A. 102 (16) (2005) 5669–5673. doi:10.1073/pnas.0408756102 . · doi ↗
- 5[5] C. Roca, M. Draief, D. Helbing, Coordination and competitive innovation spreading in social networks, in: D. Helbing (Ed.), Social Self-Organization, Springer, Heidelberg, 2012, Ch. 9, pp. 169–184.
- 6[6] J. Adler, A. Aharony, Diffusion percolation. I. Infinite time limit and bootstrap percolation, J. Phys. A 21 (6) (1988) 1387. doi:10.1088/0305-4470/21/6/015 . · doi ↗
- 7[7] G. J. Baxter, S. N. Dorogovtsev, A. V. Goltsev, J. F. F. Mendes, Bootstrap percolation on complex networks, Phys. Rev. E 82 (1) (2010) 011103. doi:10.1103/Phys Rev E.82.011103 . · doi ↗
- 8[8] J. Gravner, A. E. Holroyd, R. Morris, A sharper threshold for bootstrap percolation in two dimensions, Probab. Theory Rel. 153 (1) (2012) 1–23. doi:10.1007/s 00440-010-0338-z . · doi ↗
