An Embarrassingly Simple Approach for Transfer Learning from Pretrained Language Models

Alexandra Chronopoulou, Christos Baziotis, Alexandros Potamianos
2/27/2019
cs.CLcs.LG

Official code: alexandra-chron/siatl (96 stars, Python, last commit 2023-11-02).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorch source code of NAACL 2019 paper "An Embarrassingly Simple Approach for Transfer Learning from Pretrained Language Models"

9613PythonApr 3, 20193 years ago

Similar Papers

Cite this paper

@article{chronopoulou2019embarrassingly,
  title  = {An Embarrassingly Simple Approach for Transfer Learning from Pretrained Language Models},
  author = {Alexandra Chronopoulou and Christos Baziotis and Alexandros Potamianos},
  year   = {2019},
  eprint = {1902.10547},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.10547}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1902.10547.svg)](https://codeofpaper.com/paper/1902.10547)

Discussion