Linear-Time Modeling of Linguistic Structure: An Order-Theoretic Perspective
Tianyu Liu, Afra Amini, Mrinmaya Sachan, Ryan Cotterell
Abstract
Tasks that model the relation between pairs of tokens in a string are a vital part of understanding natural language. Such tasks, in general, require exhaustive pair-wise comparisons of tokens, thus having a quadratic runtime complexity in the length of the string. We show that these exhaustive comparisons can be avoided, and, moreover, the complexity of such tasks can be reduced to linear by casting the relation between tokens as a partial order over the string. Our method predicts real numbers for each token in a string in parallel and sorts the tokens accordingly, resulting in total orders of the tokens in the string. Each total order implies a set of arcs oriented from smaller to greater tokens, sorted by their predicted numbers. The intersection of total orders results in a partial order over the set of tokens in the string, which is then decoded into a directed graph representing the desired linguistic structure. Our experiments on dependency parsing and coreference resolution show that our method achieves state-of-the-art or comparable performance. Moreover, the linear complexity and parallelism of our method double the speed of graph-based coreference resolution models, and bring a 10-times speed-up over graph-based dependency parsers.
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 4e4e0a2f-84aa-4a21-947d-320a6fed10adCited by top-tier papers1
Ask how each one uses itBuilds on4
- Long Range Arena : A Benchmark for Efficient TransformersYi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen et al.ICLR 2021 · 881 citations
- Efficient Second-Order TreeCRF for Neural Dependency ParsingYu Zhang, Zhenghua Li, Min ZhangACL 2020 · 90 citations
- Headed-Span-Based Projective Dependency ParsingSonglin Yang, Kewei TuACL 2022 · 16 citations
- On Parsing as TaggingAfra Amini, Ryan CotterellEMNLP 2022 · 1 citation
Related papers
- Global Greedy Dependency ParsingZuchao Li, Hai Zhao, Kevin ParnowAAAI 2020 · 34 citations
- Fast and Accurate Non-Projective Dependency Tree LinearizationXiang Yu, Simon Tannert, Ngoc Thang Vu, Jonas KuhnACL 2020 · 3 citations
- A Span-based Linearization for Constituent TreesYang Wei, Yuanbin Wu, Man LanACL 2020 · 9 citations
- Dependency Graph Parsing as Sequence LabelingAna Ezquerro, David Vilares, Carlos Gómez-RodríguezEMNLP 2024 · 1 citation
- Conundrums in Entity Coreference Resolution: Making Sense of the State of the ArtJing Lu, Vincent NgEMNLP 2020 · 13 citations
