Reasoning models become long-horizon agents through reinforcement learning or, more cheaply, through fine-tuning on a stronger teacher's trajectories, which contain the teacher's chain-of-thought as well as its actions. The standard fine-tuning approach imitates both, yet the strongest teachers are closed models whose chain-of-thought is hidden behind an API. We show that the chain-of-thought can be left out altogether and that the long-horizon policy can be distilled from the teacher's actions alone. The student is trained on these trajectories with its reasoning block left empty, while a KL loss on a replay buffer of its own generations limits drift from its initial model. Surprisingly, the policy learned from these trajectories with an empty reasoning block carries over to inference with thinking enabled, where the student reasons in its own style while acting like the teacher, an effect we call cross-format transfer. Distilling the actions of Qwen3.6-27B raises the task success of Qwen3-4B on AppWorld from 7% to 18% and that of Qwen3-32B from 12% to 25%. We further introduce CoT-proxies, short summaries of the teacher's reasoning placed after the empty reasoning block, which raise Qwen3-4B further, to 35%. Since neither actions nor CoT-proxies need the hidden chain-of-thought, the recipe applies unchanged to closed teachers. Distilling GPT-5.6 Luna from its visible outputs and the reasoning summaries its API returns raises Qwen3-4B from 7% to 48% on AppWorld and from 3% to 28% on SWE-bench Verified.
Figures & tables
Figure 1: The three training targets and the student’s inference format, shown for one turn. Each teacher turn is rendered into a target with a prefilled prefix (grey, no loss) and a supervised remainder (blue). The full-CoT target prefills only the opening of the reasoning block and supervises the teacher’s thought and action; the action-only target prefills an empty block and supervises only the action; the CoT-proxy target additionally supervises a summary of the thought between the empty think block and the action. At inference only the opening token is prefilled, allowing the student to generate its own reasoning before acting (green). The inference row illustrates the intended structure, not a constraint enforced on generated responses. Earlier turns of a trajectory are rendered in the same representation as the target turn.
AppWorld
SWE-bench
Model
Target
TGC (%)
SGC (%)
Turns
In budget (%)
Verified (%)
Turns
In budget (%)
Qwen3.6-27B (teacher)
–
60.7 ± 1.6
32.1 ± 1.8
16.3
95.2
69.3 ± 0.4
44.1
85.4
Qwen3-4B
Initial
7.3 ± 1.9
1.8 ± 1.8
13.6
98.8
2.7 ± 0.6
10.2
93.2
Full-CoT
29.2 ± 3.3
7.7 ± 2.7
23.7
80.4
3.9 ± 0.8
63.3
56.3
Action-only
17.9 ± 1.6
6.5 ± 2.1
16.8
99.8
5.5 ± 0.8
58.0
84.3
CoT-proxy
34.5 ± 3.7
14.3 ± 5.4
23.1
96.8
15.1 ± 1.4
54.9
47.5
Table 1: Task success of students distilled from the open teacher with each training target, on the AppWorld test-normal split (168 tasks, 56 scenarios) and on SWE-bench Verified (500 tasks). Every number is the mean over three seeds, with the standard deviation provided for the scores. Turns is the mean number of model responses per task. In budget is the share of trajectories that end before exhausting the token budget of the accumulated context.
AppWorld
SWE-bench
Model
Target
TGC (%)
SGC (%)
Turns
In budget (%)
Verified (%)
Turns
In budget (%)
GPT-5.6 Luna (teacher)
–
89.3 ± 1.2
82.1 ± 3.1
17.1
99.8
88.2
16.8
91.2
Qwen3-4B
Initial
7.3 ± 1.9
1.8 ± 1.8
13.6
98.8
2.7 ± 0.6
10.2
93.2
Action-only
35.1 ± 3.9
19.0 ± 7.4
14.9
99.0
18.0
31.0
90.2
CoT-proxy
48.2 ± 1.0
31.0 ± 2.7
19.7
96.8
27.8
28.3
62.4
Qwen3-32B
Initial
11.5 ± 1.5
3.6 ± 1.8
12.9
92.3
5.8 ± 0.2
14.8
80.1
Table 2: Task success of students distilled from the closed teacher, which has no full-CoT configuration as its reasoning is hidden. The CoT-proxy configuration uses the reasoning summaries returned by the API. The AppWorld recipe and evaluation are identical to Table 1 , and every AppWorld number is a three-seed mean, with its standard deviation for the scores. The SWE-bench students are trained on a larger set of teacher trajectories for five passes (Section 3 ) and are single runs, as is the teacher’s SWE-bench score. Turns is the mean number of model responses per task. In budget is the share of trajectories that end before exhausting the token budget of the accumulated context.
Target
Replay
TGC (%)
AIME25 (%)
IFEval (%)
MMLU-Pro (%)
KL ( ×10−3 )
Initial
–
7.3 ± 1.9
74.7 ± 2.1
87.9 ± 0.2
73.0 ± 0.6
0
Full-CoT
0%
28.2 ± 4.8
68.9 ± 1.3
87.1 ± 1.1
72.4 ± 0.9
42.1 ± 0.4
Full-CoT
15%
29.2 ± 3.3
74.2 ± 1.4
87.9 ± 0.9
72.6 ± 1.2
2.7 ± 0.0
Action-only
0%
14.3 ± 3.0
71.1 ± 0.5
87.9 ± 1.2
72.1 ± 0.8
12.0 ± 0.4
Action-only
15%
17.9 ± 1.6
71.7 ± 0.8
88.0 ± 0.5
72.4 ± 0.6
1.3 ± 0.0
CoT-proxy
0%
29.4 ± 5.3
71.4 ± 4.3
86.8 ± 0.7
73.4 ± 0.5
27.4 ± 0.6
Table 3: Replay fraction and capability retention for the Qwen3-4B student trained on AppWorld with open-teacher data. AIME25, IFEval and MMLU-Pro are the single-turn benchmarks with reported accuracy. KL is the held-out divergence from the initial model to the student in units of 10−3 nats per token, where lower is better. Every cell averages three training seeds, each evaluated once, and the better run of each pair is in bold.
Target
Out-of-domain replay
In-domain replay
Initial
7.3 ± 1.9
7.3 ± 1.9
Full-CoT
29.2 ± 3.3
11.1 ± 1.2
Action-only
17.9 ± 1.6
7.3 ± 1.9
CoT-proxy
34.5 ± 3.7
8.3 ± 1.6
Table 4: AppWorld task success (%) of Qwen3-4B with open-teacher data and 15% replay when the replay pool is out of domain or in domain, three training seeds per cell. The out-of-domain column repeats the runs of Table 1 ; the in-domain column replaces the replay pool by the initial student’s own AppWorld training trajectories.
Teacher
Target
TGC (%)
–
Initial
7.3 ± 1.9
Qwen3.6-27B
Full-CoT
29.2 ± 3.3
Qwen3.6-27B
CoT-proxy
34.5 ± 3.7
Qwen3.6-27B
Summary as CoT
23.4 ± 3.6
GPT-5.6 Luna
CoT-proxy
48.2 ± 1.0
GPT-5.6 Luna
Summary as CoT
33.9 ± 1.6
Table 5: AppWorld task success of Qwen3-4B with 15% replay when the same teacher summary is placed after the empty think block (CoT-proxy) or inside it (summary as CoT), three training seeds per cell. The summary-as-CoT variant keeps the same summary text and the same actions but places the summary inside the think block and supervises it as the full-CoT target supervises the teacher’s thought. The remaining entries repeat the runs of Tables 1 and 2 .
Summary source
GPU-hours
TGC (%)
SGC (%)
Teacher reasoning, Qwen3.6-27B with thinking (default)
7.5
34.5 ± 3.7
14.3 ± 5.4
Teacher reasoning, Qwen3-4B-Instruct
0.08
36.9 ± 3.1
15.5 ± 4.5
Teacher reasoning, Qwen3-1.7B without thinking
0.09
27.6 ± 2.1
8.3 ± 2.1
Post-hoc explanation, Qwen3.6-27B with thinking
10.5
29.0 ± 2.2
10.1 ± 1.0
No summary (action-only)
–
17.9 ± 1.6
6.5 ± 2.1
Table 6: AppWorld task success of Qwen3-4B with open-teacher data when the summaries of the CoT-proxy target come from different sources, three training seeds per cell. The first three rows summarize the teacher’s reasoning with different annotators; the post-hoc explanation is written by the default annotator from the task, the last observation and the action, without teacher’s reasoning. GPU-hours are the wall-clock time of the annotation jobs on one H100.
Teacher
Target
Visible text removed
Visible text kept
Qwen3.6-27B
Full-CoT
29.2 ± 3.3
28.2 ± 4.8
Qwen3.6-27B
Action-only
17.9 ± 1.6
4.6 ± 0.9
Qwen3.6-27B
CoT-proxy
34.5 ± 3.7
24.6 ± 1.2
GPT-5.6 Luna
Action-only
35.1 ± 3.9
5.6 ± 3.1
GPT-5.6 Luna
CoT-proxy
48.2 ± 1.0
36.1 ± 5.9
Table 7: AppWorld task success (TGC, %) of Qwen3-4B with 15% replay when the target keeps only the parsed action of the teacher’s visible response, as in the rest of the paper, or the whole visible response, three training seeds per cell. The first column repeats the runs of Tables 1 and 2 .
Figure 2: Length of the closed think block per response for the Qwen3-4B students of Table 1 on AppWorld, pooled over the three seeds, and of the teacher’s thoughts in the AppWorld training data (dashed). Each curve is the fraction of responses per bin on a logarithmic token axis.
Configuration
“Okay”
“The user”
“Wait”
“Let me”
Initial
100%
0%
98%
92%
Full-CoT
0%
85%
5%
1%
Action-only
100%
0%
90%
96%
CoT-proxy
86%
0%
77%
85%
Teacher, training data
0%
82%
9%
0%
Table 8: Phrasing markers in the think blocks of the first two turns of every AppWorld test task, main seed, and in the first two turns of the teacher’s training trajectories. The first two columns of markers count think blocks that open with the phrase, the last two count think blocks that contain it.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
AppWorld
SWE-bench
Turns
3,704
8,993
Retries
78 (2.1%)
341 (3.8%)
Requests including retries
3,782
9,334
Input tokens per request (mean)
313
264
Output tokens per request, reasoning + summary (mean)
1,500 + 28
1,368 + 22
Total input / output tokens
1.2M / 5.8M
2.5M / 13.0M
Appendix
Table 9: Cost of generating the CoT-proxy summaries for the open teacher’s training trajectories with the default annotator. A retry is an additional request after a rejected draft. GPU-hours are the wall-clock time of the annotation jobs on one H100.
Setting
Value
Adapter
LoRA with rank 16 and alpha 32 on all linear layers, no dropout
Precision
bf16 base weights, fp32 adapter weights
Optimizer
AdamW, learning rate 3e-5, constant after two warmup updates, gradient clipping at 1.0
Update
20 samples, 17 from the teacher and 3 from the replay pool, one at a time with gradient accumulation
Exposure
8 passes over the teacher samples, 128 updates on AppWorld and 118 on SWE-bench; 5 passes (874 updates) for the closed teacher on SWE-bench
Objective
Cross-entropy on teacher samples and KL to the initial model on replay samples, each normalized by its own token count
Appendix
Table 10: The fixed recipe, identical for every configuration, student, teacher and environment except for the 32B context cap. Passes are counted on the teacher samples, so a run with 15% replay takes 128 updates where a run without replay takes 108.
Setting
Value
Turn limit
50 on AppWorld, 75 on SWE-bench
Output
8,192 tokens per response
Model context
65,536 tokens, 40,960 for Qwen3-32B
Transcript budget
40,960 accumulated tokens of task, history and observations; a trajectory that exceeds it or the model context is stopped, and In budget in Tables 1 and 2 counts the others
Observations
Clipped to 3,000 tokens
Wall-clock limit
2,400 seconds per task
Appendix
Table 11: Evaluation settings, identical for every model and training target except for the Qwen3-32B context.
Figure 3: One inference turn of the Qwen3-4B CoT-proxy student on an AppWorld test task. The yellow token is the prefilled opening of the think block; everything after it is generated by the student (green). The student fills the think block with its own reasoning and moves directly to the action, without the summary block that was present during training.
Configuration
Seed
Responses
Mean
Median
p90
First turn
Initial
1
2,290
1,005
534
2,264
4,799
2
2,401
986
527
2,152
4,626
3
2,162
1,050
562
2,411
4,792
Full-CoT
1
4,005
104
68
224
180
2
4,392
106
87
202
188
3
3,531
101
56
205
192
Appendix
Table 12: Think-block length in tokens per response for the Qwen3-4B students of Table 1 on AppWorld, per evaluation seed, and the teacher’s thoughts in the AppWorld training data. Mean, median and p90 are over the closed think blocks of each seed, and the first-turn column is the median over the first response of every task.
Configuration
Thinking
Verified (%)
Turns
Initial
enabled
5.8 ± 0.2
14.8
Initial
disabled
4.2 ± 1.3
38.6
CoT-proxy
enabled
21.7 ± 0.8
48.1
CoT-proxy
disabled
5.1 ± 1.6
64.5
Appendix
Table 13: SWE-bench Verified task success and mean number of model responses per task for the initial Qwen3-32B model and its CoT-proxy student of Table 1 , evaluated with thinking enabled and disabled on the same checkpoints. Every number is the mean over three seeds, with the standard deviation for the scores.
Training target
AppWorld TGC (%)
SWE-bench Verified (%)
Initial
7.3 ± 1.9
2.7 ± 0.6
Full-CoT
29.2 ± 3.3
3.9 ± 0.8
Action-only
17.9 ± 1.6
5.5 ± 0.8
CoT-proxy
34.5 ± 3.7
15.1 ± 1.4
CoT-proxy, shuffled summaries
23.0 ± 3.5
3.7 ± 1.1
Appendix
Table 14: Task success of Qwen3-4B students trained on the open teacher’s trajectories, on AppWorld and SWE-bench Verified. The first four rows are from Table 1 ; the last row uses the CoT-proxy recipe with summaries shuffled across all training turns and trajectories. Every number is the mean over three seeds with its standard deviation.
Configuration
Responses
At the cap
Share (%)
Initial
6,853
0
0.00
Full-CoT
11,928
34
0.29
Action-only
8,452
1
0.01
CoT-proxy
11,625
0
0.00
Appendix
Table 15: Responses of the Qwen3-4B students on AppWorld that ended at the 8,192-token output cap, pooled over the three seeds.
Teacher
Model
Benchmark
Comparison
Δ (pp)
95% CI
p (Holm)
Qwen3.6-27B
Qwen3-4B
AppWorld
CoT-proxy − Action-only
+16.7
[+10.1, +23.4]
0.002
CoT-proxy − Full-CoT
+5.4
[ − 0.8, +11.5]
0.56
Full-CoT − Action-only
+11.3
[+4.8, +17.5]
0.009
Action-only − Initial
+10.5
[+6.2, +15.3]
0.002
CoT-proxy − Initial
+27.2
[+20.0, +34.5]
0.002
Qwen3.6-27B
Qwen3-4B
SWE-bench
CoT-proxy − Action-only
+9.6
[+7.5, +11.8]
0.002
Appendix
Table 16: Paired differences in task success between training targets (percentage points; AppWorld TGC and SWE-bench Verified), averaged over three seed-matched runs. Confidence intervals are from a paired bootstrap over tasks (scenarios on AppWorld); p-values are from a paired permutation test, Holm-corrected within the open-teacher and the closed-teacher comparisons. Bold marks p<0.05 .
Language model distillation transfers a larger model’s capabilities to smaller or specialized models using outputs, probabilities, or internal representations.
While long chain-of-thought (CoT) distillation significantly improves the reasoning abilities of language models, its underlying mechanism remains poorly understood. Current pipelines generally rely on rejection sampling to gather reasoning traces across diverse prompts, assuming that factual correctness and broad problem coverage are indispensable. Surprisingly, we find that training exclusively on flawed reasoning trajectories or a restricted prompt set yields nearly comparable performance. Driven by this counterintuitive finding, we propose the Behavioral Hypothesis: the essence of Long-CoT distillation is behavioral alignment with structured reasoning patterns, rather than factual knowledge memorization. We then validate this by demonstrating substantial reasoning gains even when models are fine-tuned exclusively on previously mastered problems-effectively isolating behavioral alignment from novel knowledge injection. Having established that reasoning patterns are the true bottleneck, we investigate how to learn them across varying levels of complexity optimally. We reveal a critical interplay: while the recent probability-based loss excels at learning simple patterns, the standard cross-entropy loss is essential for scaling to complex CoTs. We believe these insights demystify CoT distillation and provide a principled foundation for the future development of reasoning models. Code is available on https://github.com/yuyongcan/Long-CoT-Distillation.
Yongcan Yu, Jian Liang, Lingxiao He +5
NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences · School of Artificial Intelligence, University of Chinese Academy of Sciences · Meituan +1
On-policy self-distillation (OPSD) has emerged as a promising paradigm for improving LLM reasoning, where a privileged teacher with access to reference solutions provides token-level supervision on the student's own generated trajectories. However, we find that OPSD consistently fails on long chain-of-thought (long-CoT) reasoning models, yielding at best marginal gains while destabilizing the reflective reasoning capability these models depend on. Through a novel decomposition of the teacher's supervision signal, we identify the root cause: the teacher's supervision is dominated by a reference-induced component that drives rote memorization of reference-specific shortcuts, while the question-conditioned, inference-transferable component is ignored or actively opposed. Based on this diagnosis, we propose a two-step solution. First, we construct a reference-only teacher (the same model conditioned on the reference without the question) to isolate the non-transferable component of the supervision signal; the residual after subtracting this component captures the question-conditioned, inference-transferable correction. Second, we use pointwise mutual information (PMI) as the mechanism to transform this residual into a well-formed PMI target distribution that the student can directly distill from, filtering out the reference-induced shortcut. Experiments on four long-CoT models across two datasets demonstrate consistent improvements over both the base model and standard OPSD, while preserving the models' natural epistemic behavior throughout training.
Zhanming Shen, Jintao Tong, Shaotian Yan +9
1Zhejiang University · 2Tongyi Lab, Alibaba Group · 3Huazhong University of Science and Technology +1
Recent advances in large reasoning models (LRMs) have shown strong performance on complex problems through long chain-of-thought (Long CoT) reasoning. However, distilling such trajectories into smaller student models remains challenging: direct Long CoT supervision often provides limited gains and can be less effective than concise Short CoT rationales. In this work, we investigate this phenomenon from a gradient-centric perspective. Our analysis shows that Long CoT induces larger gradient magnitudes and more concentrated update directions than Short CoT, with this effect becoming more pronounced as student model capacity increases. These findings suggest that effective Long CoT distillation requires balancing the reasoning information density of reasoning trajectories with their distributional alignment to the student model. Motivated by this insight, we propose Model Interporlation Distillation (MI-Distillation), a framework that constructs a continuous Instruct-Reasoning data spectrum through model interpolation. To select suitable trajectories from this spectrum, we further introduce Sequential Learnable Surprisal Score (SeqLSS), which favors reasoning paths that are both informative and learnable for the student. Extensive experiments on reasoning benchmarks show that MI-Distillation consistently improves small model CoT distillation over strong Long CoT baselines.
Yangsong Lan, Renkai Hu, HongKai Zheng +4
College of Artificial Intelligence, Nanjing University of Aeronautics and Astronautics, Nanjing, China · 2The Key Laboratory of Brain-Machine Intelligence Technology, Ministry of Education, Nanjing, China