Memorization in NLP Fine-tuning Methods

Fatemehsadat Mireshghallah, Archit Uniyal, Tianhao Wang, David Evans, Taylor Berg-Kirkpatrick
5/25/2022
cs.CLcs.LG

Official code: mireshghallah/ft-memorization (13 stars, Jupyter Notebook, last commit 2022-10-20).

Abstract

Large language models are shown to present privacy risks through memorization of training data, and several recent works have studied such risks for the pre-training phase. Little attention, however, has been given to the fine-tuning phase and it is not well understood how different fine-tuning methods (such as fine-tuning the full model, the model head, and adapter) compare in terms of memorization risk.

Show full abstract

This presents increasing concern as the "pre-train and fine-tune" paradigm proliferates. In this paper, we empirically study memorization of fine-tuning methods using membership inference and extraction attacks, and show that their susceptibility to attacks is very different. We observe that fine-tuning the head of the model has the highest susceptibility to attacks, whereas fine-tuning smaller adapters appears to be less vulnerable to known extraction attacks.

View on arXivView PDF

Code Implementations(1)

136Jupyter Notebook, ShellMay 24, 20224 years ago

Similar Papers

Cite this paper

@article{mireshghallah2022memorization,
  title  = {Memorization in NLP Fine-tuning Methods},
  author = {Fatemehsadat Mireshghallah and Archit Uniyal and Tianhao Wang and David Evans and Taylor Berg-Kirkpatrick},
  year   = {2022},
  eprint = {2205.12506},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12506}
}

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

Discussion