Unbiased and Efficient Sampling of Dependency Trees
Milos Stanojevic
Abstract
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 sub-optimal 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(kn 3 ). These algorithms are both asymptotically and practically more efficient.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 20529254-b984-403b-a5e3-9ac3ba8d772dCited by top-tier papers1
Ask how each one uses itBuilds on3
- Estimating Gradients for Discrete Random Variables by Sampling without ReplacementWouter Kool, Herke van Hoof, Max WellingICLR 2020 · 59 citations
- Incremental Sampling Without Replacement for Sequence ModelsKensen Shi, David Bieber, Charles SuttonICML 2020 · 29 citations
- A Root of a Problem: Optimizing Single-Root Dependency ParsingMilos Stanojevic, Shay B. CohenEMNLP 2021 · 5 citations
Related papers
- On Finding the K-best Non-projective Dependency TreesRan Zmigrod, Tim Vieira, Ryan CotterellACL 2021
- Headed-Span-Based Projective Dependency ParsingSonglin Yang, Kewei TuACL 2022 · 16 citations
- Accelerated Speculative Sampling Based on Tree Monte CarloZhengmian Hu, Heng HuangICML 2024 · 16 citations
- Optimal Sublinear Sampling of Spanning Trees and Determinantal Point Processes via Average-Case Entropic IndependenceNima Anari, Yang P. Liu, Thuy-Duong VuongFOCS 2022 · 1 citation
- Dependency Parsing as MRC-based Span-Span PredictionLeilei Gan, Yuxian Meng, Kun Kuang, Xiaofei Sun et al.ACL 2022
