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

Sci-CoT:利用大型语言模型增强小模型在科学问答中的知识蒸馏

Sci-CoT: Leveraging Large Language Models for Enhanced Knowledge Distillation in Small Models for Scientific QA

South China Normal University(华南师范大学)

Yuhan Ma, Haiqi Jiang, Chenyou Fan

AI总结:

本文提出两阶段框架 Sci-CoT,通过知识蒸馏将大模型的思维链推理能力迁移到小模型,使 8000 万参数模型在 ARC-Easy 科学问答数据集上超越 BLOOM-176B。

摘要:

大型语言模型(LLMs)在广泛的下游任务中表现出卓越的性能。这种能力归因于其庞大的参数规模和在广泛语料库上的预训练。此外,由于采用了一种名为“思维链(Chain-of-Thought, CoT)提示”的方法,LLMs 在应对复杂推理任务时展现出增强的推理能力。该方法旨在生成中间推理步骤,以引导最终答案的推断。然而,必须强调,这些高级推理能力似乎仅在参数规模至少为 100 亿的模型中涌现,从而限制了其在计算资源受限情况下的有效性。在本文中,我们研究了通过知识蒸馏将 LLMs 的推理能力迁移到较小模型的可能性。具体而言,我们提出了 Sci-CoT,一个两阶段框架,将生成推理依据(rationales)和推断答案的过程分离开来。该方法能够在答案推断阶段更高效地利用推理依据,从而提升在科学问答任务上的性能。利用 Sci-CoT,我们的 8000 万参数模型在 few-shot 设置下,在 ARC-Easy 数据集上的表现能够超越 BLOOM-176B。

英文摘要:

Large Language Models (LLMs) have shown outstanding performance across wide range of downstream tasks. This competency is attributed to their substantial parameter size and pre-training on extensive corpus. Moreover, LLMs have exhibited enhanced reasoning capabilities in tackling complex reasoning tasks, owing to the utilization of a method named ``Chain-of-Thought (CoT) prompting''. This method is designed to generate intermediate reasoning steps that guide the inference of the final answer. However, it is essential to highlight that these advanced reasoning abilities appear to emerge in models with a minimum of 10 billion parameters, thereby limiting its efficacy in situations where computational resources are constrained. In this paper, we investigate the possibility of transferring the reasoning capabilities of LLMs to smaller models via knowledge distillation. Specifically, we propose Sci-CoT, a two-stage framework that separates the processes of generating rationales and inferring answers. This method enables a more efficient use of rationales during the answer inference stage, leading to improved performance on scientific question-answering tasks. Utilizing Sci-CoT, our 80-million parameter model is able to exceed the performance of BLOOM-176B in the ARC-Easy dataset under the few shot setting.

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

↑