On Finding the K-best Non-projective Dependency Trees

Ran Zmigrod, Tim Vieira, Ryan Cotterell
2021 Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)   unpublished
The connection between the maximum spanning tree in a directed graph and the best dependency tree of a sentence has been exploited by the NLP community. However, for many dependency parsing schemes, an important detail of this approach is that the spanning tree must have exactly one edge emanating from the root. While work has been done to efficiently solve this problem for finding the one-best dependency tree, no research has attempted to extend this solution to finding the K-best dependency
more » ... ees. This is arguably a more important extension as a larger proportion of decoded trees will not be subject to the root constraint of dependency trees. Indeed, we show that the rate of root constraint violations increases by an average of 13 times when decoding with K = 50 as opposed to K = 1. In this paper, we provide a simplification of the K-best spanning tree algorithm of Camerini et al. (1980) . Our simplification allows us to obtain a constant time speed-up over the original algorithm. Furthermore, we present a novel extension of the algorithm for decoding the K-best dependency trees of a graph which are subject to a root constraint. 1
doi:10.18653/v1/2021.acl-long.106 fatcat:x34iaf6pbng2bnhmhp7vbmuj5a