All models

SR-GAN cosmology (map-to-map)

A GAN generator that super-resolves cosmological N-body simulation fields to 512 times more particles.

Physics and weather · 74 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 (36 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
7M
Operations
74
Framework
PyTorch
Recurrent
No
Published
PNAS 2021
Authors
Yin Li, Yueying Ni, Rupert A. C. Croft and others
License
GPL-3.0
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
m20122
Graph hash
429587c95dcfb0253bd903d0952d517a69fc09a4d2ae480ecc1f83ac4701071f
Skeleton hash
b85222d32edf8a020bee053e004904d72c1967297a0b67bcc7162670fb57ffb9
Architecture hash
037f7da466a4f1452579acb35dcb2e20b040deebe47113ffd9527106ab4d6433
Diagram SHA-256
71e929f474981d1e6d505c0a481b8706bcbad04d04eeaa8f020d738e0480a37e
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

This model is the generator of a generative adversarial network that super-resolves cosmological N-body simulations, turning the output of a low-resolution run into a high-resolution version. It generates 512 times more tracer particles and produces both their displacements and their velocities. The first paper gives the motivation: cosmological simulations of galaxy formation are limited by finite computational resources.

The displacement and velocity vectors of the tracer particles are structured as a 3D image with 6 channels, and the generator takes the low-resolution 6-channel field as input. The generator is shaped like a ladder that upsamples by a factor of two at each rung. The authors say the design was inspired mostly by StyleGAN2 and uses the same noise mechanism to add stochasticity to the output. Because generation is stochastic, the small-scale modes can be sampled conditional on the large-scale environment.

The networks are trained with the WGAN-gp method. Because of GPU memory limits, simulation boxes are cropped into cubical chunks, and extra margins are padded around the low-resolution input in a periodic fashion. The first paper says the model learns from only 16 pairs of small-volume low-resolution and high-resolution simulations. It also reports deploying the model in a box 1000 times larger than the training simulation box.

Key idea. The authors built a StyleGAN2-inspired generative adversarial network that turns low-resolution cosmological N-body simulations into stochastic high-resolution realizations with 512 times more particles.

  • sr-gan cosmology
  • srs-map2map
  • map2map
  • srsgan
  • super-resolution cosmological simulation
  • n-body simulation
  • cosmology super-resolution
  • dark matter halos
  • ai-assisted super-resolution cosmological simulations

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

Cite the paper

@misc{li2021aiassistedsuperresolutioncosmologicalsimulations,
      title={AI-assisted super-resolution cosmological simulations}, 
      author={Yin Li and Yueying Ni and Rupert A. C. Croft and Tiziana Di Matteo and Simeon Bird and Yu Feng},
      year={2021},
      eprint={2010.06608},
      archivePrefix={arXiv},
      primaryClass={astro-ph.CO},
      doi={https://doi.org/10.1073/pnas.2022038118},
      url={https://arxiv.org/abs/2010.06608}, 
}