arXiv:2610.36445cs.AIOct 2026

Manuscript Offprint

arXiv:2610.36445

From Solver Trajectories to Teaching Trajectories: Cognition-Aligned Reasoning Distillation

Yashuo Luo, Qianren Mao, Ziqi Qin, Junnan Liu, Haitao Li, Qili Zhang, Yuan Gao, Zhijun Chen, Xu Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Knowledge distillation from large reasoning models (LRMs) often uses raw teacher trajectories as supervision. However, this practice creates a mismatch between the goal of distillation and the nature of teacher trajectories. Advanced LRMs typically improve their reasoning capabilities through reward-driven post-training, such as RLHF. This training optimizes them as strong solvers, rather than as teachers that produce reasoning processes smaller models can easily learn. Since smaller models have different "cognitive capacities" compared to their larger teachers, directly imitating raw teacher trajectories can sometimes be ineffective and often requires a substantial number of high-quality samples. To bridge this mismatch, we propose Cognition-Aligned Reasoning Distillation (CARD), an RL-based framework that transforms solver trajectories into teaching trajectories aligned with the student's cognition. Avoiding expensive resampling, our framework directly transforms existing trajectories. We optimize CARD with two reward signals: (1) a Distribution Alignment Reward that matches the student's predictive distribution, and (2) a Logical Coherence Reward that reduces misleading failed reasoning steps. Comprehensive evaluations across multiple student models and settings demonstrate that CARD outperforms distillation from raw teacher trajectories in in-domain settings while achieving substantial gains in out-of-distribution performance. Code is available at https://github.com/LiteSSLHub/CARD.

1 Introduction

Large reasoning models (LRMs), such as DeepSeek-R1 DeepSeek-AI [2025], OpenAI o1 OpenAI [2024], Kimi K2.5 Team [2026], and Gemini 3 Pro Google DeepMind [2025], have demonstrated strong performance on complex reasoning tasks in mathematics, science, and code. These models solve complex problems by generating chains of reasoning steps during inference, commonly known as chain-of-thought (CoT) reasoning Wei et al. [2022]. However, limited model capacity can make it difficult for small language models (SLMs) to acquire such advanced reasoning behaviors through reinforcement learning alone DeepSeek-AI [2025]. 1^{1} To bridge this gap, reasoning distillation transfers reasoning capability from large models to SLMs, and existing approaches have demonstrated competitive performance across reasoning benchmarks Shao et al. [2024], DeepSeek-AI [2025], Wen et al. [2025].

Existing reasoning distillation approaches typically fall into two broad categories, logits-based and trajectory-based. Logits-based methods Gu et al. [2024], Ko et al. [2024, 2025] leverage token-level probability distributions from the teacher, either by supervising the student on teacher-generated

†^{\dagger}Corresponding Authors.

1^{1}We define small language models as decoder-only language models with typically fewer than 10B parameters in this paper.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Motivating analysis of failed steps in trajectory-based reasoning distillation. Using DeepSeek-R1-generated DeepMath trajectories, we distill three student models on two 10,000-trajectory subsets under identical settings, where one subset consists entirely of trajectories with detected failed steps and the other consists entirely of trajectories without. Bars report the difference between the no-failed-step subset and the failed-step subset. Accuracy gains are reported in absolute points, while output-length reductions are reported as (Token_failed – Token_no-failed)/Token_failed × 100%. Evaluation includes math benchmarks and ARC-Challenge for out-of-distribution generalization, and each panel corresponds to a different student model.

trajectories at the logit level or by on-policy distillation where the student generates trajectories and the teacher provides logit-level supervision Lu and Thinking Machines Lab [2025]. These methods require access to the teacher's output logits and further assume a shared vocabulary between teacher and student. Trajectory-based methods instead train the student directly on teacher-generated rationales via supervised fine-tuning (SFT) or its variants Gu et al. [2024], Ko et al. [2024], Li et al. [2025]. 2^{2} To improve trajectory quality, filter-based distillation methods sample multiple trajectories per question and select the best ones Chen et al. [2023], Yan et al. [2025]. As shown in Figure 2, this requires repeated teacher sampling and can be expensive for LRMs with large parameters. More critically, filtering only selects among existing teacher-generated trajectories and does not adapt them to the student. Beyond trajectory quality, direct SFT on task-specific trajectories shifts the student toward the downstream distribution, causing catastrophic forgetting of broader general capabilities Kotha et al. [2023], Luo et al. [2023].

