Abstract
Sampling from distributions supported on compact and convex sets is a fundamental challenge in computational statistics and machine learning. While the Mirror Langevin Algorithm (MLA) provides a geometry-aware framework for constrained sampling, its discretizations typically suffer from asymptotic bias. We present the Metropolis-adjusted Mirror Langevin Algorithm (MAMLA), which incorporates an accept-reject filter to ensure an unbiased stationary distribution. By leveraging the reversibility of the resulting Markov chain and the properties of self-concordant mirror functions, MAMLA achieves a mixing time that scales logarithmically with the error tolerance ($\log(1/\delta)$). This represents an exponential improvement over previous biased discretizations, providing a robust and efficient method for sampling from complex geometries like polytopes and simplices.
Introduction
High-dimensional sampling is essential for Bayesian inference, generative modeling, and optimization. However, many practical applications involve variables restricted to specific domains, such as the probability simplex in Dirichlet modeling or polytopes in linear programming. Standard tools like the Langevin Algorithm are designed for unconstrained Euclidean space; when applied to constrained sets, they often fail at the boundaries or require complex projections that can degrade performance.
The Mirror Langevin Dynamics (MLD) was introduced to address this by using a "mirror map" to transform the constrained domain into a space where the boundaries are effectively pushed to infinity. While theoretically elegant, implementing MLD on a computer requires discretization. Previous discretizations, such as the Mirror Langevin Algorithm (MLA), introduce an inherent bias: the algorithm converges to a distribution that is close to, but not exactly, the target. To minimize this bias, practitioners must use vanishingly small step sizes, leading to poor convergence rates.
The MAMLA Framework
In "Fast sampling from constrained spaces using the Metropolis-adjusted Mirror Langevin algorithm" (COLT 2024), researchers Vishwak Srinivasan, Andre Wibisono, and Ashia Wilson introduce MAMLA. This algorithm bridges the gap between the geometry-aware updates of mirror descent and the exactness of the Metropolis-Hastings correction.
1. The Proposal Step
MAMLA begins with a proposal based on the Mirror Langevin discretization. Given a current state, the algorithm calculates a drift based on the gradient of the target potential and the local geometry defined by a mirror function. This mirror function—typically a self-concordant barrier—ensures that the proposal remains within the interior of the constraint set.
2. The Metropolis-Hastings Filter
The core innovation is the addition of an "Accept-Reject" step. By calculating the transition probability between the current state and the proposal, MAMLA decides whether to move to the new point or stay put. This filter ensures that the resulting Markov chain is reversible and that its stationary distribution is exactly the target distribution.
3. Exploiting Self-Concordance
The analysis of MAMLA relies heavily on the theory of self-concordant functions, a concept central to interior-point methods in optimization. By using a self-concordant mirror map, the algorithm adapts its step size to the "local" curvature of the space. This allows it to navigate narrow regions of a polytope as efficiently as more open areas.
Key Theoretical Insights
The primary contribution of this work is the rigorous proof of MAMLA's mixing time, demonstrating several advantages over existing methods:
- Logarithmic Error Dependence: Most previous constrained sampling algorithms exhibit a mixing time that scales polynomially with the precision requirement ($poly(1/\delta)$). Because MAMLA is unbiased and reversible, its mixing time scales with $\log(1/\delta)$. This means that reaching high levels of precision is exponentially faster than with biased alternatives.
- Affine Invariance: The algorithm’s performance is largely independent of the coordinate system or the "condition number" of the domain. Whether the target set is a symmetric cube or a highly skewed simplex, the convergence guarantees remain robust.
- Mixing Bounds: For a target distribution with a strongly convex potential, the authors show the mixing time scales as $O\left(\frac{1}{\mu} \cdot \max\{d^3, d\lambda, \beta^2\} \cdot \log(1/\delta)\right)$, where $d$ is the dimension.
Applications: Polytopes and Dirichlet Distributions
MAMLA is particularly well-suited for common constrained sampling tasks where precision is paramount:
- Uniform Sampling from Polytopes: For a polytope defined by $m$ linear constraints, MAMLA provides a complexity of $O(m \cdot d^3 \cdot \log(1/\delta))$. This makes it a competitive choice for high-dimensional geometry problems.
- Dirichlet Sampling: The algorithm offers a more efficient path for sampling from Dirichlet distributions, especially in regimes where concentration parameters are large and standard methods struggle.
Conclusion and Future Directions
MAMLA represents a significant step forward in the quest for efficient, exact sampling in constrained spaces. By combining the geometric intuition of mirror maps with the statistical rigor of Metropolis-Hastings, the authors have created an algorithm that is both theoretically sound and practically implementable.
While the current analysis suggests a dimension scaling of $d^3$, the authors note this may be a pessimistic bound for specific shapes. Future work exploring practical benchmarking against methods like Hamiltonian Monte Carlo (HMC) and relaxing the relative Lipschitz constraints will further clarify MAMLA's utility for the widest possible range of "wild" distributions.
Summary updated