A differentiable programming framework for spin models

Tiago de Souza Farias, Vitor Vaz Schultz, José Carlos Merino Mombach, Jonas Maziero
4/4/2023
cond-mat.stat-mechcs.LG

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{farias2023differentiable,
  title  = {A differentiable programming framework for spin models},
  author = {Tiago de Souza Farias and Vitor Vaz Schultz and José Carlos Merino Mombach and Jonas Maziero},
  year   = {2023},
  eprint = {2304.01772},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.01772v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.01772.svg)](https://codeofpaper.com/paper/2304.01772)

Discussion