Pith. sign in

REVIEW 5 major objections 5 minor 1 cited by

Replacing the bounded Uniform proposal with a Tailed-Uniform proposal—Uniform in the core with smooth Gaussian tails—eliminates the sharp discontinuities that cause neural posterior estimators to fail when posteriors intersect or extend bey

Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →

T0 review · deepseek-v4-flash

2026-08-03 08:26 UTC pith:M4RHSYBZ

load-bearing objection Tailed-Uniform proposal is a sensible idea, but the loss equation and toy prior are wrong as written, so the empirical claims are currently unsupported. the 5 major comments →

arxiv 2601.17120 v2 pith:M4RHSYBZ submitted 2026-01-23 astro-ph.IM

Learning at the Edge: Tailed-Uniform Sampling for Robust Simulation-Based Inference

classification astro-ph.IM
keywords simulation-based inferenceneural posterior estimationproposal distributionTailed-Uniformboundary pathologynormalizing flowscosmological parameter inferencematter power spectrum
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper introduces a new way to generate training data for simulation-based inference: instead of sampling parameters uniformly inside a hard box, it samples uniformly inside the box but lets the distribution continue smoothly outward in Gaussian tails. This removes the step-function discontinuity at the prior's edge, which the paper shows is the root cause of a boundary pathology in neural posterior estimators: near the edges of the parameter space, the learned posterior becomes diffuse and poorly constrained. On a toy Gaussian linear problem and on cosmological parameter inference from the matter power spectrum, the Tailed-Uniform proposal yields posterior estimates that closely match reference posteriors even when the true posterior touches or crosses the prior boundary, while the Uniform proposal degrades badly there. The paper also finds that the advantage grows with dimensionality, that extra training data cannot fix the Uniform degradation, and that tail widths of 10–40% of the prior width are robust. If right, this is a low-cost, drop-in improvement to neural posterior estimation workflows.

Core claim

The paper's central claim is that the sharp boundary of the Uniform proposal is a structural, not statistical, obstacle for neural posterior estimation. Because the proposal density drops to zero discontinuously at the boundary, density estimators lack gradient information to learn the correct transition, so learned posteriors leak or smear near the edge. The Tailed-Uniform proposal replaces that step with Gaussian tails—matched in density at the cut points and continuously differentiable—giving the network smooth support. In experiments, Tailed-Uniform-trained models outperform Uniform-trained models near boundaries and in extrapolation, across training set sizes from 2,000 to 16,000 and di

What carries the argument

The central object is the Tailed-Uniform proposal distribution, a piecewise density that is Uniform on the hypercube [a,b] and Gaussian (with standard deviation σ) beyond each face, normalized so that the density is continuous at the faces. In d dimensions it is the product of independent univariate Tailed-Uniform marginals. The smooth tails provide nonzero training support and gradient signal outside the prior box, which is what lets neural conditional density estimators learn a posterior that is well calibrated at and beyond the boundary. The tunable parameter σ (recommended as 10–40% of the box width per dimension) controls the trade-off between boundary smoothing and dilution of samples

Load-bearing premise

The results depend on the neural posterior estimator's training loss actually correcting for the difference between the proposal distribution and the assumed prior; if that correction is missing or mis-specified, the learned posterior is the posterior under the proposal, and the reported comparison to the analytic/MCMC reference does not measure what the paper claims.

What would settle it

Train both models on the Gaussian linear task and evaluate the posterior at a test point deep in the interior (θ=(0,0)): if the Tailed-Uniform posterior has materially lower C2ST against the analytic Gaussian than the Uniform posterior does, then the tails are hurting interior accuracy, contradicting the claim that the method maintains consistent posterior quality across the whole space.

Watch this falsifier. Get emailed when new claim-graph text bears on it.

