arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.03692cs.CLcs.AI
收藏

走向自指导:为最小指令微调引入早停准则

Becoming self-instruct: introducing early stopping criteria for minimal instruct tuning

Writer Inc(Writer公司)

Waseem AlShikh, Manhal Daaboul, Kirk Goddard, Brock Imel, Kiran Kamble, Parikshith Kulkarni, Melisa Russak

AI总结:

本文提出指令遵循得分(IFS)指标,既能区分基础模型与指令模型,又可作为指令微调的早停准则,实验表明模型在训练早期即学会遵循指令,进一步微调主要改变底层语义。

摘要:

本文引入指令遵循得分(IFS),该指标用于检测语言模型遵循指令的能力。该指标具有双重用途。第一,IFS可用于区分基础模型与指令模型。我们对公开可用的基础模型和指令模型进行基准测试,并表明格式良好的响应与部分句和完整句的比率可以作为这两类模型之间的有效度量。第二,该指标可用作指令微调的早停准则。我们计算了7B和13B LLaMA模型在监督微调(SFT)过程中的IFS,表明模型在训练过程中相对较早地学会遵循指令,而进一步微调可能导致底层基础模型语义发生变化。作为语义变化的一个例子,我们展示了模型预测的客观性,该客观性由辅助指标ObjecQA定义。我们表明,在这一特定情况下,当IFS趋于平台期时,语义变化最为剧烈。我们希望将指令微调分解为IFS和语义因素,能够开启更可控的指令微调新趋势,并为设计查询基础模型的最小指令接口开辟可能性。

英文摘要:

In this paper, we introduce the Instruction Following Score (IFS), a metric that detects language models' ability to follow instructions. The metric has a dual purpose. First, IFS can be used to distinguish between base and instruct models. We benchmark publicly available base and instruct models, and show that the ratio of well formatted responses to partial and full sentences can be an effective measure between those two model classes. Secondly, the metric can be used as an early stopping criteria for instruct tuning. We compute IFS for Supervised Fine-Tuning (SFT) of 7B and 13B LLaMA models, showing that models learn to follow instructions relatively early in the training process, and the further finetuning can result in changes in the underlying base model semantics. As an example of semantics change we show the objectivity of model predictions, as defined by an auxiliary metric ObjecQA. We show that in this particular case, semantic changes are the steepest when the IFS tends to plateau. We hope that decomposing instruct tuning into IFS and semantic factors starts a new trend in better controllable instruct tuning and opens possibilities for designing minimal instruct interfaces querying foundation models.

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

↑