Membership inference attacks (MIAs) on large language models (LLMs) compromise privacy by identifying whether a specific data sample was included in the model's training dataset, exploiting the empirical observation that LLMs remember the data they were trained on. The goal of MIA is to detect a signal during the inference phase that indicates whether the data were memorized. However, existing research doubts that MIA works reliably on LLMs, and if so, it requires a large number of documents. In this work, we address two open questions. First, by proposing ETP-MIA which significantly outperforms the existing state of the art, we demonstrate that the MIA works on LLMs even on short lengths of target text. Second, we test ETP-MIA in a challenging real-world scenario by auditing LLaMA3-70B for the use of copyrighted books. We identify several books whose memorization signals are consistent with membership in the pre-training data, and we show with additional control experiments that these signals cannot be explained by the age of the text or other properties unrelated to membership, offering a valuable method for real-world privacy auditing.
翻译:暂无翻译