COmoving Computer Acceleration (COCA): N-body simulations in an emulated frame of reference

📅 2024-09-03
🏛️ arXiv.org
📈 Citations: 1
Influential: 0
📄 PDF

career value

218K/year
🤖 AI Summary
In N-body simulations, existing machine learning (ML) acceleration methods suffer from low accuracy and difficulty in correcting systematic errors. This paper proposes a novel hybrid ML-physics framework: first, a temporal convolutional network predicts an approximate comoving reference frame; then, particle dynamical perturbation equations are solved rigorously within this frame, ensuring automatic satisfaction of physical constraints and enabling iterative convergence of ML-induced errors. This work introduces the paradigm of “reference-frame prediction + perturbation solving” for the first time. The method drastically reduces force evaluations while achieving final-density and velocity-field accuracy comparable to standard N-body simulations. Moreover, it exhibits strong out-of-distribution generalization—surpassing direct displacement-field surrogate models—without requiring retraining. The framework thus delivers high accuracy, robustness across unseen cosmological parameters, and strict physical consistency, bridging the gap between data-driven efficiency and first-principles fidelity.

Technology Category

Application Category

📝 Abstract
$N$-body simulations are computationally expensive, so machine-learning (ML)-based emulation techniques have emerged as a way to increase their speed. Although fast, surrogate models have limited trustworthiness due to potentially substantial emulation errors that current approaches cannot correct for. To alleviate this problem, we introduce COmoving Computer Acceleration (COCA), a hybrid framework interfacing ML with an $N$-body simulator. The correct physical equations of motion are solved in an emulated frame of reference, so that any emulation error is corrected by design. This approach corresponds to solving for the perturbation of particle trajectories around the machine-learnt solution, which is computationally cheaper than obtaining the full solution, yet is guaranteed to converge to the truth as one increases the number of force evaluations. Although applicable to any ML algorithm and $N$-body simulator, this approach is assessed in the particular case of particle-mesh cosmological simulations in a frame of reference predicted by a convolutional neural network, where the time dependence is encoded as an additional input parameter to the network. COCA efficiently reduces emulation errors in particle trajectories, requiring far fewer force evaluations than running the corresponding simulation without ML. We obtain accurate final density and velocity fields for a reduced computational budget. We demonstrate that this method shows robustness when applied to examples outside the range of the training data. When compared to the direct emulation of the Lagrangian displacement field using the same training resources, COCA's ability to correct emulation errors results in more accurate predictions. COCA makes $N$-body simulations cheaper by skipping unnecessary force evaluations, while still solving the correct equations of motion and correcting for emulation errors made by ML.
Problem

Research questions and friction points this paper is trying to address.

N-body simulation
machine learning
error reduction
Innovation

Methods, ideas, or system contributions that make the work stand out.

COCA Method
Machine Learning Integration
N-body Simulation Optimization
🔎 Similar Papers
No similar papers found.
D
D. Bartlett
CNRS & Sorbonne Université, UMR 7095, Institut d’Astrophysique de Paris, 98 bis boulevard Arago, F-75014 Paris, France
M
Marco Chiarenza
CNRS & Sorbonne Université, UMR 7095, Institut d’Astrophysique de Paris, 98 bis boulevard Arago, F-75014 Paris, France; Dipartimento di Fisica “Aldo Pontremoli”, Università degli Studi di Milano, Via Celoria 16, 20133 Milano, Italy
L
Ludvig Doeser
The Oskar Klein Centre, Department of Physics, Stockholm University, Albanova University Center, SE 106 91 Stockholm, Sweden
F
Florent Leclercq
CNRS & Sorbonne Université, UMR 7095, Institut d’Astrophysique de Paris, 98 bis boulevard Arago, F-75014 Paris, France