Abstract
Estimating symmetric properties of a distribution—such as support size, coverage, entropy, and distance to uniformity—is a fundamental task in algorithmic statistics. While specialized optimal estimators exist for each of these properties, recent theoretical work by Acharya et al. (2016) demonstrated that the Profile Maximum Likelihood (PML) estimator serves as a "universal" plug-in estimator, achieving competitive performance across all symmetric properties. However, computing the PML distribution was previously considered computationally prohibitive. This paper presents the first nearly linear-time algorithm to compute an approximate PML distribution. Our algorithm achieves a multiplicative error of $\exp(n^{2/3} \text{poly log } n)$ in time nearly linear in the number of samples $n$. We further show that this approximation is sufficient to provide a universal plug-in estimator for all symmetric functions with accuracy $\epsilon = \Omega(n^{-0.166})$, and we extend these results to $d$-dimensional distributions for estimating symmetric relationships.
Introduction
In statistical inference, we often seek to estimate properties of an unknown distribution that are invariant under the relabeling of symbols. These "symmetric properties" include essential metrics like Shannon entropy, the number of distinct elements (support size), and the Renyi entropy. Traditionally, the development of estimators for these properties was fragmented, with researchers designing bespoke algorithms for each specific metric.
Theoretical breakthroughs suggested that the Profile Maximum Likelihood (PML) approach could unify these efforts. By finding a distribution that maximizes the probability of the observed "profile" (the multiset of frequencies of the observed symbols), one could theoretically obtain a single distribution that, when plugged into any symmetric property formula, yields an optimal estimate. Despite its elegance, the PML objective involves complex combinatorial sums that made it computationally intractable for practical use. This work bridges the gap between theory and practice by providing an efficient, polynomial-time algorithm for approximate PML.
Methodology
The authors overcome the computational complexity of PML through a multi-stage optimization framework that transforms a combinatorial problem into a continuous, convex one.
1. Discretization and Simplification
The search space for a PML distribution is infinitely large. The authors first discretize the possible probability values and the observed multiplicities (the number of times each symbol appears). This reduces the problem to a structured, discrete search. Furthermore, they demonstrate that instead of maximizing the full PML objective—which involves a sum over all possible partitions—it is sufficient to find the Single Discrete PML (SDPML). The SDPML focuses on the single configuration that contributes most to the likelihood, which the authors prove is a close enough approximation for universal estimation.
2. Convex Relaxation
The core technical innovation lies in the relaxation of the SDPML objective. The authors prove that the objective function, when relaxed into a continuous space, is log-concave. This is a critical realization because log-concave functions can be optimized efficiently using convex optimization techniques, specifically cutting plane methods. This step shifts the problem from a hard combinatorial search to a solvable optimization task.
3. Rounding and Refinement
After obtaining an optimal fractional solution from the convex relaxation, the algorithm employs a novel rounding procedure. This ensures the resulting distribution is valid and discrete while maintaining the rigorous approximation guarantees required for property estimation.
Key Results and Contributions
Computational Efficiency
The proposed algorithm runs in time nearly linear in the number of samples $n$. This is a significant improvement over previous approaches, which lacked provable polynomial-time guarantees. This efficiency makes the universal estimator viable for large-scale datasets where $n$ is substantial.
Approximation and Accuracy
The algorithm computes an approximate PML distribution within a multiplicative error factor of $\exp(n^{2/3} \text{poly log } n)$. While this factor appears large, the authors demonstrate that it is sufficient to maintain the "universality" of the estimator. Specifically, the resulting plug-in estimator achieves an accuracy of $\epsilon = \Omega(n^{-0.166})$ for all symmetric functions.
Multidimensional Generalization
The work extends beyond single distributions to $d$-dimensional profiles. This allows for the universal estimation of symmetric relationships between multiple distributions, such as KL-divergence or $L_1$ distance, providing a robust toolset for comparative statistical analysis.
Conclusion and Future Work
This paper provides the first efficient algorithm for approximate Profile Maximum Likelihood, transforming a theoretical "holy grail" into a computationally accessible tool. By proving that log-concave relaxation can solve the PML problem in nearly linear time, the authors have unified the estimation of symmetric properties under a single algorithmic framework.
Future research may focus on tightening the approximation gap. Reducing the error factor from $\exp(n^{2/3})$ toward $\exp(\sqrt{n})$ or better could significantly improve the estimator's accuracy in small-sample regimes. Additionally, while the algorithm is theoretically efficient, practical implementations using optimized convex solvers will be necessary to evaluate its performance on real-world data compared to specialized, property-specific estimators.
Summary updated