Lune

EMNLP2021Top-tier venue

Efficient Sampling of Dependency Structure

Ran Zmigrod, Tim Vieira, Ryan Cotterell

2021Year

Abstract

Probabilistic distributions over spanning trees in directed graphs are a fundamental model of dependency structure in natural language processing, syntactic dependency trees. In NLP, dependency trees often have an additional root constraint: only one edge may emanate from the root. However, no sampling algorithm has been presented in the literature to account for this additional constraint. In this paper, we adapt two spanning tree sampling algorithms to sample dependency trees from a graph subject to the root constraint. Wilson (1996)'s sampling algorithm has a running time of O(H) where H is the mean hitting time of the graph. Colbourn et al. (1996) 's sampling algorithm has a running time of O(N 3 ), which is often greater than the mean hitting time of a directed graph. Additionally, we build upon Colbourn's algorithm and present a novel extension that can sample K trees without replacement in O(KN 3 + K 2 N ) time. To the best of our knowledge, no algorithm has been given for sampling spanning trees without replacement from a directed graph. 1

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext bdec0260-08cc-42f3-9e34-b3f8677c6e45

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines