WorksMathematics
Sample-Size Extrapolation in Simulation-Based Inference via Statistical Scaling
Abstract
In simulation-based inference (SBI), neural posterior estimators trained on a bounded range of sample sizes can become inaccurate on larger datasets because their parameterizations do not specify how posterior location, uncertainty and shape must change as observations accumulate. We propose center-estimated NPE (CE-NPE), which combines a statistical center with an explicit contraction rate and learns a local center correction and residual densities in posterior-scale coordinates. The center is a statistical estimate, such as a closed-form statistic or a simulator-based moment match, which does not require an evaluable likelihood. Our analysis explains how contraction amplifies center error and decomposes Gaussian posterior error into shape, mean and covariance contributions. On six regular benchmarks, CE-NPE gives the best reference-posterior agreement of all tested amortized estimators at every out-of-range size, up to five times the largest training size, without retraining; it also fits better within the training range on most of them. Matched controls and nonregular examples characterize the scope of these gains and identify the conditions on which they depend: an appropriate contraction rate, an accurate center, and a stable residual representation.
Introduction
Simulation-based inference (SBI) targets models whose likelihood cannot be evaluated but which can be simulated (Cranmer et al., 2020). Neural posterior estimation (NPE), its most direct form, amortizes Bayesian inference by learning a conditional density from simulations and reusing it on new datasets [33, 16, 30]. In deployment, however, the estimator may be asked to condition on observations when exceeds every sample size seen during training. Permutation-invariant encoders such as Deep Sets accommodate this change in cardinality [44], but the posterior must also change its location, width and shape as evidence accumulates, and providing the network with as an input [35, 18, 32] leaves these relationships to be learned over a bounded training range. Accepting arbitrary dataset sizes is therefore an architectural property, whereas extrapolating posterior uncertainty is a statistical one. We ask how posterior estimators trained on small datasets can extend to larger sample sizes without retraining.
Statistical asymptotics describe how a posterior should change with , and therefore supply structure for this problem. Under regularity conditions, the Bernstein–von Mises theorem describes an approximately Gaussian posterior with width of order after appropriate centering [41 Ch. 10]. More generally, a justified contraction rate , which nonregular models can change [3], suggests learning in local coordinates . Working in these coordinates removes the need for the network to infer the leading contraction rate from the training range, but it makes center accuracy critical: a location error becomes a shift in those coordinates, so a small fixed bias can become large relative to posterior uncertainty. Moreover, even a center that contracts at the correct rate leaves errors in covariance and residual shape, so scaling alone does not ensure calibrated inference.
We propose center-estimated NPE (CE-NPE), which anchors the posterior at a statistical estimator and learns only a correction, multiplied by . This design places the learned adjustment on the posterior’s contraction scale and thereby reduces what must be extrapolated in parameter space; because it supplies structure that would otherwise have to be learned from simulations, it can also improve fitting within the training range. The anchor can be a closed-form statistic or a simulator-based moment estimate, so it does not require an evaluable likelihood, and the network still learns uncertainty, dependence and residual shape. Figure 1 relates CE-NPE to free conditioning and to structural scaling with a learned center, which serves as an intermediate ablation.

