arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.09990cs.CLcs.AI
收藏

小语言模型作为大语言模型的数据勘探器

Small Language Model as Data Prospector for Large Language Model

Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Science and Technology of China(中国科学技术大学);The University of New South Wales(新南威尔士大学);Shenzhen University of Advanced Technology(深圳理工大学)

Shiwen Ni, Haihong Wu, Di Yang, Qiang Qu, Hamid Alinejad-Rokny, Min Yang

AI总结:

针对指令数据质量影响大语言模型微调性能的问题,提出用小语言模型筛选优质单样本指令的SuperNUGGETS方法,在性能仅降1-2%的情况下效率提升58倍,实用价值更高。

摘要:

指令数据的质量直接影响微调后大语言模型(LLM)的性能。此前,研究人员提出了NUGGETS(金标数据筛选方法),该方法通过识别那些作为单样本实例学习后能显著提升不同任务性能的独立指令样本,从大型数据集中识别并筛选出高质量数据。在本研究中,我们提出了SuperNUGGETS,这是NUGGETS的改进变体,针对效率和性能进行了优化。我们的SuperNUGGETS使用小语言模型(SLM)而非大语言模型(LLM)来筛选数据,以找出出色的单样本实例,同时优化了预定义的测试集。实验结果表明,与NUGGETS相比,SuperNUGGETS的性能仅下降1-2%,但效率可提升58倍。由于资源消耗显著降低,我们的SuperNUGGETS相比原始NUGGETS具有更高的实用价值。

英文摘要:

The quality of instruction data directly affects the performance of fine-tuned Large Language Models (LLMs). Previously, \cite{li2023one} proposed \texttt{NUGGETS}, which identifies and selects high-quality quality data from a large dataset by identifying those individual instruction examples that can significantly improve the performance of different tasks after being learnt as one-shot instances. In this work, we propose \texttt{SuperNUGGETS}, an improved variant of \texttt{NUGGETS} optimised for efficiency and performance. Our \texttt{SuperNUGGETS} uses a small language model (SLM) instead of a large language model (LLM) to filter the data for outstanding one-shot instances and refines the predefined set of tests. The experimental results show that the performance of \texttt{SuperNUGGETS} only decreases by 1-2% compared to \texttt{NUGGETS}, but the efficiency can be increased by a factor of 58. Compared to the original \texttt{NUGGETS}, our \texttt{SuperNUGGETS} has a higher utility value due to the significantly lower resource consumption.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