A differentiable programming framework for spin models
arXiv:2304.01772 · doi:10.1016/j.cpc.2024.109234
Abstract
We introduce a novel framework for simulating spin models using differentiable programming, an approach that leverages the advancements in machine learning and computational efficiency. We focus on three distinct spin systems: the Ising model, the Potts model, and the Cellular Potts model, demonstrating the practicality and scalability of our framework in modeling these complex systems. Additionally, this framework allows for the optimization of spin models, which can adjust the parameters of a system by a defined objective function. In order to simulate these models, we adapt the Metropolis-Hastings algorithm to a differentiable programming paradigm, employing batched tensors for simulating spin lattices. This adaptation not only facilitates the integration with existing deep learning tools but also significantly enhances computational speed through parallel processing capabilities, as it can be implemented on different hardware architectures, including GPUs and TPUs.
arXiv comment18 pages, 9 figures
References in corpus (17)
- Firedrake: automating the finite element method by composing abstractions
- Efficient Representation of Quantum Many-body States with Deep Neural Networks
- Construction of arbitrary order finite element degree-of-freedom maps on polygonal and polyhedral cell meshes
- JAX-FLUIDS: A fully-differentiable high-order computational fluid dynamics solver for compressible two-phase flows
- Multi-GPU Accelerated Multi-Spin Monte Carlo Simulations of the 2D Ising Model
- Nonequilibrium Phase Transition in the Kinetic Ising model: Critical Slowing Down and Specific-heat Singularity
- Super-resolving the Ising model with convolutional neural networks
- A Performance Study of the 2D Ising Model on GPUs
- Automatic Differentiable Monte Carlo: Theory and Application
- GPU accelerated Monte Carlo simulations of lattice spin models
- GPU-based single-cluster algorithm for the simulation of the Ising model
- Introduction to Monte Carlo methods for an Ising Model of a Ferromagnet
- State Preparation in the Heisenberg Model through Adiabatic Spiraling
- Large-scale simulations of biological cell sorting driven by differential adhesion follow diffusion-limited domain coalescence regime
- Phase Transition of Generalized Ferromagnetic Potts Model - Effect of Invisible States -
- Differentiable programming for particle physics simulations
- Measures of Spin Ordering in the Potts Model with a Generalized External Magnetic Field