Machine learning-driven conservative-to-primitive conversion in hybrid piecewise polytropic and tabulated equations of state
Semih Kacmaz, Roland Haas, E. A. Huerta

TL;DR
This paper introduces a machine learning approach using neural networks and GPU optimization to significantly accelerate conservative-to-primitive inversion in relativistic hydrodynamics, reducing computation time with minimal accuracy loss.
Contribution
The authors develop and optimize neural network models for fast, accurate conservative-to-primitive conversion, leveraging GPU inference and quantization for large-scale simulations.
Findings
Neural network models achieve errors below 10^{-6}.
TensorRT optimization yields 400x speedup over CPU methods.
Sub-linear scaling observed with increasing dataset size.
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 and errors of and , 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks
