arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.10210cs.CL
收藏

以高质量数据为关键,通过最小微调解锁LLM的长输出能力

Minimum Tuning to Unlock Long Output from LLMs with High Quality Data as the Key

ModelScope Team, Alibaba Group(阿里集团ModelScope团队)

Yingda Chen, Xingjun Wang, Jintao Huang, Yunlin Mao, Daoze Zhang, Yuze Zhao

AI总结:

本文探讨了高质量数据在微调LLM生成长输出中的关键作用,证明仅需少量数据与轻量级计算即可从人类对齐模型出发显著提升长文本生成能力,并开源了相关数据集与模型。

摘要:

随着大型语言模型快速发展以支持更长的上下文,它们在生成长篇幅输出方面的能力存在显著差异。近期研究表明,这种不平衡的主要原因可能是对齐训练期间缺乏长输出数据。基于这一观察,研究人员尝试使用填补该空白的数据重新对齐基础模型,从而得到能够根据指令生成长篇输出的模型。在本文中,我们探讨了数据质量在为长输出微调模型时的影响,以及从人类对齐(instruct或chat)模型作为起点进行微调的可能性。通过精心的数据筛选,我们展示了仅使用极小比例的训练数据实例和计算量,即可在微调模型中实现类似的性能提升。此外,我们通过将微调方案应用于多个模型来评估此类方法的泛化能力。我们的研究结果表明,尽管不同模型开箱即用的长输出生成能力各不相同,但我们使用轻量级计算和高质量数据对它们进行微调的方法,在我们实验的所有模型上都持续取得了显著改进。我们已公开用于微调长文本写作能力的精选数据集、模型微调与评估的实现代码以及微调后的模型,所有内容均可开放访问。

英文摘要:

As large language models rapidly evolve to support longer context, there is a notable disparity in their capability to generate output at greater lengths. Recent study suggests that the primary cause for this imbalance may arise from the lack of data with long-output during alignment training. In light of this observation, attempts are made to re-align foundation models with data that fills the gap, which result in models capable of generating lengthy output when instructed. In this paper, we explore the impact of data-quality in tuning a model for long output, and the possibility of doing so from the starting points of human-aligned (instruct or chat) models. With careful data curation, we show that it possible to achieve similar performance improvement in our tuned models, with only a small fraction of training data instances and compute. In addition, we assess the generalizability of such approaches by applying our tuning-recipes to several models. our findings suggest that, while capacities for generating long output vary across different models out-of-the-box, our approach to tune them with high-quality data using lite compute, consistently yields notable improvement across all models we experimented on. We have made public our curated dataset for tuning long-writing capability, the implementations of model tuning and evaluation, as well as the fine-tuned models, all of which can be openly-accessed.

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

↑