Label-Agnostic Sequence Labeling by Copying Nearest Neighbors

Sam Wiseman, Karl Stratos
6/10/2019
cs.CL

Official code: swiseman/neighbor-tagging (16 stars, Python, last commit 2021-10-24).

Abstract

Retrieve-and-edit based approaches to structured prediction, where structures associated with retrieved neighbors are edited to form new structures, have recently attracted increased interest. However, much recent work merely conditions on retrieved structures (e.g., in a sequence-to-sequence framework), rather than explicitly manipulating them.

Show full abstract

We show we can perform accurate sequence labeling by explicitly (and only) copying labels from retrieved neighbors. Moreover, because this copying is label-agnostic, we can achieve impressive performance when transferring to new sequence-labeling tasks without retraining. We additionally consider a dynamic programming approach to sequence labeling in the presence of retrieved neighbors, which allows for controlling the number of distinct (copied) segments used to form a prediction, and leads to both more interpretable and accurate predictions.

View on arXivView PDF

Code Implementations(1)

161PythonJun 10, 20195 years ago

Similar Papers

Cite this paper

@article{wiseman2019labelagnostic,
  title  = {Label-Agnostic Sequence Labeling by Copying Nearest Neighbors},
  author = {Sam Wiseman and Karl Stratos},
  year   = {2019},
  eprint = {1906.04225},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.04225}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.04225.svg)](https://codeofpaper.com/paper/1906.04225)

Discussion