Do Membership Inference Attacks Work on Large Language Models?

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Duan, Michael, Suri, Anshuman, Mireshghallah, Niloofar, Min, Sewon, Shi, Weijia, Zettlemoyer, Luke, Tsvetkov, Yulia, Choi, Yejin, Evans, David, Hajishirzi, Hannaneh
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916395359404032
author Duan, Michael
Suri, Anshuman
Mireshghallah, Niloofar
Min, Sewon
Shi, Weijia
Zettlemoyer, Luke
Tsvetkov, Yulia
Choi, Yejin
Evans, David
Hajishirzi, Hannaneh
author_facet Duan, Michael
Suri, Anshuman
Mireshghallah, Niloofar
Min, Sewon
Shi, Weijia
Zettlemoyer, Luke
Tsvetkov, Yulia
Choi, Yejin
Evans, David
Hajishirzi, Hannaneh
contents Membership inference attacks (MIAs) attempt to predict whether a particular datapoint is a member of a target model's training data. Despite extensive research on traditional machine learning models, there has been limited work studying MIA on the pre-training data of large language models (LLMs). We perform a large-scale evaluation of MIAs over a suite of language models (LMs) trained on the Pile, ranging from 160M to 12B parameters. We find that MIAs barely outperform random guessing for most settings across varying LLM sizes and domains. Our further analyses reveal that this poor performance can be attributed to (1) the combination of a large dataset and few training iterations, and (2) an inherently fuzzy boundary between members and non-members. We identify specific settings where LLMs have been shown to be vulnerable to membership inference and show that the apparent success in such settings can be attributed to a distribution shift, such as when members and non-members are drawn from the seemingly identical domain but with different temporal ranges. We release our code and data as a unified benchmark package that includes all existing MIAs, supporting future work.
format Preprint
id arxiv_https___arxiv_org_abs_2402_07841
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Do Membership Inference Attacks Work on Large Language Models?
Duan, Michael
Suri, Anshuman
Mireshghallah, Niloofar
Min, Sewon
Shi, Weijia
Zettlemoyer, Luke
Tsvetkov, Yulia
Choi, Yejin
Evans, David
Hajishirzi, Hannaneh
Computation and Language
Membership inference attacks (MIAs) attempt to predict whether a particular datapoint is a member of a target model's training data. Despite extensive research on traditional machine learning models, there has been limited work studying MIA on the pre-training data of large language models (LLMs). We perform a large-scale evaluation of MIAs over a suite of language models (LMs) trained on the Pile, ranging from 160M to 12B parameters. We find that MIAs barely outperform random guessing for most settings across varying LLM sizes and domains. Our further analyses reveal that this poor performance can be attributed to (1) the combination of a large dataset and few training iterations, and (2) an inherently fuzzy boundary between members and non-members. We identify specific settings where LLMs have been shown to be vulnerable to membership inference and show that the apparent success in such settings can be attributed to a distribution shift, such as when members and non-members are drawn from the seemingly identical domain but with different temporal ranges. We release our code and data as a unified benchmark package that includes all existing MIAs, supporting future work.
title Do Membership Inference Attacks Work on Large Language Models?
topic Computation and Language
url https://arxiv.org/abs/2402.07841