Skip to main navigation Skip to search Skip to main content

Learn more, forget less: A gradient-Aware data selection approach for LLM

  • Zeming Liu
  • , Yibai Liu*
  • , Shihang Wang
  • , Zheming Song
  • , Junzhe Wang
  • , Jingjing Liu
  • , Qingjie Liu
  • , Guangxu Chen
  • , Yunhong Wang
  • *Corresponding author for this work
  • Columbia University
  • Beihang University
  • South China University of Technology

Research output: Contribution to journalArticlepeer-review

Abstract

Despite large language models (LLMs) have achieved impressive achievements across numerous tasks, supervised fine-tuning (SFT) remains essential for adapting these models to specialized domains. However, SFT for domain specialization can be resource-intensive and sometimes leads to a deterioration in performance over general capabilities due to catastrophic forgetting (CF). To address these issues, we propose a self-adaptive gradient-aware data selection approach (GrADS) for supervised fine-tuning of LLMs, which identifies effective subsets of training data by analyzing gradients distribution obtained from a preliminary training phase. The purpose of GrADS is not to eliminate noisy data from the training set, but to obtain a diverse subset that is most conducive to efficient training. Through extensive experimentation with various LLMs across diverse domains such as medicine, law, and finance, GrADS has demonstrated significant efficiency and cost-effectiveness. Remarkably, utilizing merely 5% of the selected GrADS data, LLMs already surpass the performance of those fine-tuned on the entire dataset, and increasing to 50% of the data results in significant improvements! With catastrophic forgetting substantially mitigated simultaneously.22Our code will be publicly available.

Original languageEnglish
Article number110611
JournalSignal Processing
Volume246
DOIs
StatePublished - Sep 2026

Keywords

  • Atastrophic forgetting
  • Data selection
  • Gradient-Aware
  • Grads
  • Large language model
  • Multi-Language

Fingerprint

Dive into the research topics of 'Learn more, forget less: A gradient-Aware data selection approach for LLM'. Together they form a unique fingerprint.

Cite this