TL;DR
Large Language Models (LLMs) can inadvertently memorize private information, posing a significant privacy risk. This paper introduces "RETURN," a novel dataset for evaluating machine unlearning (MU) methods on real-world personal data, and proposes "NAUF," a Name-Aware Unlearning Framework that effectively protects individual privacy without compromising general model capabilities.
What Problem Does This Paper Address?
LLMs are incredibly powerful but can memorize sensitive personal information from their training data. This memorization creates a privacy vulnerability, as adversaries could potentially extract this private data. While retraining LLMs from scratch to remove this data is prohibitively expensive, machine unlearning (MU) offers a more practical solution. However, existing MU methods often struggle to effectively protect privacy without degrading the model's overall performance, especially in realistic scenarios where individuals' data is genuinely present in the training corpus. This paper addresses the need for a robust evaluation framework and a more effective MU method tailored for LLMs to safeguard individual privacy.
Methods
The core of this work lies in two main contributions:
- RETURN Dataset: To address the lack of realistic evaluation benchmarks, the authors construct "RETURN," a dataset comprising 2,492 individuals from Wikipedia. For each individual, they generate 20 question-answer (QA) pairs, creating a comprehensive resource for testing MU methods on real-world personal data.
- Name-Aware Unlearning Framework (NAUF): NAUF is designed to protect specific individuals' private data. It has two key components:
- Name-Aware Refusal Answer: This component trains the model to explicitly refuse to answer questions about targeted individuals. It involves relabeling questions in the "forget set" (data to be unlearned) with specific refusal phrases, teaching the model to identify and avoid discussing protected individuals.
- Contrastive Data Augmentation (CDA): To improve the model's generalization capabilities, CDA augments both the "forget set" and the "retain set" (data to be preserved). This involves creating new QA pairs by replacing names in existing questions and using the original model's predictions as answers for the retain set, thereby expanding the data distribution.
Datasets
- RETURN: A newly introduced dataset consisting of 2,492 real individuals, each with 20 associated QA pairs. This dataset is designed to evaluate machine unlearning methods for protecting personal data in a realistic setting.
- PopQA: Used as a source for collecting names of individuals for the RETURN dataset.
- Wikipedia: Used to extract background information for individuals.
Key Insights and Ideas
- The "Right to Be Forgotten" is a practical LLM challenge: The paper highlights that the legal and ethical imperative for data deletion (like the GDPR's Right to Be Forgotten) translates into a concrete technical problem for LLMs.
- Generic refusal isn't enough: Simple unlearning methods that make models say "I don't know" can hurt their ability to answer questions about other, unrelated individuals. NAUF's name-aware refusal is more targeted.
- Data augmentation is crucial for generalization: The contrastive data augmentation technique significantly improves NAUF's performance, showing that simply removing data isn't as effective as teaching the model how to refuse and what to retain.
- Popularity correlates with memorization: Individuals with more online presence (higher popularity) are more likely to be deeply memorized by LLMs, making them prime targets for privacy risks.
Key Results
- NAUF achieves a state-of-the-art average unlearning score, outperforming the best baseline method (RGD with GD regularization) by 5.65 points.
- NAUF demonstrates a better balance between protecting forget set data (high Forget Score) and maintaining performance on retain set data (high Retain Score) compared to other methods. For instance, with KLD regularization, NAUF achieves a Forget Score of 96.95 and a Retain Score of 63.23.
- The study shows that regularization techniques (GD and KLD) are essential for maintaining the model's general capabilities on downstream tasks after unlearning.
- Contrastive Data Augmentation (CDA) improves NAUF's forget score by up to 10 points when used with GD regularization.
Limitations and Future Work
- Dataset Size: The authors acknowledge that the RETURN dataset, while novel, could be larger. They mention that expanding it would involve significant computational costs (e.g., GPT-4 API usage).
- Fine-grained Protection: The current work focuses on protecting all information about an individual. Future work could explore more fine-grained protection, allowing the model to discern and protect specific pieces of sensitive information while still allowing access to benign data.
- Broader Applicability: The authors suggest generalizing NAUF to protect entity-level or concept-level information (e.g., specific characters, locations) to address a wider range of privacy concerns.
Summary updated