Forget to Flourish: Leveraging Machine-Unlearning on Pretrained Language Models for Privacy Leakage
Md. Rafi Ur Rashid, Jing Liu, Toshiaki Koike-Akino, Ye Wang, Shagufta Mehnaz
Abstract
Fine-tuning large language models on private data for downstream applications poses significant privacy risks in potentially exposing sensitive information. Several popular community platforms now offer convenient distribution of a large variety of pre-trained models, allowing anyone to publish without rigorous verification. This scenario creates a privacy threat, as pre-trained models can be intentionally crafted to compromise the privacy of fine-tuning datasets. In this study, we introduce a novel poisoning technique that uses model-unlearning as an attack tool. This approach manipulates a pre-trained language model to increase the leakage of private data during the fine-tuning process. Our method enhances both membership inference and data extraction attacks while preserving model utility. Experimental results across different models, datasets, and fine-tuning setups demonstrate that our attacks significantly surpass baseline performance. This work serves as a cautionary note for users who download pretrained models from unverified sources, highlighting the potential risks involved.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Effective PII Extraction from LLMs through Augmented Few-Shot Learning cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Effective PII Extraction from LLMs through Augmented Few-Shot Learning cites Extracting Training Data from Large Language Models
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles cites Membership Inference Attacks Against Machine Learning Models
- Membership Inference Attacks From First Principles cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Membership Inference Attacks From First Principles cites Extracting Training Data from Large Language Models
- The Privacy Paradox of LLMs: User Perceptions and the Reality of PII Leakage cites Effective PII Extraction from LLMs through Augmented Few-Shot Learning
- The Privacy Paradox of LLMs: User Perceptions and the Reality of PII Leakage cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- The Privacy Paradox of LLMs: User Perceptions and the Reality of PII Leakage cites Extracting Training Data from Large Language Models
- Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
- Extracting Training Data from Large Language Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Wisdom is Knowing What not to Say: Hallucination-Free LLMs Unlearning via Attention Shifting cites LoRA: Low-Rank Adaptation of Large Language Models
- Wisdom is Knowing What not to Say: Hallucination-Free LLMs Unlearning via Attention Shifting cites Extracting Training Data from Large Language Models
Cited by top-tier papers5
- Wisdom is Knowing What not to Say: Hallucination-Free LLMs Unlearning via Attention ShiftingChenchen Tan, Youyang Qu, Xinghao Li, Hui Zhang et al.NeurIPS 2025 · 7 citations
- Privacy Auditing of Multi-Domain Graph Pre-Trained Model Under Membership Inference AttacksJiayi Luo, Qingyun Sun, Yuecen Wei, Haonan Yuan et al.AAAI 2026 · 2 citations
- Do LLMs Forget What They Should? Evaluating In-Context Forgetting in Large Language ModelsYuli Qian, Zechuan Yang, Wenbiao Ding, Hongzhi Li et al.ICLR 2026
- Effective PII Extraction from LLMs through Augmented Few-Shot LearningShuai Cheng, Shu Meng, Haitao Xu, Haoran Zhang et al.USENIX Security 2025
- The Privacy Paradox of LLMs: User Perceptions and the Reality of PII LeakageShuai Cheng, Haitao Xu, Shu Meng, Shuai Hao et al.CHI 2026
Builds on19
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
- Membership Inference Attacks From First PrinciplesNicholas Carlini, Steve Chien, Milad Nasr, Shuang Song et al.S&P 2022 · 1,049 citations
Related papers
- PreCurious: How Innocent Pre-Trained Language Models Turn into Privacy TrapsRuixuan Liu, Tianhao Wang, Yang Cao, Li XiongCCS 2024 · 9 citations
- Unlearned but Not Forgotten: Data Extraction after Exact Unlearning in LLMXiaoyu Wu, Yifei Pang, Terrance Liu, Steven Z. WuNeurIPS 2025 · 8 citations
- Persistent Pre-training Poisoning of LLMsYiming Zhang, Javier Rando, Ivan Evtimov, Jianfeng Chi et al.ICLR 2025
- Quantifying Privacy Risks of Prompts in Visual Prompt LearningYixin Wu, Rui Wen, Michael Backes, Pascal Berrang et al.USENIX Security 2024 · 12 citations
- SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference AttacksKaiyuan Zhang, Siyuan Cheng, Hanxi Guo, Yuetian Chen et al.USENIX Security 2025
