Unbiased and Efficient Sampling of Dependency Trees
Not on the map. Why?
Abstract (arXiv)
Most computational models of dependency syntax consist of distributions over spanning trees. However, the majority of dependency treebanks require that every valid dependency tree has a single edge coming out of the ROOT node, a constraint that is not part of the definition of spanning trees. For this reason all standard inference algorithms for spanning trees are suboptimal for inference over dependency trees. Zmigrod et al. (2021b) proposed algorithms for sampling with and without replacement from the dependency tree distribution that incorporate the single-root constraint. In this paper we show that their fastest algorithm for sampling with replacement, Wilson-RC, is in fact producing biased samples and we provide two alternatives that are unbiased. Additionally, we propose two algorithms (one incremental, one parallel) that reduce the asymptotic runtime of algorithm for sampling k trees without replacement to O(kn3). These algorithms are both asymptotically and practically more efficient.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 12 of its 55 references that are in the map. First posted on arXiv 25 May 2022.
Builds on
12 of 55 references.
References · 12
- 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 719
- 2020Universal Dependencies v2: An Evergrowing Multilingual Treebank Collectioncited by 269
- 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 205
- 2020Torch-Struct: Deep Structured Prediction Librarycited by 40
- 2022Transformer Grammars: Augmenting Transformer Language Models with Syntactic Inductive Biases at Scalecited by 40
- 2020Estimating Gradients for Discrete Random Variables by Sampling without Replacementcited by 29
- 2020Incremental Sampling Without Replacement for Sequence Modelscited by 23
- 2018Differentiable Perturb-and-Parse: Semi-Supervised Parsing with a Structured Variational Autoencodercited by 19
- 2020Efficient Computation of Expectations under Spanning Tree Distributionscited by 11
- 2020Please Mind the Root: Decoding Arborescences for Dependency Parsingcited by 11
- 2016Sampling Random Spanning Trees Faster than Matrix Multiplicationcited by 7
- 2021On Finding the K-best Non-projective Dependency Treescited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 1.
2 papers.