Linear-Cost Vecchia Approximation of Multivariate Normal Probabilities

Jian Cao, Matthias KatzfußJournal of the American Statistical Association 2023

Abstract

Multivariate normal (MVN) probabilities arise in myriad applications, but they are analytically intractable and need to be evaluated via Monte-Carlo-based numerical integration. For the state-of-the-art minimax exponential tilting (MET) method, we show that the complexity of each of its components can be greatly reduced through an integrand parameterization that utilizes the sparse inverse Cholesky factor produced by the Vecchia approximation, whose approximation error is often negligible relative to the Monte-Carlo error. Based on this idea, we derive algorithms that can estimate MVN probabilities and sample from truncated MVN distributions in linear time (and that are easily parallelizable) at the same convergence or acceptance rate as MET, whose complexity is cubic in the dimension of the MVN probability. We showcase the advantages of our methods relative to existing approaches using several simulated examples. We also analyze a groundwater-contamination dataset with over twenty thousand censored measurements to demonstrate the scalability of our method for partially censored Gaussian-process models.

Introduction

In spatial statistics, machine learning, and econometrics, researchers frequently encounter the need to calculate the probability that a set of correlated variables—modeled by a Multivariate Normal (MVN) distribution—falls within a specific range. For instance, one might need to estimate the probability that pollutant levels across an entire state remain below a regulatory safety threshold.

While the Minimax Exponential Tilting (MET) method is currently considered the "gold standard" for these calculations due to its accuracy, it faces a significant computational hurdle: its complexity scales cubically ($O(n^3)$) with the number of variables ($n$). This "cubic wall" effectively limits the application of high-fidelity Gaussian Process models to small datasets. When dealing with modern datasets containing tens of thousands of locations, standard MET becomes computationally infeasible. This paper introduces VMET (Vecchia Minimax Exponential Tilting), a method that leverages the sparsity of the Vecchia approximation to reduce this cost to linear time ($O(n)$).

Methodology: Breaking the Cubic Wall

The core innovation of VMET lies in re-parameterizing the MET algorithm using the Vecchia approximation, a technique widely used in spatial statistics to handle large-scale data. The approach rests on several key technical advancements:

1. Sparse Inverse Cholesky Factors

Instead of performing operations on dense $n \times n$ covariance matrices, VMET utilizes sparse inverse Cholesky factors. By assuming that each variable only depends on a small set of $m$ "neighboring" points (the screening effect), the algorithm transforms dense matrix operations into sparse ones. This allows the computational burden to scale with the number of neighbors rather than the total number of variables.

2. Linear-Time Optimization

To implement MET effectively, one must solve an optimization problem to determine the optimal "tilting" parameters for the importance sampling density. The authors derived new formulas for the gradient and Hessian of the objective function. By applying sparse matrix algebra, these components can now be computed in $O(n)$ time, ensuring the optimization phase is no longer a bottleneck.

3. Efficient Variable Reordering

The order in which variables are processed significantly impacts the variance of the Monte Carlo estimator. Traditional reordering heuristics often require $O(n^3)$ operations. The authors introduced a new heuristic that achieves comparable variance reduction while maintaining $O(n)$ or $O(n^2)$ complexity, depending on the specific spatial structure.

4. Regional Sampling

In extremely high dimensions, the "acceptance rate" for traditional sampling can drop precipitously. To maintain efficiency, the paper proposes a "regional" scheme that partitions the space into manageable sub-blocks, allowing for stable sampling even as $n$ grows into the tens of thousands.

Experimental Results

Simulated Scenarios

The authors tested VMET against existing benchmarks (such as SOV and TLR) across various spatial scenarios. In tests with $n=900$, VMET achieved the same error levels as the original MET while reducing computation time by 90%. In larger simulations ($n=6,400$), VMET remained stable and efficient where other methods began to struggle with memory or time constraints.

Case Study: Groundwater Contamination

The method's scalability was demonstrated using a U.S. Geological Survey (USGS) dataset containing 24,701 spatio-temporal measurements of tetrachloroethylene. A significant challenge of this dataset is that over 20,000 measurements were "censored" (below detection limits).

Traditionally, researchers might use crude "hacks," such as replacing censored values with half the detection limit (LOD-augmentation). VMET allows for a mathematically rigorous treatment of this censored data as a high-dimensional probability integral. The results were stark:

  • Feasibility: Competing state-of-the-art methods like SAEM were computationally infeasible for a dataset of this size.
  • Accuracy: The VMET-powered model achieved a Brier score of 0.36, a massive improvement over the 0.74 score produced by the standard LOD-augmentation approach. This indicates a significantly higher accuracy in predicting actual contamination events.

Discussion and Insights

A primary insight of this work is the "free lunch" provided by the Vecchia approximation: the bias introduced by the approximation is typically much smaller than the statistical noise inherent in Monte Carlo integration. Consequently, researchers can achieve massive speedups with no perceptible loss in the quality of the final estimate.

