[Paper Review] CosmicRIM : Reconstructing Early Universe by Combining Differentiable Simulations with Recurrent Inference Machines
CosmicRIM proposes a differentiable, recurrent inference machine (RIM) framework that combines differentiable N-body simulations (FlowPM) with learned optimization to reconstruct primordial initial conditions in cosmology. It achieves 40× faster convergence than ADAM and LBFGS with annealing, while matching or improving reconstruction quality on large scales by implicitly learning a physics-inspired annealing schedule.
Reconstructing the Gaussian initial conditions at the beginning of the Universe from the survey data in a forward modeling framework is a major challenge in cosmology. This requires solving a high dimensional inverse problem with an expensive, non-linear forward model: a cosmological N-body simulation. While intractable until recently, we propose to solve this inference problem using an automatically differentiable N-body solver, combined with a recurrent networks to learn the inference scheme and obtain the maximum-a-posteriori (MAP) estimate of the initial conditions of the Universe. We demonstrate using realistic cosmological observables that learnt inference is 40 times faster than traditional algorithms such as ADAM and LBFGS, which require specialized annealing schemes, and obtains solution of higher quality.
Motivation & Objective
- To address the high-dimensional, non-linear inverse problem of reconstructing primordial density fields from cosmological survey data.
- To overcome the computational infeasibility of traditional optimization methods like ADAM and LBFGS that require hundreds of expensive N-body simulations.
- To learn an efficient inference scheme that implicitly replicates physics-based annealing without manual tuning.
- To enable fast, scalable inference for next-generation cosmological surveys requiring repeated reconstructions.
Proposed method
- The method uses a differentiable N-body simulator (FlowPM) to compute gradients of the forward model with respect to initial conditions.
- It employs a recurrent inference machine (RIM) with a recurrent update rule that combines hidden state, current reconstruction, and gradient of the log-posterior.
- The RIM is trained to minimize the negative log-posterior, learning an optimization path that implicitly mimics physical annealing.
- The architecture includes a memory state and separate update functions for the reconstruction and hidden state, enabling iterative refinement.
- The framework uses a Gaussian prior on initial conditions and a likelihood model with additive Gaussian noise to define the posterior.
- Training is performed on simulated data with fixed fiducial power spectra, enabling end-to-end optimization of the inference network.
Experimental results
Research questions
- RQ1Can a learned optimization scheme outperform traditional gradient-based methods like ADAM and LBFGS in reconstructing primordial density fields?
- RQ2Does the RIM framework implicitly learn a physics-inspired annealing schedule without explicit design?
- RQ3How does the performance of RIM compare to specialized annealing schemes in terms of convergence speed and reconstruction accuracy?
- RQ4Can the RIM framework be trained to generalize across different initial conditions and survey configurations?
Key findings
- CosmicRIM achieves reconstruction quality on par with or better than ADAM and LBFGS with annealing, particularly improving the transfer function on large scales.
- The method requires only 10 inference steps, achieving a 40× speedup compared to annealed ADAM and LBFGS, which require 400 steps.
- When initialized with a standard reconstruction, CosmicRIM further improves performance, indicating robustness to initialization.
- RIM implicitly learns an optimization path that reconstructs large-scale structures first, mirroring the behavior of physics-based annealing schemes.
- Starting from the final RIM output, further optimization with ADAM or LBFGS yields no improvement, indicating RIM reaches a high-quality MAP estimate.
- The framework enables scalable inference, with potential for extension via sequential training of sub-networks to reduce memory costs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.