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

面向大语言模型的半监督微调

Semi-supervised Fine-tuning for Large Language Models

Peking University(北京大学);University of California, Los Angeles(加州大学洛杉矶分校);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Washington(华盛顿大学)

Junyu Luo, Xiao Luo, Xiusi Chen, Zhiping Xiao, Wei Ju, Ming Zhang

AI总结:

针对大语言模型监督微调标注数据不足的问题,提出半监督微调框架SemiEvol,通过双层知识传播与协同学习筛选伪样本,在7个数据集上实现性能提升,适配混合数据场景。

摘要:

监督微调(SFT)对大语言模型(LLM)适配特定领域或任务至关重要。但实际应用中可用的标注数据十分有限,这给SFT取得令人满意的效果带来了严峻挑战。因此,业界迫切需要一种能充分利用标注与未标注数据进行LLM微调的数据高效框架。为此,我们提出了半监督微调(SemiFT)任务,以及一种以“传播-选择”模式实现LLM对齐的框架SemiEvol。在知识传播方面,SemiEvol采用双层方法,通过权重内和上下文内两种方式将知识从标注数据传播到未标注数据。在知识选择方面,SemiEvol引入协同学习机制,筛选质量更高的伪响应样本。我们使用GPT-4o-mini和Llama-3.1在7个通用或领域特定数据集上开展了实验,结果表明模型在目标数据上的性能得到显著提升。此外,我们将SemiEvol与SFT、自进化方法进行了对比,凸显了其在混合数据场景下的实用性。

英文摘要:

Supervised fine-tuning (SFT) is crucial in adapting large language model (LLMs) to a specific domain or task. However, only a limited amount of labeled data is available in practical applications, which poses a severe challenge for SFT in yielding satisfactory results. Therefore, a data-efficient framework that can fully exploit labeled and unlabeled data for LLM fine-tuning is highly anticipated.Towards this end, we introduce a semi-supervised fine-tuning(SemiFT) task and a framework named SemiEvol for LLM alignment from a propagate-and-select manner. For knowledge propagation, SemiEvol adopts a bi-level approach, propagating knowledge from labeled data to unlabeled data through both in-weight and in-context methods. For knowledge selection, SemiEvol incorporates a collaborative learning mechanism, selecting higher-quality pseudo-response samples. We conducted experiments using GPT-4o-mini and Llama-3.1 on seven general or domain-specific datasets, demonstrating significant improvements in model performance on target data. Furthermore, we compared SemiEvol with SFT and self-evolution methods, highlighting its practicality in hybrid data scenarios.

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

↑