Synthetic Data Can Mislead Evaluations: Membership Inference as Machine Text Detection
Ali Naseh, Niloofar Mireshghallah
TL;DR
This paper investigates the reliability of membership inference attacks (MIAs) for evaluating memorization in large language models when synthetic data are used for non-member sets. It shows that MIAs effectively act as detectors of machine-generated text, misclassifying synthetic continuations as training members across architectures, which can drive AUC values below random in many cases. The study also links MIAs to zero-shot machine-generated text detectors, arguing that both rely on similar probability-surface signals, which synthetic text naturally occupies. The results imply that synthetic-data–driven evaluation protocols can yield false conclusions about memorization or data leakage and motivate approaches like compression-based normalization and redesigned non-member selection to restore robustness.
Abstract
Recent work shows membership inference attacks (MIAs) on large language models (LLMs) produce inconclusive results, partly due to difficulties in creating non-member datasets without temporal shifts. While researchers have turned to synthetic data as an alternative, we show this approach can be fundamentally misleading. Our experiments indicate that MIAs function as machine-generated text detectors, incorrectly identifying synthetic data as training samples regardless of the data source. This behavior persists across different model architectures and sizes, from open-source models to commercial ones such as GPT-3.5. Even synthetic text generated by different, potentially larger models is classified as training data by the target model. Our findings highlight a serious concern: using synthetic data in membership evaluations may lead to false conclusions about model memorization and data leakage. We caution that this issue could affect other evaluations using model signals such as loss where synthetic or machine-generated translated data substitutes for real-world samples.
