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

民主化推理能力:来自大型语言模型的定制化学习

Democratizing Reasoning Ability: Tailored Learning from Large Language Model

Sun Yat-sen University(中山大学);Peking University(北京大学);Microsoft(微软)

Zhaoyang Wang, Shaohan Huang, Yuxuan Liu, Jiahai Wang, Minghui Song, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang

AI总结:

本文提出一种定制化学习方法,通过交互式多轮学习范式和自我反思机制,将大型语言模型的推理能力蒸馏到较小的语言模型中,以促进推理能力的民主化。

摘要:

大型语言模型(LLMs)在自然语言处理中展现出令人印象深刻的涌现能力,但由于巨大的计算需求和闭源性质,其民主化受到阻碍。近期关于通过从黑盒LLMs蒸馏知识来推进开源较小语言模型的研究,在指令遵循能力方面取得了可喜成果。然而,对于更具挑战性且亟待培养的推理能力,却相对较少被探索。本文提出一种定制化学习方法,将这种推理能力蒸馏到较小的语言模型中,以促进专属推理能力的民主化。与仅将LLM用作数据标注器不同,我们通过构建交互式多轮学习范式,挖掘了LLM作为推理教师的潜力。该范式使学生模型能够向黑盒教师暴露其不足,随后教师会提供定制化训练数据作为反馈。此外,为挖掘较小语言模型的推理潜力,我们提出自我反思学习,促使学生模型从自身产生的错误中学习。得益于与多轮学习范式的无缝集成,来自自我反思和LLM的学习均针对学生的学习状态进行了定制。在数学和常识推理任务上的综合实验与分析证明了我们方法的有效性。代码将在https://github.com/Raibows/Learn-to-Reason发布。

英文摘要:

Large language models (LLMs) exhibit impressive emergent abilities in natural language processing, but their democratization is hindered due to huge computation requirements and closed-source nature. Recent research on advancing open-source smaller LMs by distilling knowledge from black-box LLMs has obtained promising results in the instruction-following ability. However, the reasoning ability which is more challenging to foster, is relatively rarely explored. In this paper, we propose a tailored learning approach to distill such reasoning ability to smaller LMs to facilitate the democratization of the exclusive reasoning ability. In contrast to merely employing LLM as a data annotator, we exploit the potential of LLM as a reasoning teacher by building an interactive multi-round learning paradigm. This paradigm enables the student to expose its deficiencies to the black-box teacher who then can provide customized training data in return. Further, to exploit the reasoning potential of the smaller LM, we propose self-reflection learning to motivate the student to learn from self-made mistakes. The learning from self-reflection and LLM are all tailored to the student's learning status, thanks to the seamless integration with the multi-round learning paradigm. Comprehensive experiments and analysis on mathematical and commonsense reasoning tasks demonstrate the effectiveness of our method. The code will be available at https://github.com/Raibows/Learn-to-Reason.

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

↑