PyTorchFire: A GPU-accelerated wildfire simulator with Differentiable Cellular Automata

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.
Type
Publication
Environmental Modelling & Software, 188, 106401. Elsevier BV
publications
Zeyu Xia
Authors
Zeyu Xia (he/him)
Computer Science PhD Student

I am a Computer Science PhD student at the University of Virginia, advised by Prof. Geoffrey C. Fox. My research focuses on generative models and differentiable simulation for science. I build efficient methods for scientific data generation and inverse problems, and evaluate how well models capture physical behavior.

I also contribute to DeepVELA, exploring agentic benchmarks for scientific applications in collaboration with MLCommons.