Robust Importance Sampling for Rare Events via Constrained Gaussian Mixtures
Organizations: University of Wrocław · Tooploox · TRAILS University of Warsaw · Warsaw University of Technology · IDEAS Research Institute · Wrocław University of Science and Technology
Abstract
We study estimating rare-event probabilities with and general . 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.
Figures & tables
| Best baseline by CoV | Best finite-var. method | Best proposed overall | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | log-err | CoV | Method | log-err | CoV | Method | log-err | CoV | |||
| 2 | 4.79e-6 | CMC | 1.43e+00 | 3.92e-03 | CFI-c+RKL-c | 6.26e-03 | 7.24e-03 | CFI-c+FKL-c+F | 3.16e-03 | 3.92e-03 | |
| 2 | 2.23e-3 | CMC | 4.14e-02 | 2.46e-03 | CFI-c+FKL-c | 3.39e-03 | 4.85e-03 | CFI-c+RKL-c+F | 2.87e-03 | 1.86e-03 | |
| 2 | 4.21e-3 | CMC | 4.25e-02 | 3.31e-03 | CFI-c+FKL-c | 3.25e-03 | 4.35e-03 | CFI-c+FKL-c+F | 2.80e-03 | 3.31e-03 | |
| 40 | 3.15e-5 | fRKL-c | 7.31e-02 | 3.19e-02 | CFI-c+RKL-c | 7.28e-02 | 4.30e-02 | CFI-c+RKL-c+F | 6.45e-02 | 2.99e-02 | |
| 100 | 2.33e-4 | fRKL-c | 5.90e-03 | 6.08e-03 | CFI-c+RKL-c | 7.02e-03 | 6.12e-03 | CFI-c+RKL-c+F | 5.94e-03 | 5.43e-03 | |
| Method | |||||||
| CMC | 16 | 0 | 0 | 1 | 0 | 0 | 0 |
| fRKL-c | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| fFKL-c | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| CFI-u | 20 | 20 | 19 | 0 | 20 | 20 | 0 |
| CFI-c | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| CFI-c+RKL-c | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Method | Estimate | Var. reduction | log-error | CoV |
|---|---|---|---|---|
| fRKL-d, | 4.773e-06 | 1.73e+03 | 5.06e-02 | 7.53e-02 |
| fRKL-c | 4.80e-06 | 2.95e+04 | 1.59e-02 | 1.82e-02 |
| CFI-c+RKL-c | 4.79e-06 | 1.87e+05 | 6.26e-03 | 7.24e-03 |
| CFI-c+RKL-c+F | 4.79e-06 | 7.77e+05 | 3.55e-03 | 3.95e-03 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Optimum | IS variance | |
|---|---|---|---|
| FKL | |||
| RKL ( ) | |||
| FKL | |||
| RKL ( ) |
| Method | Estimate | Var. reduction | log-error | CoV |
|---|---|---|---|---|
| fRKL-d, | 4.773e-06 | 1.73e+03 | 5.06e-02 | 7.53e-02 |
| fRKL-d, | 4.810e-06 | 1.71e+03 | 6.52e-02 | 7.55e-02 |
| fRKL-d, | 4.866e-06 | 1.07e+03 | 8.54e-02 | 9.33e-02 |
| fRKL-d, | 4.828e-06 | 1.03e+03 | 6.24e-02 | 9.49e-02 |
| fRKL-d, | 4.955e-06 | 8.29e+02 | 8.66e-02 | 9.76e-02 |
| (a) Total training time | ||
|---|---|---|
| Method | ( ) | ( ) |
| fFKL-c | ||
| fRKL-c | ||
| CFI-c | ||
| CFI-c+FKL-c | ||
| Method | log-err | CoV | log-err/var_red |
|---|---|---|---|
| CMC | 3.89e-01 | 1.45e-01 | 3.89e-01 |
| CFI-c | 1.42e-01 | 1.34e-01 | 3.48e-02 |
| CFI-c+RKL-c | 1.57e-02 | 6.79e-03 | 5.37e-06 |
| CFI-c+FKL-c | 1.76e-01 | 1.45e-01 | 9.89e-02 |
| CoV | ||
|---|---|---|
| 0.05 | ||
| 0.10 | ||
| 0.25 | ||
| 0.30 | ||
| 0.50 |
| CoV | ||
|---|---|---|
| 0.25 | ||
| 0.50 | ||
| 0.75 | ||
| 0.90 |
| Benchmark | Dimension | Input | Threshold | Reference |
|---|---|---|---|---|
| 2 | A | 0 | 4.7934e-6 | |
| 2 | A | 0 | 2.22668e-3 | |
| 2 | A | 0 | 4.2073e-3 | |
| 40 | A | -403.6636 | 3.1500e-5 | |
| 100 | A | 3.5 | 2.3262e-4 | |
| 62 | A | 5.15715 | 6.00e-5 |