English

PyTorchFire: A GPU-Accelerated Wildfire Simulator with Differentiable Cellular Automata

Computational Engineering, Finance, and Science 2025-03-13 v1 Cellular Automata and Lattice Gases Computational Physics Computation

Abstract

Accurate and rapid prediction of wildfire trends is crucial for effective management and mitigation. However, the stochastic nature of fire propagation poses significant challenges in developing reliable simulators. In this paper, we introduce PyTorchFire, an open-access, PyTorch-based software that leverages GPU acceleration. With our redesigned differentiable wildfire Cellular Automata (CA) model, we achieve millisecond-level computational efficiency, significantly outperforming traditional CPU-based wildfire simulators on real-world-scale fires at high resolution. Real-time parameter calibration is made possible through gradient descent on our model, aligning simulations closely with observed wildfire behavior both temporally and spatially, thereby enhancing the realism of the simulations. Our PyTorchFire simulator, combined with real-world environmental data, demonstrates superior generalizability compared to supervised learning surrogate models. Its ability to predict and calibrate wildfire behavior in real-time ensures accuracy, stability, and efficiency. PyTorchFire has the potential to revolutionize wildfire simulation, serving as a powerful tool for wildfire prediction and management.

Cite

@article{arxiv.2502.18738,
  title  = {PyTorchFire: A GPU-Accelerated Wildfire Simulator with Differentiable Cellular Automata},
  author = {Zeyu Xia and Sibo Cheng},
  journal= {arXiv preprint arXiv:2502.18738},
  year   = {2025}
}

Comments

19 pages, 14 figures, to be published in Environmental Modelling & Software

R2 v1 2026-06-28T21:58:06.261Z