DisSent: Sentence Representation Learning from Explicit Discourse Relations

Allen Nie, Erin D. Bennett, Noah D. GoodmanarXiv 2017

Abstract

Learning effective representations of sentences is one of the core missions of natural language understanding. Existing models either train on a vast amount of text, or require costly, manually curated sentence relation datasets. We show that with dependency parsing and rule-based rubrics, we can curate a high quality sentence relation task by leveraging explicit discourse relations. We show that our curated dataset provides an excellent signal for learning vector representations of sentence meaning, representing relations that can only be determined when the meanings of two sentences are combined. We demonstrate that the automatically curated corpus allows a bidirectional LSTM sentence encoder to yield high quality sentence embeddings and can serve as a supervised fine-tuning dataset for larger models such as BERT. Our fixed sentence embeddings achieve high performance on a variety of transfer tasks, including SentEval, and we achieve state-of-the-art results on Penn Discourse Treebank's implicit relation prediction task.

Introduction

In Natural Language Understanding (NLU), a "sentence representation" is a mathematical vector that captures a sentence's meaning. Currently, researchers face a dilemma: supervised models yield high-quality embeddings but require massive, hand-annotated datasets, while unsupervised models train on vast amounts of raw text but may miss the high-level logic connecting adjacent ideas.

DisSent introduces a novel supervised training task for sentence embeddings: predicting the explicit discourse markers (like because, but, or although) that connect two sentences. By leveraging millions of naturally occurring sentence pairs, the model learns deep conceptual relations without requiring expensive human annotation.

Methodology

The researchers developed the DisSent task through a three-stage process: automated curation, encoder training, and fine-tuning.

Automated Curation

Using the Stanford CoreNLP dependency parser, the team scanned the BookCorpus (~11,000 novels) to find sentence pairs linked by specific markers. They used rule-based rubrics to ensure extracted fragments were grammatically complete sentences. For example, they filtered out polysemous usages to focus on clear causal or temporal relations.

Dependency parsing logic for extracting discourse relations.

The primary dataset resulted in ~4.7 million sentence pairs across 15 discourse markers. As shown in Figure 6, the extraction precision remains high across most markers, with because and so being particularly reliable, validating the automated approach.

Extraction precision across different discourse markers.

Encoder and Training

The model uses a bidirectional LSTM (BiLSTM) with max-pooling. To predict the marker, the model processes embeddings of both sentences ($s_1$ and $s_2$) to create an "interaction vector" (concatenating subtraction, multiplication, and averaging), which is then fed into a classifier. Beyond standalone training, the DisSent task was used to fine-tune BERT, testing if discourse-level supervision could improve state-of-the-art pre-trained models.

Key Insights and Results

  • Discourse as a Proxy for Meaning: Predicting a marker like because requires understanding causality, a deeper semantic task than next-word prediction.
  • Competitive Performance: The DisSent-trained BiLSTM achieved results comparable to InferSent on the SentEval benchmark, despite InferSent using high-quality human-annotated data.
  • SOTA on Implicit Relations: When BERT was fine-tuned on DisSent, it achieved state-of-the-art results on the Penn Discourse Treebank (PDTB) implicit relation prediction task (54.7% accuracy).
  • Bridging the Explicit-Implicit Gap: Training on explicit markers allows the model to identify implicit relations where no marker exists, suggesting it learns the underlying semantic "vibe" of the relationship.

Discussion

While DisSent performs well, it faces a "ceiling of ambiguity" where markers like though and although are often interchangeable. Interestingly, while because has high extraction precision, it remains one of the hardest relations for the model to predict semantically, highlighting the complexity of causal logic. Future work could expand this pipeline to other languages using Universal Dependencies, providing a scalable path for high-quality sentence encoders globally.

Summary updated

BibTeX
@misc{nie2017dissent,
  author = {Allen Nie and Erin D. Bennett and Noah D. Goodman},
  title = {{DisSent: Sentence Representation Learning from Explicit Discourse Relations}},
  year = {2017},
  eprint = {1710.04334},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.04334},
}
Figure