If this is right

  • Simulation-based inference pipelines can adopt Tailed-Uniform as a drop-in replacement for the Uniform proposal, requiring only a tail-width hyperparameter, with robust behavior for α between 0.1 and 0.4.
  • Public simulation campaigns that pre-generate training data inside a fixed box become more reusable because a Tailed-Uniform-trained emulator retains accuracy when the posterior of a later analysis approaches or crosses the original box boundary.
  • Accurate posterior estimation near boundaries requires fewer simulations with Tailed-Uniform: a 2,000-sample Tailed-Uniform model outperforms a 16,000-sample Uniform model on the toy task, so the method can cut simulation costs.
  • In higher-dimensional parameter spaces, where the boundary shell dominates volume, Tailed-Uniform's advantage is larger, not smaller, up to at least d=16.
  • The mechanism is architecture-invariant in principle, so the same proposal should benefit neural likelihood and neural ratio estimators, not just neural posterior estimation.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • Because the tails are Gaussian, Tailed-Uniform effectively places an implicit shrinkage prior on the parameter; this suggests that the improvement may come partly from regularization rather than purely from boundary smoothness, which could be tested by comparing against other smooth proposals such as truncated-Laplace tails or a Beta proposal.
  • The optimal tail width likely depends on dimension and on how far the posterior extends beyond the boundary; a dimension-dependent tuning rule (e.g., scaling σ with the boundary-shell probability) could extend the method's usefulness beyond d=16, where the paper itself notes that interior dilution may dominate.
  • The paper's concentration on C2ST at fixed test points could be complemented by a coverage test (e.g., how often the 68% credible region contains the true parameter) to see whether the improved distributional closeness translates into better calibration for downstream scientific claims.
  • The method's benefit for emulators trained on fixed simulation grids suggests that inverse problems for expensive simulators could pre-sample a small fraction of tails in a one-time simulation design, a simple extension that does not require changing the simulator code.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit.

Referee Report

5 major / 5 minor

Summary. The manuscript proposes a new training proposal for simulation-based inference, the Tailed-Uniform distribution: a Uniform core augmented with smooth Gaussian tails beyond the prior box. The motivation is that the sharp boundary of a bounded Uniform proposal is hard for normalizing-flow posterior estimators to learn, especially when posteriors extend to or beyond the boundary. The method is applied to a 2D Gaussian linear toy task and to cosmological parameter inference from the matter power spectrum, with sensitivity studies over tail width, training set size, and dimensionality. The paper claims that Tailed-Uniform-trained NPE models outperform Uniform-trained ones near boundaries and that the advantage grows with dimension. Public code is provided.

Significance. If the empirical claims hold, this is a simple, low-cost, drop-in modification to NPE training for bounded parameter spaces, relevant to large simulation campaigns and to high-dimensional astrophysical inference. The paper has several commendable features: the proposal density is explicitly normalized; tail width, training budget, and dimensionality are scanned; a realistic cosmology benchmark is included; and the code is publicly available. However, the manuscript as written has load-bearing problems: the proposal-correction loss in Eq. (3) is not correct as printed; the toy example's assumed prior and analytic reference are inconsistent; a crucial expanded-Uniform control is missing; and quantitative reports contain conflicts. These issues must be resolved before the central claim is supported.

