Pretrained Language Models for Sequential Sentence Classification

Arman Cohan, Iz Beltagy, Daniel King, Bhavana Dalvi, Daniel S. Weld
9/9/2019
cs.CL

Official code: allenai/sequential_sentence_classification (77 stars, Python, Apache-2.0, last commit 2022-11-02).

Abstract

As a step toward better document-level understanding, we explore classification of a sequence of sentences into their corresponding categories, a task that requires understanding sentences in context of the document. Recent successful models for this task have used hierarchical models to contextualize sentence representations, and Conditional Random Fields (CRFs) to incorporate dependencies between subsequent labels.

Show full abstract

In this work, we show that pretrained language models, BERT (Devlin et al., 2018) in particular, can be used for this task to capture contextual dependencies without the need for hierarchical encoding nor a CRF. Specifically, we construct a joint sentence representation that allows BERT Transformer layers to directly utilize contextual information from all words in all sentences. Our approach achieves state-of-the-art results on four datasets, including a new dataset of structured scientific abstracts.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

https://arxiv.org/pdf/1909.04054

7728Python, JsonnetAug 26, 20194 years agoApache-2.0

Similar Papers

Cite this paper

@article{cohan2019pretrained,
  title  = {Pretrained Language Models for Sequential Sentence Classification},
  author = {Arman Cohan and Iz Beltagy and Daniel King and Bhavana Dalvi and Daniel S. Weld},
  year   = {2019},
  eprint = {1909.04054},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.04054}
}

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

Discussion