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.
Anthology ID:
2023.emnlp-main.52
Volume:
Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing
Month:
December
Year:
2023
Address:
Singapore
Editors:
Houda Bouamor, Juan Pino, Kalika Bali
Venue:
EMNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
808–830
Language:
URL:
https://aclanthology.org/2023.emnlp-main.52
DOI:
10.18653/v1/2023.emnlp-main.52
Bibkey:
Cite (ACL):
Tianyu Liu, Afra Amini, Mrinmaya Sachan, and Ryan Cotterell. 2023. Linear-Time Modeling of Linguistic Structure: An Order-Theoretic Perspective. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 808–830, Singapore. Association for Computational Linguistics.
Cite (Informal):
Linear-Time Modeling of Linguistic Structure: An Order-Theoretic Perspective (Liu et al., EMNLP 2023)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl-2023-videos/2023.emnlp-main.52.pdf