Skip to main content
QUICK REVIEW

[Paper Review] Deep Semantic Role Labeling with Self-Attention

Zhixing Tan, Mingxuan Wang|arXiv (Cornell University)|Dec 5, 2017
Topic ModelingComputer Science15 citations
TL;DR

This paper proposes DeepAtt, a self-attention-based neural network for end-to-end semantic role labeling that captures long-range dependencies and structural relationships more effectively than RNNs. The model achieves state-of-the-art F1 scores of 83.4 on CoNLL-2005 and 82.7 on CoNLL-2012, outperforming prior methods by 1.8 and 1.0 points respectively, while processing 50K tokens per second on a single GPU.

ABSTRACT

Semantic Role Labeling (SRL) is believed to be a crucial step towards natural language understanding and has been widely studied. Recent years, end-to-end SRL with recurrent neural networks (RNN) has gained increasing attention. However, it remains a major challenge for RNNs to handle structural information and long range dependencies. In this paper, we present a simple and effective architecture for SRL which aims to address these problems. Our model is based on self-attention which can directly capture the relationships between two tokens regardless of their distance. Our single model achieves F$_1=83.4$ on the CoNLL-2005 shared task dataset and F$_1=82.7$ on the CoNLL-2012 shared task dataset, which outperforms the previous state-of-the-art results by $1.8$ and $1.0$ F$_1$ score respectively. Besides, our model is computationally efficient, and the parsing speed is 50K tokens per second on a single Titan X GPU.

Motivation & Objective

  • To address the limitations of RNN-based models in handling long-range dependencies and structural information in semantic role labeling.
  • To develop a simpler, more efficient architecture that does not rely on syntactic features or complex decoding mechanisms.
  • To improve performance on both in-domain and out-of-domain SRL datasets using a self-attention mechanism.
  • To achieve high-speed inference while maintaining or exceeding state-of-the-art performance.

Proposed method

  • The model uses self-attention to directly capture global dependencies between any two tokens, regardless of distance, enabling O(1) path length compared to RNNs' O(n).
  • It processes raw utterances and predicate masks as input, without syntactic features or context windows.
  • The architecture integrates self-attention with three variants: recurrent (RNN), convolutional (CNN), and feed-forward (FFN) networks to enrich representations.
  • The model treats SRL as a BIO tagging problem and applies argmax decoding on top of logistic regression for inference, avoiding complex CRF or constrained decoding.
  • The self-attention mechanism allows unimpeded information flow and better modeling of latent syntactic structures.
  • The feed-forward variant enables high parallelization, contributing to a parsing speed of 50K tokens per second on a single Titan X GPU.

Experimental results

Research questions

  • RQ1Can self-attention effectively model long-range dependencies in semantic role labeling compared to RNNs?
  • RQ2Does a self-attention-based model outperform RNN-based models on standard SRL benchmarks without syntactic input?
  • RQ3How does the model perform on out-of-domain data compared to previous end-to-end approaches?
  • RQ4Can a simpler decoding strategy (argmax) achieve better or comparable results than CRF or constrained decoding in SRL?
  • RQ5What is the computational efficiency of a self-attention-based SRL model in terms of speed and scalability?

Key findings

  • The proposed DeepAtt model achieves an F1 score of 83.4 on the CoNLL-2005 dataset, surpassing the previous state-of-the-art by 1.8 points.
  • On the CoNLL-2012 dataset, the model achieves an F1 score of 82.7, improving the prior state-of-the-art by 1.0 point.
  • On an out-of-domain dataset, the model improves performance by 2.0 F1 points over the previous end-to-end approach.
  • The feed-forward variant of the model enables high-speed inference, parsing 50,000 tokens per second on a single Titan X GPU.
  • The confusion matrix shows reduced error rates in distinguishing difficult adjunct roles (e.g., AM-DIR, AM-LOC, AM-MNR), indicating improved generalization on challenging semantic distinctions.
  • The model’s performance gains are attributed to self-attention’s ability to model long-range dependencies and structural relationships more effectively than RNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.