Orca 2: Teaching Small Language Models How to Reason

Orca 1通过丰富的信号(如解释跟踪)进行学习,使其在BigBench Hard和AGIEval等基准测试中优于传统的指令调整模型。在Orca 2中,我们继续探索如何通过改进的训练信号增强较小的语言模型的推理能力。训练小型语言模型的研究通常依赖于模仿学习,以复制更强大模型的输出。我们认为,过分强调模仿可能会限制较小模型的潜力。我们希望教小型语言模型使用不同的解决策略来处理不同的任务,这些策略可能不同于较大模型所使用的策略。例如,虽然较大的模型可能会直接回答复杂的任务,但较小的模型可能没有相同的能力。在Orca 2中,我们教授模型各种推理技巧(逐步,回忆然后生成,回忆推理生成,直接回答等)。更重要的是,我们旨在帮助模型学习确定每个任务的最有效解决策略。我们使用包含约100个任务和超过36,000个唯一提示的15个多样化基准测试对Orca 2进行评估。在测试高级推理能力的复杂任务的零-shot设置下,Orca 2明显超过了大小相似的模型,并获得了与5-10倍大模型相似或更好的性能水平。我们在aka.ms/orca-lm上公开Orca 2的权重,以支持对较小语言模型的开发、评估和对齐的研究。
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
许愿