major comments (5)
  1. [§2.1, Eq. (3)] The printed NPE loss places the ratio P(θ)/P̃(θ) inside the logarithm. Since the expectation is over θ sampled from P̃, log[P(θ)/P̃(θ)] is an additive constant independent of the network weights, so its gradient is zero. Minimizing this loss drives q_w(θ|x) to P̃(θ|x), not to the target posterior P(θ|x). The correct proposal-corrected loss has the ratio outside the log: -E[(P(θ)/P̃(θ)) log q_w(θ|x)]. If the implementation follows Eq. (3), all C2ST comparisons in §§3–4 measure distance to the wrong posterior; if the implementation is correct, the equation must be fixed. This is central to the paper's validity.
  2. [§3.1] The toy problem is internally inconsistent. The model definition states a standard Gaussian prior N(0,I_2), and the analytic reference posterior is N(x/2, I_2/2), which is the conjugate posterior for that prior. But the training section then says the assumed prior for both proposals is N(0, 0.2^2). With that prior, the conjugate posterior is approximately N(x/26, 0.038 I_2), not N(x/2, I_2/2). The C2ST comparisons are therefore made against a reference posterior that the training objective does not target. The toy experiment must be rerun with a consistent prior and reference, or the analytic posterior must be recomputed.
  3. [§3.3.3] The text claims that 'Tailed-Uniform outperforms expanding the boundaries of a Uniform proposal at a reasonable number of dimensions,' but no expanded-Uniform baseline appears in any figure or table. Without that control, the observed improvements could be due simply to additional support outside the prior box rather than to the smoothness of the Gaussian tails. An expanded Uniform proposal, ideally matched in tail mass or effective support, is necessary to separate the two mechanisms. The same concern applies to the cosmological experiment in §4.
  4. [§4.2.1, Table 2] The single-point cosmology results are reported inconsistently. The text states Uniform C2ST = 0.395, Tailed-Uniform C2ST = 0.452, and a 14% improvement, while Table 2 lists Uniform C2ST = 0.259, Tailed-Uniform C2ST = 0.405, and a +56% improvement. These are materially different numbers and cannot both describe the same run. The authors must reconcile the text and table and state which result is the one used to support the claim.
  5. [§3.2, Figs. 3–4, Tables 1–2] The paper interprets C2ST values below 0.5 as 'poor' and values closer to 0.5 as 'good.' In a balanced two-sample classification test, accuracy below 0.5 means the classifier is worse than random; the standard C2ST metric is bounded below by 0.5 (or symmetrized as |accuracy − 0.5|). Scores such as 0.329 are not on the same interpretable scale as 0.417 in the way the paper assumes. The quantitative ordering of methods may be affected by classifier variance or label misalignment. Please report a properly bounded C2ST accuracy/error and use it consistently.
minor comments (5)
  1. [§2.1, Eq. (2)] The loss is described as maximizing the joint likelihood, but Eq. (2) is an expectation of a conditional log-density. Please clarify the relationship to the joint likelihood or rephrase.
  2. [§3.3.3 vs. §5] The tail-allocation numbers conflict: §3.3.3 says the tail fraction rises from 36% at d=2 to 97% at d=16, while §5 says from 24% at d=2 to 86% at d=16. These values need to be reconciled.
  3. [§4.1] The cosmological experiment does not state the number of training simulations N or the assumed prior used during NPE training. These are needed for reproducibility and for interpreting the comparison.
  4. [Tables 1–2] The 'C2ST Improvement' percentages are computed as raw score ratios. Since the meaningful quantity is distance from 0.5, the improvement should be reported on that scale (e.g., reduction in |C2ST − 0.5|).
  5. [Figures 3, 9–11] Figure labels contain typos such as 'T ailedUniform' and '2 Extrap'; the latter x-axis label is unclear. Please clean up labels and ensure color-bar scales are identical across panels that are compared.

Circularity Check

0 steps flagged

No significant circularity: the Tailed-Uniform proposal is independently normalized and its improvement is empirical; the only self-citation is a non-load-bearing pipeline reference, though Eq. (3) raises a correctness concern that is not itself a circular step.

full rationale

The Tailed-Uniform construction is not circular: Eqs. (4)-(6) define the density purely by normalization and continuity conditions, with no dependence on the benchmark posteriors being predicted. The tail width is scanned in Sec. 3.3.1 rather than fit to the test targets, and the C2ST validations use analytic/MCMC reference posteriors that are external to the training pipeline. The only author self-citation is Ho et al. (2024) for the LtU-ILI implementation framework; it is a pipeline tool, not a load-bearing theoretical premise, so it does not raise the circularity score. One caveat, flagged as a correctness issue rather than a circularity step: in Eq. (3) the ratio P(θ)/P̃(θ) is written inside the logarithm, so it is independent of the network weights and cancels from the gradient; as printed, the loss drives q_w toward the proposal-conditional posterior P̃(θ|x), not the assumed-prior posterior P(θ|x). This would make the §3-§4 C2ST references measure a different target, but it applies symmetrically to both Uniform and Tailed-Uniform and does not turn the method's empirical comparison into a restatement of its inputs. Overall: no circular derivation; score 1 solely for the minor non-load-bearing self-citation and the internal-consistency caveat.

