Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection
Organizations: School of Computer Science and Engineering, Southeast University
Abstract
Transferring reasoning capabilities from large language models to smaller ones often requires extensive teacher supervision or costly student adaptation. We study projected cross-model Chain-of-Thought (CoT) Vector transfer, a two-stage approach that keeps both models frozen. First, we learn a task-level CoT Vector in the teacher using dataset-provided solution traces and final-answer supervision. We then train a lightweight linear projector to map the fixed vector into a smaller student's residual space. Student-side training uses only final-answer cross-entropy on a small subset of task training examples; it requires neither teacher outputs nor intermediate solution traces. We select the student injection layer and intervention scale on a labeled support set and report results on the disjoint remainder of each evaluation split. On GSM8K and MATH, the projected vector improves base students by 10.37-21.98 accuracy points across the evaluated teacher-student settings. On four code-generation benchmarks, the Qwen2.5-7B-Instruct student gains 3.23-4.67 pass@1 points, while the base Qwen2.5-7B student gains up to 9.65 points. These results show that a teacher-side reasoning vector can be reused across smaller students with different residual dimensions through projector-only adaptation.
Figures & tables
| Teacher model | Student model | Dataset | Student acc. | Teacher acc. | Injected | Layer | Scale | |
|---|---|---|---|---|---|---|---|---|
| 7B-Instruct | 1.5B | GSM8K | 44.95 | 95.89 | 66.93 | +21.98 | 3 | 0.20 |
| 7B-Instruct | 1.5B | MATH | 38.08 | 83.23 | 59.13 | +21.05 | 3 | 0.20 |
| 72B-Instruct | 7B | GSM8K | 61.48 | 96.07 | 71.85 | +10.37 | 8 | 0.10 |
| 72B-Instruct | 7B | MATH | 53.17 | 86.02 | 71.04 | +17.87 | 6 | 0.25 |
| 7B-Instruct | 1.5B-Instruct | GSM8K | 86.33 | 95.89 | 86.24 | -0.09 | 5 | 0.10 |
| 7B-Instruct | 1.5B-Instruct | MATH | 76.10 | 83.23 | 76.44 | +0.34 | 8 | 0.02 |
| Dataset | Training split | Projector training | Share (%) |
|---|---|---|---|
| GSM8K | |||
| MATH |
| Teacher model | Student model | (%) | ||
|---|---|---|---|---|
| 7B-Instruct | 1.5B | M | ||
| 72B-Instruct | 7B | M |
| Method | Accuracy (%) |
|---|---|
| Unadapted student | 38.08 |
| LoRA | 48.98 |
| SFT | 47.94 |
| DistiLLM | 49.20 |
| Projected CoT Vector (ours) | 59.13 |
| Target dataset | Source dataset | Accuracy (%) | Gain (pp) |
|---|---|---|---|
| SVAMP | No injection | 26.20 | — |
| SVAMP | GSM8K | 70.10 | +43.90 |
| SVAMP | MATH | 62.30 | +36.10 |
| ASDiv | No injection | 33.90 | — |
| ASDiv | GSM8K | 75.76 | +41.86 |
| ASDiv | MATH | 69.43 | +35.53 |
| Dataset | Student | Baseline | Teacher | Injected | Layer | Scale | |
|---|---|---|---|---|---|---|---|
| HumanEval | 7B-Instruct | 72.81 | 78.07 | 77.19 | +4.38 | 7 | 0.05 |
| HumanEval | 7B | 55.26 | 78.07 | 64.91 | +9.65 | 27 | 0.05 |
| BigCodeBench | 7B-Instruct | 21.20 | 38.00 | 24.80 | +3.60 | 7 | 0.05 |
| BigCodeBench | 7B | 21.60 | 38.00 | 22.40 | +0.80 | 7 | 0.01 |
| LiveCodeBench | 7B-Instruct | 17.74 | 24.19 | 20.97 | +3.23 | 16 | 0.05 |
| LiveCodeBench | 7B | 6.45 | 24.19 | 6.45 | +0.00 | 20 | 0.05 |
| Intervention | MATH | HumanEval |
|---|---|---|
| No injection | 38.08 | 72.81 |
| Direct student-vector training | 37.46 | 71.93 |
| Norm-matched random vector + projection | 42.63 | 70.18 |
| Teacher CoT Vector + projection | 59.13 | 77.19 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Teacher model | Student model | Dataset | Student acc. | Injected | Layer | Scale |
|---|---|---|---|---|---|---|
| 7B-Instruct | 1.5B | GSM8K | 46.50 | 68.50 | 3 | 0.20 |
| 7B-Instruct | 1.5B | MATH | 33.00 | 65.50 | 3 | 0.20 |
| 72B-Instruct | 7B | GSM8K | 55.00 | 73.50 | 8 | 0.10 |
| 72B-Instruct | 7B | MATH | 51.50 | 77.50 | 6 | 0.25 |
| 7B-Instruct | 1.5B-Instruct | GSM8K | 79.00 | 84.00 | 5 | 0.10 |
| 7B-Instruct | 1.5B-Instruct | MATH | 83.00 | 85.00 | 8 | 0.02 |
| Teacher model | Student model | Dataset | Student acc. | Injected | Layer | Scale |
|---|---|---|---|---|---|---|
| 32B-Instruct | 7B-Instruct | HumanEval | 82.00 | 86.00 | 7 | 0.05 |
| 32B-Instruct | 7B | HumanEval | 76.00 | 84.00 | 27 | 0.05 |
| 32B-Instruct | 7B-Instruct | BigCodeBench | 26.00 | 30.00 | 7 | 0.05 |
| 32B-Instruct | 7B | BigCodeBench | 26.00 | 30.00 | 7 | 0.01 |
| 32B-Instruct | 7B-Instruct | LiveCodeBench | 16.00 | 22.00 | 16 | 0.05 |
| 32B-Instruct | 7B | LiveCodeBench | 6.00 | 6.00 | 20 | 0.05 |
| Dataset | Problems | Fail pass | Pass fail | Changed (%) | Net |
|---|---|---|---|---|---|
| GSM8K | 43 | 44 | 87 (7.8) | ||
| MATH | 183 | 167 | 350 (7.3) |
| Case | Dataset | Problem ID | Baseline | With injection |
|---|---|---|---|---|
| 1 | GSM8K | 500 | fail | pass |
| 2 | GSM8K | 387 | fail | pass |
| 3 | GSM8K | 8 | fail | fail |
| 4 | GSM8K | 4 | pass | fail |
| 5 | GSM8K | 322 | fail | pass |
| Case | Dataset | Problem ID | Student | Baseline | With injection |
|---|---|---|---|---|---|
| 1 | DS-1000 | 351 | 7B-Instruct | fail | pass |
| 2 | DS-1000 | 486 | 7B-Instruct | fail | pass |
| 2 | DS-1000 | 486 | 7B (base) | fail | fail |
LLM Reasoning
Large language model reasoning studies how models solve multi-step problems, verify intermediate steps, and use computation or tools reliably.
See all 982 papers