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

从草稿到答案:通过聚合微调释放大语言模型的潜力

From Drafts to Answers: Unlocking LLM Potential via Aggregation Fine-Tuning

Shanghai AI Laboratory(上海人工智能实验室);Renmin University of China(中国人民大学);The Chinese University of Hong Kong(香港中文大学)

Yafu Li, Zhilin Wang, Tingchen Fu, Ganqu Cui, Sen Yang, Yu Cheng

AI总结:

本文提出聚合微调(AFT)范式,让模型学习将多个草稿响应合成为精炼答案,并在推理时通过提出并聚合策略迭代提升性能,在AlpacaEval 2上以8B模型超越更大模型,无需增加数据或模型规模。

摘要:

扩展数据和模型规模已被证明能有效提升大语言模型的性能。除了训练时的扩展,近期研究还表明,增加测试时的计算资源可以进一步提升性能。在这项工作中,我们引入了聚合微调(Aggregation Fine-Tuning, AFT),这是一种监督微调范式,模型学习将多个草稿响应(称为提案)综合成一个精炼的答案(称为聚合)。在推理时,一种“提出并聚合”的策略通过迭代生成提案并进行聚合来进一步提升性能。在基准数据集上的实证评估表明,AFT训练的模型显著优于标准SFT。值得注意的是,一个从Llama3.1-8B-Base微调、仅使用64k数据的AFT模型,在AlpacaEval 2上达到了41.3%的LC胜率,超越了诸如Llama3.1-405B-Instruct和GPT4等规模更大的大语言模型。通过结合顺序精炼和并行采样,“提出并聚合”框架以灵活的方式扩展了推理时的计算量。总体而言,这些发现表明AFT是一种有前景的方法,无需增加数据量或模型规模即可解锁大语言模型的额外能力。

英文摘要:

Scaling data and model size has been proven effective for boosting the performance of large language models. In addition to training-time scaling, recent studies have revealed that increasing test-time computational resources can further improve performance. In this work, we introduce Aggregation Fine-Tuning (AFT), a supervised finetuning paradigm where the model learns to synthesize multiple draft responses, referred to as proposals, into a single, refined answer, termed aggregation. At inference time, a propose-and-aggregate strategy further boosts performance by iteratively generating proposals and aggregating them. Empirical evaluations on benchmark datasets show that AFT-trained models substantially outperform standard SFT. Notably, an AFT model, fine-tuned from Llama3.1-8B-Base with only 64k data, achieves a 41.3% LC win rate on AlpacaEval 2, surpassing significantly larger LLMs such as Llama3.1-405B-Instruct and GPT4. By combining sequential refinement and parallel sampling, the propose-and-aggregate framework scales inference-time computation in a flexible manner. Overall, These findings position AFT as a promising approach to unlocking additional capabilities of LLMs without resorting to increasing data volume or model size.

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

↑