A capability is a policy shift
Pair each specialist π+ with its checkpoint before post-training π−. Their token-level log-ratio keeps what post-training changed and drops what the base already knew.
Efficient reasoning · on-policy distillation
1 MIT2 NVIDIA
Two specialists each learned half of efficient reasoning.
Weave both halves into one student.
Overview · 1 min
Animated from the talk slides. No sound.
TL;DRLightning Weave takes what independently post-trained specialists already learned, an accuracy shift from Klear and an efficiency shift from DECS, and composes them at every token of the student's own reasoning. A tilted target keeps offline training stable, so each anchor pair scores the data once and the student then trains alone. On all five students tested, the result is more accurate and shorter than the base model.
Figure 1 of the paper. Left: each anchor pair isolates one capability, and Lightning Weave composes both into a single student. Right: on Qwen3-4B-Thinking-2507, changing the relative strength of the two capabilities traces an HMMT 2025 frontier.
Abstract
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.
01 · Method
Accuracy and efficiency pull reasoning in different directions, so training for both at once is hard. Specialists that already learned each one exist. Lightning Weave transfers what they learned through the student's own outputs, so the anchors can differ from the student in size and family.
Pair each specialist π+ with its checkpoint before post-training π−. Their token-level log-ratio keeps what post-training changed and drops what the base already knew.
All anchor pairs score the same student rollouts, so their shifts line up token by token. Shifts that agree reinforce each other, conflicts are settled locally, and the weights set the balance.
The composed shift tilts the frozen behavior policy into one explicit target, and the student minimizes its KL to that target. The loss and gradient vanish once the student reaches it, which makes offline training stable.
Online, two capabilities mean four anchor models served next to the student at every step. Here each pair scores the cached rollouts once, following Lightning OPD, and training needs only the student and the cached scores. One cache serves every weighting.
Figure 2 of the paper. (1) Capability-specific policy shifts on shared student token states. (2) Statewise multi-anchor composition. (3) Tilted-target distillation.
02 · Tilted target
Reusing DOPD's sampled-token objective on a fixed cache keeps pushing after the shift has been absorbed, because its KL penalty is estimated on cached actions that the student has moved away from. The tilted target gives training a fixed point. It matches online DOPD without serving any anchor.
From Table 4(a) of the paper. Matched student initialization, prompt sequence, trajectory budget and update budget within each setting. The dashed line marks the base model's 15,723 tokens.
03 · Main results
Klear + DECS at equal weights, on five students across Qwen3, Qwen3.5 and OLMo-3. Averages over AIME 2024, AIME 2025, HMMT 2025 and LiveCodeBench v5 and v6.
Acc. = mean accuracy (%), Avg@64 for math and Avg@4 for code. Tok. = mean response tokens. AES = accuracy–efficiency score against the base model. Bold marks the best value per column. From Table 1 of the paper.
04 · Frontier
Each weight is one student trained from the same cache. More DECS weight shortens responses, and the middle weights keep or raise accuracy. The non-dominated students trace a Pareto frontier over the base, both single anchors and four other methods.
Qwen3-4B-Thinking-2507, from Table 2 of the paper. Other methods: SimpleSD, Qwen3-4B-Thinking-2507-Art, PromptCoT 2.0 and model interpolation (MI, λ = 0.8). The 0.5 student is the one in the main results. Solid line: non-dominated students; dashed: dominated ones.
05 · Token budgets
Every AIME 2024 response is cut at 4K, 8K and 16K tokens and graded again. Lightning Weave leads at every cap, by 6 or more points over the better single anchor up to 16K.
Qwen3-4B-Thinking-2507, 64 samples on each of the 30 problems. Responses are truncated with the Qwen3 tokenizer and re-graded with the same answer checker. The 32K point is the original evaluation. From Figure 3(c) of the paper.
06 · Analysis
Against data mixture: +1.24 points with 7.1% fewer tokens. Sequential training is order-sensitive, and whichever anchor goes last wins.
Qwen3-4B, matched data and updates. From Table 4(b) of the paper.
All three anchors: +6.6 points over the base with 5.4% fewer tokens. Adding an anchor moves the student toward that anchor's capability.
Qwen3-4B, equal weights. From Table 3 of the paper.
100-round settings; CPU target construction excluded. From Table 6 of the paper.
Citation
@article{wu2026lightningweave,
title={Lightning Weave: Improving the Accuracy-Efficiency Frontier of Reasoning Models through Capability Composition},
author={Wu, Yecheng and Han, Song and Cai, Han},
journal={arXiv preprint arXiv:2609.14708},
year={2026}
}