An Empirical Study on the Transferability of Transformer Modules in Parameter-Efficient Fine-Tuning

Mohammad Akbar-Tajari, Sara Rajaee, Mohammad Taher Pilehvar
2/1/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Parameter-efficient fine-tuning approaches have recently garnered a lot of attention. Having considerably lower number of trainable weights, these methods can bring about scalability and computational effectiveness. In this paper, we look for optimal sub-networks and investigate the capability of different transformer modules in transferring knowledge from a pre-trained model to a downstream task. Our empirical results suggest that every transformer module in BERT can act as a winning ticket: fine-tuning each specific module while keeping the rest of the network frozen can lead to comparable performance to the full fine-tuning. Among different modules, LayerNorms exhibit the best capacity for knowledge transfer with limited trainable weights, to the extent that, with only 0.003% of all parameters in the layer-wise analysis, they show acceptable performance on various target tasks. On the reasons behind their effectiveness, we argue that their notable performance could be attributed to their high-magnitude weights compared to that of the other modules in the pre-trained BERT.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{akbartajari2023empirical,
  title  = {An Empirical Study on the Transferability of Transformer Modules in Parameter-Efficient Fine-Tuning},
  author = {Mohammad Akbar-Tajari and Sara Rajaee and Mohammad Taher Pilehvar},
  year   = {2023},
  eprint = {2302.00378},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.00378v2}
}

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

Discussion