A Cross-Task Analysis of Text Span Representations

Shubham Toshniwal, Haoyue Shi, Bowen Shi, Lingyu Gao, Karen Livescu +1 more
6/6/2020
cs.CL

Official code: shtoshni/span-rep (21 stars, Python, last commit 2022-11-04).

Abstract

Many natural language processing (NLP) tasks involve reasoning with textual spans, including question answering, entity recognition, and coreference resolution. While extensive research has focused on functional architectures for representing words and sentences, there is less work on representing arbitrary spans of text within sentences.

Show full abstract

In this paper, we conduct a comprehensive empirical evaluation of six span representation methods using eight pretrained language representation models across six tasks, including two tasks that we introduce. We find that, although some simple span representations are fairly reliable across tasks, in general the optimal span representation varies by task, and can also vary within different facets of individual tasks. We also find that the choice of span representation has a bigger impact with a fixed pretrained encoder than with a fine-tuned encoder.

View on arXivView PDF

Code Implementations(1)

shtoshni/span-repOfficial100%

Code for Repl4NLP paper "A Cross-Task Analysis of Text Span Representations"

212Python, ShellSep 26, 20194 years ago

Similar Papers

Cite this paper

@article{toshniwal2020crosstask,
  title  = {A Cross-Task Analysis of Text Span Representations},
  author = {Shubham Toshniwal and Haoyue Shi and Bowen Shi and Lingyu Gao and Karen Livescu and Kevin Gimpel},
  year   = {2020},
  eprint = {2006.03866},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.03866}
}

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/2006.03866.svg)](https://codeofpaper.com/paper/2006.03866)

Discussion