Encoding Sentences with Graph Convolutional Networks for Semantic Role Labeling

Diego Marcheggiani, Ivan Titov

Abstract

Semantic role labeling (SRL) is the task of identifying the predicate-argument structure of a sentence. It is typically regarded as an important step in the standard natural language processing pipeline, providing information to downstream tasks such as information extraction and question answering. As the semantic representations are closely related to syntactic ones, we exploit syntactic information in our model. We propose a version of graph convolutional networks (GCNs), a recent class of multilayer neural networks operating on graphs, suited to modeling syntactic dependency graphs. GCNs over syntactic dependency trees are used as sentence encoders, producing latent feature representations of words in a sentence and capturing information relevant to predicting the semantic representations. We observe that GCN layers are complementary to LSTM ones: when we stack both GCN and LSTM layers, we obtain a substantial improvement over an already state-of-the-art LSTM SRL model, resulting in the best reported scores on the standard benchmark (CoNLL-2009) both for Chinese and English.

Introduction

Semantic Role Labeling (SRL) aims to recover the "who did what to whom" structure of a sentence by identifying predicates and their associated arguments. While early systems relied on manual feature engineering, recent advances have favored syntax-agnostic deep learning models, particularly Long Short-Term Memory (LSTM) networks. However, LSTMs process sentences as linear sequences and often struggle to capture relationships between words that are far apart in the text.

This research addresses the challenge of re-integrating syntactic structure into neural architectures without sacrificing the benefits of end-to-end learning. By utilizing Graph Convolutional Networks (GCNs) to model syntactic dependency trees, the authors enable information to "teleport" across structural shortcuts, effectively bridging the gap between distant predicates and arguments.

Methods

The authors propose a hybrid architecture that stacks GCN layers on top of Bidirectional LSTMs (BiLSTMs). The process begins with a BiLSTM layer that captures local, sequential context. These representations are then passed to a Syntactic GCN layer.

The hybrid BiLSTM-GCN architecture for SRL.

Unlike standard GCNs designed for undirected graphs, this implementation is tailored for dependency trees. It accounts for edge directionality (head-to-dependent, dependent-to-head, and self-loops) and specific grammatical labels like subjects and objects. To handle the inherent noise in automatically predicted syntactic parses, the model incorporates an edge-wise gating mechanism. This allows the network to dynamically down-weight edges that appear irrelevant or erroneous for the semantic task. Finally, a role classifier predicts the relationship between predicates and candidate arguments based on the enriched representations.

Results and Discussion

The model was evaluated on the CoNLL-2009 shared task for English and Chinese. The hybrid BiLSTM-GCN model achieved state-of-the-art results, with an F1 score of 89.1 on the English test set and 82.5 on the Chinese set.

A critical insight from the study is the complementary nature of LSTMs and GCNs. While LSTMs excel at modeling local word order and fluency, GCNs provide the global structural awareness necessary for complex sentences.

F1 performance relative to the distance between predicate and argument.

Analysis of performance relative to the linear distance between predicates and arguments confirms that the GCN's primary contribution is in handling long-range dependencies. In cases where arguments are far from their predicates, the structural shortcuts provided by the dependency tree allow the GCN to maintain higher accuracy compared to syntax-agnostic baselines.

Conclusion

This work demonstrates that explicit syntactic information remains a powerful asset for semantic tasks, even in the era of deep sequential models. By combining the strengths of LSTMs and GCNs, the researchers achieved significant performance gains and improved robustness against long-distance dependencies. Future research directions include the joint learning of syntax and semantics to mitigate pipeline errors and the exploration of global constraints to ensure consistent role assignments across entire sentences.

Summary updated

BibTeX
@inproceedings{marcheggiani2017encoding,
  author = {Diego Marcheggiani and Ivan Titov},
  title = {{Encoding Sentences with Graph Convolutional Networks for Semantic Role Labeling}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  url = {https://openreview.net/forum?id=HkbEizMdbS},
}
Figure