mlsanityData to 14 Oct 2026

Shaping capabilities with token-level data filtering

arXiv 2601.21571 ↗First posted 29 Jan 2026cs.LG cs.AI cs.CLcited by 13

Not on the map. Why?

Abstract (arXiv)

Current approaches to reducing undesired capabilities in language models are largely post hoc, and can thus be easily bypassed by adversaries. A natural alternative is to shape capabilities during pretraining itself. On the proxy task of removing medical capabilities, we show that the simple intervention of filtering pretraining data is highly effective, robust, and inexpensive at scale. Inspired by work on data attribution, we show that filtering tokens is more effective than filtering documents, achieving the same hit to undesired capabilities at a lower cost to benign ones. Training models spanning two orders of magnitude, we then demonstrate that filtering gets more effective with scale: for our largest models, token filtering leads to a 7000x compute slowdown on the forget domain. We also show that models trained with token filtering can still be aligned on the forget domain. Along the way, we introduce a methodology for labeling tokens with sparse autoencoders and distilling cheap, high-quality classifiers. We also demonstrate that filtering can be robust to noisy labels with sufficient pretraining compute.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 136 of its 183 references that are in the map. First posted on arXiv 29 Jan 2026.

Builds on

136 of 183 references.

References · 136

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2024The Llama 3 Herd of Modelscited by 14,715
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  10. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  11. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  12. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
38 more
  1. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  2. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  3. 2022Emergent Abilities of Large Language Modelscited by 2,512
  4. 2018Deep contextualized word representationscited by 2,290
  5. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  6. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  7. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  9. 2022Large Language Models Encode Clinical Knowledgecited by 1,830
  10. 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
  11. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  12. 2019Root Mean Square Layer Normalizationcited by 1,480
  13. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  14. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
  15. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  16. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  17. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
  18. 2023PaLM 2 Technical Reportcited by 1,162
  19. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  20. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  21. 2019Machine Unlearningcited by 1,061
  22. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  23. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
  24. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  25. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
  26. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
  27. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  28. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
  29. 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 533
  30. 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
  31. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
  32. 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 486
  33. 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 467
  34. 2018Invariant Information Clustering for Unsupervised Image Classification and Segmentationcited by 455
  35. 2023Scaling Data-Constrained Language Modelscited by 403
  36. 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
  37. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 384
  38. 2022Last Layer Re-Training is Sufficient for Robustness to Spurious Correlationscited by 381

50 most cited of 136 All 136 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 13.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Unlearning What Matters: Token-Level Attribution for Precise Language Model Unlearning
  2. 2025If It's Nice, Do It Twice: We Should Try Iterative Corpus Curation
  3. 2025Robustness of Probabilistic Models to Low-Quality Data: A Multi-Perspective Analysis
  4. 2025Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Training
  5. 2026Forget What Matters, Keep the Rest: Selective Unlearning of Informative Tokens
  6. 2024uDistil-Whisper: Label-Free Data Filtering for Knowledge Distillation in Low-Data Regimes
  7. 2025A Lightweight Method to Disrupt Memorized Sequences in LLM
  8. 2024Token-Efficient Leverage Learning in Large Language Models