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

Orca 2:教小型语言模型如何推理

Orca 2: Teaching Small Language Models How to Reason

Microsoft Research(微软研究院)
Arindam Mitra, Luciano Del Corro, Shweti Mahajan, Andres Codas, Clarisse Simoes, Sahaj Agarwal, Xuxi Chen, Anastasia Razdaibiedina, Erik Jones, Kriti Aggarwal, … 展开作者

Arindam Mitra, Luciano Del Corro, Shweti Mahajan, Andres Codas, Clarisse Simoes, Sahaj Agarwal, Xuxi Chen, Anastasia Razdaibiedina, Erik Jones, Kriti Aggarwal, Hamid Palangi, Guoqing Zheng, Corby Rosset, Hamed Khanpour, Ahmed Awadallah

AI总结:

Orca 2 通过教授小型语言模型多种推理技术并学习为不同任务选择最优策略,在零样本复杂推理任务上显著超越同规模模型,达到5-10倍大模型的性能。

摘要:

Orca 1 从丰富的信号(如解释轨迹)中学习,使其在 BigBench Hard 和 AGIEval 等基准测试中优于传统的指令微调模型。在 Orca 2 中,我们继续探索改进的训练信号如何增强较小 LM 的推理能力。关于训练小型 LM 的研究通常依赖模仿学习来复制更强大模型的输出。我们认为过度强调模仿可能会限制较小模型的潜力。我们寻求教小型 LM 针对不同任务采用不同的求解策略,这些策略可能与较大模型所使用的策略不同。例如,虽然较大模型可能会对复杂任务提供直接答案,但较小模型可能不具备同样的能力。在 Orca 2 中,我们教授模型各种推理技术(逐步推理、先回忆再生成、回忆-推理-生成、直接回答等)。更关键的是,我们旨在帮助模型学会为每个任务确定最有效的求解策略。我们使用一套包含 15 个多样化基准的综合集合(对应约 100 个任务和超过 36,000 个独特提示)来评估 Orca 2。Orca 2 显著超越了相似规模的模型,并在零样本设置下测试高级推理能力的复杂任务中,达到了比其大 5-10 倍模型相似或更好的性能水平。我们在 aka.ms/orca-lm 公开提供 Orca 2 权重,以支持小型 LM 的开发、评估和对齐研究。

英文摘要:

Orca 1 learns from rich signals, such as explanation traces, allowing it to outperform conventional instruction-tuned models on benchmarks like BigBench Hard and AGIEval. In Orca 2, we continue exploring how improved training signals can enhance smaller LMs' reasoning abilities. Research on training small LMs has often relied on imitation learning to replicate the output of more capable models. We contend that excessive emphasis on imitation may restrict the potential of smaller models. We seek to teach small LMs to employ different solution strategies for different tasks, potentially different from the one used by the larger model. For example, while larger models might provide a direct answer to a complex task, smaller models may not have the same capacity. In Orca 2, we teach the model various reasoning techniques (step-by-step, recall then generate, recall-reason-generate, direct answer, etc.). More crucially, we aim to help the model learn to determine the most effective solution strategy for each task. We evaluate Orca 2 using a comprehensive set of 15 diverse benchmarks (corresponding to approximately 100 tasks and over 36,000 unique prompts). Orca 2 significantly surpasses models of similar size and attains performance levels similar or better to those of models 5-10x larger, as assessed on complex tasks that test advanced reasoning abilities in zero-shot settings. make Orca 2 weights publicly available at aka.ms/orca-lm to support research on the development, evaluation, and alignment of smaller LMs

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

↑