TUNeS: Neural Emulation of Large-Scale Structure Across Redshifts
Yuqi Kang, Bin Hu, Dongxing Li, Jan Hamann · 2026
Read TUNeS: Neural Emulation of Large-Scale Structure Across Redshifts by Yuqi Kang, Bin Hu, Dongxing Li, Jan Hamann (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-18165.txt.
Introduction
Kang and co-authors introduce TUNeS, a neural emulator for large-scale structure across redshifts. It predicts nonlinear matter density fields from a starting particle layout, speeding N-body work. A two-stage design joins particle-based inference with grid-based density refinement. Trained on just eight simulations, it matches power spectra to a few percent near k of one. Full inference for a 256-cubed grid takes about 25 seconds on one GPU.
Catalog record
| CREATOR | Yuqi Kang, Bin Hu, Dongxing Li, Jan Hamann |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 48742 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.18165
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
TUNeS: Neural Emulation of Large-Scale Structure Across Redshifts Yuqi Kang, Bin Hu, Dongxing Li, Jan Hamann Abstract In this work, we introduce TUNeS (Temporal UNet emulator for Structure formation), a neural network framework for accelerating N-body simulations by predicting the nonlinear evolution of the matter density field from an initial particle distribution. TUNeS employs a two-stage modeling strategy, combining particle-based inference with a density-field refinement on a regular grid, enabling accurate reconstruction of both large- and small-scale structures. The model is designed to operate across redshift, taking particle snapshots at arbitrary input redshifts and predicting density fields at arbitrary target redshifts. In this work, we evaluate its performance using simulations initialized at z = 100 z=100 , with predictions generated at multiple lower redshifts. Trained on only eight N-body simulations, TUNeS reproduces reference results with good agreement in both Gaussian and non-Gaussian statistics, including two-point correlations, one-point distributions, peak counts, and three-dimensional Minkowski functionals. In particular, at k ≃ 1 h Mpc − 1 k\simeq 1\,h\,\mathrm{Mpc}^{-1} , the power spectrum error remains at the few-percent level. End-to-end inference from 256 3 256^{3} particles to a 256 3 256^{3} density grid can be completed in ∼ 25 second \sim 25\,\mathrm{second} on a single GPU. Thanks to its architectural design, the model naturally scales to larger particle numbers and larger volumes through particle batching and window-based refinement. ][email protected] show][email protected] ][email protected] ][email protected] I Introduction In recent years, an increasing number of ongoing and forthcoming cosmological surveys have begun to deliver high-precision observational data over unprecedented volumes and redshift ranges ( 1 ; 26 ; 3 ; 2 ; 14 ) . The full exploitation of these data requires large ensembles of numerical simulations, which are essential to making theoretical predictions, estimating covariance matrices, and characterizing systematic uncertainties ( 16 ; 11 ; 34 ) . Among the available approaches, N-body simulations constitute the standard and most reliable tool for modeling the nonlinear gravitational evolution of large-scale structures ( 44 ; 42 ; 43 ) . By directly solving the equations of motion for a large number of particles under gravity, N-body simulations accurately capture nonlinear effects that are inaccessible to perturbative methods ( 7 ) . However, this accuracy comes at a substantial computational cost. High-resolution simulations, which are crucial for resolving small-scale nonlinear structures, demand both a large number of particles and fine spatial and temporal resolution, leading to prohibitive requirements on computational time and data storage. Therefore, in practice, N-body simulations are often constrained by available computational resources, forcing a trade-off between simulation volume, mass resolution, and the number of realizations. To mitigate the high computational cost of full N-body simulations, a variety of approximate and accelerated methods have been developed over the past decades. Representative examples include particle-mesh (PM) methods ( 18 ) , adaptive mesh refinement (AMR) methods ( 47 ; 8 ) , approximations based on Lagrangian perturbation theory ( 9 ; 41 ; 7 ) , and hybrid schemes such as COLA ( 46 ) , FastPM ( 12 ) or BullFrog ( 36 ) . By simplifying gravitational force calculations and time integration, these approaches significantly reduce computational expense. However, their precision is ultimately constrained by the underlying approximations, particularly in the deeply nonlinear regime and on small scales ( 40 ; 6 ) . In parallel with these developments, the rapid advancement of machine learning (ML) techniques has opened new avenues for accelerating numerical simulations in a wide range of scientific disciplines, including chemistry ( 48 ) , biomedical imaging ( 30 ) and physics ( 4 ; 10 ) . In the context of cosmological large-scale structure formation, neural networks have emerged as a powerful tool for emulating N-body simulations. By learning the complex and highly nonlinear mapping between initial conditions and evolved matter distributions from training data, these models can produce accurate predictions at a fraction of the computational cost and with orders of magnitude shorter run times compared to traditional N-body simulations.Pioneering studies demonstrated that convolutional neural networks (CNNs) can learn the nonlinear mapping from initial conditions to late-time matter distributions ( 17 ) . Subsequent works have explored a wide range of approaches, including particle-based neural networks that map linear displacement fields to nonlinear counterparts ( 5 ; 21 ; 22 ) , fully differentiable cosmological simulation frameworks using the adjoint method ( 28 ) , generative super-resolution models ( 29 ; 35 ; 15 ) , and diffusion frameworks ( 39 ; 37 ; 32 ) that synthesize nonlinear density fields with high fidelity. Together, these efforts demonstrate the growing potential of machine learning as a scalable and flexible tool to accelerate simulations of the formation of cosmological structures. In this work, we introduce TUNeS (Temporal UNet emulator for Structure formation) 1 1 1 The code and trained models for TUNeS are publicly available at https://github.com/Kang-Yuqi/TUNeS . , a neural-network-based framework for accelerating simulations of cosmological structure formation that operates directly on particle data. The proposed model takes particle positions and velocities at an initial redshift as input, avoiding dependence on grid-based initial conditions or linear perturbation–based displacement schemes. Instead of predicting particle trajectories explicitly at all times, the model maps the initial particle configuration to the evolved three-dimensional matter density field at a target redshift. Our approach consists of two stages. In the first stage, a particle-based network provides a coarse prediction of particle displacements, capturing the linear-like evolution of large-scale structures in a computationally efficient manner. In the second stage, the predicted particle distribution is converted into a spatial density field, which is further refined using a three-dimensional U-Net architecture ( 38 ) to model nonlinear evolution and small-scale structure formation. This hybrid design balances the physical interpretability of particle-based modeling with the strong representational ability of convolutional neural networks to capture highly clustered density fields. The model is trained to produce redshift-dependent outputs over a wide range of high to low redshift. Unlike grid-based approaches that rely on regular lattice initial conditions, our framework places no restriction on the spatial configuration of the input particles and can operate on general particle distributions. The starting redshift is therefore not fixed by the model architecture itself, allowing simulations to be initialized at different cosmic epochs. Unlike conventional approaches that require evolving from extremely high redshifts and thus inherit assumptions about early-time physics, this flexibility enables the model, in principle, to propagate density fields forward from arbitrary intermediate redshifts. In this work, however, all results are obtained using a fixed input redshift of z=100 , which serves as a controlled and representative reference configuration for demonstrating the performance of the model. To further reduce computational cost and enhance scalability, we introduce a windowing-based strategy that allows the trained model to be applied to arbitrarily large volumes without requiring periodic boundary conditions. We validate the trained model using a comprehensive set of evaluation metrics that probe both Gaussian and non-Gaussian properties of the predicted matter density fields. These diagnostics include two-point statistics, one-point probability distribution functions, peak-based statistics, and morphological measures based on Minkowski functionals. Together, these tests are designed to assess the suitability of the model for precision large-scale structure applications, including weak gravitational lensing analyses and