ACL 2025finding0 citations

R.R.: Unveiling LLM Training Privacy through Recollection and Ranking

Wenlong Meng, Guo Zhenyuan, Lenan Wu, Chen Gong, Wenyan Liu, Weixian Li, Chengkun Wei, Wenzhi Chen

Abstract

Large Language Models (LLMs) pose significant privacy risks, potentially leaking training data due to implicit memorization. Existing privacy attacks primarily focus on membership inference attacks (MIAs) or data extraction attacks, but reconstructing specific personally identifiable information (PII) in LLMs’ training data remains challenging. In this paper, we propose (Recollect and Rank), a novel two-step privacy stealing attack that enables attackers to reconstruct PII entities from scrubbed training data where the PII entities have been masked. In the first stage, we introduce a prompt paradigm named recollection, which instructs the LLM to repeat a masked text but fill in masks. Then we can use PII identifiers to extract recollected PII candidates. In the second stage, we design a new criterion to score each PII candidate and rank them. Motivated by membership inference, we leverage the reference model as a calibration to our criterion. Experiments across three popular PII datasets demonstrate that the achieves better PII identification performance than baselines. These results highlight the vulnerability of LLMs to PII leakage even when training data has been scrubbed. We release our code and datasets at GitHub.

BibTeX
@inproceedings{meng-etal-2025-r,
    title = "{R}.{R}.: Unveiling {LLM} Training Privacy through Recollection and Ranking",
    author = "Meng, Wenlong  and
      Zhenyuan, Guo  and
      Wu, Lenan  and
      Gong, Chen  and
      Liu, Wenyan  and
      Li, Weixian  and
      Wei, Chengkun  and
      Chen, Wenzhi",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2025",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.findings-acl.894/",
    doi = "10.18653/v1/2025.findings-acl.894",
    pages = "17383--17397",
    ISBN = "979-8-89176-256-5"
}
R.R.: Unveiling LLM Training Privacy through Recollection and Ranking · ACL 2025