Axiom & Free-Parameter Ledger

2 free parameters · 5 axioms · 0 invented entities

The paper's central mechanism relies on the proposal being smooth and on the NPE loss properly reweighting proposal to prior; neither is established beyond empirical demonstration. The toy prior inconsistency and the ambiguous Eq (3) are the main unstated assumptions.

free parameters (2)
  • Tail width fraction α = α ∈ {0.01, 0.05, 0.1, 0.2, 0.4} in the toy; recommended 0.1–0.4
    σ_i = α (b_i − a_i); selected by hand; the paper shows results depend on α, and the recommendation is empirical rather than derived.
  • Assumed prior standard deviation in the toy = text says 0.2, analytic reference implies 1.0
    Chosen experimental setting; the inconsistency between the stated value and the ground-truth formula affects the validity of the reported C2ST numbers.
axioms (5)
  • domain assumption Neural posterior estimation minimizes a loss whose optimum is the posterior under the assumed prior when the proposal differs from the prior.
    Invoked in §2.1 Eq (3); as printed the importance ratio is inside the log, so this assumption is not supported by the equation itself.
  • domain assumption Sharp truncation of the proposal density is the root cause of boundary errors in NPE.
    Central mechanism; supported only by the N-scaling experiment (§3.3.2), not by a formal proof.
  • standard math The Gaussian linear toy's analytic posterior is N(x/2, I/2).
    Conjugate Gaussian-Gaussian; but the paper also states the assumed prior has std 0.2, which would give a different posterior. §3.1.
  • domain assumption The matter power spectrum observable is well modeled by syren-new theory plus Gaussian cosmic-variance noise.
    §4.1 Eq (12)-(13); surrogate accuracy and noise model are taken from the literature.
  • domain assumption The MCMC chains used as ground truth have converged.
    §4.1; no convergence diagnostics beyond burn-in.

pith-pipeline@v1.3.0-alltime-deepseek · 18814 in / 26342 out tokens · 263276 ms · 2026-08-03T08:26:11.748673+00:00 · methodology

0 comments
read the original abstract

We introduce the Tailed-Uniform proposal distribution for generating training simulations in simulation-based inference. Instead of sampling parameters uniformly within bounded regions, we extend the distribution beyond prior boundaries with smooth Gaussian tails. This eliminates sharp transitions that cause neural posterior estimators to fail when the posterior distribution intersects or extends beyond the prior bounds. We show these benefits on a toy problem and cosmological parameter inference from the matter power spectrum. Such an advantage grows in high dimensions, where boundaries dominate parameter space volume. All code is publicly available on Github at https://github.com/chaipattira/tailed-uniform-sbi.

Figures

Figures reproduced from arXiv: 2601.17120 by Chaipat Tirapongprasert, Matthew Ho.

