# Poster 28883

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28883

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hi, my name is Shen Yuan and I'm going to present our work, a learning of obfuscating, jargon the memory of unlearned LMs via benign relearning. And this is joint work with Wei Fu, Siwen Wu, and Virginia Smith.
Machine learning first requires a set of data to be forgotten, and the data could be copyrighted content or malicious content that the model owner does not want the model to memorize. The goal is to update the model so that the resulting model behaves as if it was never trained on a forget data. To perform unlearning approximately, some popular heuristics have been used in LM, including gradient ascent, negative preference optimization, etc.
And these methods either undo the learning process or enforce the model to have low probability when predicting for guessed examples. Current learning heuristics seem to be effective in preventing LLMs to generate unwanted texts. Here's an example where the adversary uses an excerpt from one of the Harry Potter novel as a prompt and want to infer the rest of the copyrighted content from the model.
On an augmented Lama 2.7b chat model, the model outputs the exact same text as the copyrighted text in the original book. Now if we perform gradient descent on the book itself, which contains both the text from the prompt and the text from the model output, the unlearned model is only able to output uninformative text. So it looks like the unlearned model does not generate copyrighted text and the unlearning method is actually doing its thing.
However, a learning is very fragile. Now the adversary asks GPT to generate general information about the Harry Potter characters. These information are generally not such that they do not contain any verbatim copy of the original text from the book.
We use this information to fine -tune on the alert model, and surprisingly, the resulting model after relearning is able to output the exact same text before unlearning, even if the additional fine-tuning phase does not contain any information about this piece of text itself. And in this work, we'll show that popular LLM learning heuristics are susceptible to relearning on a loosely related auxiliary dataset.
In this way, we propose a learning -relearning pipeline that demonstrates the vulnerabilities of the current LM learning heuristics. We focus on three aspects in the pipeline. How do we construct the relearn set, the actual relearning procedure, and how do we evaluate whether relearning attack actually works.
First of all, it is important for an adversary who has access to the realer set does not have any knowledge of what is in the evaluation set. Otherwise, the adversary can easily infer information of the eval questions from the realer set. In this work, we assume two types of adversary.
In the first scenario, the adversary has access to partial information contained in the forget set and aims to infer information of the rest. For example, the adversary knows information of some characters from Harry Potter and wants information about other characters.
In other real-world scenarios, when an adversary wants to infer malicious knowledge that has been learned, a proper assumption is that adversaries will have access to publicly available benign text and use those to fine-tune the model to obtain harmful information. We simulate a bunch of different goals of learning to test whether relearning could happen in different scenarios. We test the keyword memorization where the goal is to infer certain keywords that have been forgotten.
We test verbatim memorization where the goal is to infer what specific copyrighted content has been memorized by the model. And we also look at knowledge memorization where the goal is to prevent model from generating harmful knowledge that potentially resides in the training set. And for different tasks, we assume different threat model. For example, we assume for keyword memorization, the adversary has access to partial forget set. And for other tasks, we assume the adversary only has access to publicly available benign knowledge.
We show that the relearning works against these various different learning goals. For the WMDP dataset, we evaluate on a set of malicious biology questions such as how to make certain virus more virulent. We use GPT-generated public benign biology knowledge that does not contain any of this information to do the relearning.
We observed that for different learning methods, while we are able to significantly reduce evaluation utility while learning, these benign relearning attack could easily revert the learning back, even if the relearn set itself contains no harmful information about the eval set.
And we have similar observation in the verbatim memorization task. After learning, the model received pretty low Rouge-L score, but after relearning on only GPT-generated information about just the character Harry Potter, we are able to significantly improve the Rouge -L score by 2x to 50x depending on the different learning methods.
Apart from these experiments, we also conduct a synthetic data example trying to explain when and why relearning attack works. We also perform more experiments on other datasets, other methods, and other unlearning tasks. Finally, based on our findings, we discuss several advice and guidelines for future LM unlearning research. Due to the time limit, please directly refer to our paper for these details.
That's it for my presentation. Thank you very much.
