Skip to main content
QUICK REVIEW

[Paper Review] AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuning

Yaqing Wang, Agarwal, Sahaj|arXiv (Cornell University)|May 24, 2022
Topic ModelingComputer Science12 citations
TL;DR

AdaMix proposes a parameter-efficient fine-tuning method that improves performance by training a mixture of adaptation modules—such as adapters or LoRA—within each Transformer layer, using stochastic routing to select one module per input while maintaining the same FLOPs and trainable parameter count as a single module. By tuning only 0.1–0.2% of the model parameters, AdaMix outperforms both standard full fine-tuning and state-of-the-art PEFT methods on NLU and NLG tasks.

ABSTRACT

Standard fine-tuning of large pre-trained language models (PLMs) for downstream tasks requires updating hundreds of millions to billions of parameters, and storing a large copy of the PLM weights for every task resulting in increased cost for storing, sharing and serving the models. To address this, parameter-efficient fine-tuning (PEFT) techniques were introduced where small trainable components are injected in the PLM and updated during fine-tuning. We propose AdaMix as a general PEFT method that tunes a mixture of adaptation modules -- given the underlying PEFT method of choice -- introduced in each Transformer layer while keeping most of the PLM weights frozen. For instance, AdaMix can leverage a mixture of adapters like Houlsby or a mixture of low rank decomposition matrices like LoRA to improve downstream task performance over the corresponding PEFT methods for fully supervised and few-shot NLU and NLG tasks. Further, we design AdaMix such that it matches the same computational cost and the number of tunable parameters as the underlying PEFT method. By only tuning 0.1-0.2% of PLM parameters, we show that AdaMix outperforms SOTA parameter-efficient fine-tuning and full model fine-tuning for both NLU and NLG tasks.

Motivation & Objective

  • To address the high storage, sharing, and serving costs of full fine-tuning in large pre-trained language models (PLMs), which require updating and storing billions of parameters per task.
  • To improve the performance of existing parameter-efficient fine-tuning (PEFT) methods, which typically underperform full fine-tuning despite reducing trainable parameters.
  • To enable a general-purpose PEFT framework that enhances any underlying PEFT method—such as adapters or LoRA—through a mixture of adaptation modules without increasing computational cost.
  • To maintain efficiency by keeping the number of trainable parameters and FLOPs identical to the base PEFT method, while improving robustness and performance via module merging and consistency regularization.

Proposed method

  • AdaMix introduces multiple adaptation modules (e.g., adapters or LoRA matrices) in each Transformer layer, replacing the single module used in standard PEFT.
  • It employs stochastic routing to select one active adaptation module per input, inspired by mixture-of-experts (MoE), ensuring the same FLOP count as a single module.
  • Consistency regularization and shared initialization across multiple randomly initialized modules help stabilize training despite stochastic routing.
  • A post-training merging mechanism averages weights from multiple adaptation modules into a single effective module, preserving the same number of trainable parameters as the base PEFT method.
  • The merging process is inspired by model weight averaging (e.g., model soups), applied specifically to PEFT adaptation modules rather than full models.
  • The method is orthogonal to existing PEFT techniques and can be applied on top of any PEFT method, including adapters, LoRA, prompt-tuning, or prefix-tuning.

Experimental results

Research questions

  • RQ1Can a mixture of adaptation modules improve downstream performance in parameter-efficient fine-tuning without increasing computational cost?
  • RQ2Does stochastic routing across multiple adaptation modules lead to better generalization and robustness compared to single-module PEFT?
  • RQ3Can consistency regularization and weight merging stabilize training and preserve performance when using multiple randomly initialized adaptation modules?
  • RQ4Does AdaMix outperform both standard full fine-tuning and state-of-the-art PEFT methods while tuning only 0.1–0.2% of the model parameters?
  • RQ5Can the AdaMix framework be generalized across different PEFT methods such as adapters and LoRA?

Key findings

  • AdaMix outperforms full model fine-tuning on the GLUE benchmark using RoBERTa-large, achieving 91.0% average score with only 0.1–0.2% of parameters tuned.
  • On the SuperGLUE benchmark, AdaMix with adapters achieves 90.7% average score, surpassing the 89.2% of standard LoRA and the 90.9% of standard adapters.
  • For the CNN/DailyMail summarization task, AdaMix with LoRA achieves a ROUGE-L score of 42.1, exceeding the 40.8 of standard LoRA and the 41.5 of standard adapters.
  • AdaMix maintains the same FLOPs and number of trainable parameters as the base PEFT method, while improving performance across both NLU and NLG tasks.
  • The method achieves state-of-the-art results on both GLUE and SuperGLUE benchmarks, even when tuning only 0.1–0.2% of the model parameters.
  • The merging mechanism successfully reduces storage cost by combining multiple adaptation modules into one, without performance degradation.

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.