Projecting a Teacher's CoT Vector into a Frozen 1.5B Student Lifts MATH Accuracy by 21 Points

Lightweight Reasoning Transfer via Chain-of-Thought Vector Projection

Yulin Qi, Shuo Xu, Shuxia Lin, Qingjian Ni, Xu Yang, Xin Geng

cs.CL

2026-11-25

Both models stay frozen; a linear projector maps a teacher-side CoT Vector into a 1.5B student using 200 labeled final answers, lifting MATH accuracy from 38.08 to 59.13.

What problem this solves

Moving reasoning from a large model to a small one normally means distillation: generate teacher CoT traces, store them, fine-tune a large fraction of the student, and often juggle objectives for outputs, rationales, and hidden states. Deployment gets cheaper; the transfer itself does not. A separate line of work on task vectors showed that capabilities can live in compact activation-space representations. Li et al. (2026) built CoT Vectors on this idea and demonstrated cross-model transfer, but only between two same-width Qwen2.5-Math-7B variants. When teacher and student have different residual dimensions (8192 for a 72B teacher, 3584 for a 7B student, 1536 for 1.5B), adding a teacher vector to a student is simply ill-defined. This paper attacks that dimension mismatch.

Method

Two stages, both backbones frozen throughout.

Teacher side: learn one task-level CoT Vector per dataset and per candidate block. Each training example runs through two paths. The reference path gets the prompt plus the dataset's official solution trace; the injected path gets only the prompt and the final answer, with a learnable vector added to the block's output at every position. The loss is a KL alignment between the two paths' final-layer representations plus cross-entropy on the final answer (λCE = 0.5). Two epochs over the full training split, then the vector is frozen.

Student side: train a bias-free linear projector P that maps the frozen teacher vector into the student's residual space, added at every position of one chosen block during prefill and at every decoding step. Training uses final-answer cross-entropy on 200 examples: no teacher logits, no hidden-state alignment, no intermediate solution tokens. A 200-problem labeled support set drawn from the official eval split picks the injection block and scale; results are reported on the disjoint remainder.

The design buys two things. The teacher vector is learned once and reused across students, each needing only its own projector, so the teacher never loads again. At deployment the projector collapses into one precomputed vector, 1,536 dims for the 1.5B student, about 0.0001% of its parameter count.

Results

SettingBaselineInjected
7B-Instruct→1.5B, GSM8K accuracy44.9566.93 (+21.98)
7B-Instruct→1.5B, MATH accuracy38.0859.13 (+21.05)
72B-Instruct→7B, MATH accuracy53.1771.04 (+17.87)
7B-Instruct→1.5B-Instruct, GSM8K86.3386.24 (−0.09)
32B→7B base, HumanEval pass@155.2664.91 (+9.65)

The matched-budget comparison is the strongest experiment: on MATH with the same 200 examples and two epochs, projected transfer reaches 59.13 versus 48.98 for CoT-supervised LoRA, 47.94 for SFT, and 49.20 for DistiLLM, a 9.93-point margin over the best baseline, which trained on full solution traces while this method saw only final answers.

Ablations isolate where the gain comes from. Directly training a vector in the student's own space lands at 37.46, below the 38.08 uninjected baseline. A norm-matched random vector through the same projector reaches 42.63, so projector training alone contributes roughly 4.5 points; the teacher vector supplies the other 16.5. Cross-dataset, a GSM8K-trained configuration zero-shots to SVAMP at 70.10 against a 26.20 baseline.

Why it matters

For anyone shipping small models, this is a reasoning boost that touches no student weights: store one vector of a few thousand dims, load no teacher, remove it at will. One teacher vector serves multiple students, so the expensive stage is paid once.

The cold water is equally clear. Gains concentrate on weak base students. The already-strong 1.5B-Instruct moves −0.09 on GSM8K and +0.34 on MATH, with paired fail-to-pass and pass-to-fail transitions nearly cancelling; the base 7B student is flat on LiveCodeBench and DS-1000. Case studies show the intervention repairing localized arithmetic slips and pulling degenerate outputs (token loops until the length cap) back into structured solutions, while leaving byte-identical outputs when the model never enters a solving state at all.

Limitations

The authors list three: only same-family Qwen2.5 teacher-student pairs are tested; configuration selection leans on labeled support examples drawn from the official eval split (disjoint from the reported set, but hyperparameters are still tuned on the eval distribution); and there is no criterion for when the intervention helps or hurts. The 1.5B-Instruct student's +5.00 support-set gain on GSM8K evaporates on the held-out remainder, so this selection can overfit.

The "200 samples" framing deserves scrutiny. Student-side training does use 200 examples, but teacher-side vector learning consumes the entire training split (7,473 GSM8K, 7,500 MATH examples) with gold solution traces for two epochs. The total data bill is not as light as the headline; what is saved is student-side cost and repeated teacher runs.

The distillation comparison also lives entirely in the 200-example regime. LoRA, SFT, and DistiLLM would keep improving with more data, so 59.13 versus 49.20 is a statement about the low-data corner, not about their ceilings.

Terms

Source

What people are saying

Related papers

All paper explainers