Abstract
Gravitational waves from binary neutron star mergers provide insights into dense matter physics and strong-field gravity, but waveform modeling remains computationally challenging. We develop a deep generative model for gravitational waveforms from binary neutron star mergers, covering the late inspiral, merger, and ringdown, incorporating precession and tidal effects. Using the conditional autoencoder, our model efficiently generates waveforms with high precision across a broad parameter space, including component masses (m₁,m₂), spin components (S₁ₓ,S₁ᵧ,S₁z,S₂ₓ,S₂ᵧ,S₂z), and tidal deformability (Λ1,Λ2). Trained on 1 ×106 waveforms from the IMRPhenomXP_NRTidalv2 waveform model, our model achieves a mean mismatch of 2.13 ×10−3. The model accelerates waveform generation. For a single sample, it requires 0.12 s (s), compared to 0.66 s for IMRPhenomXP_NRTidalv2 making it approximately 5 times faster. When generating 1000 waveforms, the network completes the task in 0.75 s, while IMRPhenomXP_NRTidalv2 requires 7.12 s, making it approximately 10 times faster. This speed advantage enables rapid parameter estimation and real-time gravitational wave searches. With higher precision, it will support low-latency detection and broader applications in multimessenger astrophysics.