闪电编织:通过能力组合提升推理模型的精度-效率前沿

·

研究论文 · 2026/09/16

提升准确率-效率前沿是高效推理的核心目标,但联合提升推理准确率和推理效率颇具挑战,因为这两个目标可能偏好不同的推理行为。独立后训练的模型已在准确率和效率上展现出不同优势。我们提出 Lightning Weave,一种后训练框架,通过在线策略蒸馏将独立学习到的能力提取并组合到单个学生模型中。每种获得的能力由后训练前模型到所得专家模型的策略偏移表示。Lightning Weave 在共享的学生 token 状态上组合对齐的对数比率偏移,并使用 Tilted-Target DOPD 将缓存信号转换为稳定的学习目标。每个锚点对缓存轨迹评分一次,使得后续学生训练无需同时服务多个实时锚点模型。在多种学生模型及数学和代码基准上,Lightning Weave 显著优于基础学生模型,并达到最先进的准确率-效率前沿。在 Qwen3.5-4B 上,它将 HMMT 2025 准确率从 59.2% 提升至 64.0%,响应 token 减少 10.7%;将 LiveCodeBench v5 准确率从 41.7% 提升至 54.2%,响应 token 减少 9.6%。调整锚点信号的相对强度可产生强经验准确率-效率帕累托前沿。这些结果确立了 Lightning Weave 作为通过能力组合实现高效推理的新实用途径。代码即将发布。

该工作提出了一种通过能力组合提升推理模型准确率-效率前沿的新实用方法,在多个基准上实现了准确率提升与 token 减少的双重优势,并提供了可调节的帕累托前沿,对高效推理研究具有重要参考价值。

A core goal of efficient reasoning is to improve the accuracy-efficiency frontier. However, jointly improving reasoning accuracy and inference efficiency can be challenging, as the two objectives can favor different reasoning behaviors. Independently post-trained models already offer distinct strengths in accuracy and efficiency. We introduce Lightning Weave, a post-training framework that extracts and composes these independently learned capabilities in a single student through on-policy distillation. Each acquired capability is represented by the policy shift from the model before post-training to the resulting specialist. Lightning Weave combines aligned log-ratio shifts at shared student token states and uses Tilted-Target DOPD to convert the cached signals into a stable learning target. Each anchor pair scores the cached trajectories once, enabling subsequent student training without serving multiple live anchor models concurrently. Across diverse student models and benchmarks in mathematics and code, Lightning Weave substantially improves upon the base students and achieves a state-of-the-art accuracy-efficiency frontier. On Qwen3.5-4B, it raises HMMT 2025 accuracy from 59.2% to 64.0% with 10.7% fewer response tokens, and LiveCodeBench v5 accuracy from 41.7% to 54.2% with 9.6% fewer response tokens. Adjusting the relative strengths of the anchor signals yields a strong empirical accuracy-efficiency Pareto frontier. These results establish Lightning Weave as a new practical route to efficient reasoning through capability composition. Code will be released soon.

阅读原文

参与讨论