Learning at the Edge: Tailed-Uniform Sampling for Robust Simulation-Based Inference
Chaipat Tirapongprasert, Matthew Ho
TL;DR
The paper tackles boundary pathology in simulation-based inference caused by sharp Uniform-prior sampling, which impairs neural posterior estimators near parameter-space edges. It introduces the Tailed-Uniform proposal, a hybrid density with Gaussian tails beyond prior bounds, providing smooth density transitions with minimal tuning. Through a Gaussian Linear toy and cosmological matter power-spectrum inference, the method consistently improves boundary fidelity and maintains strong performance across dimensions, often with far fewer simulations than Uniform requires. The approach is architecture-agnostic, computationally cheap, and publicly available, offering a practical upgrade to SBI workflows for robust edge inference.
Abstract
We introduce the \textsc{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 discontinuities that cause neural posterior estimators to fail when the posterior distribution intersects or extends beyond the prior bounds. The method requires minimal hyperparameter tuning, with tail widths of 10--30\% of the prior width proving robust across problems. We demonstrate these benefits on a synthetic Gaussian linear task and cosmological parameter inference from the matter power spectrum. We also find that \tail-trained models outperform \textsc{Uniform} ones near the boundaries across various training set sizes and dimensions of the parameter space. This advantage grows in higher dimensions, where boundaries dominate parameter space volume. All code is publicly available on Github at https://github.com/chaipattira/tailed-uniform-sbi.
