mlsanityData to 7 Oct 2026

Segmenting proto-halos with vision transformers

arXiv 2508.00049 ↗First posted 31 Jul 2025astro-ph.CO astro-ph.IM cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

The formation of dark-matter halos from small cosmological perturbations generated in the early universe is a highly non-linear process typically modeled through N-body simulations. In this work, we explore the use of deep learning to segment and classify proto-halo regions in the initial density field according to their final halo mass at redshift z=0. We compare two architectures: a fully convolutional neural network (CNN) based on the V-Net design and a U-Net transformer. We find that the transformer-based network significantly outperforms the CNN across all metrics, achieving sub-percent error in the total segmented mass per halo class. Both networks deliver much higher accuracy than the perturbation-theory-based model textscpinocchio, especially at low halo masses and in the detailed reconstruction of proto-halo boundaries. We also investigate the impact of different input features by training models on the density field, the tidal shear, and their combination. Finally, we use Grad-CAM to generate class-activation heatmaps for the CNN, providing preliminary yet suggestive insights into how the network exploits the input fields.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 76 references that are in the map. First posted on arXiv 31 Jul 2025.

Builds on

14 of 76 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  6. 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
  7. 2021UNETR: Transformers for 3D Medical Image Segmentationcited by 954
  8. 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
  9. 2020A survey of loss functions for semantic segmentationcited by 216
  10. 2017Improved Texture Networks: Maximizing Quality and Diversity in Feed-forward Stylization and Texture Synthesiscited by 215
  11. 2023Deep symbolic regression for physics guided by units constraints: toward the automated discovery of physical lawscited by 55
  12. 2018A volumetric deep Convolutional Neural Network for simulation of mock dark matter halo cataloguescited by 7
2 more
  1. 2020Deep learning insights into cosmological structure formationcited by 3
  2. 2021Classification algorithms applied to structure formation simulationscited by 2

Built on by

Not cited yet.