CoTranslator:用于推理蒸馏的反向到正向思维链翻译器
研究论文 · 2026/10/16
推理蒸馏需要带有正确答案的思维链(CoT)数据,但高效获取此类数据仍具挑战。前向CoT生成(FCG)结合拒绝采样(RS)可产生经过验证的仅含问题的回答,但对于难题可能需要大量教师调用。反向CoT生成(RCG)成本更低,因为它以已知答案为条件,但获取该答案可能导致事后合理化,并与学生无答案推理设置不匹配。我们提出CoTranslator,它学习将反向CoT回答转换为经过验证的前向回答的分布。在一小部分配对的反向和拒绝采样前向回答上训练后,它支持大规模生成和验证学生训练数据。在六个数学基准上评估六个学生模型,CoTranslator相比语义抑制平均准确率提升高达5.82个百分点。对于两个4B学生模型,它保留了拒绝采样平均准确率的95.0%,同时仅使用其估计计算量的35.9%。无需重新训练,同一转换器可迁移到新的数学数据集、不同的教师和STEM问题,对4B和8B学生模型分别将STEM平均准确率提升4.88和4.31个百分点。这些结果表明,CoTranslator为推理蒸馏提供了一种高效且可迁移的方法。
该研究提出了一种高效且可迁移的推理蒸馏方法,显著降低计算成本的同时保持高准确率,并展示了跨数据集、教师和领域的泛化能力,对资源受限场景下的推理蒸馏具有重要实用价值。
Reasoning distillation requires chain-of-thought (CoT) data with correct answers, but obtaining such data efficiently remains challenging. Forward CoT generation (FCG) followed by rejection sampling (RS) produces verified, question-only responses, yet may require many teacher calls for difficult problems. Reverse CoT generation (RCG) is cheaper because it conditions on the known answer, but access to this answer can lead to post-hoc rationalization and a mismatch with the student's answer-free inference setting. We propose CoTranslator, which learns to translate reverse CoT responses toward the distribution of verified forward responses. Trained on a small set of paired reverse and rejection-sampled forward responses, it supports large-scale generation and verification of student training data. Across six student models evaluated on six mathematics benchmarks, CoTranslator improves average accuracy over semantic suppression by up to 5.82 percentage points. For two 4B students, it retains 95.0% of rejection sampling's average accuracy while using 35.9% of its estimated compute. Without retraining, the same translator transfers to a new mathematics dataset, a different teacher, and STEM problems, improving average STEM accuracy by 4.88 and 4.31 percentage points for 4B and 8B students, respectively. These results show that CoTranslator offers an efficient and transferable approach to reasoning distillation.