paper-with-me

홈 › Papers

Machine learning-driven conservative-to-primitive conversion in hybrid piecewise polytropic and tabulated equations of state

2024-12-10 · Semih Kacmaz, Roland Haas, E. A. Huerta

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.

📄 PDF Abstract BibTeX arXiv:2412.07836

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPUQuantization

Similar Papers 제목 키워드 기반

Progressive Tandem Learning for Pattern Recognition with Deep Spiking Neural Networks

2020-07-02 · Jibin Wu, Cheng-Lin Xu, Daquan Zhou, Haizhou Li 외

Spiking neural networks (SNNs) have shown clear advantages over traditional artificial neural networks (ANNs) for low latency and high computational efficiency, due to their event-driven nature and sparse communication. …

Computational EfficiencyImage ReconstructionObject RecognitionSpeech Separation

e-G2C: A 0.14-to-8.31 $μ$J/Inference NN-based Processor with Continuous On-chip Adaptation for Anomaly Detection and ECG Conversion from EGM

2022-07-24 · Yang Zhao, Yongan Zhang, Yonggan Fu, Xu Ouyang 외

This work presents the first silicon-validated dedicated EGM-to-ECG (G2C) processor, dubbed e-G2C, featuring continuous lightweight anomaly detection, event-driven coarse/precise conversion, and on-chip adaptation. e-G2C…

Anomaly Detection

Modeling Method for the Coupling Relations of Microgrid Cyber-Physical Systems Driven by Hybrid Spatiotemporal Events

2021-02-01 · Xiaoyong Bo, Xiaoyu Chen, Huashun Li, Yunchang Dong 외

The essence of the microgrid cyber-physical system (CPS) lies in the cyclical conversion of information flow and energy flow. Most of the existing coupling models are modeled with static networks and interface structures…

Decision Making

On Choosing the $μ$ Parameter in Gaussian Differential Privacy

2026-06-08 · Bogdan Kulynych, Antti Honkela arxiv

Recent work argues for using Gaussian differential privacy (GDP) to report the privacy guarantees in privacy-preserving machine learning. We provide principled mappings from pure-DP $\varepsilon$ to GDP $μ$ by matching t…

UltraCUA: A Foundation Model for Computer Use Agents with Hybrid Action

2025-10-20 · Yuhao Yang, Zhen Yang, Zi-Yi Dou, Anh Nguyen 외 arxiv

Computer-use agents face a fundamental limitation. They rely exclusively on primitive GUI actions (click, type, scroll), creating brittle execution chains prone to cascading failures. While API-driven agents harness rich…

Reinforcement Learning