However, raw teacher-generated rationales may not always serve as optimal supervision for student models. Recent advanced LRMs primarily improve their reasoning capabilities through reinforcement learning with verifiable rewards DeepSeek-AI [2025], which optimizes them as strong problem solvers rather than as teachers whose trajectories SLMs can readily learn from. We define the Cognition Gap as the mismatch between what teacher-generated solver trajectories provide and what would better serve as supervision for student learning. Prior work and our analysis suggest that the Cognition Gap may surface in two ways: (1) Trajectories containing failed steps reduce learning efficiency for SLMs. As shown in Figure 2, teacher trajectories may include abandoned exploratory paths during reasoning, which we denote as failed steps Feng et al. [2025]. During teacher inference, failed steps bias subsequent reasoning by leaving residual misleading context that the model does not fully discard after backtracking. To assess how failed steps in teacher trajectories affect student learning, Figure 1 compares SFT on trajectories with detected failed steps against SFT on trajectories without them under identical training conditions. Across both in-domain and out-of-domain (OOD) benchmarks, the no-failed-step subsets generally outperform the failed-step subsets and also produce shorter average outputs, demonstrating that failed steps degrade student learning efficiency in trajectory-based knowledge distillation. (2) Even a correct teacher trajectory may be difficult for SLMs to learn from. This relates to the Small Model Learnability Gap Li et al. [2025], where small models do not consistently benefit from long CoT reasoning or distillation from larger teachers, and may instead learn more effectively from shorter, simpler reasoning chains that better match their capacity.

Intuitively, trajectories with rationales that match the student’s cognitive capacity should provide better teaching supervision than raw teacher-generated solver trajectories. Based on this idea, we propose CARD (Cognition-Aligned Reasoning Distillation), a framework that reformats teacher-

2^{2}We use rationale to denote the CoT reasoning steps generated between a question and its final answer.

Figure

Figure 2: Illustration of filter-based distillation methods and CARD. Left: filter-based distillation methods sample multiple teacher trajectories before selection and SFT, incurring expensive repeated teacher sampling. Right: CARD selectively reformats solver trajectories into cognition-aligned teaching trajectories without repeated teacher sampling. Highlights in the solver trajectory indicate detected failed steps and redundant expressions that hinder student learning.

generated solver trajectories into cognition-aligned teaching trajectories without access to teacher model parameters. As shown in Figure 2, a solver trajectory records the teacher's problem-solving process and may include redundant low-importance expressions or failed steps. A teaching trajectory preserves the core reasoning process but presents it in clearer steps that the student can follow.

To convert teacher-generated solver trajectories into teaching trajectories, CARD trains a lightweight Reformatter guided by two rewards. (1) The Distribution Alignment Reward aligns each reformatted rationale with the student's predictive distribution while preserving the answer behavior induced by the original trajectory. (2) The Logical Coherence Reward penalizes reformatted rationales that still contain detected failed steps, thereby encouraging the Reformatter to output coherent rationales. Unlike filter-based distillation methods, CARD does not rely on repeated teacher sampling. Instead, it leverages existing trajectories by selectively reformating those with detected failed steps while keeping other trajectories unchanged.

Our major contributions are: (1) We propose CARD, a Cognition-Aligned Reasoning Distillation framework that converts teacher-generated solver trajectories into teaching trajectories. CARD mitigates the Cognition Gap by aligning reformatted rationales with the student's predictive distribution and reducing misleading supervision from detected failed steps. (2) CARD offers a practical alternative to trajectory-based knowledge distillation. Without expensive repeated teacher sampling, CARD selectively reformats existing solver trajectories containing detected failed steps while keeping other trajectories unchanged. (3) We conduct extensive experiments across multiple student models, benchmarks, and evaluation settings. CARD-reformatted teaching trajectories consistently outperform distillation from raw teacher-generated solver trajectories in in-domain settings while achieving substantial gains in OOD generalization.