Abstract
Sampling and counting from discrete distributions, such as matroid bases, are fundamental problems in combinatorial optimization and statistics. Traditionally, algorithms for these tasks have suffered from a computational complexity that scales linearly with the size of the ground set $n$. This paper introduces a discrete analog of "isotropic position"—a concept from continuous geometry—to accelerate these processes. By leveraging the properties of log-concave generating polynomials and a novel "subdivision" technique, the authors present the first algorithm capable of counting matroid bases in nearly linear time for a fixed rank $k$, reducing the dependence on $n$ to logarithmic scales for the sampling step.
Introduction
In the realm of randomized algorithms, the efficiency of sampling from a distribution often dictates the feasibility of solving complex counting and optimization problems. For continuous distributions, particularly those defined over convex bodies, the technique of "isotropic position" has long been a cornerstone of efficiency. By applying a linear transformation to make a distribution "round" and centered, random walk algorithms can achieve significantly faster mixing times.
However, an equivalent framework for discrete distributions—such as selecting a random spanning tree from a graph or a random basis from a matroid—has historically been elusive. Standard approaches, like the "down-up" random walk, typically incur a per-step cost proportional to the size of the ground set $n$. In scenarios where the size of the desired set $k$ is much smaller than $n$, this linear dependence represents a significant computational bottleneck. Anari and Dereziński (2020) address this gap by introducing discrete isotropy, enabling sampling and counting that scales primarily with $k$ and only logarithmically with $n$.
Discrete Isotropy and Log-Concavity
The authors' approach is rooted in the study of log-concave generating polynomials. These polynomials serve as the discrete counterpart to continuous log-concave (convex-type) densities. A distribution is defined as being in "isotropic position" if the marginal probability of any single element from the ground set being included in the sample is uniform across all elements.
To transform a non-isotropic distribution into an isotropic one, the paper introduces a "subdivision" operation. This operation is the discrete analog of a linear transformation in continuous space; it involves "splitting" elements of the ground set to balance their marginal probabilities. This balancing act ensures that the random walk does not get "stuck" or spend excessive time in regions of the state space that contribute little to the overall distribution.
Algorithmic Framework
The proposed algorithm utilizes several novel techniques to bypass the $O(n)$ bottleneck:
- Hierarchical Markov Chains: The authors design a two-level Markov Chain. The "top" level navigates between different sets, while the "bottom" level employs a faster, inner random walk on a restricted state space to approximate transition probabilities.
- Marginal Oracles: The efficiency of the algorithm relies on an oracle that can sample elements approximately proportional to their marginal probabilities. By utilizing such an oracle, the algorithm can skip over large, "unimportant" portions of the ground set.
- Negative Dependence Inequalities: A significant mathematical contribution of the paper is the derivation of new inequalities for log-concave polynomials. These inequalities prove that "bad" events—such as an over-concentration of sampled elements in a specific subset—are statistically unlikely. This theoretical guarantee allows the algorithm to maintain accuracy while operating in sublinear time relative to $n$.
Key Results and Complexity
The theoretical results represent a milestone in algorithmic combinatorics:
- Accelerated Sampling: For distributions in approximately isotropic position, the algorithm generates samples in $poly(k, \log(1/\epsilon))$ time. This effectively removes the linear dependence on the ground set size $n$ during the sampling phase.
- High-Precision Counting: The authors provide a $(1+\epsilon)$-approximation algorithm for counting the bases of a matroid of rank $k$. The running time is $O((n + 1/\epsilon^2) \cdot poly(k, \log n))$.
- Efficiency Milestone: This is the first algorithm to achieve nearly linear time complexity for fixed rank $k$ while maintaining a low approximation error.
Discussion and Limitations
While the paper marks a significant advancement, certain constraints remain. The process of putting a distribution into isotropic position requires a preprocessing step that still scales as $O(n)$. Consequently, while subsequent samples are extremely fast, the initial overhead may be high for "one-off" tasks. Additionally, the complexity scales polynomially with the rank $k$. In cases where $k$ is a large fraction of $n$ (e.g., $k \approx n/2$), the advantages of this approach over traditional methods are less pronounced.
Despite these limitations, the introduction of discrete isotropy and the associated negative dependence inequalities provides a powerful new toolkit for researchers. These methods likely have applications extending beyond matroid bases into broader areas of combinatorics and probability.
Summary updated