Abstract
Generating large-scale mock galaxy catalogues is a cornerstone of modern cosmology, yet traditional N-body simulations are computationally prohibitive. We present HaloNet, a 3D volumetric Convolutional Neural Network (CNN) designed to predict dark matter halo locations and masses directly from initial density fields. By treating halo identification as a 3D image segmentation problem, HaloNet achieves high accuracy and significant computational speedups, producing catalogues in minutes that previously required extensive supercomputer resources.
Introduction
To interpret data from large-scale cosmological surveys, researchers rely on thousands of "mock" simulations to quantify uncertainties and test analysis pipelines. The standard approach involves N-body simulations, which track the gravitational collapse of millions of particles. While accurate, the computational cost of these simulations limits the volume and resolution of available mocks. Approximate semi-analytic methods like the Peak Patch algorithm provide a faster alternative, but there remains a critical need for even more efficient generative models. HaloNet addresses this by leveraging deep learning to map initial linear density fields to final halo distributions.
Methodology
HaloNet frames the generation of halo catalogues as a volumetric segmentation task. The model takes a 3D grid of the initial linear density field (Lagrangian space) as input and outputs a voxel-wise probability mask indicating the presence of a dark matter halo.
Architecture: The HaloNet V-Net
The core architecture is an adaptation of the V-Net, a 3D variant of the U-Net architecture. It utilizes a symmetric encoder-decoder structure with skip connections to capture features across multiple spatial scales, from 1 Mpc to 160 Mpc.
The network is trained using a Dice coefficient loss function, which is robust against the extreme class imbalance found in cosmological volumes. Post-processing involves a custom geometric halo finder that identifies high-probability clusters and determines their physical properties, such as radius and mass.
Results
The model was trained on over 14,000 independent sub-volumes and validated against full-scale $(512 \text{ Mpc})^3$ simulations.
Performance and Accuracy
HaloNet achieved a Dice coefficient of approximately 92% within 24 hours of training. Qualitative analysis shows that the network's predictions are spatially consistent with the ground truth provided by the Peak Patch algorithm.
Beyond simple spatial matching, the network implicitly learns complex physical phenomena such as ellipsoidal collapse and tidal shear, despite these not being explicitly included in the training objective. Quantitatively, the resulting halo mass functions and power spectra match the ground truth to within 10% accuracy.
Computational Efficiency
The primary advantage of HaloNet is its speed. A full $512^3$ voxel simulation can be processed in approximately 3 minutes on a single GPU. This represents an orders-of-magnitude improvement over traditional gravitational evolution methods, primarily because the CNN's local operations allow for trivial parallelization without the heavy communication overhead required by N-body solvers.
Conclusion and Future Work
HaloNet demonstrates that 3D deep learning can effectively emulate the complex physics of halo formation at a fraction of the traditional computational cost. While currently limited to a fixed cosmology and 1 Mpc resolution, future iterations aim to incorporate varying cosmological parameters and higher resolutions to resolve sub-halo structures. This approach paves the way for the rapid generation of the massive simulation suites required by next-generation cosmological surveys.
Summary updated