English

Determining the time before or after a galaxy merger event

Astrophysics of Galaxies 2024-06-26 v1

Abstract

Aims. This work aims to reproduce the time before or after a merger event of merging galaxies from the IllustrisTNG cosmological simulation using machine learning. Methods. Images of merging galaxies were created in the u, g, r, and i bands from IllustrisTNG. The merger times were determined using the time difference between the last simulation snapshot where the merging galaxies were tracked as two galaxies and the first snapshot where the merging galaxies were tracked as a single galaxy. This time was then further refined using simple gravity simulations. These data were then used to train a residual network (ResNet50), a Swin Transformer (Swin), a convolutional neural network (CNN), and an autoencoder (using a single latent neuron) to reproduce the merger time. The full latent space of the autoencoder was also studied to see if it reproduces the merger time better than the other methods. This was done by reducing the latent space dimensions using Isomap, linear discriminant analysis (LDA), neighbourhood components analysis, sparse random projection, truncated singular value decomposition and uniform manifold approximation and projection. Results. The CNN is the best of all the neural networks. The performance of the autoencoder was close to the CNN, with Swin close behind the autoencoder. ResNet50 performed the worst. The LDA dimensionality reduction performed the best of the six methods used. The exploration of the full latent space produced worse results than the single latent neuron of the autoencoder. For the test data set, we found a median error of 190 Myr, comparable to the time separation between snapshots in IllustrisTNG. Galaxies more than \approx 625 Myr before a merger have poorly recovered merger times, as well as galaxies more than \approx 125 Myr after a merger event.

Keywords

Cite

@article{arxiv.2404.11166,
  title  = {Determining the time before or after a galaxy merger event},
  author = {W. J. Pearson and V. Rodriguez-Gomez and S. Kruk and B. Margalef-Bentabol},
  journal= {arXiv preprint arXiv:2404.11166},
  year   = {2024}
}

Comments

16 pages, 20 figures, 1 appendix, Accepted for publication in Astronomy & Astrophysics

R2 v1 2026-06-28T15:56:53.288Z