K-SRL: Instance-based Learning for Semantic Role Labeling

Yunyao Li, Alan Akbik, Yunyao Li 0001COLING 2016

Abstract

Semantic Role Labeling (SRL) is a fundamental task in Natural Language Processing that identifies the predicate-argument structure of a sentence. Traditional models often strive for broad generalization, which can inadvertently smooth over critical linguistic exceptions. This paper presents K-SRL, an instance-based learning system that leverages local contexts and composite features. By "memorizing" specific instances rather than abstracting them, K-SRL achieves state-of-the-art F1-scores of 89.28% in-domain and 79.91% out-of-domain on the CoNLL-2009 English dataset.

Introduction

The primary objective of Semantic Role Labeling is to answer "who did what to whom." For instance, in the sentence "The silver was sold by the man," an SRL system identifies "The silver" as the thing being sold (the theme) and "the man" as the seller (the agent).

A significant challenge in SRL is local bias. Most statistical models, such as SVMs or Logistic Regression, attempt to learn the "average" behavior of features across a dataset. However, language is replete with verb-specific rules. While a passive subject typically functions as a theme (A1), certain verbs like "tell" consistently assign the passive subject to the recipient role (A2). Traditional models may treat these low-frequency patterns as noise. K-SRL posits that these are not noise but specific rules applicable in narrow contexts.

Comparison of semantic role assignments for passive subjects across different verbs.

Methodology

K-SRL employs an instance-based learning approach, a variant of k-Nearest Neighbors (kNN), which makes predictions by extrapolating from the most similar training instances.

Nearest k-Window Classification

Unlike standard kNN models that operate in continuous vector spaces, K-SRL utilizes a discrete distance function based on composite features. The system initiates a search within a strict "Distance 1" window, requiring exact matches for complex feature combinations. If fewer than $k$ neighbors are found, the system "backs off" to broader windows (Distance 2, 3, etc.), relaxing feature constraints sequentially.

Composite Features

The model relies on combinations of features rather than individual ones. A high-precision Distance 1 feature might include:

  • The specific verb sense (e.g., tell.01)
  • The syntactic path (e.g., passive subject)
  • The specific argument head lemma (e.g., creditor)

Easy-First Argument Labeling

To handle global constraints (e.g., ensuring a verb does not have multiple "Agent" roles), K-SRL uses a greedy "easy-first" strategy. It ranks potential labels by confidence and assigns the most certain roles first, subsequently removing those roles from the available pool for remaining arguments.

Experimental Results

The system was evaluated using the CoNLL-2009 shared task gold data for English, covering both in-domain (Wall Street Journal) and out-of-domain (Brown corpus) text.

System In-Domain (F1) Out-of-Domain (F1)
K-SRL (Proposed) 89.28% 79.91%
PATHLSTM (Roth & Lapata, 2016) 88.19% 76.47%
MATEPLUS (Roth & Woodsend, 2014) 87.79% 76.74%

K-SRL significantly outperformed contemporary neural and ensemble models. Notably, the performance gap widened in out-of-domain settings, suggesting that instance-based learning is more robust than models that may overfit to the average patterns of a specific training domain.

Discussion

Several key insights emerged from the development of K-SRL:

  • Optimal Neighborhood Size: Performance peaked at very small values of $k$ (3 or 4), supporting the hypothesis that local context is highly predictive.
  • Interpretability: The model's decisions are directly traceable to specific training examples, allowing developers to easily audit misclassifications.
  • The Power of Backoff: By mimicking n-gram backoff models, K-SRL maintains high precision for frequent cases while providing reasonable estimates for rare ones.

Conclusion

K-SRL demonstrates that for tasks with high local bias like SRL, instance-based learning can be superior to broad generalization. Future work includes extending the model to handle nominal and adjectival predicates and exploring automated methods for discovering optimal composite features.

Summary updated

BibTeX
@inproceedings{li2016k,
  author = {Yunyao Li and Alan Akbik and Yunyao Li},
  title = {{K-SRL: Instance-based Learning for Semantic Role Labeling}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2016},
}
Figure