From Domains to Instances: Dual-Granularity Data Synthesis for LLM Unlearning

Xiaoyu Xu, Minxin Du, Zitong Li, Zi Liang, Zhibiao Guo +4 more
1/7/2026
cs.CLcs.AIcs.CR

No official code found. Best implementation: XiaoyuXU1/Biforget (0 stars, last commit 2026-01-09).

Abstract

Although machine unlearning is essential for removing private, harmful, or copyrighted content from LLMs, current benchmarks often fail to faithfully represent the true "forgetting scope" learned by the model. We formalize two distinct unlearning granularities, domain-level and instance-level, and propose BiForget, an automated framework for synthesizing high-quality forget sets. Unlike prior work relying on external generators, BiForget exploits the target model per se to elicit data that matches its internal knowledge distribution through seed-guided and adversarial prompting. Our experiments across diverse benchmarks show that it achieves a superior balance of relevance, diversity, and efficiency. Quantitatively, in the Harry Potter domain, it improves relevance by ${\sim}20$ and diversity by ${\sim}$0.05 while halving the total data size compared to SOTAs. Ultimately, it facilitates more robust forgetting and better utility preservation, providing a more rigorous foundation for evaluating LLM unlearning.

View on arXivView PDF

Code Implementations(1)

XiaoyuXU1/BiforgetCommunity60%

Code for "From Domains to Instances: Dual-Granularity Data Synthesis for LLM Unlearning"

00Python, Jupyter NotebookDec 13, 20259 months ago

Similar Papers

Cite this paper

@article{xu2026from,
  title  = {From Domains to Instances: Dual-Granularity Data Synthesis for LLM Unlearning},
  author = {Xiaoyu Xu and Minxin Du and Zitong Li and Zi Liang and Zhibiao Guo and Shiyu Zhang and Peizhao Hu and Qingqing Ye and Haibo Hu},
  year   = {2026},
  eprint = {2601.04278},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.04278v1}
}

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

Discussion