Span-Based Semantic Role Labeling with Argument Pruning and Second-Order Inference

Zixia Jia, Zhaohui Yan, Haoyi Wu, Kewei TuAAAI 2022

Abstract

We study graph-based approaches to span-based semantic role labeling (SRL). This task is difficult due to the need to enumerate all possible predicate-argument pairs and the high degree of imbalance between positive and negative samples. Based on these difficulties, high-order inference that considers interactions between multiple arguments and predicates is often deemed beneficial but has rarely been used in span-based SRL. Because even for second-order inference, there are already $O(n^5)$ parts for a sentence of length $n$, and exact high-order inference is intractable. In this paper, we propose a framework consisting of two networks: a predicate-agnostic argument pruning network that reduces the number of candidate arguments to $O(n)$, and a semantic role labeling network with an optional second-order decoder that is unfolded from an approximate inference algorithm. Our experiments show that our framework achieves significant and consistent improvement over previous approaches.

Introduction

Semantic Role Labeling (SRL) is the task of determining "who did what to whom" in a sentence by identifying text spans (arguments) and their semantic relationships to a specific predicate. In span-based SRL, the model must evaluate every possible span in a sentence, which presents two major challenges:

  1. Computational Complexity: A sentence of length $n$ has $O(n^2)$ possible spans. Evaluating every span against every potential predicate leads to $O(n^3)$ complexity, which is prohibitively slow for large-scale applications.
  2. Data Imbalance: The vast majority of spans in a sentence are not arguments, creating a severe "needle in a haystack" problem during training.

While "high-order" inference—considering the interactions between multiple arguments for the same predicate—could improve accuracy, it typically increases complexity to $O(n^5)$. Previous attempts often used joint training for pruning and labeling, but this creates a "moving target" problem where the labeler struggles to learn from a constantly shifting set of candidate arguments.

Methodology

The proposed framework addresses these issues by decoupling the pruning and labeling stages into two distinct components.

Predicate-Agnostic Argument Pruning Network (PAPN)

Instead of identifying arguments for a specific predicate, the PAPN identifies spans that are likely to be arguments in general. It uses a BiLSTM and a biaffine scorer to evaluate every possible span $(i, j)$. Crucially, the PAPN is trained independently of the SRL task. This provides a stable, high-recall set of candidate arguments, effectively reducing the search space from $O(n^2)$ to $O(n)$.

Semantic Role Labeling Network (SRLN)

Once the candidates are narrowed down, the SRLN performs the final labeling. It employs a "Coherent" span representation that includes endpoint features and a coherence term to judge if a span is a valid linguistic unit.

The proposed framework architecture, showing the independent Predicate-Agnostic Argument Pruning Network (PAPN) and the Semantic Role Labeling Network (SRLN) with its second-order decoder.

To model interactions between arguments (e.g., the presence of a subject making an object more likely), the authors incorporate Sibling Parts for second-order inference. Since exact second-order inference is NP-hard, they use Mean Field Variational Inference (MFVI), "unfolding" the iterative algorithm into a recurrent neural network layer to maintain differentiability and efficiency.

Results and Discussion

The model was evaluated on the CoNLL 2005 and CoNLL 2012 benchmarks using various embeddings, including GloVe, ELMo, and RoBERTa. The framework achieved state-of-the-art results for syntax-agnostic models, reaching an F1 score of 87.03 on the CoNLL 2005 WSJ test set with RoBERTa.

F1 score improvement of the second-order model over the first-order baseline across different sentence lengths, highlighting gains in long-distance dependencies.

A significant insight from the results is the benefit of second-order inference for long-distance dependencies. As shown in the analysis of F1 score improvements across sentence lengths, the second-order decoder provides the most substantial gains in longer sentences (length > 50). In these cases, local context is often ambiguous, and modeling the global interaction between arguments becomes critical for correct role assignment.

Conclusion

By decoupling argument pruning from the labeling process, this framework provides a stable and efficient path toward high-order inference in span-based SRL. The reduction of the search space to $O(n)$ makes second-order sibling interactions computationally feasible, leading to significant performance gains, particularly in complex, long-range linguistic structures. Future work may explore extending this high-order approach to include label-level interactions or incorporating syntactic parsing into the pruning stage.

Summary updated

BibTeX
@inproceedings{jia2022span,
  author = {Zixia Jia and Zhaohui Yan and Haoyi Wu and Kewei Tu},
  title = {{Span-Based Semantic Role Labeling with Argument Pruning and Second-Order Inference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=3cFvloRvBut},
}
Figure