mlsanityData to 7 Oct 2026

Unlearning Traces the Influential Training Data of Language Models

arXiv 2401.15241 ↗First posted 26 Jan 2024cs.CL cs.AIcited by 18

On the map: LLM safety and security → Machine unlearning

Abstract (arXiv)

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 UnTrac, 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.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 40 of its 56 references that are in the map. First posted on arXiv 26 Jan 2024.

Builds on

40 of 56 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024TOFU: A Task of Fictitious Unlearning for LLMs11 Jan
  2. 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMs31 Oct
  3. 2023KGA: A General Machine Unlearning Framework Based on Knowledge Gap Alignment11 May
  4. 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Models4 Oct
  5. 2022Deep Unlearning via Randomized Conditionally Independent Hessians15 Apr
  6. 2021Adaptive Machine Unlearning8 Jun
  7. 2021Remember What You Want to Forget: Algorithms for Machine Unlearning4 Mar

Other references · 33

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  9. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  10. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  11. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  12. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
21 more
  1. 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 617
  2. 2019Eternal Sunshine of the Spotless Net: Selective Forgetting in Deep Networkscited by 599
  3. 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 565
  4. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
  5. 2019Making AI Forget You: Data Deletion in Machine Learningcited by 447
  6. 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
  7. 2023Studying Large Language Model Generalization with Influence Functionscited by 311
  8. 2023TRAK: Attributing Model Behavior at Scalecited by 273
  9. 2023From Pretraining Data to Language Models to Downstream Tasks: Tracking the Trails of Political Biases Leading to Unfair NLP Modelscited by 257
  10. 2020Influence Functions in Deep Learning Are Fragilecited by 247
  11. 2018A Simple Method for Commonsense Reasoningcited by 223
  12. 2023A Pretrainer's Guide to Training Data: Measuring the Effects of Data Age, Domain Coverage, Quality, & Toxicitycited by 180
  13. 2019On the Accuracy of Influence Functions for Measuring Group Effectscited by 146
  14. 2020Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functionscited by 144
  15. 2020FastIF: Scalable Influence Functions for Efficient Model Interpretation and Debuggingcited by 120
  16. 2019On Second-Order Group Influence Functions for Black-Box Predictionscited by 78
  17. 2023Understanding In-Context Learning via Supportive Pretraining Datacited by 41
  18. 2021Revisiting Methods for Finding Influential Examplescited by 39
  19. 2023Theoretical and Practical Perspectives on what Influence Functions Docited by 28
  20. 2021Influence Tuning: Demoting Spurious Correlations via Instance Attribution and Instance-Driven Updatescited by 27
  21. 2023How Many and Which Training Points Would Need to be Removed to Flip this Prediction?cited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 9; 2026: 4.

18 papers.

Sort:

By area: