Faster Sampling from Log-Concave Distributions over Polytopes via a Soft-Threshold Dikin Walk

Oren Mangoubi, Nisheeth K. Vishnoi · DOI

Abstract

Sampling from log-concave distributions constrained within polytopes is a fundamental challenge in computational statistics and machine learning. Traditional Markov Chain Monte Carlo (MCMC) methods, such as the Dikin walk, excel at navigating polytope geometry but often struggle when the target distribution is non-uniform, requiring excessively small step sizes to maintain stability. This paper introduces the Soft-Threshold Dikin Walk, an algorithm that incorporates a regularized Hessian into the proposal mechanism. By decoupling the geometric constraints of the polytope from the smoothness of the target density, the proposed method achieves a significant runtime improvement of $d^2$ to $d^3$ over previous state-of-the-art Dikin-based approaches. We provide rigorous complexity bounds and demonstrate the algorithm's utility in Bayesian inference and differentially private learning.

Introduction

Efficiently sampling from a distribution $\pi(\theta) \propto e^{-f(\theta)}$ is a cornerstone of modern Bayesian inference and optimization. When the domain is restricted to a polytope $K$—defined by a set of linear inequalities—the sampler must simultaneously account for the curvature of the objective function $f$ and the hard boundaries of the constraint set.

Existing algorithms often face a trade-off: methods that are efficient for uniform distributions (where $f=0$) often fail to scale when $f$ is complex, such as in Lasso-regularized problems. The Dikin walk, which uses the Hessian of a log-barrier function to define its local geometry, is highly effective for uniform sampling but historically required drastic step-size reductions to handle non-uniform densities. This paper addresses this bottleneck by introducing a "soft-threshold" mechanism that allows for larger, more efficient steps in high-dimensional spaces.

The Sampling Challenge: Geometry vs. Density

Sampling from a log-concave distribution on a polytope requires balancing two competing requirements:

  1. Boundary Awareness: The walk must remain within the polytope $K$.
  2. Gradient Fidelity: The walk must move according to the density defined by the convex function $f$.

Standard Dikin walks utilize the Hessian $H(\theta)$ of a log-barrier function to create an ellipsoid at each point. This ellipsoid naturally shrinks as it approaches the polytope's boundary, preventing the walk from stepping outside. However, when $f$ is non-zero, previous adaptations (e.g., Narayanan & Rakhlin, 2017) forced the step size to be scaled down by factors related to the dimension $d$ or the Lipschitz constant $L$ to ensure high acceptance ratios in the Metropolis-Hastings step. This leads to "sluggish" mixing in high dimensions.

Methodology: The Soft-Threshold Innovation

The authors propose a modification to the core Dikin mechanism by regularizing the Hessian of the barrier function. Specifically, they introduce a "soft-threshold" term proportional to the identity matrix ($\eta^{-1} I_d$).

The Regularized Hessian

Instead of relying solely on the log-barrier Hessian $H(\theta)$, the Soft-Threshold Dikin Walk utilizes a hybrid structure. This regularizer is derived from the Lipschitz constant ($L$) or the smoothness parameter ($\beta$) of the target function $f$.

This approach effectively decouples the two primary constraints. The log-barrier component handles the hard constraints of the polytope boundary, while the "soft" identity term handles the steepness of the target distribution. By preventing the proposed steps from becoming too large in directions where $f$ changes rapidly, the algorithm maintains a high Metropolis-Hastings acceptance probability without requiring the global step-size to be infinitesimally small.

Theoretical Foundations

A significant technical challenge in this work was that the soft-threshold Hessian does not technically correspond to the Hessian of a standard log-barrier function. The authors overcome this by proving that the regularized Hessian is the limit of a sequence of standard log-barrier Hessians. This allows the use of powerful tools from interior-point method theory, specifically self-concordance analysis, to prove the algorithm's convergence and mixing times.

Complexity and Key Results

The primary contribution of this work is a substantial improvement in algorithmic complexity. The Soft-Threshold Dikin Walk requires:

$$O((md + dL^2R^2) \log(w/\delta))$$

arithmetic operations to sample within an error tolerance $\delta$, where $m$ is the number of constraints, $d$ is the dimension, $L$ is the Lipschitz constant, and $R$ is the radius of the polytope.

Compared to the previous state-of-the-art Dikin-based approach for non-uniform densities, this method yields a runtime improvement by a factor of at least $\min(d^4/m, d^2)$. In typical scenarios where the number of constraints $m$ is proportional to the dimension $d$, this translates to a $d^2$ to $d^3$ speedup. Furthermore, the paper provides explicit bounds for "warm start" scenarios, enhancing its practicality for iterative MCMC applications.

Applications

The theoretical gains of the Soft-Threshold Dikin Walk have immediate implications for several high-dimensional problems:

  • Bayesian Lasso Logistic Regression: Sampling from the posterior where the polytope is an $\ell_1$-ball.
  • Differentially Private ERM: The walk is particularly well-suited for "pure" $\epsilon$-differential privacy, which requires strong "infinity-distance" guarantees.
  • Low-rank Matrix Approximation: Efficiently navigating the Gelfand-Tsetlin polytope for matrix-related distributions.

Conclusion and Future Work

The Soft-Threshold Dikin Walk represents a significant step forward in high-dimensional sampling, offering a more nuanced way to integrate function smoothness with geometric constraints. While the algorithm provides a massive speedup, it still depends on parameters like the Lipschitz constant $L$ and radius $R$.

A remaining open challenge in the field is the development of a fully affine-invariant Dikin walk—one whose performance is independent of coordinate transformations and scaling parameters. Additionally, extending these techniques to non-smooth convex functions remains a promising avenue for future research.

Summary updated

BibTeX
@misc{mangoubi2022faster,
  author = {Oren Mangoubi and Nisheeth K. Vishnoi},
  title = {{Faster Sampling from Log-Concave Distributions over Polytopes via a Soft-Threshold Dikin Walk}},
  year = {2022},
  eprint = {2206.09384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.09384},
}
Figure