Saved in:
Bibliographic Details
Main Authors: Zhang, Xiaoyu, Zhai, Juan, Ma, Shiqing, Shen, Chao, Li, Tianlin, Jiang, Weipeng, Liu, Yang
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.01296
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929523979714560
author Zhang, Xiaoyu
Zhai, Juan
Ma, Shiqing
Shen, Chao
Li, Tianlin
Jiang, Weipeng
Liu, Yang
author_facet Zhang, Xiaoyu
Zhai, Juan
Ma, Shiqing
Shen, Chao
Li, Tianlin
Jiang, Weipeng
Liu, Yang
contents Task-specific fine-tuning is essential for the deployment of large language models (LLMs), but it requires significant computational resources and time. Existing solutions have proposed coreset selection methods to improve data efficiency and reduce model training overhead, but they still have limitations: 1) Overlooking valuable samples at high pruning rates, which degrades the coreset's performance. 2) Requiring high time overhead during coreset selection to fine-tune and evaluate the target LLM. In this paper, we introduce STAFF, a speculative coreset selection method. STAFF leverages a small model from the same family as the target LLM to efficiently estimate data scores and then verifies the scores on the target LLM to accurately identify and allocate more selection budget to important regions while maintaining coverage of easy regions. We evaluate STAFF on three LLMs and three downstream tasks and show that STAFF improves the performance of SOTA methods by up to 54.3% and reduces selection overhead by up to 70.5% at different pruning rates. Furthermore, we observe that the coreset selected by STAFF at low pruning rates (i.e., 20%) can even obtain better fine-tuning performance than the full dataset.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01296
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Speculative Coreset Selection for Task-Specific Fine-tuning
Zhang, Xiaoyu
Zhai, Juan
Ma, Shiqing
Shen, Chao
Li, Tianlin
Jiang, Weipeng
Liu, Yang
Machine Learning
Artificial Intelligence
Task-specific fine-tuning is essential for the deployment of large language models (LLMs), but it requires significant computational resources and time. Existing solutions have proposed coreset selection methods to improve data efficiency and reduce model training overhead, but they still have limitations: 1) Overlooking valuable samples at high pruning rates, which degrades the coreset's performance. 2) Requiring high time overhead during coreset selection to fine-tune and evaluate the target LLM. In this paper, we introduce STAFF, a speculative coreset selection method. STAFF leverages a small model from the same family as the target LLM to efficiently estimate data scores and then verifies the scores on the target LLM to accurately identify and allocate more selection budget to important regions while maintaining coverage of easy regions. We evaluate STAFF on three LLMs and three downstream tasks and show that STAFF improves the performance of SOTA methods by up to 54.3% and reduces selection overhead by up to 70.5% at different pruning rates. Furthermore, we observe that the coreset selected by STAFF at low pruning rates (i.e., 20%) can even obtain better fine-tuning performance than the full dataset.
title Speculative Coreset Selection for Task-Specific Fine-tuning
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2410.01296