While VMET is most effective for "decaying" kernels where the screening effect is strong, it remains a robust alternative to MET even in less ideal conditions. Future work may extend this framework to handle more complex linear constraints and explore alternative proposal densities for importance sampling. By moving from $O(n^3)$ to $O(n)$, VMET enables the use of sophisticated Gaussian Process models on a scale previously thought impossible, providing a vital tool for environmental monitoring and beyond.

Summary updated

Abstract

Multivariate normal (MVN) probabilities arise in myriad applications, but they are analytically intractable and need to be evaluated via Monte-Carlo-based numerical integration. For the state-of-the-art minimax exponential tilting (MET) method, we show that the complexity of each of its components can be greatly reduced through an integrand parameterization that utilizes the sparse inverse Cholesky factor produced by the Vecchia approximation, whose approximation error is often negligible relative to the Monte-Carlo error. Based on this idea, we derive algorithms that can estimate MVN probabilities and sample from truncated MVN distributions in linear time (and that are easily parallelizable) at the same convergence or acceptance rate as MET, whose complexity is cubic in the dimension of the MVN probability. We showcase the advantages of our methods relative to existing approaches using several simulated examples. We also analyze a groundwater-contamination dataset with over twenty thousand censored measurements to demonstrate the scalability of our method for partially censored Gaussian-process models.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
TMVN sampling, Scenario 1VMETcomputation time19.9 s-474.5 vs baselineMultivariate Normal Sampling · m=30 · n=900 · kernel=Matérn-1.5 · samples=1000 · scenario=1
Source quote
L390: The two groups of samples aligned very well with each other except for the very tail region, because VMET essentially truncates the conditioning set compared with MET, which, in this example, amounted to conditioning on fewer left-truncated variables, resulting in slightly larger conditional means. In terms of computation time, MET used 494.4 seconds, whereas VMET only used 19.9 seconds. The time difference will become even more pronounced for larger n.
USGS tetrachloroethylene data, 179 spatio-temporal test points in TexasPartially censored MVN model (VMET)RMSE (Brier score)0.36-0.38 vs baselineBinary Classification · split: test · model=partially censored MVN (VMET) · region=Texas · test-points=179
Source quote
L452: The heatmap generated by the partially censored MVN model exhibited larger variations across space and more details, while the inference produced by the GP with augmented data appeared unnatural, with predictions almost constant over large regions; hence, this approach may not be suitable for the logarithm of the contaminant levels \citep{helsel1990less}. The LOD-augmented GP is likely to have significantly overestimated the responses over the grid, which may have meaningful practical importance, as the two approaches differ in their assessment of where tetrachloroethylene concentrations are elevated and hence where mitigation may be necessary. {To compare prediction accuracy at the 179 spatio-temporal test points in Texas, we considered predictions of the binary indicators of whether responses where below or above the LOD, because the true concentration levels for the censored responses were unknown. In this comparison, the partially censored MVN model and the LOD-augmented GP had RMSEs (i.e., Brier scores) of 0.36 and 0.74, respectively. This indicates that the partially censored MVN model, powered by VMET, significantly improved inference accuracy for the tetrachloroethylene concentration dataset.}
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
TMVN sampling, Scenario 1MET baselinecomputation time494.4 sMultivariate Normal Sampling · n=900 · kernel=Matérn-1.5 · samples=1000 · scenario=1
Source quote
L390: The two groups of samples aligned very well with each other except for the very tail region, because VMET essentially truncates the conditioning set compared with MET, which, in this example, amounted to conditioning on fewer left-truncated variables, resulting in slightly larger conditional means. In terms of computation time, MET used 494.4 seconds, whereas VMET only used 19.9 seconds. The time difference will become even more pronounced for larger n.
USGS tetrachloroethylene data, 179 spatio-temporal test points in TexasGP with LOD-augmented data baselineRMSE (Brier score)0.74Binary Classification · split: test · model=GP with LOD-augmented data · region=Texas · test-points=179
Source quote
L452: The heatmap generated by the partially censored MVN model exhibited larger variations across space and more details, while the inference produced by the GP with augmented data appeared unnatural, with predictions almost constant over large regions; hence, this approach may not be suitable for the logarithm of the contaminant levels \citep{helsel1990less}. The LOD-augmented GP is likely to have significantly overestimated the responses over the grid, which may have meaningful practical importance, as the two approaches differ in their assessment of where tetrachloroethylene concentrations are elevated and hence where mitigation may be necessary. {To compare prediction accuracy at the 179 spatio-temporal test points in Texas, we considered predictions of the binary indicators of whether responses where below or above the LOD, because the true concentration levels for the censored responses were unknown. In this comparison, the partially censored MVN model and the LOD-augmented GP had RMSEs (i.e., Brier scores) of 0.36 and 0.74, respectively. This indicates that the partially censored MVN model, powered by VMET, significantly improved inference accuracy for the tetrachloroethylene concentration dataset.}
BibTeX
@article{cao2023linear,
  author = {Jian Cao and Matthias Katzfuß},
  title = {{Linear-Cost Vecchia Approximation of Multivariate Normal Probabilities}},
  journal = {Journal of the American Statistical Association},
  year = {2023},
}
Figure