摘要
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.
| 源语言 | 英语 |
|---|---|
| 期刊论文编号 | 110611 |
| 期刊 | Signal Processing |
| 卷 | 246 |
| DOI | |
| 出版状态 | 已出版 - 9月 2026 |
学术指纹
探究 'Learn more, forget less: A gradient-Aware data selection approach for LLM' 的科研主题。它们共同构成独一无二的学术指纹。引用此
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver