Reasoning Model Unlearning: Forgetting Traces, Not Just Answers, While Preserving Reasoning Skills

Changsheng Wang, Chongyu Fan, Yihua Zhang, Jinghan Jia, Dennis Wei +3 more
6/15/2025
cs.AIcs.LG

No official code found. Best implementation: OPTML-Group/Unlearn-R2MU (11 stars, last commit 2025-11-03).

Abstract

Recent advances in large reasoning models (LRMs) have enabled strong chain-of-thought (CoT) generation through test-time computation. While these multi-step reasoning capabilities represent a major milestone in language model performance, they also introduce new safety risks. In this work, we present the first systematic study to revisit the problem of machine unlearning in the context of LRMs. Machine unlearning refers to the process of removing the influence of sensitive, harmful, or undesired data or knowledge from a trained model without full retraining. We show that conventional unlearning algorithms, originally designed for non-reasoning models, are inadequate for LRMs. In particular, even when final answers are successfully erased, sensitive information often persists within the intermediate reasoning steps, i.e., CoT trajectories. To address this challenge, we extend conventional unlearning and propose Reasoning-aware Representation Misdirection for Unlearning ($R^2MU$), a novel method that effectively suppresses sensitive reasoning traces and prevents the generation of associated final answers, while preserving the model's reasoning ability. Our experiments demonstrate that $R^2MU$ significantly reduces sensitive information leakage within reasoning traces and achieves strong performance across both safety and reasoning benchmarks, evaluated on state-of-the-art models such as DeepSeek-R1-Distill-LLaMA-8B and DeepSeek-R1-Distill-Qwen-14B.

View on arXivView PDF

Code Implementations(1)

[EMNLP 2025] Reasoning Model Unlearning: Forgetting Traces, Not Just Answers, While Preserving Reasoning Skills

111C++, RoffJun 15, 202511 months ago

Similar Papers

Cite this paper

@article{wang2025reasoning,
  title  = {Reasoning Model Unlearning: Forgetting Traces, Not Just Answers, While Preserving Reasoning Skills},
  author = {Changsheng Wang and Chongyu Fan and Yihua Zhang and Jinghan Jia and Dennis Wei and Parikshit Ram and Nathalie Baracaldo and Sijia Liu},
  year   = {2025},
  eprint = {2506.12963},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.12963v2}
}

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/2506.12963.svg)](https://codeofpaper.com/paper/2506.12963)

Discussion