Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised Learning of Sentence Representations Using Sequence Consistency

Siddhartha Brahma|arXiv (Cornell University)|Aug 10, 2018
Topic ModelingComputer Science21 references6 citations
TL;DR

This paper proposes ConsSent, an unsupervised method for learning sentence representations by training a sentence encoder to distinguish between consistent and perturbed sentence sequences. By enforcing sequence consistency through six types of token-level perturbations and pairwise merging constraints, ConsSent achieves state-of-the-art performance on transfer and linguistic probing tasks, outperforming both unsupervised and supervised baselines, with the ensemble model reaching 84.7 average score on the SentEval benchmark.

ABSTRACT

Computing universal distributed representations of sentences is a fundamental task in natural language processing. We propose ConsSent, a simple yet surprisingly powerful unsupervised method to learn such representations by enforcing consistency constraints on sequences of tokens. We consider two classes of such constraints -- sequences that form a sentence and between two sequences that form a sentence when merged. We learn sentence encoders by training them to distinguish between consistent and inconsistent examples, the latter being generated by randomly perturbing consistent examples in six different ways. Extensive evaluation on several transfer learning and linguistic probing tasks shows improved performance over strong unsupervised and supervised baselines, substantially surpassing them in several cases. Our best results are achieved by training sentence encoders in a multitask setting and by an ensemble of encoders trained on the individual tasks.

Motivation & Objective

  • To develop a simple yet effective unsupervised method for learning universal sentence representations without requiring external labels.
  • To improve sentence representation quality by enforcing consistency constraints on sequences of tokens and their perturbations.
  • To evaluate the effectiveness of multitask training and model ensembling for learning robust sentence encoders.
  • To benchmark performance against strong unsupervised and supervised baselines on transfer learning and linguistic probing tasks.

Proposed method

  • The method trains a sentence encoder to discriminate between consistent sentences and six types of perturbed versions: deletion, permutation, insertion, replacement, and two forms of sentence pair merging (contiguous and non-contiguous partitioning).
  • Consistency is defined such that a sequence is consistent if it forms a valid sentence, and two sequences are consistent if merging them produces a valid sentence.
  • Perturbations are applied to sentences from the BillionWord corpus to generate negative (inconsistent) examples, while original sentences serve as positive examples.
  • Multiple sentence encoders are trained on individual consistency tasks (e.g., sequence consistency, pair consistency) and combined via multitask learning or model ensembling.
  • The final model uses a neural network encoder (e.g., BiLSTM) with a contrastive learning objective to maximize agreement on positive pairs and disagreement on negative pairs.
  • Performance is evaluated using the SentEval benchmark on 20 downstream tasks, including transfer learning and linguistic probing tasks.

Experimental results

Research questions

  • RQ1Can unsupervised learning of sentence representations be improved by enforcing consistency constraints on token sequences and their perturbations?
  • RQ2How does training on multiple consistency tasks—single sequences and paired sequences—affect the quality of learned sentence representations?
  • RQ3To what extent can multitask training and model ensembling improve performance over single-task training in unsupervised sentence representation learning?
  • RQ4How do the proposed methods compare to strong supervised and unsupervised baselines on transfer and linguistic probing benchmarks?

Key findings

  • The ensemble of ConsSent models achieved an average score of 84.7 on the SentEval benchmark, significantly outperforming the best single model (ConsSent-R(2) at 81.9) and existing unsupervised methods.
  • ConsSent-MT(3), trained in a multitask setting, achieved 82.4 average score, outperforming QuickThoughts by nearly 7 points and surpassing supervised baselines on NLI and machine translation.
  • Models trained on single sequences (e.g., ConsSent-D, ConsSent-R) consistently outperformed those trained on paired sequences (e.g., ConsSent-C, ConsSent-N), indicating stronger inductive bias from unpaired consistency.
  • The best individual model, ConsSent-R(2), achieved 81.9 average score, while ConsSent-D(5) led in five of the 10 linguistic probing tasks.
  • The language modeling objective baseline performed poorly, with an average score below 60, highlighting the limitations of LM-only pretraining for sentence representation learning.
  • ConsSent-R(2) and the ensemble model achieved higher average scores than the supervised Seq2Tree model on most tasks, demonstrating the effectiveness of the proposed unsupervised approach.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.