Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Puerto, Haritz, Gubri, Martin, Yun, Sangdoo, Oh, Seong Joon
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929694568349696
author Puerto, Haritz
Gubri, Martin
Yun, Sangdoo
Oh, Seong Joon
author_facet Puerto, Haritz
Gubri, Martin
Yun, Sangdoo
Oh, Seong Joon
contents Membership inference attacks (MIA) attempt to verify the membership of a given data sample in the training set for a model. MIA has become relevant in recent years, following the rapid development of large language models (LLM). Many are concerned about the usage of copyrighted materials for training them and call for methods for detecting such usage. However, recent research has largely concluded that current MIA methods do not work on LLMs. Even when they seem to work, it is usually because of the ill-designed experimental setup where other shortcut features enable "cheating." In this work, we argue that MIA still works on LLMs, but only when multiple documents are presented for testing. We construct new benchmarks that measure the MIA performances at a continuous scale of data samples, from sentences (n-grams) to a collection of documents (multiple chunks of tokens). To validate the efficacy of current MIA approaches at greater scales, we adapt a recent work on Dataset Inference (DI) for the task of binary membership detection that aggregates paragraph-level MIA features to enable MIA at document and collection of documents level. This baseline achieves the first successful MIA on pre-trained and fine-tuned LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2411_00154
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models
Puerto, Haritz
Gubri, Martin
Yun, Sangdoo
Oh, Seong Joon
Computation and Language
Artificial Intelligence
Machine Learning
Membership inference attacks (MIA) attempt to verify the membership of a given data sample in the training set for a model. MIA has become relevant in recent years, following the rapid development of large language models (LLM). Many are concerned about the usage of copyrighted materials for training them and call for methods for detecting such usage. However, recent research has largely concluded that current MIA methods do not work on LLMs. Even when they seem to work, it is usually because of the ill-designed experimental setup where other shortcut features enable "cheating." In this work, we argue that MIA still works on LLMs, but only when multiple documents are presented for testing. We construct new benchmarks that measure the MIA performances at a continuous scale of data samples, from sentences (n-grams) to a collection of documents (multiple chunks of tokens). To validate the efficacy of current MIA approaches at greater scales, we adapt a recent work on Dataset Inference (DI) for the task of binary membership detection that aggregates paragraph-level MIA features to enable MIA at document and collection of documents level. This baseline achieves the first successful MIA on pre-trained and fine-tuned LLMs.
title Scaling Up Membership Inference: When and How Attacks Succeed on Large Language Models
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2411.00154