Skip to main navigation Skip to search Skip to main content

Forgetting: A New Mechanism Towards Better Large Language Model Fine-tuning

  • Ali Taheri
  • , Alireza Taban
  • , Qizhou Wang
  • , Shanshan Ye*
  • , Abdolreza Mirzaei
  • , Tongliang Liu
  • , Bo Han
  • *Corresponding author for this work

Research output: Contribution to journalJournal articlepeer-review

Abstract

Supervised fine-tuning (SFT) plays a critical role for pretrained large language models (LLMs), notably enhancing their capacity to acquire domain-specific knowledge while preserving or potentially augmenting their general-purpose capabilities. However, the efficacy of SFT hinges on data quality as well as data volume, otherwise it may result in limited performance gains or even degradation relative to the associated baselines. To mitigate such reliance, we suggest categorizing tokens within each corpus into two parts—positive and negative tokens—based on whether they are useful to improve model performance. Positive tokens can be trained in common ways, whereas negative tokens, which may lack essential semantics or be misleading, should be explicitly forgotten. Overall, the token categorization facilitates the model to learn less informative messages, and the forgetting guides the model on what information to learn more precisely. We conduct experiments across diverse and well-established benchmarks using various model architectures, demonstrating that this forgetting mechanism enhances model performance.

Original languageEnglish
Pages (from-to)1-22
Number of pages22
JournalTransactions on Machine Learning Research
Volume2026-April
Publication statusPublished - Apr 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

Fingerprint

Dive into the research topics of 'Forgetting: A New Mechanism Towards Better Large Language Model Fine-tuning'. Together they form a unique fingerprint.

Cite this