All models

KilonovaNet

Conditional variational autoencoder that generates surrogate kilonova spectra from physical parameters.

Physics and weather · 23 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (31 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
4.6M
Operations
23
Framework
PyTorch
Recurrent
No
Published
Monthly Notices of the Royal Astronomical Society (arXiv 2022)
Cited by
17 (as of 29 October 2026)
Authors
Kamilė Lukošiūtė, Geert Raaijmakers, Zoheyr Doctor and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17677
Graph hash
3f59064fa55ff9d688b5cf7f9978d76b127a94d1b4c6de089b7aa43fc39b0f72
Skeleton hash
bf8fae2d1ea1cdee16dfbfc861d0126a6986abf05a8171b131d884a8553c6cd3
Architecture hash
977233d5b620664ce025c85af19fa996d10bea1630c628d99e51c0e2355ac8df
Diagram SHA-256
3940cd9c38381dc0a288b047e6ac0ade713ce16e69fbb9d138aeca29cb525a19
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

KilonovaNet is a conditional variational autoencoder (cVAE) that serves as a surrogate for radiative transfer simulations of kilonova spectra. The paper notes that the simulations themselves take several hours to produce observables for one parameter set. A surrogate emulates the simulation output but runs much faster, which is what parameter inference studies need.

The network has an encoder and a decoder joined by a latent space. The encoder receives the physical parameters and the spectrum at one time step of a single kilonova event. After training, only the decoder is needed: it takes a sample from a standard normal distribution and a set of physical parameters and predicts a spectrum. Parameters and spectra are rescaled to the range [0, 1] to match the sigmoid activation in the decoder's final layer.

A distinct cVAE was trained for each of three simulated data sets. The hyperparameters searched were the dimensionality of the latent space and of the hidden layers of the encoder and decoder. The provided model for the Bulla BNS simulations has a latent size of 20 and a hidden size of 1000, as its file name records. The paper reports that predicting 100 spectra from unique parameter sets takes approximately 10 milliseconds on one CPU.

Key idea. KilonovaNet builds surrogate models of kilonova spectra with conditional variational autoencoders trained directly on spectra, which removes spectrum pre-processing and speeds up parameter inference.

  • KilonovaNet
  • kilonova
  • kilonova spectra
  • surrogate model
  • conditional variational autoencoder
  • cVAE
  • radiative transfer surrogate
  • multimessenger astrophysics
  • GW170817

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lukošiūtė2022kilonovanetsurrogatemodelskilonova,
      title={KilonovaNet: Surrogate Models of Kilonova Spectra with Conditional Variational Autoencoders}, 
      author={Kamilė Lukošiūtė and Geert Raaijmakers and Zoheyr Doctor and Marcelle Soares-Santos and Brian Nord},
      year={2022},
      eprint={2204.00285},
      archivePrefix={arXiv},
      primaryClass={astro-ph.IM},
      doi={https://doi.org/10.1093/mnras/stac2342},
      url={https://arxiv.org/abs/2204.00285}, 
}