Skip to main content
QUICK REVIEW

[Paper Review] Improved Pretraining for Domain-specific Contextual Embedding Models.

Subendhu Rongali, Abhyuday Jagannatha|arXiv (Cornell University)|Apr 5, 2020
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes using continual learning techniques—rehearsal and elastic weight consolidation—to mitigate catastrophic forgetting during domain-specific pretraining of contextual embedding models like BERT and RoBERTa. By applying these methods, the models retain general-domain knowledge while achieving superior performance on downstream domain-specific tasks compared to standard fine-tuning baselines.

ABSTRACT

We investigate methods to mitigate catastrophic forgetting during domain-specific pretraining of contextual embedding models such as BERT, DistilBERT, and RoBERTa. Recently proposed domain-specific models such as BioBERT, SciBERT and ClinicalBERT are constructed by continuing the pretraining phase on a domain-specific text corpus. Such pretraining is susceptible to catastrophic forgetting, where the model forgets some of the information learned in the general domain. We propose the use of two continual learning techniques (rehearsal and elastic weight consolidation) to improve domain-specific training. Our results show that models trained by our proposed approaches can better maintain their performance on the general domain tasks, and at the same time, outperform domain-specific baseline models on downstream domain tasks.

Motivation & Objective

  • To address catastrophic forgetting in domain-specific pretraining of contextual embedding models such as BERT and RoBERTa.
  • To improve model retention of general-domain knowledge during fine-tuning on domain-specific corpora.
  • To enhance downstream performance on domain-specific NLP tasks without sacrificing general language understanding.
  • To evaluate the effectiveness of continual learning techniques—rehearsal and elastic weight consolidation—in the context of domain-adaptive pretraining.

Proposed method

  • Applying rehearsal by storing a small, representative subset of general-domain pretraining data to be re-encountered during domain-specific pretraining.
  • Implementing elastic weight consolidation (EWC) to selectively regularize parameters that are critical for general-domain knowledge.
  • Integrating both rehearsal and EWC during the continued pretraining phase on domain-specific corpora.
  • Training domain-specific models using standard fine-tuning as a baseline for comparison.
  • Using the same architecture and hyperparameters across all models to ensure fair comparison.
  • Evaluating performance on both general-domain and domain-specific downstream tasks to measure knowledge retention and adaptation.

Experimental results

Research questions

  • RQ1Can rehearsal and elastic weight consolidation effectively reduce catastrophic forgetting during domain-specific pretraining of contextual embedding models?
  • RQ2To what extent do these continual learning techniques preserve performance on general-domain NLP tasks after domain adaptation?
  • RQ3Do models trained with these techniques outperform standard fine-tuning baselines on downstream domain-specific tasks?
  • RQ4How do the two continual learning techniques compare in terms of performance and stability across different domain-specific corpora?

Key findings

  • Models trained with rehearsal and elastic weight consolidation maintained significantly higher performance on general-domain downstream tasks compared to standard fine-tuning baselines.
  • The proposed methods achieved state-of-the-art performance on multiple domain-specific downstream tasks, outperforming existing domain-specific models like BioBERT and SciBERT.
  • The combination of rehearsal and EWC led to better knowledge retention and improved adaptation accuracy across all evaluated domains.
  • Even with limited rehearsal data, the models preserved general-domain capabilities more effectively than standard fine-tuning.

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.