Skip to main content
QUICK REVIEW

[Paper Review] On the Effectiveness of Adapter-based Tuning for Pretrained Language Model Adaptation

Ruidan He, Linlin Liu|arXiv (Cornell University)|Jun 6, 2021
Topic ModelingComputer Science24 references14 citations
TL;DR

This paper investigates adapter-based tuning as a parameter-efficient alternative to full fine-tuning for pretrained language models (PrLMs), demonstrating that it better regularizes training by reducing representation deviation from the original PrLM. It shows adapters outperform fine-tuning in low-resource and cross-lingual settings, with improved robustness to learning rate changes and reduced overfitting.

ABSTRACT

Adapter-based tuning has recently arisen as an alternative to fine-tuning. It works by adding light-weight adapter modules to a pretrained language model (PrLM) and only updating the parameters of adapter modules when learning on a downstream task. As such, it adds only a few trainable parameters per new task, allowing a high degree of parameter sharing. Prior studies have shown that adapter-based tuning often achieves comparable results to fine-tuning. However, existing work only focuses on the parameter-efficient aspect of adapter-based tuning while lacking further investigation on its effectiveness. In this paper, we study the latter. We first show that adapter-based tuning better mitigates forgetting issues than fine-tuning since it yields representations with less deviation from those generated by the initial PrLM. We then empirically compare the two tuning methods on several downstream NLP tasks and settings. We demonstrate that 1) adapter-based tuning outperforms fine-tuning on low-resource and cross-lingual tasks; 2) it is more robust to overfitting and less sensitive to changes in learning rates.

Motivation & Objective

  • To evaluate whether adapter-based tuning offers advantages beyond parameter efficiency in PrLM adaptation.
  • To investigate if adapters mitigate catastrophic forgetting better than full fine-tuning.
  • To compare the generalization and robustness of adapter-based tuning versus fine-tuning across diverse NLP tasks and settings.
  • To analyze the effectiveness of adapters in low-resource and cross-lingual transfer learning scenarios.
  • To assess sensitivity to hyperparameters such as learning rate and model capacity.

Proposed method

  • Inserts lightweight adapter modules—consisting of a down-projection, a non-linearity (tanh), and an up-projection—between transformer layers of a pretrained language model.
  • Freezes all original PrLM parameters and only updates the adapter module parameters during fine-tuning.
  • Uses Representational Similarity Analysis (RSA) to measure the deviation of hidden representations from the original PrLM after tuning.
  • Employs a skip-connection in the adapter to allow identity mapping when adapter weights are near zero, preserving initial representations.
  • Compares performance across multiple NLP tasks using BERT-base, including GLUE, XNLI, and downstream classification tasks.
  • Evaluates generalization and stability under varying learning rates, data sizes, and zero-shot cross-lingual transfer settings.

Experimental results

Research questions

  • RQ1Does adapter-based tuning reduce representation deviation from the original PrLM compared to fine-tuning, indicating better regularization?
  • RQ2How does adapter-based tuning perform relative to fine-tuning in low-resource and high-resource settings?
  • RQ3Does adapter-based tuning show improved robustness to hyperparameter changes, particularly learning rate variations?
  • RQ4How effective is adapter-based tuning in zero-shot cross-lingual transfer learning compared to fine-tuning?
  • RQ5Can adapter-based tuning outperform fine-tuning when combined with regularization techniques like mixout?

Key findings

  • Adapter-based tuning reduces representation deviation from the original PrLM more effectively than fine-tuning, indicating better regularization and reduced forgetting.
  • On low-resource settings, adapter-based tuning outperforms fine-tuning, especially on domain-specific tasks, with performance gains diminishing as data size increases.
  • Adapter-based tuning achieves superior results on zero-shot cross-lingual transfer tasks across all data settings, demonstrating strong generalization to unseen languages.
  • Adapter-based tuning is significantly more robust to learning rate hyperparameter changes than fine-tuning, showing less performance variance across different learning rates.
  • In ablation with mixout regularization, adapter-based tuning alone achieves better performance than mixout-regularized fine-tuning, and applying mixout to adapters degrades performance due to limited trainable parameters.
  • The performance gap between adapters and fine-tuning is most pronounced in low-resource and cross-lingual scenarios, highlighting adapters’ strength in parameter-efficient adaptation.

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.