Figure 1. Progressively removing what the network must extrapolate. All three constructions share a permutation-invariant encoder and differ in which ingredients of the local coordinates are learned from the bounded training range and which are imposed: (i) free conditioning learns scale, center, and shape; (ii) structural scaling imposes the scale; (iii) CE-NPE additionally anchors the center at a statistical estimator.
Our experiments examine both the benefit of this parameterization and its source: six adapted regular benchmarks test reference-posterior agreement beyond the training range, matched-center controls assess what scaling adds beyond the statistical estimator, best-effort baselines assess sensitivity to training effort, and nonregular examples test the assumptions behind the local representation. Throughout, we report in-range performance alongside extrapolation results, separating errors already present within the training range from those that arise beyond it.
Contributions.
A structured parameterization. We introduce CE-NPE, which combines a statistical center with an explicit contraction rate and learns the center correction and residual density in local coordinates. The center need not evaluate the likelihood and may be constructed from simple statistics or simulator access, so the estimator remains likelihood-free, and the parameterization reduces what the network must extrapolate beyond the training sample sizes (§ 4). The ingredients are classical; the contribution is to place them inside an amortized estimator and to show that its out-of-range gains are attributable to this structure rather than to network capacity.
Explaining the errors that remain after scaling. We show how posterior contraction amplifies center error and separate Gaussian posterior error into shape, mean and covariance contributions. These results explain why correct scaling and a contracting center alone do not guarantee accurate, calibrated inference (§ 5).
Testing the benefits and limits of structural extrapolation. We test whether explicit statistical structure improves amortized posterior estimation beyond the training sample-size range, under matched architectures and simulation budgets. On six regular benchmarks ([30]), center anchoring gives the best reference agreement at every out-of-range size against free conditioning, structural scaling with a learned center, and a compositional score-based estimator ([13]). Fixed-center controls isolate the contribution of scaling, while best-effort baselines assess sensitivity to training effort. Four nonregular prototypes with a faster rate, a boundary, a ridge and persistent multimodality show where the imposed structure fails, and a real-data application to 1000 Genomes windows ([40]) assesses consistency and held-out prediction without a reference posterior (§ 6 and § 7; Appendices D–G).
Related work
Neural simulation-based inference. Neural SBI learns posterior densities, likelihoods, or likelihood ratios from simulations [33, 16, 34, 19]; see Cranmer et al. (2020) for a survey. Neural posterior estimation fits a conditional density estimator to simulated parameter–data pairs, either sequentially around one observation [16, 7] or amortized over the prior, and its density family has moved from normalizing flows [8] to diffusion heads [5] and to transformers that serve many conditional queries with one model [14]. Amortization has also been extended to misspecified simulators [42] and beyond the standard Bayesian target, to generalized Bayesian posteriors indexed by a loss temperature [37]. Benchmarks [30] and calibration studies [20] evaluate these estimators at fixed sample sizes. We study a different axis: how an amortized estimator trained on a bounded range of sample sizes transfers to larger datasets, and we introduce explicit statistical structure into its dependence on sample size.
Inference with variable-size datasets. Deep Sets and Set Transformer provide permutation-invariant representations of variable-size inputs [44, 24], and Chan et al. [4] apply exchangeable networks to likelihood-free inference from population genetic data. BayesFlow combines learned summaries with amortized posterior estimation, trains across variable numbers of observations, and shows posterior contraction empirically as observations accumulate [35]. More recent amortized estimators condition transformers on sets of observations of varying size, within multilevel models [18] and as in-context posterior estimation [32]. These architectures accommodate changing dataset size, but do not themselves prescribe a contraction rate. CE-NPE retains a set encoder and adds a specified rate and a statistical center to the posterior parameterization.
Compositional inference. For conditionally independent observations, learned likelihoods or likelihood ratios can be combined across observations to perform inference at different sample sizes [34, 19]. Compositional score methods similarly construct posterior samplers from networks trained on individual observations or small subsets [13, 25]. These methods exploit factorization to accommodate additional observations, but require the likelihood to factorize across subsets. CE-NPE instead models the full-data posterior in centered, rescaled coordinates, relying on an accurate statistical anchor and a stable residual representation rather than on a factorization (comparison with PF-NPS in Appendix § 17.§ 7).
Regression adjustments and learned summaries. ABC regression adjustment modifies simulated parameter draws to account for discrepancies between simulated and observed summaries [1], and semi-automatic ABC uses regression estimates of posterior means as summary statistics [11]. CE-NPE uses an estimator for a different purpose, anchoring the coordinates in which an amortized posterior is learned, with a learned correction expressed in local coordinates and mapped to parameter space through .
Asymptotic structure in posterior estimation. Under regularity conditions, the Bernstein–von Mises theorem motivates centering and rescaling a posterior by [41 Ch. 10]. Asymptotic reasoning also informs parametric choices for amortized posterior approximation [31], while Frazier et al. [12] study the statistical accuracy of neural posterior and likelihood estimation. Our focus is transfer from a bounded training range in sample size: a justified contraction rate defines local coordinates, and we analyze the remaining errors from centering, covariance and residual shape.
Methods
Let have prior , and let , where simulation from the generative model is available although the likelihood need not be evaluable. We train amortized estimators on simulated datasets with and evaluate them at sample sizes . Every estimator is trained with the standard NPE objective, the log density assigned to the simulated parameter given the simulated dataset and its size [33, 16]. Because the observations are exchangeable, all estimators share the same permutation-invariant Deep Sets encoder [44, 35]; the comparison focuses on how the posterior parameterization depends on , given a representation that already accepts variable-size datasets. The three constructions of Figure 1 differ only in how much of that dependence is learned and how much is imposed.
Free conditioning
The most direct approach is to provide sample size as an additional conditioning variable:
The logarithm only places the sample-size input on a convenient numerical scale. Apart from this explicit input, the construction is the standard one when a set encoder is combined with amortized posterior estimation [44, 35]. It imposes no constraint on how posterior location, scale, or shape evolve with : any contraction must be inferred from the values of seen in training, allowing flexible interpolation within the training range but requiring the learned dependence to be extended beyond it.
Structural scaling
In regular parametric problems the Bernstein–von Mises theorem implies that posterior uncertainty shrinks at the leading rate [41 Ch. 10]. More generally, suppose the relevant contraction rate is , with in the regular case, and define the rescaled variable
where is a data-dependent center. In the basic structural estimator the center is learned from the encoded dataset, . Rather than modelling directly, we learn a conditional density for :
The corresponding density in the original parameterization is
Sample size therefore enters through the coordinate transformation and its Jacobian, as well as through the input to the network. The transformation imposes a leading contraction factor, while the network learns the center and residual distribution. Because a size-dependent residual can still change its own width, the explicit factor alone does not fix the fitted contraction rate.
Center-estimated NPE
With the rate imposed, the center must still extrapolate, and in the rescaled coordinates a center error becomes (§ 5). CE-NPE therefore anchors the center at a problem-specific estimator and lets the network learn only a correction:
The factor expresses the learned correction in the same local scale as the posterior uncertainty; Proposition 1 (Appendix § 13) shows that with this factor a bounded correction preserves the anchor’s error order, which a correction in parameter units does not. Substituting this center into gives
The center is only a coordinate anchor: it need not be a MAP estimate, require an evaluable likelihood, or approximate posterior uncertainty or shape. Its key requirement is to track posterior location at the contraction rate, with error , so that the error remains in rescaled coordinates (§ 5). In our benchmarks, ranges from simple closed-form statistics such as to EM or simulator-based moment matching (Appendix § 14).
Residual density families
The structured parameterization does not require the rescaled posterior to be Gaussian, and we consider two residual families. The first is a Gaussian conditional density,
which provides a simple residual family and lets us assess how far Gaussianity suffices after centering and scaling. This is not Gaussian variational inference: mean and covariance are amortized functions of , and in parameter space the density has center and covariance . The second family uses a neural spline flow (NSF) [8], which can represent non-Gaussian residual shapes. The free heads and the CE residual receive as a size input, so the conditional residual can account for finite-sample changes in shape and covariance, while the deterministic factor sets the contraction scale; the size inputs of the saved runs are documented in Appendix § 12.§ 3.
Why scaling alone is not enough
The factor fixes only the reference contraction scale; accurate extrapolation also requires that posterior location, uncertainty and shape remain correct as grows.
Keeping center error on the posterior scale
Let be the true posterior mean and the center of the residual coordinates. If posterior width decreases as , a location error becomes a shift on the posterior scale: the same absolute error becomes five times larger in posterior-standard-deviation units when the posterior becomes five times narrower (Figure 2). The residual decomposes as
Figure 2. The same location error becomes more serious as uncertainty shrinks.
Keeping this shift bounded requires the center error to decrease at least as fast as the posterior width. Otherwise, the residual network must learn a location shift that grows with sample size, even after the contraction scale has been removed.
CE-NPE uses to express the learned correction on this same scale (Equation (5)). Proposition 1 (Appendix § 13) shows that, for a fixed trained network, if and over repeated datasets, then . A bounded local correction therefore preserves the anchor’s error order; a correction added directly in parameter units must itself shrink at rate or faster to provide the same guarantee. Neither condition is enforced by training, and a bounded local correction cannot remove a persistent anchor bias; the anchor itself must therefore contract.
Separating location, covariance, and shape errors
Keeping the shift bounded is necessary but not sufficient: an error that remains bounded relative to posterior width need not be small. For example, two one-dimensional Gaussians with equal variances and means separated by one standard deviation have forward KL divergence , even as both variances shrink. Let denote the true posterior, a fitted Gaussian posterior, and the Gaussian with the same mean and covariance as . Under the density, entropy, and covariance conditions stated in Proposition 3 (Appendix § 13.§ 5),
The first term measures the error that remains even for the best Gaussian approximation (Proposition 3). The second measures errors in the fitted mean, marginal widths, and correlations. Because the learned residual can have a nonzero mean, the fitted mean need not equal ; controlling the center addresses only part of posterior accuracy.
For a fixed dataset, free conditioning, structural scaling, and statistical anchoring do not change the best achievable approximation within an unrestricted Gaussian family; they change how its parameters are learned and extrapolated. A spline residual can reduce the Gaussian shape error, but greater flexibility does not guarantee that training achieves this. The experiments therefore assess posterior-mean error, marginal width, and joint posterior agreement separately.
Both analyses hold at any fixed sample size; whether the fitted correction, covariance and residual shape remain accurate beyond the training range is an empirical question, which § 6 addresses by reporting fit at the training boundary and beyond it separately.
Experiments
Experimental setup
Estimators and protocol. We compare five estimators under matched encoder widths, optimization schedules, and training simulation budgets: Free-G and Free-NSF, which learn the posterior through free conditioning; Scale-G, which imposes the contraction scale but learns the center; and CE-G and CE-NSF, which combine the imposed scale with a statistical anchor and a learned local correction. The suffixes G and NSF denote Gaussian and spline density heads, respectively. Training sizes are sampled uniformly from , and evaluation uses , with datasets paired across estimators and seeds. Out-of-range sizes are used only for evaluation. All regular benchmarks impose the regular rate . When no asymptotic argument supplies the rate, it can be estimated from how the anchor contracts across the training sizes; on our tasks this estimate serves as a check on the assumed rate rather than a substitute for it (Appendix § 17.§ 5). Each training step draws a fresh batch of 128 simulated datasets for up to 4000 steps, evaluation uses 400 paired datasets per size, and reported values are means over three seeds (five on the mixture). Architectural and implementation details are given in Appendix § 12.
Tasks. We use six adapted regular benchmarks from the sbibm suite [30]: Gaussian linear with Gaussian and uniform priors, Gaussian mixture, Bernoulli GLM, SIR, and Lotka–Volterra. Each dataset contains independent simulator replicates. The SIR and Lotka–Volterra priors are truncated to a regular regime in which the data remain informative about every parameter. Benchmark definitions, centers, and reference computations are given in Appendix § 14. Symmetric multimodal benchmarks and nonregular stress tests are reported in Appendix § 16.
Evaluation metrics. We assess posterior location, marginal width, and joint agreement with exact or numerically computed reference posteriors. Center error measures the fitted posterior-mean error in reference-standard-deviation units, averaged over coordinates; the SD ratio targets 1. Joint 95% HPD coverage [20] targets 0.95, and C2ST [26] targets 0.5. These complementary diagnostics distinguish improvements in location and contraction from remaining errors in joint posterior structure (§ 5.2). KL divergence, MMD [17] and simulation-based calibration [39] appear in the appendix studies that use them.
Does statistical structure improve sample-size extrapolation?
Overall performance. CE-G and CE-NSF achieve the lowest C2ST at both out-of-range sizes on all six regular benchmarks (Figure 3; full results at every size in Appendix § 15), and they also improve in-range agreement on most tasks. The in-range gain is expected: at between 5 and 20 the posterior is already far narrower than the prior on these benchmarks, so the anchor and the imposed scale supply the location and width that a free network must otherwise learn. The advantage does not, however, extend uniformly to calibration: at , both CE estimators remain over-dispersed on SIR, where only CE-G maintains near-nominal joint coverage, and on Lotka–Volterra their marginal widths are close to the reference yet both under-cover.
Figure 3. Results on the six regular benchmarks. Seed means with seed-SD bands. The shaded band is the training range; dotted lines mark the targets (1, 0.95, and 0.5). SD ratio and center error are on log axes.
Roles of scaling and centering. The intermediate ablation separates the two ingredients. Scale-G keeps its relative width approximately constant on five benchmarks and slows its growth on SIR, but because its center is still learned, its posterior-mean error in reference SD units increases with sample size on every benchmark. Anchoring the center removes this growth: CE-G improves both center error and C2ST over the Gaussian baselines at every out-of-range size. A fixed-center mixture control isolates the benefit of scaling more directly: with the same EM posterior mean, imposing the contraction factor substantially reduces C2ST and KL at , although coverage moves farther from nominal (Appendix § 17.§ 4). This control also outperforms full CE-G in C2ST and KL, so on the mixture the gain comes from explicit scaling around an accurate center, and the learned location adjustment adds no further improvement. The same controls on SIR and Lotka–Volterra lead to same conclusion: the fixed-center, imposed-scale control matches or slightly improves on CE-G at every size, and the in-range advantage of CE-NSF narrows or reverses at 5× (Appendix § 17.§ 4).
Residual flexibility. The spline head adds a further, task-dependent benefit: CE-NSF improves on CE-G in width and C2ST on the mixture and matches it on the other benchmarks, whereas Free-NSF, which lacks the centered coordinates, remains inaccurate. Flexibility therefore helps once the coordinates are right, but does not substitute for them.
Real data: mutation rate and growth from 1000 Genomes
The regular benchmarks all have reference posteriors; population genetics provides a real-data application without one. Under a neutral coalescent model with growth, we infer the per-kb mutation rate and growth rate from genomic-window summaries, using a simulator-based moment estimator as the statistical anchor. The data are summaries of non-overlapping 10 kb windows on chromosome 22 of the 1000 Genomes phase-3 panel, and a dataset of size is a subsample of windows. The five estimators follow the main training-size protocol.
With no reference posterior, we use two complementary criteria (Figure 4): consistency with the moment fit to all windows, which shares the center’s moment functional and therefore favors CE-NPE, and posterior-predictive energy distance to held-out windows, which is independent of that target.
Figure 4. Posterior contraction on real 1000 Genomes windows. (a) The typical posterior of each estimator as grows from 10 to 100, with the moment fit to all windows as the cross. (b) Against : consistency, the fraction of datasets whose 95% intervals contain the full-data fit (higher is better); distance, how far the fit lies from the posterior mean in posterior SDs (lower is better); energy distance between posterior-predictive and held-out real windows (lower is better; independent of the anchor). Tables in Appendix § 18.
As grows to five times the training maximum, the posteriors of CE-G and CE-NSF contract onto the full-data moment fit, whereas Scale-G and Free-NSF contract onto a lower growth rate and Free-G barely contracts (Figure 4a); accordingly, only the CE estimators keep their consistency with the fit while the others drift away from it (Figure 4b). This stability costs nothing in predictive accuracy: on the anchor-independent criterion, their held-out predictions match the best free baseline at every size. In a separate in-model evaluation, CE has the lowest SBC KS statistics, although its joint coverage remains below nominal (Appendix § 18).
Discussion and limitations
Discussion. Taken together, the experiments support combining a statistical anchor with an explicit contraction scale: this structure reduces the sample-size dependence that a neural posterior estimator must learn, and it changes how posterior parameters are learned and extrapolated rather than enlarging the Gaussian approximation family (§ 5.2). The fixed-center controls clarify the source of these gains: with covariance still learned, anchoring at the statistic and imposing the scale match or improve on full CE-G in out-of-range C2ST on the mixture, SIR, and Lotka–Volterra (Appendix § 17.§ 4). CE-NPE is accordingly intended for datasets comprising independent simulator replicates conditional on the parameter, when a contraction rate is justified and an affordable statistical center tracks posterior location on that scale.
Alternative explanations. Because several free baselines already fit poorly within the training range, we ran three controls to check that the out-of-range gap is not an artifact of under-training, of the particular training maximum, or of the choice of comparator (Appendix § 17). First, best-effort free baselines, retrained on every benchmark with a tuned learning rate, three times the step budget and longer patience, narrow the in-range gap on four benchmarks but leave the out-of-range ordering unchanged on all six. Second, retraining every estimator on SIR with a four times larger training maximum preserves CE’s C2ST advantage at , although absolute accuracy and coverage change. Third, the compositional comparator PF-NPSE, trained on the same number of simulated datasets, approaches CE-NSF on Gaussian linear but remains less accurate on the other regular benchmarks, with several failures already present in range. Neither training effort, training range nor composition therefore accounts for the gap.
Scope and failure modes. The nonregular prototypes probe the rate, centering, and residual assumptions (Appendix § 16). On T1, whose posterior contracts at rate to a Gamma limit ([3]), imposing the regular exponent produces increasing width mismatch; correcting the exponent substantially improves agreement (Table 11). T2 instead exposes a learning failure at a boundary: neither fitted residual recovers the shape, although a Gaussian renormalized on the parameter support can represent the exact posterior. A persistent ridge or separated modes, as in T3 and T4, do not become a stable local posterior under contraction about a single center. The two symmetric sbbm benchmarks, SLCP and two moons, behave in the same way: every single-center estimator fails at every size, including within the training range (Appendix § 16); a flexible flow can represent such distributions but must learn their changing geometry in the rescaled coordinates.
| imposed | CE-G | CE-NSF | ||||||||
| SD ratio | center err. | cov. 90% | C2ST | KL | SD ratio | center err. | cov. 90% | C2ST | KL | |
| 1/2 (default) | 2.71 | 0.54 | 0.97 | 0.78 | 1.10 | 2.82 | 1.81 | 0.97 | 0.68 | 0.49 |
| 0.8 (estimated) | 1.40 | 0.25 | 0.91 | 0.72 | 0.67 | 1.42 | 0.59 | 0.92 | 0.59 | 0.14 |
| 1 (oracle ablation) | 0.92 | 0.15 | 0.86 | 0.69 | 0.48 | 0.92 | 0.23 | 0.85 | 0.56 | 0.03 |
Table 11. Result on T1 at .
Practical and empirical limitations. CE-NPE is only partially amortized: simulator-based anchors can require numerical optimization at each query, adding task-specific computation beyond the neural estimator (Appendix § 14). The experiments cover finite simulation budgets and extrapolation up to five times the training maximum; additional training on every benchmark and a second training maximum on SIR test this sensitivity (Appendix § 17). Better agreement than the tested baselines does not by itself ensure calibrated credible regions, as the regular-benchmark and in-model population-genetic results show (Appendices § 15 and § 18); calibration remains a separate concern in neural SBI ((Hermann et al., 2022)).
Conclusion
Accepting arbitrary dataset sizes is architectural; extrapolating posterior uncertainty is statistical. Explicitly encoding a justified posterior contraction rate removes the leading scale-extrapolation burden, a contracting statistical center controls the amplified location error, and once these first-order effects are stabilized, residual density learning targets the remaining covariance and shape errors. On six regular benchmarks CE-NPE gives the best reference agreement of the tested amortized estimators at every out-of-range size, up to five times the largest training size, without retraining; on real genomic windows CE-NPE stays consistent with the full-data fit at the same relative sizes at no cost in held-out predictive accuracy. Where the rate or the center is not justified, as in the nonregular prototypes, the same analysis identifies which ingredient fails and points toward representations adapted to the posterior geometry.
AI USE STATEMENT
LLM-based assistants helped polish the language and assisted with experiment, analysis, and figure code. The authors verified all content and take responsibility for the manuscript, code, and results.
REPRODUCIBILITY STATEMENT
Task-specific protocols, reference calculations and per-case results are provided in the appendix and accompanying code (supplementary material). Every table can be regenerated from the included per-case files. Where an evaluation uses a subset of the paired cases, the appendix states the subset.
Appendix
Roadmap. Appendix § 12 gives the architecture and training protocol; Appendix § 13 the statements and proofs behind § 5; Appendix § 14 the benchmark and reference definitions; Appendix § 15 the six regular benchmarks at every size; Appendix § 16 the nonregular stress tests; Appendix § 17 the controls (best-effort baselines, a second training maximum, fixed-center, exponent estimation, size context, a compositional comparator); Appendix § 18 the real-data application.
Implementation and training protocol
The five estimators share the encoder, the optimization protocol and the training budget; they differ only in the density head and in how the center is obtained (§ 4).
Architecture
All five estimators use the same Deep Sets encoder (Zaheer et al., [44]):
Per-observation MLP: , with widths .
Mean pooling: .
Aggregation MLP: , with widths .
Here contains the sample mean, log SD, skewness and excess kurtosis of each coordinate, plus task-specific summaries for SIR and Lotka–Volterra (Appendix § 14).
The density heads and center networks are:
Gaussian head: MLP with hidden widths ; outputs and a lower-triangular , with and .
NSF head (Durkan et al., [8]): 5 transforms, 12 bins, conditioner hidden widths .
Center/correction: MLP with hidden widths and outputs.
All MLPs use SiLU (Elfwing et al., [10]) between linear layers and no output activation.
Parameter coordinates. Free-G uses ; Free-NSF uses , with coordinate-wise moments estimated from 20,000 prior draws. Scale-G, CE-G and CE-NSF use (Equation (2)) without further standardization.
Size inputs
We use to express neural size conditioning in the main-text parameterization. Sample size also enters through the explicit contraction factor and the statistical anchor computed from the observed dataset. The regular benchmarks use .
Appendix § 17.§ 6 compares , , and no size input to the residual network while holding the structured center and contraction factor fixed. On this Gamma diagnostic, the three choices give nearly identical contraction exponents and similar width and calibration diagnostics, with small differences in KL. This comparison concerns residual context; it does not establish equivalence of all size encodings or network components.
Training and evaluation
Training: up to 4000 steps, each on a fresh batch of 128 simulated datasets, drawn uniformly from ; Adam (Kingma & Ba, [22]) with learning rate , cosine-annealed to zero over the run without restarts (Loshchilov & Hutter, [27]), and gradient norm clipped at 5. The objective is the negative log density of the simulated parameter under the estimator (§ 4).
Validation: 192 fixed cases at each every 200 steps. Validation NLL is averaged across these sizes; the best checkpoint is retained. An improvement must exceed , and training stops after 20 validation checks without such an improvement.
Evaluation: 400 paired cases at , identical across methods and seeds; 256 posterior draws for calibration metrics, 1024 for reference metrics (§ 6.1).
Out-of-range sizes are never used for early stopping, hyperparameter selection or post-hoc calibration.
Seeds: three on the regular benchmarks, except the mixture, which uses five for C2ST and coverage and two for the saved width and center-error summaries; the prototypes use ten. Values are means across seeds, with sample SDs where shown; table captions state exceptions.
The prototypes of Appendix § 16 use the same training range and evaluation grid with a smaller network and their own budget, stated there. Two protocol variations are reported separately: best-effort free baselines (learning-rate sweep, three times the budget; Appendix § 17.§ 1) and a second training maximum on SIR (training , evaluation ; Appendix § 17.§ 3).
Theoretical support
This appendix collects the statements and proofs behind § 5. The first part concerns the center: what a contracting anchor means, why the learned correction is multiplied by the contraction factor, and how center and rate errors change with sample size. The second part concerns the fitted posterior as a whole: an exact decomposition of its error into shape, mean and covariance terms. Throughout, the network is fixed after training.
Notation and the meaning of a contracting center
Let be the true posterior for a dataset of size , with mean and covariance , where . The exponent specifies the contraction rate; specifies the remaining covariance. All probability statements concern repeated datasets at a fixed generating parameter after the network has been trained.
We distinguish three locations. The statistical anchor is . The residual coordinate is centered at , where is the network’s local correction. The mean of the final fitted posterior is . If its residual has mean , then
Thus, the anchor and the fitted posterior mean need not coincide. Only the sum of the two learned location terms affects ; an implementation may combine them into a single output.
The condition means that the anchor’s error remains bounded in probability after multiplying by . Because has a positive-definite limit, this is equivalent to bounded error in posterior-standard-deviation units. It does not require that the standardized error tend to zero.
Why multiply the correction by the contraction factor?
Proposition 1 (Scaling of center errors). Suppose and the fitted local correction satisfies . Then
If instead the correction is applied in parameter units, then
In particular, a correction converging to a nonzero constant makes the standardized center error diverge. A parameter-unit correction of order retains bounded error.
Proof. Subtract and multiply each expression by . For the local correction the result is , a sum of two tight terms. For the parameter-unit correction the second term is , giving the stated alternatives.
This is a sufficient-condition statement about the correction, not proof that a particular training procedure meets it. The result also requires a contracting anchor. If the anchor retains a fixed bias, a bounded local correction becomes too small in parameter units to cancel it. For the final mean , the same argument applies to in Equation (10).
How far can center and rate errors grow?
Set and write a deployment size as , with . The following calculation assumes specified power laws over the range of interest. The width is a scalar reference scale; it may describe one parameter direction. It is not a substitute for checking the full covariance in a multidimensional problem.
Proposition 2 (Center and rate sensitivity). Suppose and . Then
If the center-error law is an equality with and , a tolerance is reached at
Separately, suppose the fitted width is , so that it matches the reference at . With ,
Proof. Divide the center-error bound by the reference width. Under equality, solve for at the specified tolerance. For the width statement, divide the two power laws and take logarithms.
Equation 11 has three cases: the bound on standardized error decreases if , stays constant if , and grows if . These describe the error itself when the assumed center-error law is an equality; a growing upper bound alone does not establish that the error grows. With a fixed offset and root- contraction, the error grows as under equality. For example, increasing sample size from to multiplies the standardized error by five, even though the absolute offset has not changed. The threshold is therefore conditional on the assumed power laws, not an extrapolation range guaranteed by training. Here the error concerns the final fitted mean , including any residual mean, rather than the coordinate anchor alone. Equation 12 says that an exponent that is too large produces a posterior that becomes too narrow, and conversely for an exponent that is too small. The T1 prototype (Appendix § 16) is a direct test: its posterior contracts at rate while every estimator imposes , so and the predicted over-dispersion is . The measured factors on T1 are 1.56 and 2.21 at and , within 2% of the prediction for both residual families.
The fitted-width assumption is essential. A size-dependent residual can change its own width and partly undo an imposed exponent; the coordinate transformation alone does not imply that the fitted width follows the stated power law. These calculations also omit other sources of posterior error. They explain sensitivity under specified conditions, rather than establishing a deployment guarantee.
An exact decomposition for a Gaussian approximation
The true posterior has mean and covariance . The fitted Gaussian has mean and covariance . The rate factor is shared in this notation, but is allowed to depend on , so the notation does not assume correct fitted contraction.
Proposition 3 (Exact error decomposition). Suppose has a density with finite differential entropy and positive-definite covariance, and . Define
and set and . Then
All three terms are nonnegative. If the eigenvalues of and stay in fixed compact subsets of , there are constants such that
Proof. Add and subtract inside . The first term is . The remaining expectation involves the log ratio of two Gaussian densities, which is quadratic in . Since and have the same first two moments, that expectation equals . The Gaussian KL formula gives Equation 13.
For the quadratic bounds, diagonalize . Its covariance penalty is the sum of over its eigenvalues. Here and . Taylor’s theorem on the stated compact interval bounds this sum above and below by constant multiples of . The eigenvalue bounds for give the corresponding bounds for the mean term.
The first term is the error that remains even after choosing the best Gaussian mean and covariance. The second measures displacement in units of the fitted uncertainty. The third includes errors in widths, correlations and covariance orientation. None of these is removed merely by writing an explicit factor .
For CE-G, includes both learned location terms in Equation (10); substituting the statistical anchor alone would omit part of the error. If is itself Gaussian, . For a flow approximation, KL remains invariant under an invertible coordinate change, but the Gaussian three-term formula does not apply to its general density.
Bounded error can still be substantial. For and , the formula gives for every . Both distributions contract at the same rate, yet their relative displacement stays fixed. Bounded standardized mean error therefore does not imply vanishing posterior error or nominal coverage.
The moment-matched Gaussian is the best Gaussian. Taking and in Equation (13) makes the mean and covariance terms vanish, and both are strictly positive otherwise, so is the unique minimizer of over Gaussians and is the Gaussian family’s irreducible error. Because an unrestricted Gaussian remains an unrestricted Gaussian after an invertible centering and scaling, Free-G, Scale-G and CE-G share this best achievable approximation at a fixed dataset; their fitted errors differ because they learn and extrapolate the mean and covariance differently. Only a more flexible residual can reduce , and whether a trained spline does so is an empirical question (§ 6.2).
Benchmark and reference definitions
Gaussian linear
Prior
Simulator
Dimensions
Center sample mean
Reference posterior conjugate Gaussian posterior
References Lueckmann et al. [30]
Gaussian linear (uniform)
Prior
Simulator
Dimensions
Center sample mean
Reference posterior product of truncated normals
References Lueckmann et al. [30]
Gaussian mixture
Prior
Simulator
Dimensions
Center ten EM steps from the coordinate-wise median
Reference posterior grid integration, points around the MAP
References Sisson et al. [36]; Beaumont et al. [2]
Bernoulli GLM
Inference of a ten-parameter generalized linear model with Bernoulli observations and a Gaussian prior whose covariance encourages smoothness by penalizing second-order differences in the filter; the observation is the sufficient statistic of the GLM.
Prior , with , , , otherwise,
Simulator , ,
, ,
,
frozen input between time bins and :
,
Dimensions
Fixed parameters duration time bins
Center simulator method of moments: damped Gauss–Newton steps matching to the replicate mean
Reference posterior adaptive importance sampling from the Newton MAP
References Lueckmann et al. [29]; Gonçalves et al. [15]
SLCP
A task designed to have a simple likelihood and a complex posterior: one replicate is four two-dimensional points from a Gaussian whose mean and covariance are nonlinear functions of , so the posterior is a union of four mirror images.
Prior
Simulator , , where
, ,
Dimensions ,
Center moment estimator on the branch
Reference posterior importance sampling on a fundamental domain
References Papamakarios et al. [34]; Greenberg et al. [16]; Hermans et al. [19]; Durkan et al. [9]
Two moons
Prior
Simulator , where ,
Dimensions ,
Center moment estimator on the branch
Reference posterior grid integration on a fundamental domain, expanded by the symmetry group
References Greenberg et al. [16]
SIR
An epidemiological model of susceptible , infectious and recovered individuals; the task infers the contact rate and the recovery rate from binomial samples of at ten evenly spaced times.
Prior , , truncated to (about 12% of prior mass removed; below 1.5 no epidemic occurs within the horizon, above 8 the peak precedes the first observation and is weakly identified). Inference is in .
Simulator , stored as fractions, where is simulated from
Dimensions , Fixed parameters population , duration , initial conditions
Center simulator method of moments: coarse grid, then three damped Gauss–Newton steps matching the simulator’s mean output to the replicate mean
Reference posterior grid integration in whitened Laplace coordinates; Gaussian to high accuracy, fitted contraction exponent 0.51
References [21]
Lotka–Volterra
The classic model of two interacting species; the task infers four interaction parameters from both populations observed at ten evenly spaced times.
Prior , , , , truncated to parameters for which neither species falls below individuals at any observation time (about 8% of prior mass removed; an effectively extinct species carries no information about its rates). Inference is in log-rate coordinates.
Simulator , stored as log-counts, where , are simulated from
Dimensions ,
Fixed parameters duration time units, initial conditions
Center simulator method of moments: grid, then four damped Gauss–Newton steps with multi-start
Reference posterior adaptive importance sampling with a Student- proposal at the Gauss–Newton MAP; Gaussian to high accuracy, fitted contraction exponent 0.50
References [28]
Simulator-based centers (SIR and Lotka–Volterra). Both centers are likelihood-free method-of-moments estimates computed per dataset from simulator runs only. Objective: the simulator’s mean output (the ODE solution with observation noise off) is fitted to the replicate mean by weighted least squares, with weights over the replicates’ sample variance per output coordinate (floored at of its mean), plus the Gaussian prior on as a quadratic penalty; the likelihood is never evaluated. Initialization: a coarse grid over the prior box, one batched ODE solve for the whole grid (41 × 41 points within ±3.5 prior SDs for SIR; points for Lotka–Volterra), scored by the same objective. Refinement: damped Gauss–Newton with a central-difference Jacobian and step halving, three steps from the best grid point for SIR and four steps from each of the eight best grid points for Lotka–Volterra, keeping the best fit (the oscillatory mean map has local optima at the wrong phase). The same routine is applied at every ; no out-of-range data, reference posterior or tuning enters the center.
The Gamma model is defined with the ablation that uses it (Appendix § 17).
Full regular-benchmark results
This appendix reports the six regular sbibm benchmarks at every evaluation size, in-range sizes next to the out-of-range sizes, under the unified protocol of Appendix § 12. The two symmetric multimodal benchmarks are in Appendix § 16.
| estimator | C2ST | C2ST | C2ST | C2ST | SD ratio | SD ratio | SD ratio | SD ratio | 95% joint coverage | 95% joint coverage | 95% joint coverage | 95% joint coverage |
| Gaussian linear | ||||||||||||
| Free-G | 0.57 | 0.61 | 0.75 | 0.89 | 1.02 | 1.09 | 1.24 | 1.41 | 0.96 | 0.97 | 0.97 | 0.86 |
| Scale-G | 0.55 | 0.57 | 0.65 | 0.71 | 1.01 | 1.00 | 1.00 | 1.00 | 0.96 | 0.95 | 0.91 | 0.87 |
| CE-G | 0.51 | 0.51 | 0.55 | 0.57 | 1.00 | 1.00 | 1.03 | 1.06 | 0.96 | 0.96 | 0.96 | 0.97 |
| Free-NSF | 0.55 | 0.58 | 0.72 | 0.87 | 1.01 | 1.06 | 1.26 | 1.53 | 0.96 | 0.98 | 0.99 | 1.00 |
| CE-NSF | 0.51 | 0.51 | 0.54 | 0.56 | 1.02 | 1.01 | 0.99 | 0.98 | 0.97 | 0.96 | 0.93 | 0.93 |
| Gaussian linear (uniform) | ||||||||||||
| Free-G | 0.84 | 0.88 | 0.94 | 0.98 | 1.62 | 1.97 | 2.72 | 3.62 | 0.96 | 0.98 | 0.90 | 0.55 |
| Scale-G | 0.66 | 0.67 | 0.68 | 0.74 | 1.06 | 1.03 | 1.02 | 1.02 | 0.96 | 0.94 | 0.92 | 0.90 |
| CE-G | 0.61 | 0.61 | 0.58 | 0.57 | 1.03 | 1.01 | 1.02 | 1.04 | 0.96 | 0.94 | 0.95 | 0.97 |
| Free-NSF | 0.58 | 0.62 | 0.78 | 0.92 | 1.03 | 1.12 | 1.35 | 1.62 | 0.96 | 0.98 | 0.99 | 0.99 |
| CE-NSF | 0.59 | 0.59 | 0.56 | 0.56 | 1.04 | 1.02 | 1.00 | 0.98 | 0.96 | 0.94 | 0.94 | 0.94 |
| Gaussian mixture | ||||||||||||
| Free-G | 0.87 | 0.90 | 0.93 | 0.95 | 2.73 | 3.34 | 4.54 | 5.86 | 0.93 | 0.93 | 0.97 | 0.98 |
| Scale-G | 0.87 | 0.89 | 0.90 | 0.92 | 2.81 | 2.83 | 2.74 | 2.70 | 0.94 | 0.89 | 0.81 | 0.75 |
| CE-G | 0.64 | 0.55 | 0.53 | 0.54 | 1.22 | 1.03 | 0.90 | 0.83 | 0.94 | 0.94 | 0.92 | 0.88 |
| Free-NSF | 0.87 | 0.89 | 0.93 | 0.95 | 3.14 | 3.44 | 4.08 | 4.76 | 0.94 | 0.94 | 0.93 | 0.86 |
| CE-NSF | 0.56 | 0.52 | 0.51 | 0.51 | 1.33 | 1.15 | 1.05 | 1.01 | 0.92 | 0.94 | 0.94 | 0.93 |
| Bernoulli GLM | ||||||||||||
| Free-G | 1.00 | 1.00 | 1.00 | 1.00 | 6.56 | 8.88 | 13.98 | 19.49 | 0.93 | 0.94 | 0.93 | 0.88 |
| Scale-G | 0.99 | 1.00 | 1.00 | 1.00 | 3.80 | 4.04 | 4.10 | 4.07 | 0.94 | 0.82 | 0.24 | 0.06 |
| CE-G | 0.70 | 0.67 | 0.66 | 0.68 | 1.05 | 1.04 | 1.07 | 1.10 | 0.92 | 0.94 | 0.95 | 0.97 |
| Free-NSF | 0.98 | 0.99 | 1.00 | 1.00 | 2.24 | 2.97 | 4.42 | 6.02 | 0.94 | 0.95 | 0.96 | 0.91 |
| CE-NSF | 0.67 | 0.64 | 0.63 | 0.65 | 1.05 | 1.04 | 1.05 | 1.08 | 0.95 | 0.95 | 0.95 | 0.95 |
| SIR | ||||||||||||
| Free-G | 0.88 | 0.92 | 0.97 | 0.99 | 2.27 | 3.07 | 4.37 | 7.43 | 0.94 | 0.96 | 0.61 | 0.36 |
| Scale-G | 0.88 | 0.90 | 0.96 | 0.99 | 2.30 | 2.60 | 3.09 | 4.46 | 0.95 | 0.92 | 0.46 | 0.15 |
| CE-G | 0.64 | 0.58 | 0.66 | 0.77 | 1.13 | 1.08 | 1.27 | 2.07 | 0.94 | 0.93 | 0.95 | 0.97 |
| Free-NSF | 0.74 | 0.79 | 0.92 | 0.96 | 1.46 | 1.80 | 2.44 | 3.78 | 0.95 | 0.97 | 0.63 | 0.38 |
| CE-NSF | 0.60 | 0.56 | 0.61 | 0.74 | 1.58 | 1.30 | 1.50 | 2.31 | 0.95 | 0.93 | 0.90 | 0.76 |
| Lotka–Volterra | ||||||||||||
| Free-G | 0.99 | 0.99 | 1.00 | 1.00 | 23.60 | 34.30 | 52.05 | 75.06 | 0.94 | 0.96 | 0.70 | 0.26 |
| Scale-G | 0.99 | 0.99 | 1.00 | 1.00 | 24.42 | 25.25 | 24.07 | 24.11 | 0.95 | 0.87 | 0.63 | 0.33 |
| CE-G | 0.74 | 0.71 | 0.67 | 0.74 | 1.17 | 1.11 | 0.99 | 0.90 | 0.94 | 0.93 | 0.89 | 0.79 |
| Free-NSF | 0.97 | 0.98 | 0.99 | 1.00 | 2.93 | 3.84 | 5.43 | 7.45 | 0.95 | 0.97 | 0.90 | 0.56 |
| CE-NSF | 0.71 | 0.66 | 0.66 | 0.76 | 1.57 | 1.43 | 1.19 | 1.03 | 0.97 | 0.94 | 0.84 | 0.66 |
Table 9. Results on the six regular benchmarks at every evaluation size (three seeds, except the mixture: five for C2ST and coverage, two for SD ratio; training ). The two symmetric multimodal benchmarks are in Table 13. Bold marks the best entry in each column and block (closest to the target where the metric has one).
Nonregular stress tests
The four prototypes. Each prototype is a one- or two-dimensional model with an exact reference posterior, each chosen to probe one assumption of the structured representation:
T1, parameter-dependent support. , . The posterior is on with and contracts at rate to a Gamma limit, the nonregular Bernstein–von Mises case of Bochkina & Green [3]. Violated: the imposed rate .
T2, boundary parameter. with and a truncated-exponential prior of rate 2. The posterior is : the rate holds, but the shape is non-Gaussian whenever the mass sits against the boundary at 0. Probed: residual shape at a boundary, which the Gaussian head can represent after renormalization.
T3, singular parameterization. , . The posterior concentrates on the hyperbola , a ridge that does not contract. Violated: a single local center.
T4, persistent bimodality. , . The posterior has two modes at whose separation does not shrink with . Violated: a single local center.
Reference posteriors are computed on composite grids covering the prior support, and every estimator’s density is renormalized on that support before scoring. The two symmetric sbi{b}m benchmarks belong to the same family: SLCP has four mirror-image modes (as T4), and the support boundary of two moons contracts at rate (as T1).
Protocol. The protocol is that of the main text (Appendix § 12) with three differences: ten seeds instead of three, a smaller network (two hidden layers of 64 units, 3000 steps), and a nominal coverage level of 90% with C2ST evaluated in closed form on the reference grid. The structured estimators impose the same rate as on the regular benchmarks, and the center-estimated estimators use the closed-form center of each prototype ( for T1, for T2, the nearest point on the ridge for T3, the positive mode for T4); for T1 the encoder additionally receives as a fixed summary, since mean pooling cannot represent a maximum. The true rate (1 on T1) is used only in explicitly labeled oracle ablations. One prototype-specific quantity is added to the main-text metrics: for T3 and T4, the distance from the posterior center to the nearest ridge or mode.
Table 10: Nonregular prototypes at (5× the largest training size; ten seeds). Each block violates a different assumption of the structured representation.
| method | T1: parameter-dependent support | T2: boundary parameter | ||||||
| KL | SD ratio | center err. | C2ST | KL | SD ratio | center err. | C2ST | |
| Free-G | 12.27 | 1.09 | 4.72 | 0.92 | 0.12 | 1.00 | 0.59 | 0.61 |
| Scale-G | 1.31 | 2.69 | 2.02 | 0.82 | 0.24 | 0.83 | 0.39 | 0.61 |
| CE-G | 1.11 | 2.71 | 0.54 | 0.78 | 0.10 | 0.81 | 0.18 | 0.58 |
| Free-NSF | 0.65 | 2.02 | 0.87 | 0.70 | 0.17 | 1.02 | 0.52 | 0.61 |
| CE-NSF | 0.49 | 2.82 | 1.81 | 0.68 | 0.18 | 0.84 | 0.24 | 0.59 |
| method | T3: singular parameterization | T4: persistent bimodality | ||||||
| KL | SD ratio | center err. | C2ST | KL | SD ratio | center err. | C2ST | |
| Free-G | 2.34 | 0.84 | 0.01 | 0.90 | 2.28 | 0.85 | 0.01 | 0.86 |
| Scale-G | 7.65 | 0.36 | 0.01 | 0.95 | 5.01 | 0.39 | 0.00 | 0.93 |
| CE-G | 8.40 | 0.36 | 0.40 | 0.92 | 5.67 | 0.39 | 0.43 | 0.90 |
| Free-NSF | 0.67 | 0.95 | 0.11 | 0.70 | 0.14 | 1.03 | 0.01 | 0.61 |
| CE-NSF | 26.81 | 0.36 | 0.50 | 0.89 | 23.48 | 0.39 | 0.60 | 0.79 |
Table 10.
Rate violation: T1. T1 contracts at rate while every estimator imposes . The estimated posterior is therefore too wide, by a factor that grows with , consistent with the rate sensitivity of Proposition 2. Table 11 then changes only the imposed exponent: the default , the value that the training-range estimate of Appendix § 17.§ 5 supplies, and the oracle 1. Width, center error and KL improve smoothly as the exponent approaches 1, while coverage stays close to nominal for the default and estimated exponents, because a too wide posterior fails gracefully, and falls slightly below it at the oracle exponent. An estimated rate therefore repairs most of the failure without being exact.
Boundary shape: T2. The fixed- strata of Table 12 isolate the boundary; away from it () every estimator is accurate, and at it neither residual learns the truncated shape. This is a learning failure, not a representational one: every estimator’s density is renormalized on before scoring, and a Gaussian with mean and variance so renormalized equals the true posterior exactly. The exact posterior’s own 90% HPD coverage of is 0.96 at and 0.94 at , not the nominal 0.90, because the truth sits on the boundary.
| estimator | T2, stratum | T3 | T4 | |||
| SD ratio | center err. | cov. 90% | KL | ridge dist. | mode dist. | |
| Exact posterior | – | – | ||||
| Free-G | ||||||
| Scale-G | ||||||
| CE-G | ||||||
| Free-NSF | ||||||
| CE-NSF |
Table 12. Fixed- strata, (ten seeds). T2 at the boundary (), with the exact posterior as reference; T3/T4, distance from each estimator’s posterior mean to the nearest ridge or mode in units of its width, which grows with for any single-center summary, the exact posterior mean included. Accuracy on T3 and T4 is read from Table 10.
No single local center: T3, T4, SLCP and two moons. On T3 and T4 every single-center estimator degrades with ; the free spline estimator degrades least (C2ST 0.70 and 0.61 at against 0.79–0.95 for the others, Table 10) but is not accurate either. On the two symmetric sbibm benchmarks (Table 13) every single-center estimator fails at every size, including inside the training range; the free spline estimator retains far more of the structure (MMD an order of magnitude lower) yet its C2ST at is still 0.91 on SLCP and 0.97 on two moons, so it does not recover the posterior either.
| estimator | C2ST | MMD | 95% joint coverage | |||||||||
| SLCP | ||||||||||||
| Free-G | 0.98 | 0.98 | 0.99 | 0.99 | 0.064 | 0.073 | 0.084 | 0.093 | 0.96 | 0.99 | 0.94 | 0.87 |
| Scale-G | 0.98 | 0.98 | 1.00 | 1.00 | 0.058 | 0.142 | 0.363 | 0.532 | 0.97 | 0.92 | 0.20 | 0.00 |
| CE-G | 0.98 | 0.98 | 0.98 | 0.99 | 0.040 | 0.072 | 0.144 | 0.208 | 0.95 | 0.94 | 0.87 | 0.69 |
| Free-NSF | 0.75 | 0.79 | 0.83 | 0.91 | 0.004 | 0.004 | 0.007 | 0.013 | 0.92 | 0.98 | 0.96 | 0.82 |
| CE-NSF | 0.91 | 0.97 | 0.98 | 0.98 | 0.147 | 0.290 | 0.427 | 0.514 | 0.27 | 0.15 | 0.13 | 0.09 |
| Two moons | ||||||||||||
| Free-G | 0.98 | 0.98 | 0.99 | 0.99 | 0.129 | 0.141 | 0.165 | 0.197 | 0.96 | 0.99 | 0.98 | 0.77 |
| Scale-G | 0.98 | 0.98 | 0.99 | 0.99 | 0.109 | 0.223 | 0.475 | 0.660 | 0.97 | 0.97 | 0.81 | 0.09 |
| CE-G | 0.97 | 0.98 | 0.99 | 0.99 | 0.112 | 0.195 | 0.347 | 0.432 | 0.98 | 0.95 | 0.57 | 0.39 |
| Free-NSF | 0.80 | 0.81 | 0.90 | 0.97 | 0.014 | 0.012 | 0.018 | 0.050 | 0.96 | 0.99 | 0.89 | 0.41 |
| CE-NSF | 0.80 | 0.81 | 0.94 | 0.98 | 0.016 | 0.011 | 0.119 | 0.221 | 0.96 | 0.96 | 0.40 | 0.11 |
Table 13. The two symmetric multimodal sbibm benchmarks.
Mechanism ablations and matched controls
Each subsection answers one question about the main-text comparison: whether the free baselines are under-trained, whether the ordering depends on the training maximum, whether the imposed rate matters once the center is held fixed, whether the exponent can be estimated from the training range, whether the residual network needs the size input, and how a compositional estimator compares.
Best-effort free baselines
The free baselines of the main text share the training budget of every other estimator. To check whether they lose because they are under-trained rather than because they cannot extrapolate, Free-G and Free-NSF were retrained on all six regular benchmarks under a best-effort protocol: the same architecture, prior-standardized parameters, the learning rate selected from by in-range validation NLL, three times the step budget and a longer early-stopping patience. No out-of-range data enter training, selection or calibration. Table 14 places the result beside the standard estimators at the training boundary and at .
| estimator | (training boundary) SD ratio | center err. | cov. | C2ST | (5×) SD ratio | center err. | cov. | C2ST |
| Gaussian linear | ||||||||
| Free-G | 1.09 | 0.11 | 0.97 | 0.61 | 1.41 | 0.59 | 0.86 | 0.89 |
| Free-G (best effort) | 1.01 | 0.07 | 0.96 | 0.54 | 0.98 | 0.81 | 0.39 | 0.93 |
| Free-NSF | 1.06 | 0.11 | 0.98 | 0.58 | 1.53 | 0.53 | 1.00 | 0.87 |
| Free-NSF (best effort) | 1.03 | 0.08 | 0.96 | 0.54 | 1.42 | 0.44 | 1.00 | 0.83 |
| CE-G | 1.00 | 0.05 | 0.96 | 0.51 | 1.06 | 0.12 | 0.97 | 0.57 |
| CE-NSF | 1.01 | 0.04 | 0.96 | 0.51 | 0.98 | 0.10 | 0.93 | 0.56 |
| Gaussian linear (uniform) | ||||||||
| Free-G | 1.97 | 1.03 | 0.98 | 0.88 | 3.62 | 2.42 | 0.55 | 0.98 |
| Free-G (best effort) | 1.05 | 0.13 | 0.96 | 0.64 | 1.13 | 0.78 | 0.61 | 0.92 |
| Free-NSF | 1.12 | 0.15 | 0.98 | 0.62 | 1.62 | 0.74 | 0.99 | 0.92 |
| Free-NSF (best effort) | 1.04 | 0.09 | 0.96 | 0.56 | 1.37 | 0.48 | 0.98 | 0.83 |
| CE-G | 1.01 | 0.10 | 0.94 | 0.61 | 1.04 | 0.10 | 0.97 | 0.57 |
| CE-NSF | 1.02 | 0.08 | 0.94 | 0.59 | 0.98 | 0.08 | 0.93 | 0.56 |
| Gaussian mixture | ||||||||
| Free-G | 3.42 | 2.48 | 0.93 | 0.90 | 5.88 | 3.67 | 0.98 | 0.95 |
| Free-G (best effort) | 3.14 | 2.36 | 0.94 | 0.89 | 5.10 | 3.20 | 0.98 | 0.95 |
| Free-NSF | 3.76 | 2.48 | 0.94 | 0.89 | 5.41 | 4.60 | 0.86 | 0.95 |
| Free-NSF (best effort) | 3.75 | 2.34 | 0.95 | 0.89 | 6.82 | 3.68 | 0.98 | 0.96 |
| CE-G | 1.14 | 0.07 | 0.94 | 0.55 | 0.87 | 0.06 | 0.88 | 0.54 |
| CE-NSF | 1.20 | 0.06 | 0.94 | 0.52 | 1.04 | 0.05 | 0.93 | 0.51 |
| Bernoulli GLM | ||||||||
| Free-G | 8.88 | 7.00 | 0.94 | 1.00 | 19.49 | 16 | 0.88 | 1.00 |
| Free-G (best effort) | 2.84 | 1.95 | 0.95 | 0.99 | 5.84 | 4.82 | 0.77 | 1.00 |
| Free-NSF | 2.97 | 1.94 | 0.95 | 0.99 | 6.02 | 4.70 | 0.91 | 1.00 |
| Free-NSF (best effort) | 1.71 | 0.88 | 0.96 | 0.92 | 3.17 | 3.14 | 0.87 | 1.00 |
| CE-G | 1.04 | 0.13 | 0.94 | 0.67 | 1.10 | 0.12 | 0.97 | 0.68 |
| CE-NSF | 1.04 | 0.13 | 0.95 | 0.64 | 1.08 | 0.08 | 0.95 | 0.65 |
| SIR | ||||||||
| Free-G | 3.07 | 2.07 | 0.96 | 0.92 | 7.43 | 18 | 0.36 | 0.99 |
| Free-G (best effort) | 1.41 | 0.47 | 0.98 | 0.71 | 2.91 | 5.27 | 0.47 | 0.94 |
| Free-NSF | 1.80 | 0.70 | 0.97 | 0.79 | 3.78 | 8.07 | 0.38 | 0.96 |
| Free-NSF (best effort) | 1.32 | 0.37 | 0.98 | 0.68 | 2.71 | 4.80 | 0.44 | 0.94 |
| CE-G | 1.08 | 0.17 | 0.93 | 0.58 | 2.07 | 0.41 | 0.97 | 0.77 |
| CE-NSF | 1.30 | 0.16 | 0.93 | 0.56 | 2.31 | 0.33 | 0.76 | 0.74 |
| Lotka–Volterra | ||||||||
| Free-G | 34.30 | 22 | 0.96 | 0.99 | 75.06 | 47 | 0.26 | 1.00 |
| Free-G (best effort) | 29.73 | 20 | 0.97 | 0.99 | 65.84 | 45 | 0.85 | 1.00 |
| Free-NSF | 3.84 | 1.83 | 0.97 | 0.98 | 7.45 | 9.39 | 0.56 | 1.00 |
| Free-NSF (best effort) | 2.14 | 1.10 | 0.97 | 0.95 | 3.70 | 3.05 | 0.64 | 0.99 |
| CE-G | 1.11 | 0.19 | 0.93 | 0.71 | 0.90 | 0.13 | 0.79 | 0.74 |
| CE-NSF | 1.43 | 0.19 | 0.94 | 0.66 | 1.03 | 0.19 | 0.66 | 0.76 |
Table 14. Best-effort free baselines beside the standard estimators at the training boundary () and at (); seed means over three seeds. Bold marks the best entry in each column and block (closest to the target where the metric has one).
Within the training range, the extra effort narrows the gap on four benchmarks: on both Gaussian linear tasks, the Bernoulli GLM and SIR the best-effort baselines fit markedly better at the boundary, and on Gaussian linear with a uniform prior the best-effort Free-NSF matches the CE estimators there. On the Gaussian mixture and Lotka–Volterra, by contrast, the large in-range errors remain. Beyond the range the picture is the same on every benchmark: the best-effort baselines still widen and drift at , their C2ST never falls below 0.83 while CE-NSF stays at or below 0.76, and on Gaussian linear the tuned Free-G loses most of its joint coverage. Extra training effort therefore narrows the in-range gap but does not change the out-of-range ordering.
A second training maximum on SIR
To check that the ordering of the main text is a statement about the relative size rather than about the particular boundary , every estimator (and the two best-effort free baselines) was retrained on SIR with training sizes drawn uniformly from and paired evaluation at , with fresh reference posteriors at those sizes and three seeds. Table 15 reports both training maxima on the common axis. This study reuses the CE arms of the development runs, whose center is the likelihood-based Fisher-scoring estimator, at both training maxima; their rows therefore differ slightly from the main-text SIR rows, which use the likelihood-free moment center of Appendix § 14. The study was not rerun with the moment center because the ordering at is the same under either center.
| estimator | \multicolumn{4}{c}{C2ST} | \multicolumn{4}{c}{SD ratio} | \multicolumn{4}{c}{95% joint coverage} | ||||||||||
| 20 | Free-G | 0.88 | 0.92 | 0.97 | 0.99 | 2.27 | 3.07 | 4.37 | 7.43 | 0.94 | 0.96 | 0.61 | 0.36 |
| 20 | Scale-G | 0.88 | 0.90 | 0.96 | 0.99 | 2.30 | 2.60 | 3.09 | 4.46 | 0.95 | 0.92 | 0.46 | 0.15 |
| 20 | CE-G | 0.57 | 0.55 | 0.64 | 0.76 | 1.02 | 1.00 | 1.14 | 1.83 | 0.94 | 0.92 | 0.95 | 0.96 |
| 20 | Free-NSF | 0.74 | 0.79 | 0.92 | 0.96 | 1.46 | 1.80 | 2.44 | 3.78 | 0.95 | 0.97 | 0.63 | 0.38 |
| 20 | CE-NSF | 0.55 | 0.53 | 0.61 | 0.75 | 1.47 | 1.26 | 1.77 | 2.40 | 0.94 | 0.93 | 0.93 | 0.70 |
| 80 | Free-G | 0.96 | 0.97 | 0.99 | 0.99 | 5.30 | 6.79 | 11.63 | 17.81 | 0.95 | 0.97 | 0.73 | 0.56 |
| 80 | Free-G (best effort) | 0.78 | 0.82 | 0.92 | 0.96 | 1.40 | 1.84 | 3.05 | 5.07 | 0.94 | 0.97 | 0.73 | 0.58 |
| 80 | Scale-G | 0.95 | 0.96 | 0.98 | 0.99 | 4.36 | 4.51 | 5.90 | 7.79 | 0.95 | 0.92 | 0.61 | 0.31 |
| 80 | CE-G | 0.58 | 0.58 | 0.64 | 0.72 | 1.04 | 1.03 | 1.02 | 1.16 | 0.94 | 0.94 | 0.92 | 0.86 |
| 80 | Free-NSF | 0.89 | 0.91 | 0.97 | 0.99 | 2.69 | 3.50 | 5.95 | 10.05 | 0.96 | 0.97 | 0.71 | 0.47 |
| 80 | Free-NSF (best effort) | 0.76 | 0.80 | 0.91 | 0.96 | 1.43 | 1.79 | 2.69 | 4.20 | 0.94 | 0.97 | 0.72 | 0.52 |
| 80 | CE-NSF | 0.54 | 0.55 | 0.64 | 0.72 | 1.60 | 1.47 | 1.94 | 2.59 | 0.94 | 0.94 | 0.92 | 0.74 |
Table 15. SIR at two training maxima against the relative size .
CE retains the best C2ST at at both training maxima, but the absolute errors differ. At , CE-G has a width ratio of 1.16 and joint coverage of 0.86 at , compared with 1.83 and 0.96 at ; CE-NSF undercovers at in both settings. The best-effort free baselines improve in-range fitting but still deteriorate out of range. Increasing the training maximum therefore preserves the observed C2ST ordering without making either accuracy or coverage invariant to .
Does the imposed rate matter at a fixed center?
This study compares, on the Gaussian mixture, two fixed-center controls built on the same ten-step EM center, the full CE-G model, and a standardized, tuned Free-G baseline. The two controls keep the posterior mean exactly at the EM estimate (residual mean constrained to zero, no correction network) and differ only in whether the covariance carries the imposed factor; CE-G is the full method; Free-G (standardized, tuned) is the free baseline with prior-standardized parameters and a learning rate selected by in-range validation. The study uses the main-text protocol (training sizes up to 20, evaluation at 20 and 100; Table 16).
| method | C2ST at | KL at | C2ST at | KL at | cov. at |
| Free-G (standardized, tuned) | 0.898 | 2.317 | 0.942 | 2.980 | 0.966 |
| CE-G (log residual) | 0.552 | 0.121 | 0.537 | 0.096 | 0.870 |
| Fixed EM center, free scale | 0.574 | 0.174 | 0.623 | 0.328 | 0.974 |
| Fixed EM center, imposed scale | 0.558 | 0.137 | 0.513 | 0.033 | 0.909 |
Table 16. Fixed-center controls on the Gaussian mixture at the training boundary () and (); means across three seeds.
With the center held fixed, imposing the contraction factor improves C2ST and KL at over letting the covariance scale freely, while joint coverage moves from 0.974 to 0.909 against a nominal 0.95; the rate parameterization therefore matters on its own for agreement with the reference, not for coverage. In this comparison the fixed-center, imposed-scale control has lower C2ST and KL at than the full CE-G model, so the study isolates a benefit of scaling at a fixed center but does not show
an additional gain from the learned location adjustment: once the center is accurate and the rate is right, most of the gain is already obtained, which is the scope stated in § 7.
The same two controls were run on SIR and Lotka–Volterra with the simulator-based moment center, under the main-text protocol and on the paired cases of Appendix § 15 (Table 17, C2ST only). Imposing the contraction factor at a fixed center is again what matters: with the covariance free, C2ST rises with sample size on both tasks, whereas with the factor imposed it stays close to CE-G at every size and is slightly below it at (SIR 0.750 against 0.772, Lotka–Volterra 0.704 against 0.737). The learned location adjustment therefore adds nothing measurable on these two tasks either. The spline head does: CE-NSF has the lowest C2ST at every in-range size and on SIR at every size, but at on Lotka–Volterra it falls behind the fixed-center Gaussian control, and on both tasks its joint coverage at is well below nominal (Appendix § 15), so the in-range benefit of residual flexibility does not carry over intact to the largest extrapolation.
| estimator | \multicolumn{4}{c}{SIR} | \multicolumn{4}{c}{Lotka–Volterra} | ||||||
| Fixed center, free scale | 0.653 | 0.642 | 0.789 | 0.897 | 0.768 | 0.806 | 0.886 | 0.940 |
| Fixed center, imposed scale | 0.634 | 0.572 | 0.647 | 0.750 | 0.729 | 0.704 | 0.656 | 0.704 |
| CE-G | 0.640 | 0.579 | 0.663 | 0.772 | 0.738 | 0.713 | 0.671 | 0.737 |
| CE-NSF | 0.602 | 0.559 | 0.614 | 0.740 | 0.707 | 0.665 | 0.655 | 0.757 |
Table 17. Fixed-center controls on SIR and Lotka–Volterra: C2ST at every evaluation size (training sizes 5 to 20); means across three seeds, lowest per column in bold.
Can the exponent be estimated from the training range?
CE-NPE imposes the contraction rate. When no asymptotic argument supplies it, the only data available at training time are simulations at the training sizes, and the natural estimate is the rate at which the statistical center itself contracts there: for each of parameters drawn from the prior and each training size we simulate replicate datasets, compute the spread of across replicates, and fit by least squares. This needs no likelihood and no reference posterior. Table 18 reports on every benchmark next to the rate CE-NPE imposes ( throughout) and the true asymptotic rate.
| benchmark | imposed rate | true asymptotic rate | estimated |
| Gaussian linear | 1/2 | 1/2 | 0.50 |
| Gaussian linear (uniform) | 1/2 | 1/2 | 0.48 |
| Gaussian mixture | 1/2 | 1/2 | 1.38 |
| Bernoulli GLM | 1/2 | 1/2 | 0.46 |
| SIR | 1/2 | 1/2 | 0.56 |
| Lotka–Volterra | 1/2 | 1/2 | 0.48 |
| T1 (support) | 1/2 | 1 | 0.80 |
| T2 (boundary) | 1/2 | 1/2 | 0.43 |
| T3 (singular) | 1/2 | ridge | 0.44 |
| T4 (bimodal) | 1/2 | 1/2 | 0.47 |
Table 18. Contraction exponent estimated from the training range.
Three readings follow. On the regular simulators other than the mixture, the estimate is close to the regular rate. On T1 it gives 0.80, which is the finite- contraction of the maximum over rather than the asymptotic 1; imposing 0.80 is exactly the estimated-rate row of Table 11, which repairs most of the T1 failure, so the estimate is useful where the asymptotic rate is unknown and wrong. On the Gaussian mixture, the estimate is 1.38, the narrow mixture component is identified between and , and the center spread contracts much faster than in this transient regime before settling to the regular rate. An estimator that trusted the training range would impose an exponent that over-contracts out of range. A training-range estimate is therefore a check on the model-class rate, not a substitute for it: when the two disagree, the disagreement itself indicates that the training range is not yet in the regime whose rate one wants to extrapolate.
Does the residual network still need ?
Gamma model and protocol. Training sizes are and evaluation sizes are . The encoder is a Deep Sets network over the log-transformed observations. The structured center is the log of the maximum-likelihood (equivalently method-of-moments) rate estimate plus a learned correction applied in rescaled units, ; the residual density on is a one-dimensional rational-quadratic spline flow with linear tails ([8]). Each diagnostic uses five seeds.
We hold the structured center and transformation fixed and change only whether the residual network receives , , or no size input. As Table 19 shows, all three variants have a fitted exponent of 0.500 and nearly identical SD ratios, coverage, center error, and Kolmogorov–Smirnov (KS) statistics for simulation-based calibration (SBC) ([39]) at 10×. The context improves KL from 0.0023 without context to 0.0018; gives 0.0012. These differences concern finite-sample density fitting, while the contraction exponents remain nearly identical. Sample size is not unnecessary: still enters the analytic transformation and the structured center. In this Gamma ablation, explicit neural context becomes secondary once the dominant contraction law is encoded.
| residual context | KL | SD ratio | 90% cov. | center error | SBC KS | exponent |
| 0.0018 | 0.991 | 0.886 | 0.061 | 0.039 | 0.500 | |
| 0.0012 | 0.998 | 0.889 | 0.059 | 0.038 | 0.500 | |
| none | 0.0023 | 0.992 | 0.888 | 0.065 | 0.041 | 0.500 |
Table 19. Matched residual-context comparison at (means over five seeds; coverage is the nominal 90% region).
A score-based compositional comparator on the six regular benchmarks
Compositional estimators handle a large by learning the posterior score for a block of observations and summing block scores at test time, so every is supported without any single estimator having to extrapolate. The score network of PF-NPSE (Geffner et al., [13]) conditions on a block of up to 20 observations; at test time the observations are partitioned into blocks of 20 plus a remainder, each block is scored by the same network given its block size, and the block scores are summed with the diffused prior score subtracted once per additional block. For conditionally independent observations, as on all six benchmarks, the factorization of the posterior into block posteriors is exact at noise level zero, but the sum of diffused block scores is an approximation at positive noise levels ([13, 25]); at the dataset forms a single block and no composition takes place, so only the two out-of-range sizes exercise it. We run the authors’ public implementation under the main-text protocol: the same number of training datasets as one main-text estimator, each simulated with 20 replicates and randomly masked to a block size in (so about 1.6 times the replicates a main-text estimator sees), the analytic diffused prior of the authors’ code, which ignores the mild prior truncation of SIR and Lotka–Volterra, in-range validation only, three seeds, and the first 200 of the paired evaluation cases at every size. Two samplers draw from the composed score: the published annealed Langevin sampler and the GAUSS sampler of Linhart et al. [25], which corrects the composition with a Gaussian approximation. Neither provides a density, so coverage is not reported. Table 20 places both beside Free-NSF and CE-NSF.
| estimator | C2ST | C2ST | C2ST | C2ST | SD ratio | SD ratio | SD ratio | SD ratio |
| Gaussian linear | ||||||||
| Free-NSF | 0.55 | 0.58 | 0.72 | 0.87 | 1.01 | 1.06 | 1.26 | 1.53 |
| PF-NPSE (Langevin) | 0.56 | 0.57 | 0.57 | 0.62 | 1.11 | 1.12 | 1.03 | 0.98 |
| PF-NPSE (GAUSS) | 0.51 | 0.52 | 0.55 | 0.59 | 0.99 | 0.99 | 1.00 | 0.98 |
| CE-NSF | 0.51 | 0.51 | 0.54 | 0.56 | 1.02 | 1.01 | 0.99 | 0.98 |
| Gaussian linear (uniform) | ||||||||
| Free-NSF | 0.58 | 0.62 | 0.78 | 0.92 | 1.03 | 1.12 | 1.35 | 1.62 |
| PF-NPSE (Langevin) | 0.60 | 0.61 | 0.64 | 0.72 | 1.10 | 1.14 | 1.06 | 1.04 |
| PF-NPSE (GAUSS) | 0.57 | 0.59 | 0.68 | 0.74 | 0.94 | 0.96 | 1.00 | 1.04 |
| CE-NSF | 0.59 | 0.59 | 0.56 | 0.56 | 1.04 | 1.02 | 1.00 | 0.98 |
| Gaussian mixture | ||||||||
| Free-NSF | 0.87 | 0.89 | 0.93 | 0.95 | 3.14 | 3.44 | 4.08 | 4.76 |
| PF-NPSE (Langevin) | 0.94 | 0.95 | 0.96 | 0.96 | 5.65 | 6.06 | 5.62 | 5.83 |
| PF-NPSE (GAUSS) | 0.93 | 0.94 | 0.95 | 0.96 | 4.24 | 4.27 | 5.19 | 6.10 |
| CE-NSF | 0.56 | 0.52 | 0.51 | 0.51 | 1.33 | 1.15 | 1.05 | 1.01 |
| Bernoulli GLM | ||||||||
| Free-NSF | 0.98 | 0.99 | 1.00 | 1.00 | 2.24 | 2.97 | 4.42 | 6.02 |
| PF-NPSE (Langevin) | 0.75 | 0.83 | 0.89 | 0.94 | 1.18 | 1.33 | 1.14 | 1.10 |
| PF-NPSE (GAUSS) | 0.71 | 0.79 | 0.88 | 0.93 | 1.02 | 1.15 | 1.09 | 1.07 |
| CE-NSF | 0.67 | 0.64 | 0.63 | 0.65 | 1.05 | 1.04 | 1.05 | 1.08 |
| SIR | ||||||||
| Free-NSF | 0.74 | 0.79 | 0.92 | 0.96 | 1.46 | 1.80 | 2.44 | 3.78 |
| PF-NPSE (Langevin) | 0.78 | 0.83 | 0.84 | 0.91 | 1.70 | 2.09 | 2.19 | 3.76 |
| PF-NPSE (GAUSS) | 0.65 | 0.68 | 0.75 | 0.81 | 0.98 | 1.09 | 1.32 | 1.53 |
| CE-NSF | 0.60 | 0.56 | 0.61 | 0.74 | 1.58 | 1.30 | 1.50 | 2.31 |
| Lotka–Volterra | ||||||||
| Free-NSF | 0.97 | 0.98 | 0.99 | 1.00 | 2.93 | 3.84 | 5.43 | 7.45 |
| PF-NPSE (Langevin) | 0.97 | 0.98 | 0.98 | 0.99 | 2.12 | 2.51 | 2.17 | 2.51 |
| PF-NPSE (GAUSS) | 0.94 | 0.95 | 0.97 | 0.98 | 1.54 | 1.73 | 1.85 | 2.12 |
| CE-NSF | 0.71 | 0.66 | 0.66 | 0.76 | 1.57 | 1.43 | 1.19 | 1.03 |
Table 20. Score-based compositional estimator on the six regular benchmarks. PF-NPSE (three seeds) with the published annealed Langevin sampler and with the GAUSS sampler of Linhart et al. [25]. Coverage requires a density and is not available for PF-NPSE.
Composition extrapolates well where the block posterior is easy to learn. On Gaussian linear, PF-NPSE keeps the correct width at every size and its C2ST at is close to that of CE-NSF and far better than that of Free-NSF. On the uniform-prior variant and on SIR it lies between the free baseline and the center-estimated estimator. On the Gaussian mixture, Bernoulli GLM, and Lotka–Volterra it fails at every size, inside the training range as well as outside, as the free baselines do. The mechanism differs from that of free conditioning: on Bernoulli GLM the composed width stays within a third of the reference at every size while the center error, in posterior standard deviations, grows roughly as , so the composed posterior has approximately the right width around a center whose error does not contract. The GAUSS sampler improves width and C2ST over the published sampler on most benchmarks and sizes, most clearly on SIR, without changing the ordering. Among the estimators in Table 20, CE-NSF has the best C2ST at on all six benchmarks, and PF-NPSE is the closest alternative only on Gaussian linear. Configuration and per-case results accompany the code.
Real-data application: mutation rate and growth from 1000 Genomes
Population genetics supplies a real-data instance of the paper’s setting in which the center is a classical moment construction rather than one of ours, and in which neither a ground-truth parameter nor a tractable reference posterior exists: in-model evaluation is truth-based, and real-data evaluation uses only reference-free criteria. The five main-text estimators are compared under the main-text protocol; nothing else changes.
Task and center
Under the neutral coalescent [23] with exponential population growth, genomic window yields the summary triple for haplotypes: segregating sites, mean pairwise differences, and folded singletons. All three means are linear in the per-kb scaled mutation rate , while growth raises the rare-variant fraction and lowers , so a growth rate is identified jointly with from the moments. The growth parameter is the raw rate divided by four, which keeps the rescaled residual inside the spline head’s core interval (Appendix § 12).
| Prior | per kb; growth parameter (raw rate ) |
| Simulator | coalescent tree of under exponential growth (time-changed merging); mutations Poisson on branches, class counts , then , , |
| Dimensions | , |
| Center | simulator method of moments in the Watterson tradition [43]: the growth rate from the two observed ratios against moment curves precomputed once by simulation, then from the scale ; a grid lookup with quadratic refinement at query time, likelihood-free and contracting at |
| Reference posterior | none: the likelihood is intractable |
| References | Kingman [23]; Watterson [43] |
Table 1.
Real data
Summaries are computed from 1000 Genomes phase-3 chromosome 22 (The 1000 Genomes Project Consortium [40]): haplotypes (ten YRI individuals), biallelic PASS SNVs, non-overlapping 10 kb windows with strict-mask accessibility at least 0.9, giving 404 windows (150,223 segregating sites). An evaluation dataset of size subsamples windows at least 60 kb apart; 400 such overlapping datasets are drawn per size with a fixed seed shared by every estimator. The real ratios against the constant-size 0.282; against 0.297) show the rare-variant excess of a growing population. Window independence is approximate and the neutral model is misspecified for real genomes; the criteria below do not condition on the model being correct.
Reference-free criteria
With no ground truth, each (estimator, ) is scored over the 400 subsampled datasets by:
Consistency: the fraction of datasets whose two marginal central 95% intervals both contain the full-data moment fit (, raw growth 0.75, from all 404 windows), and the rms standardized distance to it (radius). Because the fit is estimated from windows that overlap the evaluation subsets and uses the same moment functional as the CE center, this is a consistency diagnostic that favours CE-NPE, not a test of nominal coverage.
Predictive: the energy distance [38] between posterior-predictive window summaries (one simulated window per posterior draw, draws clipped to the prior box) and held-out real windows, on standardized summaries, over the first 64 datasets per size; this criterion is independent of the anchor.
Posterior readout: the typical posterior of (, ) at each (Figure 4).
Results
In-model SBC and coverage give complementary diagnostics. Using simulation-based calibration ([39]), we assess posterior ranks alongside joint coverage (Table 22). At 5× the largest training size the free heads are over-wide or rank-miscalibrated, Scale-G’s learned center has substantial location error, and CE-G and CE-NSF have the lowest SBC KS statistics although their joint coverage is below nominal; Free-NSF has a radius and coverage closer to their targets but a larger SBC KS statistic. No single diagnostic therefore establishes posterior calibration (§ 5.2).
| rad. | cov. | KS | rad. | cov. | KS | rad. | cov. | KS | rad. | cov. | KS | |
| Free-G | 1.04 | 0.94 | 0.052 | 0.87 | 0.98 | 0.063 | 0.82 | 1.00 | 0.087 | 0.82 | 0.98 | 0.131 |
| Free-NSF | 0.98 | 0.95 | 0.033 | 0.92 | 0.98 | 0.062 | 0.92 | 0.97 | 0.110 | 1.01 | 0.92 | 0.224 |
| Scale-G | 1.00 | 0.95 | 0.042 | 1.06 | 0.96 | 0.077 | 1.34 | 0.87 | 0.167 | 1.64 | 0.75 | 0.181 |
| CE-G | 0.97 | 0.95 | 0.046 | 0.98 | 0.96 | 0.053 | 1.14 | 0.94 | 0.091 | 1.24 | 0.87 | 0.075 |
| CE-NSF | 1.00 | 0.95 | 0.046 | 0.95 | 0.95 | 0.048 | 1.04 | 0.91 | 0.039 | 1.10 | 0.86 | 0.068 |
Table 22. In-model protocol, every size (seed means): rms standardized truth distance (radius; target 1), joint 95% HPD coverage, and maximum marginal SBC KS; bold: within one seed SD of the best per column.
On the real genome CE-NPE maintains consistency with the full-data moment fit. The consistency of CE-G and CE-NSF with the full-data fit is flat from to while every other estimator’s decays, their standardized distance to the fit stays constant while the others’ grows, and their predictive energy distance matches the best free baseline within seed variability (Table 23). At their posteriors sit on the full-data fit with a positive growth rate, as expected for an expanding population, whereas Scale-G halves the growth rate and shifts by more than a posterior SD (Figure 4).
| cons. | rad. | energy | cons. | rad. | energy | cons. | rad. | energy | cons. | rad. | energy | |
| Free-G | 0.79 | 1.32 | 0.162 | 0.81 | 1.32 | 0.132 | 0.77 | 1.32 | 0.094 | 0.66 | 1.59 | 0.085 |
| Free-NSF | 0.80 | 1.28 | 0.158 | 0.79 | 1.52 | 0.123 | 0.72 | 1.63 | 0.090 | 0.58 | 1.92 | 0.077 |
| Scale-G | 0.83 | 1.21 | 0.158 | 0.77 | 1.44 | 0.129 | 0.58 | 1.87 | 0.095 | 0.28 | 2.79 | 0.085 |
| CE-G | 0.83 | 1.23 | 0.153 | 0.81 | 1.32 | 0.122 | 0.85 | 1.22 | 0.087 | 0.83 | 1.23 | 0.079 |
| CE-NSF | 0.83 | 1.18 | 0.160 | 0.83 | 1.28 | 0.121 | 0.86 | 1.22 | 0.088 | 0.85 | 1.28 | 0.082 |
Table 23. 1000 Genomes windows, every size (seed means): consistency with and standardized distance to the full-data moment fit, and posterior-predictive energy distance to held-out windows; bold: within one seed SD of the best per column.
References
- [1]Mark A. Beaumont, Wenyang Zhang, and David J. Balding. Approximate bayesian computation in population genetics. Genetics, 162(4):2025–2035, 2002.pubmed.ncbi.nlm.nih.gov/12524368
- [2]Mark A. Beaumont, Jean-Marie Cornuet, Jean-Michel Marin, and Christian P. Robert. Adaptive approximate Bayesian computation. Biometrika, 96(4):983–990, 2009.
- [3]Natalia A. Bochkina and Peter J. Green. The Bernstein–von Mises theorem and nonregular models. The Annals of Statistics, 42(5):1850 – 1878, 2014. doi: 10.1214/14-AOS1239. URL https://doi.org/10.1214/14-AOS1239.
- [4]Jeffrey Chan, Valerio Perrone, Jeffrey P. Spence, Paul A. Jenkins, Sara Mathieson, and Yun S. Song. A likelihood-free inference framework for population genetic data using exchangeable neural networks. In Advances in Neural Information Processing Systems, volume 31, 2018.arxiv.org/abs/1802.06153
- [5]Tianyu Chen, Vansh Bansal, and James G. Scott. Conditional diffusions for amortized neural posterior estimation. In Proceedings of the 28th International Conference on Artificial Intelligence and Statistics, volume 258 of PMLR, pp. 2377–2385, 2025.arxiv.org/abs/2410.19105
- [7]Michael Deistler, Pedro J. Goncalves, and Jakob H. Macke. Truncated proposals for scalable and hassle-free simulation-based inference. In Advances in Neural Information Processing Systems, volume 35, 2022.arxiv.org/abs/2210.04815
- [8]Conor Durkan, Artur Bekasov, Iain Murray, and George Papamakarios. Neural spline flows. In Advances in Neural Information Processing Systems, volume 32, 2019.arxiv.org/abs/1906.04032
- [9]Conor Durkan, Iain Murray, and George Papamakarios. On contrastive learning for likelihood-free inference. In International Conference on Machine Learning, pp. 2771–2781. PMLR, 2020.arxiv.org/abs/2002.03712
- [10]Stefan Elfwing, Eiji Uchibe, and Kenji Doya. Sigmoid-weighted linear units for neural network function approximation in reinforcement learning. arXiv preprint arXiv:1702.03118, 2017. URL https://arxiv.org/abs/1702.03118.
- [11]Paul Fearnhead and Dennis Prangle. Constructing summary statistics for approximate bayesian computation: Semi-automatic approximate bayesian computation. Journal of the Royal Statistical Society: Series B, 74(3):419–474, 2012.
- [12]David T. Frazier, Ryan Kelly, Christopher Drovandi, and David J. Warne. The statistical accuracy of neural posterior and likelihood estimation. arXiv preprint arXiv:2411.12068, 2024. URL https://arxiv.org/abs/2411.12068.
- [13]Tomas Geffner, George Papamakarios, and Andriy Mnih. Compositional score modeling for simulation-based inference. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of PMLR, pp. 11098–11116, 2023.arxiv.org/abs/2209.14249
- [14]Manuel Gloeckler, Michael Deistler, Christian Weilbach, Frank Wood, and Jakob H. Macke. All-in-one simulation-based inference. In Proceedings of the 41st International Conference on Machine Learning, 2024.arxiv.org/abs/2404.09636
- [15]Pedro J. Gonçalves, Jan-Matthis Lueckmann, Michael Deistler, Marcel Nonnenmacher, Kaan Öcal, Giacomo Bassetto, Chaitanya Chintaluri, William F. Podlaski, Sara A. Haddad, Tim P. Vogels, David S. Greenberg, and Jakob H. Macke. Training deep neural density estimators to identify mechanistic models of neural dynamics. eLife, 9:e56261, 2020.DOI
- [16]David Greenberg, Marcel Nonnenmacher, and Jakob Macke. Automatic posterior transformation for likelihood-free inference. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of PMLR, pp. 2404–2414, 2019.arxiv.org/abs/1905.07488
- [17]Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Schölkopf, and Alexander Smola. A kernel two-sample test. Journal of Machine Learning Research, 13:723–773, 2012.DOI
- [18]Daniel Habermann, Marvin Schmitt, Lars Kühmichel, Andreas Bülling, Stefan T. Radev, and Paul-Christian Bür̈kner. Amortized bayesian multilevel models. Bayesian Analysis, 2025. Advance publication, doi:10.1214/25-BA1570.DOI
- [19]Joeri Hermans, Volodimir Begy, and Gilles Louppe. Likelihood-free mcmc with amortized approximate ratio estimators. In Proceedings of the 37th International Conference on Machine Learning, 2020.arxiv.org/abs/1903.04057
- [20]Joeri Hermans, Arnaud Delaunoy, François Rozet, Antoine Wehenkel, Volodimir Begy, and Gilles Louppe. A crisis in simulation-based inference? beware, your posterior approximations can be unfaithful. Transactions on Machine Learning Research, 2022.
- [21]William Ogilvy Kermack and Anderson G. McKendrick. A contribution to the mathematical theory of epidemics. Proceedings of the Royal Society of London. Series A, 115(772):700–721, 1927.
- [22]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.arxiv.org/abs/1412.6980
- [23]John Frank Charles Kingman. The coalescent. Stochastic Processes and their Applications, 13(3):235–248, 1982.DOI
- [24]Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In Proceedings of the 36th International Conference on Machine Learning, 2019.
- [25]Julia Linhart, Gabriel Victorino Cardoso, Alexandre Gramfort, Sylvain Le Corff, and Pedro L. C. Rodrigues. Diffusion posterior sampling for simulation-based inference in tall data settings. Transactions on Machine Learning Research, 2026. URL https://arxiv.org/abs/2404.07593.
- [26]David Lopez-Paz and Maxime Oquab. Revisiting classifier two-sample tests. In International Conference on Learning Representations, 2017.
- [27]Ilya Loshchilov and Frank Hutter. SGDR: Stochastic gradient descent with warm restarts. In International Conference on Learning Representations, 2017. URL https://arxiv.org/abs/1608.03983.
- [28]Alfred J. Lotka. Analytical note on certain rhythmic relations in organic systems. Proceedings of the National Academy of Sciences, 6(7):410–415, 1920.pubmed.ncbi.nlm.nih.gov/16576509
- [29]Jan-Matthis Lueckmann, Pedro J. Gonçalves, Giacomo Bassetto, Kaan Öcal, Marcel Nonnenmacher, and Jakob H. Macke. Flexible statistical inference for mechanistic models of neural dynamics. In Advances in Neural Information Processing Systems, volume 30, 2017.arxiv.org/abs/1711.01861
- [30]Jan-Matthis Lueckmann, Jan Boelts, David Greenberg, Pedro Goncalves, and Jakob Macke. Benchmarking simulation-based inference. In Proceedings of the 24th International Conference on Artificial Intelligence and Statistics, volume 130 of PMLR, pp. 343–351, 2021.arxiv.org/abs/2101.04653
- [31]Elliot Maceda, Emily C. Hector, Amanda Lenzi, and Brian J. Reich. Demonstrating the power and flexibility of variational assumptions for amortized neural posterior estimation in environmental applications. Environmetrics, 37(1):e70074, 2026. doi: 10.1002/env.70074.
- [32]Sarthak Mittal, Niels Leif Bracher, Guillaume Lajoie, Priyank Jaini, and Marcus Brubaker. Amortized in-context bayesian posterior estimation. arXiv preprint arXiv:2502.06601, 2025.arxiv.org/abs/2502.06601
- [33]George Papamakarios and Iain Murray. Fast ε-free inference of simulation models with bayesian conditional density estimation. In Advances in Neural Information Processing Systems, volume 29, 2016.arxiv.org/abs/1605.06376
- [34]George Papamakarios, David Sterratt, and Iain Murray. Sequential neural likelihood: Fast likelihood-free inference with autoregressive flows. In Proceedings of the 22nd International Conference on Artificial Intelligence and Statistics, 2019.arxiv.org/abs/1805.07226
- [35]Stefan T. Radev, Ulf K. Mertens, Andreas Voss, Lynton Ardizzone, and Ullrich Köthe. Bayesflow: Learning complex stochastic models with invertible neural networks. IEEE Transactions on Neural Networks and Learning Systems, 33(4):1452–1466, 2022.
- [36]Scott A. Sisson, Yanan Fan, and Mark M. Tanaka. Sequential Monte Carlo without likelihoods. Proceedings of the National Academy of Sciences, 104(6):1760–1765, 2007.pubmed.ncbi.nlm.nih.gov/17264216
- [37]Shiyi Sun, Geoff K. Nicholls, and Jeong Eun Lee. Amortized simulation-based inference in generalized bayes via neural posterior estimation. In Proceedings of the 43rd International Conference on Machine Learning, 2026.arxiv.org/abs/2601.22367
- [38]Gábor J. Székely and Maria L. Rizzo. Energy statistics: A class of statistics based on distances. Journal of Statistical Planning and Inference, 143(8):1249–1272, 2013. doi: 10.1016/j.jspi.2013.03.018.DOI
- [39]Sean Talts, Michael Betancourt, Daniel Simpson, Aki Vehtari, and Andrew Gelman. Validating bayesian inference algorithms with simulation-based calibration. arXiv preprint arXiv:1804.06788, 2018.arxiv.org/abs/1804.06788
- [40]The 1000 Genomes Project Consortium. A global reference for human genetic variation. Nature, 526 (7571):68–74, 2015.
- [41]Aad W. van der Vaart. Asymptotic Statistics. Cambridge University Press, 1998.
- [42]Daniel Ward, Patrick Cannon, Mark Beaumont, Matteo Fasiolo, and Sebastian M. Schmon. Robust neural posterior estimation and statistical model criticism. In Advances in Neural Information Processing Systems, volume 35, 2022.arxiv.org/abs/2210.06564
- [43]G. A. Watterson. On the number of segregating sites in genetical models without recombination. Theoretical Population Biology, 7(2):256–276, 1975.pubmed.ncbi.nlm.nih.gov/1145509
- [44]Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabas Poczos, Ruslan Salakhutdinov, and Alexander Smola. Deep sets. In Advances in Neural Information Processing Systems, volume 30, 2017.