Figure 1
Figure 1. Figure 1: — The standard Uniform distribution (blue) has con￾stant probability density between -1 and 1 with zero probability outside this range. The Tailed-Uniform distribution (magenta) maintains a uniform density in the same central region [−1, 1] but extends beyond these boundaries with Gaussian tails characterized by standard deviation σ = 0.2. where α ∈ [0.1, 0.4] (see Section 3.3 for more detail). 3. TOY PROB… view at source ↗
Figure 2
Figure 2. Figure 2: — Corner plots comparing posterior estimation perfor￾mance for the boundary test case. The Tailed-Uniform (green) demonstrates superior boundary behavior compared to the Uni￾form (blue), closely matching the MCMC reference (yellow). The red dashed line indicates the true parameter value. point, then draw M = 40, 000 posterior samples from each method (analytic posterior, Tailed-Uniform, and Uniform). The g… view at source ↗
Figure 4
Figure 4. Figure 4: — C2ST performance degradation as a function of distance from parameter space center. The blue curve reveals systematic deterioration of Uniform near boundaries, while the green curve demonstrates that Tailed-Uniform maintains consistent perfor￾mance across all radii. The gray curve quantifies the increas￾ing divergence between methods, with boundary regions showing substantial differences in posterior app… view at source ↗
Figure 3
Figure 3. Figure 3: — Spatial distribution of C2ST performance across the parameter space, with blue regions indicating poor distributional matching (C2ST ≪ 0.5) and red/orange regions indicating good performance (C2ST ≈ 0.5) Top: Uniform versus analytical refer￾ence, showing systematic boundary degradation with glaring blue regions near parameter space edges. Bottom: Tailed-Uniform versus reference, demonstrating consistent … view at source ↗
Figure 5
Figure 5. Figure 5: — C2ST performance versus distance from center, stratified by tail width σ. The Uniform baseline (blue) exhibits systematic boundary degradation. The Tailed-Uniform’s with varying tail widths (shown in green; lighter shades for smaller σ values) exhibit robustness across a broad range of tail widths. Notably, performance becomes quite good for σ ≥ 0.2 The error bars represent the 16th￾84th percentile range… view at source ↗
Figure 6
Figure 6. Figure 6: — C2ST performance versus distance from parameter space center, stratified by training set size N (circles: 2000, squares: 4000, triangles: 8000, diamonds: 16000). Increasing N provides minimal benefit for both proposals. The error bars represent the 16th-84th percentile range of values at a fixed radius from the prior center. Center r=0.25 r=0.5 r=0.75 r=1.0 2 Extrap Distance from Prior Center 0.20 0.25 0… view at source ↗
Figure 7
Figure 7. Figure 7: — C2ST performance versus distance from parameter space center in different representative dimensions. Tailed-Uniform maintains superior performance with the advantage growing at higher dimensions, particularly near boundaries (r ≥ 0.75) and in the extrapolation regime. The error bars represent the 16th-84th percentile range of values at a fixed radius from the prior center. hypercube is the product P Tail… view at source ↗
Figure 8
Figure 8. Figure 8: — Exponential scaling of sample allocation with dimension for Uniform and Tailed-Uniform proposals (ε = 0.05, α = 0.1). The probability of sampling in the interior region Pint (solid blue) decays exponentially for both methods, while the boundary region Pbdry (dashed purple) grows correspondingly for Uniform. For Tailed-Uniform, samples increasingly concentrate in the tail re￾gions Ptail (solid orange), ri… view at source ↗
Figure 9
Figure 9. Figure 9: — Corner plots comparing posterior estimation perfor￾mance for test point θtrue = (0.358, 0.702). The Tailed-Uniform (green) closely matches the MCMC reference (yellow), maintain￾ing tight concentration along the banana-shaped posterior. In con￾trast, the Uniform (blue) exhibits excessive spread, leaking proba￾bility mass into regions inconsistent with the data. The character￾istic anti-correlation between… view at source ↗
Figure 11
Figure 11. Figure 11: shows that boundary pathology is anisotropic, with the most severe manifestation along de￾generate directions where posteriors are elongated into the prior boundaries. As a result, both approaches per￾form about the same (excluding statistical fluctuations) along the perpendicular direction d2. However, across the degeneracy direction d1, the Uniform performance sinks at both boundaries, with C2ST scores … view at source ↗

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Dark Energy Survey Year 3 results: optimized $w$CDM simulation-based inference with weak lensing map-level hybrid statistics

    astro-ph.CO 2026-06 unverdicted novelty 6.0

    DES Y3 weak lensing analysis with hybrid map-level statistics and simulation-based inference yields S8 = 0.808 ± 0.017, Ωm = 0.325 ± 0.024, and w < -0.766, improving the figure of merit by 60% over prior state-of-the-art.

Reference graph

Works this paper leans on

