atlas

Research map / Large language models / Language, safety and interpretability

LLM Dataset Inference: Did you train on my dataset?

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that membership inference attacks on LLMs mostly detect distribution shift rather than membership, and proposes dataset inference that aggregates many MIA scores with a linear regressor and a statistical t-test to detect whether a suspect dataset was used to train Pythia models.

Problem

Membership inference attacks on LLMs trained for a single epoch on web-scale data appear successful only due to distribution shift between members and non-members (e.g., WikiMIA temporal shift), and fail on IID splits; a method is needed to attribute whole datasets instead of individual sequences.

Approach

Instead of classifying individual sequences, aggregate features from many MIAs (52 in total) over a suspect dataset, learn per-distribution weights with a linear regressor on private validation vs. suspect splits, and run a t-test on held-out samples, with p-values combined across random seeds.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Aggregate MIA features selectively with a linear regressor and test the held-out scoresPythia-12B · Pile train vs. validation subsetsp-value: below 0.1Helped
Apply dataset inference to two validation subsets rather than train versus validationPythia-12B · Pile validation subset vs. validation subsetp-value: higher than 0.1No clear effect
Evaluate Min-k% Prob on IID train and validation splits instead of temporally shifted WikiMIA dataPythia · Pile Wikipedia IID train vs. validationAUC: close to 0.7 -> close to 0.5Hurt
Use Pile validation examples as the suspect set against post-2023 WikipediaMin-k% Prob on Pythia · Pile Wikipedia validation vs. post-2023 WikipediaAUC: 0.7Hurt
Use one MIA across different data distributionsMembership inference attacks · Pile subsetsAUC: less than 0.5Mixed
Use a single MIA feature instead of selectively combining features with a linear model (ablation)Dataset inference · Pile subsetsdataset inference successMixed
Replace outlier removal and normalization with mean correction or outlier clipping (ablation)Dataset inference · Pile subsetsfalse positivesHurt
Normalize feature values (ablation)Dataset inference · Pile subsetsmaximum p-valueHelped
Increase the number of data points (ablation)Dataset inference · Pile subsetsp-valueHelped
Use a larger language model (ablation)Dataset inference · Pile subsetsp-valueMixed
Use a non-deduplicated rather than deduplicated training set (ablation)Dataset inference · Pile subsets with 500 query pointsp-valueHelped

Surprising findings

Limitations

Experimental setup

Datasets: The Pile (20 subsets) WikiMIA

Benchmarks: The Pile (20 subsets, train vs validation) WikiMIA

Metrics: AUC p-value false positive rate (validation vs validation p-values)

Baselines: Min-k% Prob DetectGPT perplexity thresholding zlib ratio reference model based MIAs perturbation based MIAs

Builds on: dataset inference (Maini et al. 2021) Min-k% Prob DetectGPT zlib ratio

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy