Abstract
We introduce an encoding for parsing as sequence labeling that can represent any projective dependency tree as a sequence of 4-bit labels, one per word. The bits in each word’s label represent (1) whether it is a right or left dependent, (2) whether it is the outermost (left/right) dependent of its parent, (3) whether it has any left children and (4) whether it has any right children. We show that this provides an injective mapping from trees to labels that can be encoded and decoded in linear time. We then define a 7-bit extension that represents an extra plane of arcs, extending the coverage to almost full non-projectivity (over 99.9% empirical arc coverage). Results on a set of diverse treebanks show that our 7-bit encoding obtains substantial accuracy gains over the previously best-performing sequence labeling encodings.- Anthology ID:
- 2023.emnlp-main.393
- 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:
- 6375–6384
- Language:
- URL:
- https://aclanthology.org/2023.emnlp-main.393
- DOI:
- 10.18653/v1/2023.emnlp-main.393
- Cite (ACL):
- Carlos Gómez-Rodríguez, Diego Roca, and David Vilares. 2023. 4 and 7-bit Labeling for Projective and Non-Projective Dependency Trees. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 6375–6384, Singapore. Association for Computational Linguistics.
- Cite (Informal):
- 4 and 7-bit Labeling for Projective and Non-Projective Dependency Trees (Gómez-Rodríguez et al., EMNLP 2023)
- PDF:
- https://preview.aclanthology.org/corrections-2024-05/2023.emnlp-main.393.pdf