Learning to Refuse: Towards Mitigating Privacy Risks in LLMs

Zhenhua Liu, Tong Zhu, Chuanyuan Tan, Wenliang Chen
7/14/2024
cs.CLcs.AI

No official code found. Best implementation: zhliu0106/learning-to-refuse (10 stars, last commit 2024-12-13).

Abstract

Large language models (LLMs) exhibit remarkable capabilities in understanding and generating natural language. However, these models can inadvertently memorize private information, posing significant privacy risks. This study addresses the challenge of enabling LLMs to protect specific individuals' private data without the need for complete retraining. We propose \return, a Real-world pErsonal daTa UnleaRNing dataset, comprising 2,492 individuals from Wikipedia with associated QA pairs, to evaluate machine unlearning (MU) methods for protecting personal data in a realistic scenario. Additionally, we introduce the Name-Aware Unlearning Framework (NAUF) for Privacy Protection, which enables the model to learn which individuals' information should be protected without affecting its ability to answer questions related to other unrelated individuals. Our extensive experiments demonstrate that NAUF achieves a state-of-the-art average unlearning score, surpassing the best baseline method by 5.65 points, effectively protecting target individuals' personal data while maintaining the model's general capabilities.

View on arXivView PDF

Code Implementations(1)

Official Implementation of "Learning to Refuse: Towards Mitigating Privacy Risks in LLMs"

104Shell, PythonJul 14, 20241 years ago

Similar Papers

Cite this paper

@article{liu2024learning,
  title  = {Learning to Refuse: Towards Mitigating Privacy Risks in LLMs},
  author = {Zhenhua Liu and Tong Zhu and Chuanyuan Tan and Wenliang Chen},
  year   = {2024},
  eprint = {2407.10058},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.10058v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.10058.svg)](https://codeofpaper.com/paper/2407.10058)

Discussion