Lightning Weave: Improving the Accuracy-Efficiency Frontier of Reasoning Models through Capability Composition

Yecheng Wu, Song Han, Han Cai
9/13/2026
1 citation
cs.AI

Official code: jet-ai-projects/Lightning-Weave (6 stars, Python, Apache-2.0, last commit 2026-10-12).

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.

Show full abstract

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 is released at https://github.com/jet-ai-projects/Lightning-Weave.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
62Python, ShellSep 16, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{wu2026lightning,
  title  = {Lightning Weave: Improving the Accuracy-Efficiency Frontier of Reasoning Models through Capability Composition},
  author = {Yecheng Wu and Song Han and Han Cai},
  year   = {2026},
  eprint = {2609.14708},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.14708v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.14708.svg)](https://codeofpaper.com/paper/2609.14708)

Discussion