The Soft Multivariate Truncated Normal Distribution with Applications to Bayesian Constrained Estimation

Allyson Souris, Anirban Bhattacharya, Debdeep PatiarXiv 2018 · DOI

Abstract: We propose a new distribution, called the soft tMVN distribution, which provides a smooth approximation to the truncated multivariate normal (tMVN) distribution with linear constraints. An efficient blocked Gibbs sampler is developed to sample from the soft tMVN distribution in high dimensions. We provide theoretical support to the approximation capability of the soft tMVN and provide further empirical evidence thereof. The soft tMVN distribution can be used to approximate simulations from a multivariate truncated normal distribution with linear constraints, or itself as a prior in shape-constrained problems.

Introduction

In Bayesian statistics, researchers frequently encounter the need to sample from a Multivariate Normal distribution restricted by linear constraints—for instance, requiring that variable $x$ remains greater than $y$. Such constraints are foundational to probit models, Gaussian processes, and shape-constrained regressions where functions must maintain properties like monotonicity or convexity.

However, sampling from these Truncated Multivariate Normal (tMVN) distributions presents significant computational hurdles. Standard Gibbs samplers, which update variables one at a time, often suffer from slow mixing in the presence of high correlation. Rejection sampling becomes practically impossible in high dimensions as the probability of a random sample satisfying all constraints vanishes. Furthermore, existing numerical software often lacks the stability required for dimensions exceeding a few hundred. This paper introduces the soft tMVN distribution as a mathematically robust and computationally efficient alternative.

Methodology: Softening the Constraints

The core innovation of this work is the replacement of "hard" indicator functions—which binary-code constraint satisfaction—with a smooth logistic sigmoid function ($\sigma_\eta$). This "softening" is controlled by a parameter $\eta$; as $\eta$ increases, the soft distribution converges toward the true truncated distribution.

Convergence of the soft tMVN density to the true tMVN density as the softening parameter η increases across different correlation structures.

The Polya-Gamma Trick and Blocked Sampling

A key insight is that the soft tMVN density is mathematically equivalent to the posterior of a logistic regression model. By leveraging Polya-Gamma data augmentation, the authors introduce auxiliary variables that transform a non-Gaussian problem into a sequence of Gaussian updates. Unlike traditional coordinate-wise methods, this approach allows for blocked sampling, where the entire parameter vector is updated simultaneously. This drastically improves the speed at which the sampler explores the parameter space. By utilizing structured linear algebra (the Sherman-Morrison-Woodbury formula), the computational cost is reduced from $O(d^3)$ to $O(r^2d)$, where $r$ is the number of constraints, making it viable for high-dimensional applications.

Key Results and Empirical Evidence

The proposed method was evaluated against simulated scenarios including Probit-Gaussian Process models (up to $d=600$) and monotone single-index models.

High Fidelity and Efficiency

At a softening parameter of $\eta = 100$, the marginal densities of the soft tMVN become visually indistinguishable from the "hard" tMVN. This high fidelity ensures that the approximation does not sacrifice accuracy for speed.

Direct comparison of the joint density between the hard tMVN and the soft tMVN (η = 100) for different correlation levels ρ.

Empirical tests demonstrated significant performance gains:

  • Speed: In monotone single-index model applications, the soft tMVN Gibbs sampler was approximately five times faster than state-of-the-art rejection samplers.
  • Effective Sample Size (ESS): The soft sampler generated more independent, "useful" samples per hour compared to traditional methods.
  • Stability: While standard rejection samplers began to fail or slow down as dimensions approached 600, the soft tMVN sampler remained numerically stable.

Conclusion

The soft tMVN distribution offers a powerful "drop-in" replacement for the tMVN in complex Bayesian models. While the method shows some sensitivity to the choice of $\eta$ in extremely complex settings, its ability to handle high-dimensional, correlated constraints with blocked updates represents a significant advancement. Future research may extend this softening approach to non-linear constraints, further broadening its applicability in constrained statistical estimation.

Summary updated

BibTeX
@misc{souris2018soft,
  author = {Allyson Souris and Anirban Bhattacharya and Debdeep Pati},
  title = {{The Soft Multivariate Truncated Normal Distribution with Applications to Bayesian Constrained Estimation}},
  year = {2018},
  eprint = {1807.09155},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.09155},
}
Figure