Abstract: Linlin Liu, Xiang Lin, Shafiq Joty, Simeng Han, Lidong Bing. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
2019.
Introduction: The Challenge of Sequential Parsing
Parsing—the process of mapping a sentence to a tree structure—is a fundamental task in Natural Language Processing. Whether identifying word-level syntax (dependency parsing) or clause-level logic (discourse parsing), the goal is to capture the hierarchical relationships inherent in language.
Currently, transition-based top-down parsers are favored for their speed and linear time complexity. However, these models typically rely on sequential decoders. This "flat" architecture often fails to maintain long-distance hierarchical context; as the decoder progresses, it may "forget" the parent or grandparent nodes established early in the process. This lack of structural memory leads to error propagation, where a single early mistake can derail the entire tree construction.
The Hierarchical Pointer Network (H-PtrNet)
To address these limitations, the authors introduce the Hierarchical Pointer Network (H-PtrNet). While it maintains the efficient encoder-decoder backbone of a standard Pointer Network, it fundamentally redesigns the decoder state ($d_t$) calculation to incorporate structural inductive bias.
Architectural Innovation
Instead of relying solely on the previous sequential step ($d_{t-1}$), the H-PtrNet decoder state is a fusion of four distinct information sources:
- Parent Decoder State ($d_{p(t)}$): The state of the node that spawned the current unit.
- Sibling Decoder State ($d_{s(t)}$): The state of the immediate sibling node.
- Temporal State ($d_{t-1}$): Standard sequential information from the preceding step.
- Parent Encoder State ($h_{p(t)}$): The raw representation of the parent from the input text.
To manage these inputs, the model employs a Gating Mechanism (specifically "SGate"). This allows the model to dynamically weight the importance of parent versus sibling information, creating "shortcuts" for gradients and information to flow through the hierarchy. This direct "hotline" to the parent node ensures that the model retains structural context regardless of sentence length.
Evaluation and Key Results
The model was evaluated on two major tasks: dependency parsing (using the English Penn Treebank and Universal Dependency Treebanks across seven languages) and discourse parsing (using the RST Discourse Treebank).
- Dependency Parsing: H-PtrNet achieved a state-of-the-art Unlabeled Attachment Score (UAS) of 96.09% on the English PTB, outperforming previous transition-based benchmarks. It also demonstrated superior robustness on long sentences (50+ words) where standard sequential parsers typically struggle.
- Discourse Parsing: The model significantly advanced the state-of-the-art in rhetorical structure analysis. In the challenging "Relation" labeling task, it achieved an F1 score of 82.77, nearing the human agreement level of 83.0.
Conclusion
The success of H-PtrNet underscores the importance of inductive bias in model architecture. By forcing the decoder to mirror the tree-like nature of its output, the authors effectively solved the "forgetting" problem inherent in sequential decoders. This unified architecture proves that hierarchical logic is a general-purpose improvement for both word-level syntax and high-level discourse analysis.
Summary updated