arXiv:2610.07485cs.LGOct 2026

Manuscript Offprint

arXiv:2610.07485

Robust Importance Sampling for Rare Events via Constrained Gaussian Mixtures

Paweł Lorek, Rafał Nowak, Rafał Topolnicki, Tomasz Trzciński, Maciej Zięba

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study estimating rare-event probabilities I=P(g(X)>γ)I = \mathbb{P}(g(\mathbf{X}) > \gamma) with X∼N(μ,Σ)\mathbf{X} \sim \mathcal{N}(\mu, \Sigma) and general g:Rd→Rg: \mathbb{R}^d \to \mathbb{R}. We address this problem through importance sampling, and propose a framework that substantially improves efficiency and robustness over baselines such as crude Monte Carlo, adaptive cross-entropy, variational-inference-based methods (including reverse- and forward-KL approaches), as well as Safe-ICE, Subset Simulation, and Sequential Monte Carlo, drawing on ideas from both rare-event estimation and cross-entropy optimization. The key contribution has two parts: first, we separate the problem into coverage, to overcome the cold-start barrier, and fitting, to refine proposals once a meaningful signal is available; second, we constrain the final GMM proposal so that it has finite importance-sampling variance (since coverage alone is not sufficient – without safeguards, importance sampling may still suffer from infinite variance). Together, these ingredients yield expressive proposals; finite variance does not by itself guarantee practical stability at a fixed sampling budget. Extensive experiments demonstrate substantial variance reduction, strong robustness across diverse benchmarks, and favorable cost–efficiency trade-offs, with the proposed approach often outperforming these baselines, particularly in high-dimensional and multimodal settings where competing methods frequently become unstable or fail. Our code is available at https://github.com/lorek/robust-cfi-is.

1 Introduction

We consider events {g(X)>γ}\{g(\mathbf{X}) > \gamma\} with X∼N(μ,Σ)\mathbf{X} \sim \mathcal{N}(\mu, \Sigma) and possibly nonconvex g:Rd→Rg: \mathbb{R}^d \to \mathbb{R}; let ff denote the density of X\mathbf{X}. Our target is:

I=P(g(X)>γ),(1)I=\mathbb{P}\big(g(\mathbf{X})>\gamma\big), \tag{1}

in regimes where II is tiny (e.g., 10−6−10−310^{-6}-10^{-3}), rendering crude Monte Carlo impractical.

A long line of work has sought to overcome this difficulty with importance sampling, cross-entropy (CE) methods, and variational inference (VI). While in some cases these approaches can reduce variance dramatically, in others they fail completely, since they face two recurring obstacles in rare-event regimes. First, cold start: when the event probability is extremely small, the learning signal obtained from naive sampling is nearly absent, leading to unstable or stalled optimization. Second, lack of variance control: minimizing KL divergence alone does not prevent proposals that yield infinite-variance estimators, even when optimization appears successful. These issues are well documented in reliability engineering, rare-event simulation, and, more recently, in machine

*Corresponding author: pawel.lorek@math.uni.wroc.pl

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

learning. For example Owen [19] noted: “Importance sampling can bring enormous gains, making an otherwise infeasible problem amenable to Monte Carlo. It can also backfire, yielding an estimate with infinite variance when simple Monte Carlo would have had a finite variance. It is the hardest variance reduction method to use well.”

We address these challenges by introducing a pipeline that cleanly separates coverage from fitting and builds robustness into the proposal family. The key idea is to first construct a proposal that is designed to provide overlap with the rare set, ensuring that subsequent training receives a meaningful signal. We then refine this proposal within a constrained Gaussian mixture family whose covariance structure precludes the infinite-variance pathology often encountered in importance sampling. Finally, we optionally add a normalizing-flow layer to capture additional complexity. The finite-variance guarantee applies when the final proposal remains a constrained GMM and does not automatically extend to the flow-refined variant (although our experiments show that flow refinement often improves variance reduction while remaining stable across the tested benchmarks).

In summary, our contributions are as follows: (i) We propose a two-stage, coverage-first framework for rare-event estimation that overcomes cold-start issues. (ii) We extend a sufficient finite-variance condition from Gaussian to Gaussian mixture proposals and make it enforceable during proposal learning. (iii) We demonstrate strong variance reduction and robustness through extensive experiments across diverse benchmarks.

References (28)