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

小语言模型的自学自校正

Self-Taught Self-Correction for Small Language Models

Skoltech(斯科尔泰克理工学院);HSE University(高等经济大学);University of Hamburg(汉堡大学)

Viktor Moskvoretskii, Chris Biemann, Irina Nikishina

AI总结:

本文提出STaSC算法,通过仅用自生成数据迭代微调小语言模型,使其学会自校正并在问答任务上显著提升性能,同时分析了自校正机制与设计选择的影响。

摘要:

尽管大语言模型(LLMs)在各类任务上取得了显著性能,它们仍然容易出错。一个关键挑战是使其能够自我校正。此前的研究依赖外部工具或大型专有模型,而本研究探索通过仅使用自生成数据进行迭代微调,在小语言模型(SLMs)中实现自校正。我们提出了自学自校正(STaSC)算法,该算法融合了多种算法设计选择。在问答任务上的实验结果表明,STaSC 能有效学习自校正,从而带来显著的性能提升。我们的分析进一步揭示了自校正机制以及不同设计选择对学习动态和整体性能的影响。为支持未来研究,我们发布了用户友好的代码库和轻量级模型。

英文摘要:

Although large language models (LLMs) have achieved remarkable performance across various tasks, they remain prone to errors. A key challenge is enabling them to self-correct. While prior research has relied on external tools or large proprietary models, this work explores self-correction in small language models (SLMs) through iterative fine-tuning using solely self-generated data. We introduce the Self-Taught Self-Correction (STaSC) algorithm, which incorporates multiple algorithmic design choices. Experimental results on a question-answering task demonstrate that STaSC effectively learns self-correction, leading to significant performance improvements. Our analysis further provides insights into the mechanisms of self-correction and the impact of different design choices on learning dynamics and overall performance. To support future research, we release our user-friendly codebase and lightweight models.

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

↑