NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable Uncertainty Quantification via GenerativeBootstrap Sampler

Minsuk Shin, Lu Wang, Jun S. LiuarXiv 2020

Abstract

It has been believed that the virtue of using statistical procedures is on uncertainty quantification in statistical decisions, and the bootstrap method has been commonly used for this purpose. However, nowadays as the size of data massively increases and statistical models become more complicated, the implementation of bootstrapping turns out to be practically challenging due to its repetitive nature in computation. To overcome this issue, we propose a novel computational procedure called Generative Bootstrap Sampler (GBS), also referred to as the Generative Multi-purpose Sampler (GMS), which constructs a generator function of bootstrap evaluations. This function transforms the weights on the observed data points to the bootstrap distribution. The GBS is implemented by one single optimization, without repeatedly evaluating the optimizer of bootstrapped loss function as in standard bootstrapping procedures. As a result, the GBS is capable of reducing computational time of bootstrapping by hundreds of folds when the data size is massive. We show that the bootstrapped distribution evaluated by the GBS is asymptotically equivalent to the conventional counterpart and empirically they are indistinguishable. We examine the proposed idea to bootstrap various models such as linear regression, logistic regression, Cox proportional hazard model, and Gaussian process regression model, quantile regression, etc. The results show that the GBS procedure is not only accelerating the computational speed, but it also attains a high level of accuracy to the target bootstrap distribution.

Introduction

In modern statistical inference, point estimation is rarely sufficient; quantifying the uncertainty of those estimates is critical for robust decision-making. The bootstrap method—resampling data thousands of times to observe the variance in results—remains the gold standard for this task. However, the "computational bottleneck" of bootstrapping has become a significant hurdle in the era of big data. When a single model training session takes minutes or hours, performing 1,000 bootstrap iterations can take days or weeks. This problem is compounded in complex procedures like the "double bootstrap," which are theoretically superior for coverage but practically unfeasible for large-scale datasets.

This paper introduces the Generative Multi-purpose Sampler (GMS), a framework that replaces thousands of repetitive optimizations with a single neural network training step. By learning a generator function that maps data weights directly to model solutions, GMS reduces computational time from months to minutes.

Methods: The Generative Multi-purpose Sampler

The core innovation of GMS is treating the solution of an M-estimation problem as a function of data weights rather than a static destination. Instead of solving the optimization problem $B$ times, GMS trains a neural network to approximate the solution function $g(\mathbf{w})$.

Integrative Loss and Architecture

Unlike standard machine learning approaches that might train on a fixed set of pre-calculated bootstrap solutions, GMS minimizes an integrative loss. During training, the sampler draws random weight vectors $\mathbf{w}$ from a known distribution (e.g., Dirichlet for Bayesian Bootstrap) and learns to find the parameters that minimize the weighted loss function for any given weight vector. This exposes the generator to an "infinite" variety of data perturbations, making it highly resistant to overfitting.

To handle the specific challenges of this task, the authors developed the Weight Multiplicative MLP (WM-MLP). Inspired by Taylor expansions, this architecture explicitly accounts for how individual data points influence the final estimate, leading to faster convergence than standard feed-forward networks. For massive datasets, a subgrouping strategy is employed to reduce input dimensionality while maintaining statistical consistency.

Performance and Convergence

The efficiency of the integrative loss approach is evident when compared to "classic" machine learning methods that attempt to learn from a fixed number of bootstrap samples ($B$).

Comparison of convergence between GMS and classic ML approaches using fixed bootstrap samples (B=500, 5000).

As shown in Figure 1, while classic ML approaches plateau in their expected L2 loss, the GMS continues to converge toward a significantly lower error. This demonstrates that the continuous sampling of weights during training allows the GMS to capture the underlying solution manifold more accurately than discrete sampling methods.

Key Results and Empirical Validation

The GMS was evaluated across various models, including logistic regression, LASSO, and quantile regression. The results highlight three primary advantages:

  1. Massive Speedups: In a double-bootstrap test for logistic regression, GMS completed in 3 minutes. Traditional brute-force methods would have required 5,000,000 individual optimizations, taking months on a standard workstation.
  2. High Fidelity: The bootstrap distributions generated by GMS are statistically indistinguishable from those produced by traditional bootstrapping. This high level of accuracy ensures that the speed gains do not come at the cost of statistical integrity.
  3. Improved Coverage: By making computationally expensive procedures like "Calibrated Percentile" intervals feasible, GMS achieved superior coverage (19/20) compared to standard single-bootstrap methods which were often biased.

Conclusion

The Generative Multi-purpose Sampler represents a paradigm shift in uncertainty quantification. By transforming a repetitive optimization problem into a single function approximation task, it enables high-order statistical procedures that were previously considered unfeasible for large datasets. While challenges remain regarding extremely high-dimensional inputs and non-differentiable loss functions, GMS provides a scalable, accurate, and highly efficient path forward for modern statistical computing.

Summary updated

BibTeX
@misc{shin2020scalable,
  author = {Minsuk Shin and Lu Wang and Jun S. Liu},
  title = {{Scalable Uncertainty Quantification via GenerativeBootstrap Sampler}},
  year = {2020},
  eprint = {2006.00767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.00767},
}
Figure