Cosmologists increasingly infer parameters such as the matter clumpiness $\sigma_8$ by training neural networks on thousands of simulated universes and then applying them to real galaxy surveys. This approach is called simulation-based inference. The gains come from small, nonlinear scales, but those are exactly the scales where the simulations stop being trustworthy. Today the cut-off between "used" and "discarded" scales is set by hand. This note proposes setting it with a rule that compares two quantities. The first is the numerical bias a simulation introduces at each scale, measured with an internal symmetry test that needs no higher-resolution reference run. The second is the statistical error the target survey would have anyway. The scale cut then becomes a property of the pair (simulator, survey volume), not of the simulator alone. A small survey can safely use scales that a large survey must throw away.
The symmetry test is self-similarity. In idealized "scale-free" universes, the only force is Newtonian gravity and the initial fluctuations follow a pure power law $P(k)\propto k^n$, so there is no preferred length or time. Snapshots taken at different times must then be exact rescaled copies of one another. Any measured departure from that is a numerical artifact, and its size can be read off directly. Previous work used this to certify the two-point correlation function to below 1% accuracy and to map where halos and nearest-neighbor statistics converge. That work stopped at describing the simulations. We turn those residuals into a per-scale, per-statistic bias estimate, project it onto the cosmological parameters, and admit a scale only where the projected bias is a small fraction of the survey's statistical error.
Core Claim
The claim is that self-similarity residuals measured in scale-free runs predict the parameter bias a resolution-limited simulator induces in a realistic universe (ΛCDM, the standard model with dark energy). The mapping goes through the local slope of the power spectrum and is expressed in units of the mean interparticle spacing. The prediction should be accurate enough to choose a per-statistic scale cut $k_{\max}(V)$ that keeps posteriors calibrated while recovering most of the information that fixed cuts discard.
Concretely, let $s(k)$ be a summary statistic in a band around wavenumber $k$, and let $\Delta s(k)$ be its fractional self-similarity residual at the corresponding rescaled scale. Let $\partial\theta/\partial s$ be the parameter response, computed from finite-difference Fisher derivatives. Let $\sigma_\theta(V)$ be the statistical error for survey volume $V$. A band is admitted when
$$\left|\frac{\partial\theta}{\partial s}\,\Delta s(k)\right| \le \tau\,\sigma_\theta(V),\qquad \sigma_\theta(V)\propto V^{-1/2},$$
where $\tau$ is a tolerated bias-to-noise ratio, for example 0.3. The $V^{-1/2}$ scaling comes from the number of independent modes growing linearly with volume, which is the same $1/\sqrt{N}$ counting limit that governs rare-event experiments.
This links the two directions. Self-similarity supplies the numerator without a reference simulation. The statistical sensitivity limit supplies the denominator, and the denominator is what tells you how much numerical bias you can afford.
Relation to Prior Work
The method comes from the scale-free program, which we reuse in three ways.
- Two-point statistics. Quantifying resolution in cosmological N-body simulations using self-similarity collapsed correlation functions across epochs to certify sub-1% accuracy. It showed that resolution is limited by particle mass rather than force softening, and that the lower cut-off scale drifts as $a^{-1/2}$ with the expansion factor $a$.
- Power spectra. Accuracy of power spectra in dissipationless cosmological simulations located the time-invariant wavenumber range across spectral indices for runs up to $4096^3$ particles.
- Nearest-neighbor statistics. Self-Similarity of k-Nearest Neighbor Distributions in Scale-Free Simulations found the following:
- Halo-like regions converge for 32 or more neighbors.
- Regions with 16 or fewer neighbors are unconverged.
- Resolution reaches about one tenth of the interparticle spacing.
- Halving the softening length helps only 10–30%.
- Halo finders. Testing dark matter halo properties using self-similarity and Convergence of halo statistics: code comparison between rockstar and compaso showed that friends-of-friends halo finding breaks self-similarity sooner than phase-space or spherical-overdensity finders.
All of these papers report residuals as accuracy statements. None asks how much of a residual a given inference can tolerate. That is the step we add.
Three inference papers motivate the problem:
- A forward modeling approach to analyzing galaxy clustering with SimBIG pushed to $k_{\max}=0.5\,h/\mathrm{Mpc}$ and gained 27% precision on $\sigma_8$ over a $0.25$ cut, which is equivalent to a 60% larger survey. Its cut was chosen empirically.
- Sensitivity Analysis of Simulation-Based Inference for Galaxy Clustering found that swapping the gravity solver barely biases parameters. Swapping the halo finder biases $\sigma_8$ through the bispectrum, and a misspecified galaxy occupation model biases it badly.
- Field-level Comparison and Robustness Analysis of Cosmological N-body Simulations found that networks trained on one N-body code fail on adaptive-mesh codes, and that heuristic Gaussian smoothing repairs this.
All three diagnose sensitivity to simulation choices after the fact. None predicts from first principles which scales are safe.
The sensitivity-analysis result also constrains the design. Because solver changes matter little, a resolution-only criterion cannot address occupation-model misspecification. We therefore claim nothing about baryons or galaxy occupation and hold those fixed.
Detecting Model Misspecification in Cosmology with Scale-Dependent Normalizing Flows is the closest method in spirit. It conditions a density model on smoothing scale and finds where Bayesian evidence collapses across baryonic codes. It needs two simulators to disagree, so it cannot detect an artifact that every code shares, such as two-body collisionality. Self-similarity can.
Research Program
The first stage builds residual maps. We run the scale-free analysis on the ABACUS suite at spectral indices bracketing the effective small-scale slope of ΛCDM ($n$ from about $-2.5$ to $-1.5$), at two particle loads. For each epoch we compute three families of residuals, each expressed in units of interparticle spacing and particles-per-neighbor:
- power spectrum residuals in wavenumber bands,
- reduced bispectrum residuals over triangle configurations,
- k-nearest-neighbor distribution residuals.
This produces lookup tables $\Delta s(k/k_{\rm part}, n_{\rm eff}, a)$, where $k_{\rm part}$ is the wavenumber of the mean interparticle spacing and $n_{\rm eff}$ is the local spectral slope.
The second stage transfers the maps to ΛCDM. We evaluate the local slope $n_{\rm eff}$ of the Quijote linear spectrum at the nonlinear scale of each redshift, then read the residual table at that slope, at the matched interparticle-spacing units and at the matched degree of nonlinearity. This is the riskiest assumption. Real spectra bend, and ΛCDM has a cosmological constant. The program therefore tests the transfer directly instead of assuming it.
The third stage combines the residuals with Fisher derivatives from Quijote's derivative sets. This gives a predicted bias per band, and the admission rule above then gives $k_{\max}(V)$ per statistic and per halo finder. As a byproduct we obtain a predicted Pareto curve of bias against posterior width as the cut moves. This is the trade-off between smoothing and lost information that the field-level comparison paper left heuristic.
Baselines
Do-nothing reference. The naive reference is the fixed linear cut $k_{\max}=0.25\,h/\mathrm{Mpc}$ from the SimBIG comparison. It should be safe and is expected to be wide.
Strongest existing method. This is the SimBIG configuration at a fixed $k_{\max}=0.5\,h/\mathrm{Mpc}$ with power spectrum and bispectrum. Its reported benchmark is a $\sigma_8$ constraint 27% more precise than the linear cut, with BOSS CMASS posteriors $\sigma_8=0.812^{+0.067}_{-0.068}$ and $\Omega_m=0.292\pm0.055$ (SimBIG). It is the strongest competitor because it is exactly the hand-tuned aggressive choice our rule aims to replace.
We will rerun it rather than quote it. It will use the same normalizing-flow posterior estimator, the same 1500/200/300 train/validation/test split, the same galaxy occupation model, and the same number of training epochs and hyperparameter trials as our rule. The comparison then differs only in which bands are admitted.
Brute-force convergence baseline. Here bias is estimated directly as the difference in summaries between Quijote's $512^3$ and $1024^3$ tiers, and the same admission rule is applied. Each method gets an equal simulation budget: the brute-force method spends it on high-resolution pairs, and ours spends it on scale-free runs.
Ablation of the noise term. This keeps the self-similarity numerator but uses a single volume-independent tolerance. It isolates whether making the cut survey-aware is what matters.
Ablation of the probe. This substitutes uniform Gaussian smoothing at the radius that matches our average cut.
What counts as winning. Our rule wins if it matches or beats the 0.5 cut's $\sigma_8$ width on volumes where that cut is calibrated, while keeping coverage within nominal intervals on larger volumes where the 0.5 cut is not. It also wins if it does so at lower simulation cost than the brute-force baseline, with comparable bias prediction.
Why not just…?
Why not just run the simulator at two resolutions and see whether posteriors move? This is the most serious competitor. Quijote's resolution tiers make it feasible here. However, Quantifying resolution using self-similarity documents "apparent convergence": two resolutions can agree while both deviate from the continuum, because collisionality scales with particle spacing in both. The highest tier also has no higher reference to check against. We will test this directly. If the inter-tier differences predict held-out bias as well as self-similarity does, the advantage reduces to cost and to settings without a higher tier, and we will say so.
Why not just keep the conservative linear cut? It gives up information. The SimBIG paper puts the loss at 27% on $\sigma_8$, the equivalent of 60% more survey volume. That is the statistical-limit cost which motivates the work.
Why not just smooth the fields, or train a scale-dependent misspecification detector? Smoothing worked across codes in the field-level comparison, but its radius was picked by hand. The nearest-neighbor study also shows that smoothing cannot rescue unconverged regimes of 16 or fewer particles. The scale-dependent detector of Detecting Model Misspecification requires disagreeing simulators, so it misses shared artifacts. The smoothing ablation will show whether a uniform filter is enough.
Proposed Experiments
Transfer test. Using residual maps calibrated only on low-resolution scale-free runs, predict the shift in summary statistics between Quijote $512^3$ and $1024^3$ fiducial runs, per band. The test passes if the predicted shift tracks the measured one within a factor of two across bands and redshifts, including the predicted $a^{-1/2}$ drift of the cut-off. Failure here falsifies the transfer step.
Halo-finder test. The criterion should predict, before running inference, that bispectrum bands on friends-of-friends catalogs are admitted only up to a lower $k_{\max}$ than on phase-space catalogs. This would reproduce the $\sigma_8$ bias pattern found in the sensitivity analysis.
Volume test. Train posterior estimators on $512^3$ catalogs and evaluate them on $1024^3$ catalogs treated as truth, at effective survey volumes ranging from sub-boxes up to combined boxes. Measure three things: coverage calibration, parameter bias in units of posterior width, and $\sigma_8$ width.
The decisive outcome has two parts. As volume grows, the fixed 0.5 cut should lose coverage while the volume-aware cut stays calibrated. At small volumes, the volume-aware cut should admit scales beyond 0.5 and produce narrower posteriors.
If coverage of the fixed cut never degrades over the volumes Quijote can tile, then resolution is not the binding limit at current survey sizes. That would itself be a useful negative result, and the predicted Pareto curve would tell future, larger surveys where the limit will start to bind.
References
- Quantifying resolution in cosmological N-body simulations using self-similarity
- Accuracy of power spectra in dissipationless cosmological simulations
- Self-Similarity of $k$-Nearest Neighbor Distributions in Scale-Free Simulations
- Testing dark matter halo properties using self-similarity
- Convergence of halo statistics: code comparison between <scp>rockstar</scp> and <scp>compaso</scp> using scale-free simulations
- A forward modeling approach to analyzing galaxy clustering with S <scp>im</scp> BIG
- Sensitivity Analysis of Simulation-Based Inference for Galaxy Clustering
- Field-level Comparison and Robustness Analysis of Cosmological N-body Simulations
- Detecting model misspecification in cosmology with scale-dependent normalizing flows