Skip to main content
QUICK REVIEW

[Paper Review] Data-Efficient Pretraining via Contrastive Self-Supervision

Nils Rethmeier, Isabelle Augenstein|arXiv (Cornell University)|Oct 2, 2020
Topic ModelingComputer Science41 references8 citations
TL;DR

This paper proposes CLESS, a data- and compute-efficient contrastive self-supervision method for NLP pretraining that uses only 60MB of task-internal text, outperforming RoBERTa—which was pretrained on 160GB of external data—across zero-shot, few-shot, and long-tail generalization tasks, while training in 1/5th the time. The method enables effective self-supervised learning without large-scale pretraining data or model size, demonstrating that increased self-supervision can replace data and parameter scaling for better low-resource and fair representation learning.

ABSTRACT

For natural language processing `text-to-text' tasks, the prevailing approaches heavily rely on pretraining large self-supervised models on increasingly larger `task-external' data. Transfer learning from high-resource pretraining works well, but research has focused on settings with very large data and compute requirements, while the potential of efficient low-resource learning, without large `task-external' pretraining, remains under-explored. In this work, we evaluate against three core challenges for resource efficient learning. Namely, we analyze: (1) pretraining data ($X$) efficiency; (2) zero to few-shot label ($Y$) efficiency; and (3) long-tail generalization, since long-tail preservation has been linked to algorithmic fairness and because data in the tail is limited by definition. To address these challenges, we propose a data and compute efficient self-supervised, contrastive text encoder, pretrained on 60MB of `task-internal' text data, and compare it to RoBERTa, which was pretrained on 160GB of `task-external' text. We find our method outperforms RoBERTa, while pretraining and fine-tuning in a 1/5th of RoBERTa's fine-tuning time.

Motivation & Objective

  • To investigate whether self-supervised pretraining can be effective with minimal data and compute, challenging the prevailing reliance on large-scale 'task-external' pretraining.
  • To evaluate data efficiency (X-efficiency), label efficiency (Y-efficiency), and long-tail generalization performance in low-resource settings.
  • To address algorithmic fairness by preserving rare class information, which is often neglected in large-scale pretraining.
  • To demonstrate that contrastive self-supervision can replace large-scale pretraining data and model size for improved efficiency and fairness.
  • To develop a self-supervised, zero-shot capable model that is directly transferable to downstream tasks without relying on supervised pretraining.

Proposed method

  • Proposes CLESS, a contrastive self-supervision objective (Contrastive Learning-Data Efficient Self-Supervision) that learns from 60MB of task-internal text, avoiding external pretraining data.
  • Uses a noise-contrastive estimation-based contrastive objective in embedding space, enabling infinite class sets and reducing compute costs compared to softmax-based objectives.
  • Pretrains a small model (up to 10M parameters) on self-supervised pseudo-labels generated from the same task data, increasing signal diversity without external data.
  • Enables zero-shot prediction by directly transferring the self-supervised representation head to downstream tasks, avoiding biases introduced by fine-tuning.
  • Balances class frequency across five bins (head to tail) to fairly evaluate long-tail generalization, with tail bins containing 80.7% of the 1,315 classes.
  • Compares CLESS against RoBERTa (125M parameters, 160GB pretraining data) across zero-shot, few-shot, and long-tail generalization benchmarks.

Experimental results

Research questions

  • RQ1Can a self-supervised model achieve strong performance with only 60MB of task-internal data, outperforming models pretrained on 160GB of external data?
  • RQ2Does contrastive self-supervision enable better zero-shot and few-shot generalization than standard masked language modeling, especially with limited labeled data?
  • RQ3Can a small, contrastively pre-trained model generalize better to long-tail classes than a large, externally pre-trained model like RoBERTa?
  • RQ4Does increasing self-supervision signal and model size improve long-tail generalization, even with minimal pretraining data?
  • RQ5Can contrastive self-supervision replace the need for large-scale pretraining data and model size to achieve efficient and fair representation learning?

Key findings

  • CLESS outperforms RoBERTa in zero-shot learning, achieving a 49% improvement in performance when model size is increased by 25%.
  • In few-shot learning, CLESS pretrained on 60MB of task-internal data outperforms RoBERTa fine-tuned on 160GB of external data, even with only 10% of labeled instances.
  • The largest CLESS model (10M parameters) achieves an average micro-F1 of .251 on long-tail class bins, compared to RoBERTa’s .173, outperforming it on 99.5% of classes.
  • CLESS preserves long-tail information significantly better than RoBERTa, despite using 3 orders of magnitude less pretraining data and fewer parameters, contradicting the assumption that larger data always improves rare class learning.
  • Increasing the number of self-supervised pseudo-labels and model size improves long-tail generalization, showing that signal quantity and model scale in self-supervision can compensate for lack of data scale.
  • CLESS pretraining and fine-tuning take only 15+10 hours, compared to RoBERTa’s 126-hour fine-tuning time alone, demonstrating a 5x reduction in training cost.

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.