Rebalancing Token Importance in Language Models with TF-IDF Weighted Cross-Entropy Loss
Not on the map. Why?
Abstract (arXiv)
Large language models are typically trained under uniform token weighting, which allows frequent and low-information tokens to dominate learning and can increase the tendency to memorize surface-level text spans. To address this, we present an information-weighted cross-entropy loss that rescales token-level contributions using TF-IDF statistics, emphasizing semantically informative tokens while down-weighting ubiquitous ones. Experiments on five decoder-only LLMs ranging from 1.1B to 13B parameters show consistent reductions in memorized substring length while preserving perplexity and downstream task performance. Under LoRA fine-tuning, TF-IDF reduces average substring memorization length by 14% across all five models. Under full-weight fine-tuning on TinyLLaMA 1.1B, the reduction reaches 58%. Our approach is architecture-agnostic and can be incorporated into existing training pipelines with less than 3% computational overhead, offering a lightweight and principled way to mitigate memorization without disrupting standard training dynamics.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 39 references that are in the map. First posted on arXiv 10 Sep 2026.
Builds on
23 of 39 references.
References · 23
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2016Deep Learning with Differential Privacycited by 2,682
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2015Teaching Machines to Read and Comprehendcited by 1,039
- 2019When Does Label Smoothing Help?cited by 985
- 2016Deep Networks with Stochastic Depthcited by 973
11 more
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
- 2024TinyLlama: An Open-Source Small Language Modelcited by 604
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 461
- 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 366
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2020Re-evaluating Evaluation in Text Summarizationcited by 144
- 2019Mixout: Effective Regularization to Finetune Large-scale Pretrained Language Modelscited by 141
- 2024Demystifying Verbatim Memorization in Large Language Modelscited by 55
- 2024Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMscited by 50
- 2024ScaleBiO: Scalable Bilevel Optimization for LLM Data Reweightingcited by 35
Built on by
Not cited yet.