Order-of-magnitude speedup for membership inference attacks on large language modelsOrder of Magnitude Speedups for LLM Membership Inference
Building on recent work on membership inference attacks based on quantile regression, researchers Rongting Zhang, Martin Bertran, and Aaron Roth propose a low-cost method that replaces the multiple costly shadow models relied on by traditional methods with an ensemble of small quantile regression models to determine whether a given document belongs to a large language model's training set. On fine-tuned models from different model families such as OPT, Pythia, and Llama, and on multiple datasets, the method achieves accuracy comparable to or higher than state-of-the-art shadow model methods, with computational cost as low as 6% of the latter. The method performs better on target models trained for multiple epochs, and is robust to architecture misspecification, i.e., it can mount effective attacks even when using a different tokenizer and architecture from the target, without needing to know the target model.