Machine learning-driven conservative-to-primitive conversion in hybrid piecewise polytropic and tabulated equations of state
December 10, 2024 Β· Declared Dead Β· π Symmetry
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Semih Kacmaz, Roland Haas, E. A. Huerta
arXiv ID
2412.07836
Category
gr-qc
Cross-listed
astro-ph.IM,
cs.AI,
physics.comp-ph
Citations
1
Venue
Symmetry
Last Checked
4 months ago
Abstract
We present a novel machine learning (ML) method to accelerate conservative-to-primitive inversion, focusing on hybrid piecewise polytropic and tabulated equations of state. Traditional root-finding techniques are computationally expensive, particularly for large-scale relativistic hydrodynamics simulations. To address this, we employ feedforward neural networks (NNC2PS and NNC2PL), trained in PyTorch and optimized for GPU inference using NVIDIA TensorRT, achieving significant speedups with minimal accuracy loss. The NNC2PS model achieves $ L_1 $ and $ L_\infty $ errors of $ 4.54 \times 10^{-7} $ and $ 3.44 \times 10^{-6} $, respectively, while the NNC2PL model exhibits even lower error values. TensorRT optimization with mixed-precision deployment substantially accelerates performance compared to traditional root-finding methods. Specifically, the mixed-precision TensorRT engine for NNC2PS achieves inference speeds approximately 400 times faster than a traditional single-threaded CPU implementation for a dataset size of 1,000,000 points. Ideal parallelization across an entire compute node in the Delta supercomputer (Dual AMD 64 core 2.45 GHz Milan processors; and 8 NVIDIA A100 GPUs with 40 GB HBM2 RAM and NVLink) predicts a 25-fold speedup for TensorRT over an optimally-parallelized numerical method when processing 8 million data points. Moreover, the ML method exhibits sub-linear scaling with increasing dataset sizes. We release the scientific software developed, enabling further validation and extension of our findings. This work underscores the potential of ML, combined with GPU optimization and model quantization, to accelerate conservative-to-primitive inversion in relativistic hydrodynamics simulations.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
π Similar Papers
In the same crypt β gr-qc
R.I.P.
π»
Ghosted
R.I.P.
π»
Ghosted
Deep Transfer Learning: A new deep learning glitch classification method for advanced LIGO
R.I.P.
π»
Ghosted
Enabling real-time multi-messenger astrophysics discoveries with deep learning
R.I.P.
π»
Ghosted
Accelerated, Scalable and Reproducible AI-driven Gravitational Wave Detection
R.I.P.
π»
Ghosted
Statistically-informed deep learning for gravitational wave parameter estimation
R.I.P.
π»
Ghosted
Machine-learning non-stationary noise out of gravitational wave detectors
Died the same way β π» Ghosted
R.I.P.
π»
Ghosted
Federated Learning: Strategies for Improving Communication Efficiency
R.I.P.
π»
Ghosted
In-Datacenter Performance Analysis of a Tensor Processing Unit
R.I.P.
π»
Ghosted
Deep Convolutional Neural Networks for Computer-Aided Detection: CNN Architectures, Dataset Characteristics and Transfer Learning
R.I.P.
π»
Ghosted