Syntax-Aware Neural Semantic Role Labeling

Qingrong Xia, Zhenghua Li, Min Zhang, Meishan Zhang, Guohong Fu, Rui Wang, Luo Si

Introduction

Semantic Role Labeling (SRL) is a fundamental task in natural language processing that aims to identify the predicate-argument structure of a sentence. It answers the core question: "who did what to whom?" For example, in the sentence "Ms. Haag plays Elianti," an SRL system identifies "Ms. Haag" as the agent (A0), "plays" as the predicate (V), and "Elianti" as the patient (A1).

Semantic Role Labeling (SRL) identifies the predicate-argument structure of a sentence, which often correlates with syntactic dependencies.

Historically, SRL systems relied heavily on hand-crafted syntactic features. However, the rise of deep learning led to a shift toward "end-to-end" models that treat sentences as simple sequences of words. While these neural models are powerful, they often struggle with long-distance relationships where the predicate and its arguments are separated by many words. This research investigates whether explicitly re-introducing syntactic dependency trees can improve modern neural SRL models.

Methodology

The authors build upon a strong baseline: a deep highway-BiLSTM model. To incorporate syntactic information, they augment this model by concatenating "syntax-aware" representation vectors ($x^{syn}$) to the input word embeddings. This allows the model to leverage formal grammar while maintaining the benefits of end-to-end neural learning.

The model architecture integrates syntactic features into a deep BiLSTM encoder followed by a classification layer and a Viterbi decoder for sequence labeling.

The study compares four distinct methods for encoding the dependency tree:

  1. Tree-GRU: A recursive neural network that processes the entire tree globally (both bottom-up and top-down), providing a predicate-independent view of the sentence structure.
  2. Shortest Dependency Path (SDP): Focuses specifically on the path in the tree between a candidate word and the predicate, using max-pooling over the labels along that path.
  3. Tree-based Position Feature (TPF): Encodes the relative distance (in terms of tree nodes) from a word and the predicate to their lowest common ancestor.
  4. Pattern Embedding (PE): Classifies the structural relationship between a word and a predicate into categories like "child," "grandchild," or "sibling" and learns an embedding for that relationship.

Crucially, methods 2, 3, and 4 are predicate-specific, meaning the representation of a word changes depending on which verb in the sentence is currently being analyzed as the predicate.

Key Insights and Results

The models were evaluated on the CoNLL-2005 shared task dataset, using both in-domain (WSJ) and out-of-domain (Brown Corpus) test sets. Several key findings emerged:

  • Predicate-Specificity is Essential: The Tree-GRU (predicate-independent) performed the worst among the four syntactic methods. For SRL, it is much more useful to know how a word relates to a specific predicate than to have a general sense of the whole tree.
  • Solving Long-Distance Dependencies: Syntactic information provided the most significant performance boosts for arguments physically distant from their predicates. Grammar acts as a "shortcut" that helps the model skip over irrelevant middle words.
  • Complementary to ELMo: Even when using powerful contextualized embeddings like ELMo, adding explicit syntax provided a significant boost. This suggests that while ELMo captures some latent syntax, it does not fully replace the information provided by a formal dependency tree.
  • The "Gold" Gap: When tested with "Gold" (perfect, human-annotated) syntax, the F1 score jumped by nearly 7 points. This reveals a massive potential for improvement as dependency parsers become more accurate.

Performance Benchmarks

The syntax-aware models set new benchmarks for the CoNLL-2005 dataset. A single model achieved an 85.6 F1 score, outperforming the ELMo-only baseline by 0.8 points. An ensemble model combining the four syntactic approaches reached 86.6 F1, a 1.0 point improvement over the baseline ensemble.

Conclusion

This work proves that even in the age of large-scale contextualized embeddings and end-to-end learning, explicit syntactic information remains a powerful ally for semantic understanding. While the system is currently bottlenecked by the quality of automatic dependency parsers, the significant gains observed—especially in long-distance argument labeling—highlight the enduring value of formal grammar in neural NLP.

Summary updated

BibTeX
@inproceedings{xia2019syntax,
  author = {Qingrong Xia and Zhenghua Li and Min Zhang and Meishan Zhang and Guohong Fu and Rui Wang and Luo Si},
  title = {{Syntax-Aware Neural Semantic Role Labeling}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33017305},
}
Figure