Investigating Transferability in Pretrained Language Models

Alex Tamkin, Trisha Singh, Davide Giovanardi, Noah Goodman


Abstract
How does language model pretraining help transfer learning? We consider a simple ablation technique for determining the impact of each pretrained layer on transfer task performance. This method, partial reinitialization, involves replacing different layers of a pretrained model with random weights, then finetuning the entire model on the transfer task and observing the change in performance. This technique reveals that in BERT, layers with high probing performance on downstream GLUE tasks are neither necessary nor sufficient for high accuracy on those tasks. Furthermore, the benefit of using pretrained parameters for a layer varies dramatically with finetuning dataset size: parameters that provide tremendous performance improvement when data is plentiful may provide negligible benefits in data-scarce settings. These results reveal the complexity of the transfer learning process, highlighting the limitations of methods that operate on frozen models or single data samples.
Anthology ID:
2020.findings-emnlp.125
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2020
Month:
November
Year:
2020
Address:
Online
Editors:
Trevor Cohn, Yulan He, Yang Liu
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
1393–1401
Language:
URL:
https://aclanthology.org/2020.findings-emnlp.125
DOI:
10.18653/v1/2020.findings-emnlp.125
Bibkey:
Cite (ACL):
Alex Tamkin, Trisha Singh, Davide Giovanardi, and Noah Goodman. 2020. Investigating Transferability in Pretrained Language Models. In Findings of the Association for Computational Linguistics: EMNLP 2020, pages 1393–1401, Online. Association for Computational Linguistics.
Cite (Informal):
Investigating Transferability in Pretrained Language Models (Tamkin et al., Findings 2020)
Copy Citation:
PDF:
https://aclanthology.org/2020.findings-emnlp.125.pdf
Code
 dgiova/bert-lm-transferability
Data
CoLAGLUEQNLISSTSST-2