Baby's CoThought:利用大型语言模型增强紧凑模型的推理能力
Baby's CoThought: Leveraging Large Language Models for Enhanced Reasoning in Compact Models
AI总结:
提出CoThought流水线,利用GPT-3.5-turbo重构小规模数据集并训练BabyLM,使其在多项任务上超越原始RoBERTa,证明LLM重构数据可提升紧凑模型性能。
摘要:
大型语言模型(LLMs)在各种自然语言理解(NLU)任务上表现出色,主要归功于其上下文学习能力。这种能力可应用于构建类婴儿模型,即小规模模型,从而提升训练效率。在本文中,我们提出了一种“CoThought”流水线,通过利用LLMs的思维链提示来高效训练较小的“婴儿”语言模型(BabyLMs)。我们的流水线使用GPT-3.5-turbo对规模小于100M的数据集进行重构,将其转化为面向任务的、人类可读的文本,这些文本类似于语言学习者的学校教材。随后,BabyLM以RoBERTa的方式在此重构数据集上进行预训练。在4个基准的评估中,我们的BabyLM在10项语言学、NLU和问答任务上以超过3分的优势胜过原始的RoBERTa,展现出卓越的上下文信息提取能力。这些结果表明,在小型、经LLM重构的数据上预训练的紧凑型LM能够更好地理解任务并实现性能提升。
英文摘要:
Large Language Models (LLMs) demonstrate remarkable performance on a variety of natural language understanding (NLU) tasks, primarily due to their in-context learning ability. This ability could be applied to building babylike models, i.e. models at small scales, improving training efficiency. In this paper, we propose a "CoThought" pipeline, which efficiently trains smaller "baby" language models (BabyLMs) by leveraging the Chain of Thought prompting of LLMs. Our pipeline restructures a dataset of less than 100M in size using GPT-3.5-turbo, transforming it into task-oriented, human-readable texts that are comparable to the school texts for language learners. The BabyLM is then pretrained on this restructured dataset in a RoBERTa fashion. In evaluations across 4 benchmarks, our BabyLM outperforms the vanilla RoBERTa in 10 linguistic, NLU, and question-answering tasks by more than 3 points, showing a superior ability to extract contextual information. These results suggest that compact LMs pretrained on small, LLM-restructured data can better understand tasks and achieve improved performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。