Inducer-tuning: Connecting Prefix-tuning and Adapter-tuning

Yifan Chen, Devamanyu Hazarika, Mahdi Namazifar, Yang Liu, Di Jin +1 more
10/26/2022
cs.CLcs.LG
lora-peft-merging

Official code: ychen-stat-ml/kernel-adapters (11 stars, Python, last commit 2023-02-06).

Abstract

Prefix-tuning, or more generally continuous prompt tuning, has become an essential paradigm of parameter-efficient transfer learning. Using a large pre-trained language model (PLM), prefix-tuning can obtain strong performance by training only a small portion of parameters.

Show full abstract

In this paper, we propose to understand and further develop prefix-tuning through the kernel lens. Specifically, we make an analogy between \textit{prefixes} and \textit{inducing variables} in kernel methods and hypothesize that \textit{prefixes} serving as \textit{inducing variables} would improve their overall mechanism. From the kernel estimator perspective, we suggest a new variant of prefix-tuning -- \textit{inducer-tuning}, which shares the exact mechanism as prefix-tuning while leveraging the residual form found in adapter-tuning. This mitigates the initialization issue in prefix-tuning. Through comprehensive empirical experiments on natural language understanding and generation tasks, we demonstrate that inducer-tuning can close the performance gap between prefix-tuning and fine-tuning.

View on arXivView PDF

Code Implementations(1)

Code for "Inducer-tuning: Connecting Prefix-tuning and Adapter-tuning" (EMNLP 2022) and "Empowering Parameter-Efficient Transfer Learning by Recognizing the Kernel Structure in Attention" (NAACL 2022 Findings)

110Python, ShellOct 21, 20223 years ago

Similar Papers

Cite this paper

@article{chen2022inducertuning,
  title  = {Inducer-tuning: Connecting Prefix-tuning and Adapter-tuning},
  author = {Yifan Chen and Devamanyu Hazarika and Mahdi Namazifar and Yang Liu and Di Jin and Dilek Hakkani-Tur},
  year   = {2022},
  eprint = {2210.14469},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.14469}
}

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/2210.14469.svg)](https://codeofpaper.com/paper/2210.14469)

Discussion