Skip to main navigation Skip to search Skip to main content

Reconstruction of differentially private text sanitization via large language models

  • Shuchao Pang
  • , Zhigang Lu
  • , Haichen Wang
  • , Peng Fu
  • , Yongbin Zhou
  • , Minhui Xue
  • Nanjing University of Science and Technology
  • CAS - Institute of Information Engineering
  • CSIRO
  • Adelaide University

Research output: Chapter in Book / Conference Paper › Conference Paper › peer-review

1 Citation (Scopus)

Abstract

Differential privacy (DP) is the de facto privacy standard against privacy leakage attacks, including many recently discovered ones against large language models (LLMs). However, we discovered that LLMs could reconstruct the altered/removed privacy from given DP-sanitized prompts. We propose two attacks (black-box and white-box) based on the accessibility to LLMs and show that LLMs could connect the pair of DPsanitized text and the corresponding private training data of LLMs by giving sample text pairs as instructions (in the blackbox attacks) or fine-tuning data (in the white-box attacks). To illustrate our findings, we conduct comprehensive experiments on modern LLMs (e.g., LLaMA-2, LLaMA-3, ChatGPT-3.5, ChatGPT-4, ChatGPT-4o, Claude-3, Claude-3.5, OPT, GPT-Neo, GPT-J, Gemma-2, and Pythia) using commonly used datasets (such as WikiMIA, Pile-CC, and Pile-Wiki) against both wordlevel and sentence-level DP. The experimental results show promising recovery rates, e.g., the black-box attacks against the word-level DP over WikiMIA dataset gave 72.18% on LLaMA2 (70B), 82.39% on LLaMA-3 (70B), 75.35% on Gemma-2, 91.2% on ChatGPT-4o, and 94.01% on Claude-3.5 (Sonnet). More urgently, this study indicates that these well-known LLMs have emerged as a new security risk for existing DP text sanitization approaches in the current environment.

Original languageEnglish
Title of host publicationProceedings of the 28th International Symposium on Research in Attacks, Intrusions and Defenses (RAID 2025), 19-22 October 2025, Gold Coast, Australia
Place of PublicationU.S.
PublisherIEEE
Number of pages17
ISBN (Electronic)9798331566036
DOIs
Publication statusPublished - 2025
Event28th International Symposium on Research in Attacks, Intrusions and Defenses, RAID 2025 - Gold Coast, Australia
Duration: 19 Oct 2025 → 22 Oct 2025

Conference

Conference28th International Symposium on Research in Attacks, Intrusions and Defenses, RAID 2025
Country/TerritoryAustralia
CityGold Coast
Period19/10/25 → 22/10/25

Keywords

  • differential privacy
  • Large language models
  • privacy leakage

Fingerprint

Dive into the research topics of 'Reconstruction of differentially private text sanitization via large language models'. Together they form a unique fingerprint.

Cite this