Context-Aware Membership Inference Attacks against Pre-trained Large Language Models

1Mohamed bin Zayed University of Artificial Intelligence, 2Brave, 3Imperial College London 4National University of Singapore

We propose CAMIA (Context-Aware Membership Inference Attack), a simple and effective method to infer if a large language model was pretrained on the given text.

BibTeX

@article{chang2024context,
  title={Context-aware membership inference attacks against pre-trained large language models},
  author={Chang, Hongyan and Shamsabadi, Ali Shahin and Katevas, Kleomenis and Haddadi, Hamed and Shokri, Reza},
  booktitle={Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
  year={2025}
}