Syntax Aware LSTM model for Semantic Role Labeling

Feng Qian, Lei Sha, Baobao Chang, Luchen Liu, Ming Zhang

Abstract

Semantic Role Labeling (SRL) is a fundamental task in natural language processing aimed at identifying the predicate-argument structure of sentences. Traditional approaches heavily relied on manual feature engineering, while recent deep learning models often treat language as a flat, linear sequence. This paper presents the Syntax Aware LSTM (SA-LSTM), a novel architecture that incorporates dependency tree structures directly into the recurrent neural network's topology. By facilitating information flow along syntactic paths, the model captures hierarchical relationships more effectively than standard bidirectional LSTMs. Experimental results demonstrate that SA-LSTM achieves state-of-the-art performance on the Chinese Proposition Bank (CPB 1.0) and provides significant performance gains on the English CoNLL 2005 dataset.

Introduction

The goal of Semantic Role Labeling (SRL) is to determine the semantic roles of various constituents in a sentence relative to a predicate. For instance, in the sentence "The police are investigating the accident," an SRL system identifies "police" as the agent (ARG0) and "accident" as the theme (ARG1).

While Recurrent Neural Networks (RNNs), particularly Long Short-Term Memory (LSTM) networks, have significantly advanced SRL by automating feature extraction, they typically process text as a linear sequence. However, linguistic theory suggests that a word's meaning is often more closely tied to its syntactic neighbors (e.g., a verb and its direct object) than its linear neighbors. To bridge this gap, the researchers from Peking University proposed the Syntax Aware LSTM (SA-LSTM), which moves beyond "feature engineering" toward "architecture engineering" by embedding syntactic structure into the network itself.

Methodology: Syntax Aware LSTM

The SA-LSTM architecture extends the standard bidirectional LSTM (bi-LSTM) by introducing structural modifications based on dependency parses.

Dependency-Driven Architecture

Unlike a standard LSTM where each cell only receives input from its immediate linear predecessor, the SA-LSTM adds extra directed connections derived from the sentence's dependency tree. If a dependency relation exists between two words, a direct link is established between their corresponding neural cells. This allows the model to "feel" the structural distance between words, which may be far apart in a linear sequence but close in a syntactic tree.

Overall architecture mapping dependency tree structures to the bidirectional neural network.

The Syntax Gate and Relation Weights

To integrate this structural information without losing the sequential context, the authors introduced two key mechanisms:

  1. The Syntax Gate ($g_s$): This specialized gate regulates how much of the "syntax-aware" information from dependency-related cells should be integrated into the current hidden state. This prevents structural noise from overwhelming the primary word representations.
  2. Trainable Relation Weights ($\alpha_m$): Recognizing that different syntactic relations (e.g., dobj vs. admod) carry different semantic weights, the model learns a weight for each relation type during training. Analysis showed that the dobj (direct object) relation typically receives the highest weight, consistent with its central role in defining semantic arguments.
Detailed cell structure of the SA-LSTM highlighting the integration of hidden states from dependency-related cells via a syntax gate.

Furthermore, the researchers found that integrating syntactic information into the hidden layer ($h_t$) was more effective than adding it to the memory cell ($C_t$), as it protected the original word information from being diluted over long sequences.

Experimental Evaluation

The model was evaluated on two major benchmarks: the Chinese Proposition Bank (CPB) 1.0 and the English CoNLL 2005 dataset. Dependency trees were generated using the Stanford Parser as a pre-processing step.

Key Results

  • State-of-the-Art in Chinese: On CPB 1.0, the SA-LSTM achieved an F1 score of 79.92%, outperforming standard bi-LSTMs by over 2%.
  • Improvements in English: Replacing standard bi-LSTM layers with SA-LSTM layers in an English SRL system resulted in a 1.7% F1 improvement. Even when integrated into a complex 8-layer state-of-the-art model, it provided a measurable 0.3% boost.
  • Superiority over Path-LSTMs: The model outperformed "Path-LSTMs," which only consider the path between a predicate and an argument, suggesting that modeling the entire sentence tree is more beneficial for capturing context.

Conclusion

The Syntax Aware LSTM represents a significant step toward more linguistically informed deep learning. By treating syntax as a structural constraint on the network rather than just an input feature, the model achieves superior performance in identifying semantic roles. While the model's performance is currently dependent on the accuracy of external dependency parsers, the success of this "architecture engineering" approach opens new avenues for applying structural priors to other complex NLP tasks like relation extraction and machine translation.

Summary updated

BibTeX
@inproceedings{qian2017syntax,
  author = {Feng Qian and Lei Sha and Baobao Chang and Luchen Liu and Ming Zhang},
  title = {{Syntax Aware LSTM model for Semantic Role Labeling}},
  booktitle = {SPNLP @ EMNLP},
  year = {2017},
  doi = {10.18653/v1/w17-4305},
}
Figure