12 extracted references · 8 linked inside Pith · cited by 1 Pith paper

  1. [1]

    Planck 2018 results-vi

    Nabila Aghanim, Yashar Akrami, Mark Ashdown, Jonathan Aumont, Carlo Baccigalupi, Mario Ballardini, Anthony J Banday, RB Barreiro, Nicola Bartolo, S Basak, et al. Planck 2018 results-vi. cosmological parameters.Astronomy & Astrophysics, 641:A6,

  2. [10]

    George Papamakarios, Theo Pavlakou, and Iain Murray

    URLhttps://arxiv.org/abs/1605.06376. George Papamakarios, Theo Pavlakou, and Iain Murray. Masked autoregressive flow for density estimation,

  3. [11]

    JA Peacock and SJ Dodds

    URL https://arxiv.org/abs/1705.07057. JA Peacock and SJ Dodds. Non-linear evolution of cosmological power spectra.Monthly Notices of the Royal Astronomical Society, 280(3):L19–L26,

  4. [1970]

    Ltu-ili: An all-in-one framework for implicit inference in astrophysics and cosmology.arXiv preprint arXiv:2402.05137,

    Matthew Ho, Deaglan J Bartlett, Nicolas Chartier, Carolina Cuesta-Lazaro, Simon Ding, Axel Lapel, Pablo Lemos, Christopher C Lovell, T Lucas Makinen, Chirag Modi, et al. Ltu-ili: An all-in-one framework for implicit inference in astrophysics and cosmology.arXiv preprint arXiv:2402.05137,

  5. [2013]

    doi:10.1086/670067

    ISSN 1538-3873. doi:10.1086/670067. URL http://dx.doi.org/10.1086/670067. Andrew Gelman and Donald B Rubin. Inference from iterative simulation using multiple sequences.Statistical science, 7(4): 457–472,

  6. [2015]

    URLhttps://arxiv.org/abs/1502.03509. David S. Greenberg, Marcel Nonnenmacher, and Jakob H. Macke. Automatic posterior transformation for likelihood-free inference,

  7. [2017]

    Jan-Matthis Lueckmann, Jan Boelts, David S

    URLhttps://arxiv.org/abs/1711.01861. Jan-Matthis Lueckmann, Jan Boelts, David S. Greenberg, Pedro J. Gon¸ calves, and Jakob H. Macke. Benchmarking simulation-based inference,

  8. [2018]

    Jan-Matthis Lueckmann, Pedro J

    URL https://arxiv.org/abs/1610.06545. Jan-Matthis Lueckmann, Pedro J. Goncalves, Giacomo Bassetto, Kaan ¨Ocal, Marcel Nonnenmacher, and Jakob H. Macke. Flexible statistical inference for mechanistic models of neural dynamics,

  9. [2019]

    W Keith Hastings

    URLhttps://arxiv.org/abs/1905.07488. W Keith Hastings. Monte carlo sampling methods using markov chains and their applications

  10. [2020]

    doi:10.1073/pnas.1912789117

    ISSN 1091-6490. doi:10.1073/pnas.1912789117. URL http://dx.doi.org/10.1073/pnas.1912789117. Scott Dodelson and Fabian Schmidt.Modern cosmology. Academic press,

  11. [2021]

    Michael D McKay, Richard J Beckman, and William J Conover

    URL https://arxiv.org/abs/2101.04653. Michael D McKay, Richard J Beckman, and William J Conover. A comparison of three methods for selecting values of input variables in the analysis of output from a computer code. Technometrics, 42(1):55–61,

  12. [2025]

    doi:10.1051/0004-6361/202452854

    ISSN 1432-0746. doi:10.1051/0004-6361/202452854. URL http://dx.doi.org/10.1051/0004-6361/202452854. Francisco Villaescusa-Navarro, Shy Genel, Daniel Angl´ es-Alc´ azar, Lucia A Perez, Pablo Villanueva-Domingo, Digvijay Wadekar, Helen Shao, Faizan G Mohammad, Sultan Hassan, Emily Moser, et al. The camels project: public data release.The Astrophysical Journ...