Abstract
Sampling from log-concave probability distributions restricted by linear constraints (polytopes) is a cornerstone of Bayesian statistics and volume integration. However, traditional Markov Chain Monte Carlo (MCMC) methods like the Dikin walk suffer from high per-step computational costs due to matrix inversions and determinant calculations. This paper introduces a significantly faster implementation of the soft-threshold Dikin walk. By integrating efficient linear solvers with a randomized Taylor series-based determinant estimator, the authors reduce the per-step cost to nearly the number of non-zero entries in the input data.
Introduction
Many problems in science and engineering—ranging from Bayesian inference and differential privacy to volume integration—require sampling points from a distribution $\pi(\theta) \propto e^{-f(\theta)}$. When these points must lie within a "polytope" (a shape defined by linear inequalities like $A\theta \le b$), the geometry makes sampling difficult.
The gold standard for this task has been the Dikin walk, an MCMC method that uses the local geometry of the polytope to take informed steps. However, the Dikin walk has a major bottleneck: every step requires computing a matrix inversion and a determinant. For a polytope defined by $m$ constraints in $d$ dimensions, this traditionally costs roughly $O(md^{\omega-1})$ operations (where $\omega \approx 2.37$ is the matrix multiplication constant). In high-dimensional settings, this cost becomes prohibitive.
Methodology
The authors present a "nearly-optimal" implementation of the soft-threshold Dikin walk based on three technical pillars:
- Inverse Maintenance: The "Hessian" matrix, which describes the local shape of the polytope, changes slowly between steps. The authors adapt advanced linear solvers—originally designed for interior-point methods in optimization—to "update" the matrix inverse rather than recomputing it from scratch.
- Randomized Determinant Estimation: The Metropolis-Hastings acceptance step requires a determinant ratio. Instead of exact calculation, the authors use a randomized estimator based on Taylor series.
- Overlapping Series Expansions: To ensure accuracy across various step sizes, the authors utilize two different series expansions with overlapping regions of convergence for the sigmoid function used in their acceptance rule.
Theoretical Analysis and Results
This research focuses on algorithmic complexity, providing rigorous mathematical proofs of runtime and mixing time. A primary theoretical case study is Bayesian Lasso logistic regression, demonstrating the speedup in a practical statistical context.
The proposed algorithm reduces the cost per step from $O(md^{\omega-1})$ to roughly $O(\text{nnz}(A) + d^2)$, where $\text{nnz}(A)$ is the number of non-zero entries in the constraint matrix. For common scenarios, this represents a speedup factor of at least $d^{\omega-2}$.
In the specific case of Bayesian Lasso logistic regression, the previous best runtime of $O(d^{2+\omega})$ (approximately $d^{4.37}$) is improved to $O(d^4)$, marking a significant practical advancement for high-dimensional data analysis.
Discussion and Future Work
While the algorithm offers a substantial improvement, a $d^2$ term remains in the per-step complexity. Future research may explore whether this can be further reduced using alternative fast linear solvers. Additionally, a gap remains between the speed of sampling and the speed of optimization (finding a single maximum). Bridging this gap to make sampling as fast as linear programming remains a major open question in the field. Finally, the results assume a "w-warm start," and finding such initial points in complex polytopes remains a separate challenge.
Summary updated