Abstract
Dependency graph parsing identifies complex relationships between words, including reentrancy and cycles. While sequence labeling is an efficient paradigm for NLP tasks, it has traditionally been limited to tree structures. This paper proposes novel linearization schemes—positional, bracketing, and bit-based—to encode general directed graphs into sequence labels. Our results demonstrate that these models achieve near state-of-the-art accuracy on Semantic Dependency Parsing (SDP) and Enhanced Universal Dependencies (EUD) tasks while offering significantly higher inference speeds than traditional biaffine parsers.
1. Introduction
In natural language processing, dependency parsing identifies the relationships between words in a sentence. While many systems treat these relationships as a tree (where each word has exactly one head), many linguistic phenomena—such as semantic roles or enhanced universal dependencies—require a graph structure. In a graph, a word can have multiple parents (reentrancy) or form cycles. Sequence labeling is a popular paradigm for parsing because it is fast, simple, and compatible with standard deep learning architectures like Transformers. However, existing sequence labeling methods were primarily designed for trees. This paper addresses the lack of linearizations that can represent complex graph properties.
2. Linearization Strategies
The authors propose several linearizations to map dependency graphs to labels. These include positional graph encodings, where each word is assigned a tuple of labels representing all its incoming arcs (using absolute or relative positions), and unbounded bracketing encodings. The latter extends the use of brackets to represent arcs across multiple "planes" (multiplanarity) to handle crossing arcs, allowing for the representation of any directed graph.
3. Bounded Bit Encodings
The most novel contributions of this work are the bounded $4k$-bit and $6k$-bit encodings. These represent the graph as a vector of bits. The $4k$-bit encoding splits the graph into $k$ subgraphs where each node has at most one parent. The $6k$-bit encoding further refines this by splitting arcs into leftward and rightward groups, allowing for denser graph representations without requiring dummy root nodes. Unlike tree parsing, where two planes usually cover 99% of data, the authors found that for dense semantic graphs, increasing the number of planes ($k=3$ or $4$) significantly boosts coverage and accuracy.
4. Experimental Evaluation
The approach was evaluated on two major graph-based parsing tasks: Semantic Dependency Parsing (SDP) using the SemEval 2015 Task 18 datasets (DM, PAS, and PSD) and Enhanced Universal Dependencies (EUD) from the IWPT 2021 Shared Task.
4.1 Accuracy and Coverage
The proposed encodings achieved nearly 100% "oracle coverage," meaning the linearization scheme itself is capable of representing almost every graph found in the gold-standard data. On the SDP datasets, the $B6_4$ (6-bit, 4-plane) encoding achieved results very close to the strong biaffine parser baseline. For example, on English DM, it reached a Labeled F1 of 94.52 compared to the baseline's 94.31.
4.2 Efficiency
The sequence labeling models are consistently faster than the biaffine baseline. By avoiding the $O(n^2)$ complexity of standard biaffine parsers that score every possible pair of words, the proposed models occupy the "Pareto front," offering the best trade-off between speed (tokens per second) and accuracy.
5. Conclusion
Framing dependency graph parsing as sequence labeling provides a robust and efficient alternative to traditional graph-based models. While the models are highly accurate, future work will focus on generalizing these encodings for formalisms like AMR that use "anchoring" (where nodes do not map directly to single words) and addressing label sparsity in extremely dense graphs.
Summary updated