Lune

ACL2024Top-tier venue

Unlearning Traces the Influential Training Data of Language Models

Masaru Isonuma, Ivan Titov

Abstract

Identifying the training datasets that influence a language model's outputs is essential for minimizing the generation of harmful content and enhancing its performance. Ideally, we can measure the influence of each dataset by removing it from training; however, it is prohibitively expensive to retrain a model multiple times. This paper presents UnTrac: Unlearning Traces the influence of a training dataset on the model's performance. UnTrac is extremely simple; each training dataset is unlearned by gradient ascent, and we evaluate how much the model's predictions change after unlearning. Furthermore, we propose a more scalable approach, UnTrac-Inv, which unlearns a test dataset and evaluates the unlearned model on training datasets. UnTrac-Inv resembles Un-Trac, while being efficient for massive training datasets. In the experiments, we examine if our methods can assess the influence of pretraining datasets on generating toxic, biased, and untruthful content. Our methods estimate their influence much more accurately than existing methods while requiring neither excessive memory space nor multiple checkpoints.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SoftMatcha: A Soft and Fast Pattern Matcher for Billion-Scale Corpus Searches cites Estimating Training Data Influence by Tracing Gradient Descent
  • Fairshare Data Pricing via Data Valuation for Large Language Models cites Estimating Training Data Influence by Tracing Gradient Descent
  • On Effects of Steering Latent Representation for Large Language Model Unlearning cites Remember What You Want to Forget: Algorithms for Machine Unlearning
  • On Effects of Steering Latent Representation for Large Language Model Unlearning cites Large Language Model Unlearning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. On Effects of Steering Latent Representation for Large Language Model UnlearningHuu-Tien Dang, Tin Pham, Hoang Thanh-Tung, Naoya InoueAAAI 2025 · 33 citations
  2. Fairshare Data Pricing via Data Valuation for Large Language ModelsLuyang Zhang, Cathy Jiao, Beibei Li, Chenyan XiongNeurIPS 2025 · 11 citations
  3. SoftMatcha: A Soft and Fast Pattern Matcher for Billion-Scale Corpus SearchesHiroyuki Deguchi, Go Kamoda, Yusuke Matsushita, Chihiro Taguchi et al.ICLR 2025
  4. Efficient Pretraining Data Selection for Language Models via Multi-Actor CollaborationTianyi Bai, Ling Yang, Zhen Hao Wong, Fupeng Sun et al.ACL 2025

Builds on25

  1. TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations
  2. Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
  3. What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 citations
  4. Remember What You Want to Forget: Algorithms for Machine UnlearningAyush Sekhari, Jayadev Acharya, Gautam Kamath, Ananda Theertha SureshNeurIPS 2021 · 516 citations
  5. Large Language Model UnlearningYuanshun Yao, Xiaojun Xu, Yang LiuNeurIPS 2024 · 365 citations

Related papers

  1. Revisiting the Past: Data Unlearning with Model State HistoryKeivan Rezaei, Mehrdad Saberi, Abhilasha Ravichander, Soheil FeiziICLR 2026 · 2 citations
  2. Intrinsic Test of Unlearning Using Parametric Knowledge TracesYihuai Hong, Lei Yu, Haiqin Yang, Shauli Ravfogel et al.EMNLP 2025 · 1 citation
  3. Unlearning Isn't Invisible: Detecting Unlearning Traces in LLMs from Model OutputsYiwei Chen, Soumyadeep Pal, Yimeng Zhang, Qing Qu et al.ICLR 2026 · 15 citations
  4. Rethinking Evaluation Methods for Machine UnlearningLeon Wichert, Sandipan SikdarEMNLP Findings 2024 · 3 citations
  5. UIPE: Enhancing LLM Unlearning by Removing Knowledge Related to Forgetting TargetsWenyu Wang, Mengqi Zhang, Xiaotian Ye, Zhaochun Ren et al.EMNLP Findings 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines