让小模型学会自动把难推理部分交给大模型,提升效率与准确率。
SplitReason: Learning To Offload Reasoning
- 小模型自判难点并触发转交大模型处理,实现智能分流。
- 在AIME24上准确率提升24%~28.3%,仅需转交1.35%~5%的token。
- 适用于需要高效高精度推理的场景,如数学解题与复杂任务。
大型语言模型(LLMs)的推理过程会产生远长于普通语言建模的生成序列,这种多步、组合式的特性虽常带来更高准确率,却加剧了模型固有的串行解码与内存瓶颈。然而,并非所有推理步骤都同等困难。本文通过分析来自OpenR1-Math-220k链式思维数据集的18,000条推理轨迹,标注出其中困难段落,并对一个15亿参数的推理模型进行监督微调(SFT)与强化学习微调(RLFT),训练其自主识别并触发将最难部分转交至更大模型处理。该方法在AIME24基准上使推理准确率分别提升24%和28.3%,同时仅转交1.35%和5%的生成token。相关模型、数据、代码与日志已开源。
原文摘要 · Abstract (English)
Reasoning in large language models (LLMs) tends to produce substantially longer token generation sequences than simpler language modeling tasks. This extended generation length reflects the multi-step, compositional nature of reasoning and is often correlated with higher solution accuracy. From an efficiency perspective, longer token generation exacerbates the inherently sequential and memory-bound decoding phase of LLMs. However, not all parts of this expensive reasoning process are equally difficult to generate. We leverage this observation by offloading only the most challenging parts of the reasoning process to a larger, more capable model, while performing most of the generation with a smaller, more efficient model; furthermore, we teach the smaller model to identify these difficult segments and independently trigger offloading when needed. To enable this behavior, we annotate difficult segments across 18k reasoning traces from the OpenR1-Math-220k chain-of-thought (CoT) dataset. We then apply supervised fine-tuning (SFT) and reinforcement learning fine-tuning (RLFT) to a 1.5B-parameter reasoning model, training it to learn to offload the most challenging parts of its own reasoning process to a larger model. This approach improves AIME24 reasoning accuracy by 24% and 28.3% while offloading 1.35% and 5% of the generated tokens respectively. We open-source our SplitReason model, data, code and logs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。