Introduction
Optimization over discrete spaces is a fundamental challenge in machine learning, particularly when the discrete variables represent permutations. While continuous optimization benefits from efficient gradient-based methods, discrete variables often require stochastic gradient estimators. The standard REINFORCE estimator, while unbiased, typically suffers from high variance, leading to slow convergence. This paper addresses this bottleneck for the Plackett-Luce distribution, a widely used model for permutations, by introducing novel, low-variance gradient estimators: PL-RELAX and PL-REBAR.
The Challenge of Discrete Permutations
Many tasks, such as causal structure learning or ranking, involve latent orderings. A permutation of $k$ items results in $k!$ possible outcomes, making a naive categorical approach computationally infeasible. The Plackett-Luce distribution parameterizes this space efficiently using $O(k)$ parameters. However, applying modern variance-reduction techniques like RELAX or REBAR to permutations requires a reparameterizable sampling scheme and the ability to sample underlying continuous variables conditioned on a specific discrete outcome.
Methodology
The authors' primary contribution is the derivation of a differentiable, conditional sampling scheme for the Plackett-Luce distribution.
1. Reparameterization via Gumbel-Max
A sample from a Plackett-Luce distribution can be generated using the Gumbel-Max trick: sample $k$ independent Gumbel random variables and sort them. The resulting order follows the Plackett-Luce distribution.
2. Conditional Marginalization
To implement control variates like RELAX, one must sample the Gumbel variables $\mathbf{z}$ conditioned on an observed permutation $\mathbf{y}$. The authors prove that this conditional distribution factorizes into a sequence of truncated Gumbel distributions. Specifically, each variable in the sequence is sampled from a Gumbel distribution truncated by the value of the preceding variable in the sorted list.
3. PL-RELAX and PL-REBAR
By combining this conditional sampling with a differentiable "surrogate" function (a control variate), the authors construct the PL-RELAX and PL-REBAR estimators. These estimators significantly reduce gradient noise while remaining unbiased, enabling efficient "black-box" optimization even when the objective function itself is non-differentiable.
Experimental Evaluation
The proposed estimators were evaluated on several benchmarks:
- Toy Assignment Task: A linear sum assignment problem used to measure gradient variance and convergence speed.
- Synthetic Causal Graphs: Directed Acyclic Graph (DAG) recovery using Erdos-Renyi (ER) and Scale-Free (SF) models with up to 50 nodes.
- ALARM Network: A real-world 37-node Bayesian network benchmark for causal discovery.
Results
The experimental results demonstrate that PL-RELAX and PL-REBAR provide a substantial improvement over the REINFORCE baseline.
In causal structure learning tasks, the proposed methods consistently outperformed relaxation-based approaches like Sinkhorn networks. As shown in the table below, PL-RELAX achieved superior scores and lower structural distances (SHD, SID) across various graph configurations.
Discussion and Limitations
While PL-RELAX offers significant variance reduction, it introduces some computational overhead due to the sequential nature of the conditional sampling. Additionally, like other gradient-based discrete optimization methods, it is susceptible to local optima. In the ALARM network task, while competitive, it was slightly outperformed by specialized MCMC methods in terms of structural accuracy.
Conclusion
This work extends state-of-the-art variance reduction techniques to the space of permutations via the Plackett-Luce distribution. By providing a practical, low-variance gradient estimator, the authors enable more robust and efficient optimization for a wide range of combinatorial problems in machine learning.
Summary updated