Skip to main content
QUICK REVIEW

[Paper Review] An Embarrassingly Simple Approach for Transfer Learning from Pretrained Language Models

Alexandra Chronopoulou, Christos Baziotis|arXiv (Cornell University)|Feb 27, 2019
Topic ModelingComputer Science33 references19 citations
TL;DR

This paper proposes SiATL, a simple yet effective transfer learning method that fine-tunes pretrained language models for text classification by combining a task-specific loss with a decaying auxiliary language modeling loss. The approach prevents catastrophic forgetting, achieves state-of-the-art performance on multiple affective and text classification tasks, and outperforms complex methods like ULMFiT even with limited training data.

ABSTRACT

A growing number of state-of-the-art transfer learning methods employ language models pretrained on large generic corpora. In this paper we present a conceptually simple and effective transfer learning approach that addresses the problem of catastrophic forgetting. Specifically, we combine the task-specific optimization function with an auxiliary language model objective, which is adjusted during the training process. This preserves language regularities captured by language models, while enabling sufficient adaptation for solving the target task. Our method does not require pretraining or finetuning separate components of the network and we train our models end-to-end in a single step. We present results on a variety of challenging affective and text classification tasks, surpassing well established transfer learning methods with greater level of complexity.

Motivation & Objective

  • To address catastrophic forgetting in transfer learning from pretrained language models during fine-tuning.
  • To develop a computationally efficient and conceptually simple method that avoids complex scheduling or multi-stage training.
  • To improve performance on low-resource text classification tasks by preserving general language regularities while adapting to task-specific distributions.
  • To demonstrate that end-to-end training with a weighted auxiliary loss can outperform more complex transfer learning pipelines.

Proposed method

  • Transfer weights from a pretrained language model (trained on a Twitter corpus) to a classifier with a task-specific recurrent layer and a classification head.
  • Train the entire model end-to-end using a multi-task objective: a weighted sum of the task-specific classification loss and an auxiliary language modeling loss.
  • Gradually decay the weighting coefficient γ of the language modeling loss from an initial value (e.g., 0.2) to a final value (e.g., 0.1) over training epochs to reduce its influence over time.
  • Apply sequential unfreezing to gradually update the layers of the pretrained language model, starting from the top, to allow domain adaptation without overwriting learned representations.
  • Use a single-step, end-to-end training process without requiring separate pretraining, fine-tuning, or transfer stages.
  • Control the trade-off between preserving language model knowledge and adapting to the target task via the hyperparameter γ, which is decayed over time.

Experimental results

Research questions

  • RQ1Can a simple, single-step training procedure with an auxiliary language modeling objective effectively prevent catastrophic forgetting during transfer learning from pretrained language models?
  • RQ2How does the proposed method compare in performance to more complex transfer learning pipelines like ULMFiT, especially under low-resource conditions?
  • RQ3Does the use of a decaying auxiliary loss improve generalization and model robustness across diverse text classification tasks?
  • RQ4To what extent does sequential unfreezing enhance performance when there is a domain mismatch between the pretraining and target datasets?
  • RQ5Can the method achieve competitive results without requiring task-specific architectural modifications or complex learning rate scheduling?

Key findings

  • SiATL outperforms ULMFiT across all evaluated text classification tasks, including on small datasets with fewer than 1,000 training examples.
  • On the SCv2 dataset, SiATL achieves performance very close to the state-of-the-art model (Ilic et al., 2018), demonstrating strong low-resource generalization.
  • The auxiliary language modeling loss significantly improves performance: the P-LM + aux model outperforms the P-LM model on all downstream tasks, confirming its role in mitigating catastrophic forgetting.
  • For the SCv1 dataset, SiATL achieves a 7% performance boost, indicating that the auxiliary loss enables better adaptation when the target vocabulary is limited.
  • Sequential unfreezing leads to substantial improvements on non-Twitter domain tasks (e.g., PsychExp, SCv2), highlighting its importance in domain adaptation.
  • The method is robust to the decay schedule of γ: exponential decay performs similarly to linear decay, indicating low sensitivity to hyperparameter 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.