- Letter
- Open Access
Unbiased Monte Carlo cluster updates with autoregressive neural networks
Phys. Rev. Research 3, L042024 – Published 10 November, 2021
DOI: https://doi.org/10.1103/PhysRevResearch.3.L042024
Abstract
Efficient sampling of complex high-dimensional probability distributions is a central task in computational science. Machine learning methods like autoregressive neural networks, used with Markov chain Monte Carlo sampling, provide good approximations to such distributions but suffer from either intrinsic bias or high variance. In this Letter, we propose a way to make this approximation unbiased and with low variance. Our method uses physical symmetries and variable-size cluster updates which utilize the structure of autoregressive factorization. We test our method for first- and second-order phase transitions of classical spin systems, showing its viability for critical systems and in the presence of metastable states.
Physics Subject Headings (PhySH)
Article Text
Supplemental Material
References (50)
- N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H. Teller, and E. Teller, Equation of state calculations by fast computing machines, J. Chem. Phys. 21, 1087 (1953).
- K. Binder, Monte Carlo and Molecular Dynamics Simulations in Polymer Science (Oxford University Press, Oxford, 1995).
- K. Binder and D. W. Heermann, Monte Carlo Simulation in Statistical Physics (Springer, Berlin, Heidelberg, 2010).
- W. Krauth, Statistical Mechanics: Algorithms and Computations (Oxford University Press, Oxford, 2006).
- J. Gubernatis, N. Kawashima, and P. Werner, Quantum Monte Carlo Methods (Cambridge University Press, Cambridge, 2016).
- F. Becca and S. Sorella, Quantum Monte Carlo Approaches for Correlated Systems (Cambridge University Press, Cambridge, 2017).
- S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi, Optimization by simulated annealing, Science 220, 671 (1983).
- R. Y. Rubinstein and D. P. Kroese, The Cross-Entropy Method: A Unified Approach to Combinatorial Optimization, Monte-Carlo Simulation and Machine Learning (Springer Science & Business Media, New York, 2004).
- R. L. Cook, Stochastic sampling in computer graphics, ACM Trans. Graph. 5, 51 (1986).
- H. Müller-Krumbhaar and K. Binder, Dynamic properties of the Monte Carlo method in statistical mechanics, J. Stat. Phys. 8, 1 (1973).
- J. S. Liu, Monte Carlo Strategies in Scientific Computing (Springer Science & Business Media, New York, 2004).
- J.-S. Wang and R. H. Swendsen, Cluster Monte Carlo algorithms, Physica A 167, 565 (1990).
- U. Wolff, Collective Monte Carlo Updating for Spin Systems, Phys. Rev. Lett. 62, 361 (1989).
- R. H. Swendsen and J.-S. Wang, Replica Monte Carlo Simulation of Spin-Glasses, Phys. Rev. Lett. 57, 2607 (1986).
- N. V. Prokof'ev, B. V. Svistunov, and I. S. Tupitsyn, “worm” algorithm in quantum Monte Carlo simulations, Phys. Lett. A 238, 253 (1998).
- E. P. Bernard, W. Krauth, and D. B. Wilson, Event-chain Monte Carlo algorithms for hard-sphere systems, Phys. Rev. E 80, 056704 (2009).
- G. Carleo, I. Cirac, K. Cranmer, L. Daudet, M. Schuld, N. Tishby, L. Vogt-Maranto, and L. Zdeborová, Machine learning and the physical sciences, Rev. Mod. Phys. 91, 045002 (2019).
- D. Levy, M. D. Hoffman, and J. Sohl-Dickstein, Generalizing Hamiltonian Monte Carlo with neural networks, International Conference on Learning Representations, Vancouver, BC, Canada (2018).
- J. Song, S. Zhao, and S. Ermon, A-NICE-MC: Adversarial training for MCMC, Advances in Neural Information Processing Systems, Long Beach, CA (2017), pp. 5140–5150.
- M. Medvidovic, J. Carrasquilla, L. E. Hayward, and B. Kulchytskyy, Generative models for sampling of lattice field theories, arXiv:2012.01442 (2020).
- J. Liu, Y. Qi, Z. Y. Meng, and L. Fu, Self-learning Monte Carlo method, Phys. Rev. B 95, 041101(R) (2017).
- L. Huang and L. Wang, Accelerated Monte Carlo simulations with restricted Boltzmann machines, Phys. Rev. B 95, 035105 (2017).
- H. Shen, J. Liu, and L. Fu, Self-learning Monte Carlo with deep neural networks, Phys. Rev. B 97, 205140 (2018).
- L. Bonati, Y.-Y. Zhang, and M. Parrinello, Neural networks-based variationally enhanced sampling, Proc. Natl. Acad. Sci. USA 116, 17641 (2019).
- F. Noé, S. Olsson, J. Köhler, and H. Wu, Boltzmann generators: sampling equilibrium states of many-body systems with deep learning, Science 365, eaaw1147 (2019).
- T. Müller, B. McWilliams, F. Rousselle, M. Gross, and J. Novák, Neural importance sampling, ACM Trans. Graph. 38, 1 (2019).
- D. Wu, L. Wang, and P. Zhang, Solving Statistical Mechanics Using Variational Autoregressive Networks, Phys. Rev. Lett. 122, 080602 (2019).
- M. S. Albergo, G. Kanwar, and P. E. Shanahan, Flow-based generative models for Markov chain Monte Carlo in lattice field theory, Phys. Rev. D 100, 034515 (2019).
- S.-H. Li and L. Wang, Neural Network Renormalization Group, Phys. Rev. Lett. 121, 260601 (2018).
- K. A. Nicoli, S. Nakajima, N. Strodthoff, W. Samek, K.-R. Müller, and P. Kessel, Asymptotically unbiased estimation of physical observables with neural samplers, Phys. Rev. E 101, 023304 (2020).
- B. McNaughton, M. V. Milošević, A. Perali, and S. Pilati, Boosting Monte Carlo simulations of spin glasses using autoregressive neural networks, Phys. Rev. E 101, 053312 (2020).
- B. Uria, M.-A. Côté, K. Gregor, I. Murray, and H. Larochelle, Neural autoregressive distribution estimation, J. Mach. Learn. Res. 17, 7184 (2016).
- H. Larochelle and I. Murray, The neural autoregressive distribution estimator, in International Conference on Artificial Intelligence and Statistics (2011), Vol. 15, pp. 29–37.
- S. Kullback and R. A. Leibler, On information and sufficiency, Ann. Math. Stat. 22, 79 (1951).
- I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning (MIT Press, Cambridge, 2016), Chap. 3.1.3.
- See Supplemental Material at http://link.aps.org/supplemental/10.1103/PhysRevResearch.3.L042024 for a discussion about the decomposition of transition matrix, a comparison of cluster size distributions , the definitions of autocorrelation times, details of numerical experiments, a plot of the occurrence of ESCs, and the system size dependence of autocorrelation time.
- L. Onsager, Crystal statistics. I. A two-dimensional model with an order-disorder transition, Phys. Rev. 65, 117 (1944).
- A. van den Oord, N. Kalchbrenner, and K. Kavukcuoglu, Pixel recurrent neural networks, in International Conference on Machine Learning (PMLR, New York, 2016).
- F. Yu and V. Koltun, Multi-scale context aggregation by dilated convolutions, in International Conference on Learning Representations (San Juan, Puerto Rico, 2016).
- K. Vollmayr, J. D. Reger, M. Scheucher, and K. Binder, Finite size effects at thermally-driven first order phase transitions: A phenomenological theory of the order parameter distribution, Z. Phys. B: Condens. Matter 91, 113 (1993).
- H. Arisue and K. Tabata, First order phase transition of the -state Potts model in two dimensions, in Non-Perturbative Methods and Lattice QCD (World Scientific, Singapore, 2001), pp. 233–241.
- V. Gorbenko, S. Rychkov, and B. Zan, Walking, weak first-order transitions, and complex CFTs, J. High Energy Phys. 10 (2018) 108.
- V. Gorbenko, S. Rychkov, and B. Zan, Walking, weak first-order transitions, and complex CFTs II. Two-dimensional Potts model at , SciPost Phys. 5, 050 (2018).
- R. Gheissari and E. Lubetzky, Mixing times of critical 2D Potts models, arXiv:1607.02182 (2016).
- F. Krzakala and L. Zdeborová, Hiding Quiet Solutions in Random Constraint Satisfaction Problems, Phys. Rev. Lett. 102, 238701 (2009).
- F. Krzakala, M. Mézard, F. Sausset, Y. F. Sun, and L. Zdeborová, Statistical-Physics-Based Reconstruction in Compressed Sensing, Phys. Rev. X 2, 021005 (2012).
- J. Banks, R. Kleinberg, and C. Moore, The Lovász theta function for random regular graphs and community detection in the hard regime, SIAM J. Comput. 48, 1098 (2019).
- R. Blankenbecler, D. J. Scalapino, and R. L. Sugar, Monte Carlo calculations of coupled boson-fermion systems. I, Phys. Rev. D 24, 2278 (1981).
- D. C. Hackett, C.-C. Hsieh, M. S. Albergo, D. Boyda, J.-W. Chen, K.-F. Chen, K. Cranmer, G. Kanwar, and P. E. Shanahan, Flow-based sampling for multimodal distributions in lattice field theory, arXiv:2107.00734 (2021).
- https://github.com/wdphy16/neural-cluster-update.