arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.13173cs.LGcs.AI
收藏

思维偏好优化

Thinking Preference Optimization

Wang Yang, Hongye Jin, Jingfeng Yang, Vipin Chaudhary, Xiaotian Han

AI总结:

本文提出 ThinkPO,用短 CoT 作被拒答案、长 CoT 作偏好答案进行直接偏好优化,在无需新长 CoT 数据的情况下持续提升 SFT 模型推理性能。

摘要:

监督微调(Supervised Fine-Tuning,SFT)一直是一种常用且有效的方法,通过使用来自较大型 LLM 的长思维链(chain-of-thought,CoT)响应进行微调,来增强相对较小 LLM 的长 CoT 推理能力。为了持续提升推理能力,我们可以收集新的高质量长 CoT 推理 SFT 数据,或者在现有 SFT 数据集上反复训练。然而,获取新的长 CoT SFT 数据成本高昂且数量有限,而重复训练往往导致性能停滞或下降。为了利用这些 SFT 数据进一步提升性能,我们提出了 Thinking Preference Optimization(ThinkPO,思维偏好优化),这是一种简单而有效的 SFT 后方法,可在不需要新的长 CoT 响应的情况下增强长 CoT 推理。具体而言,ThinkPO 将现成或容易获得的短 CoT 推理响应作为同一问题的被拒绝答案,并将长 CoT 响应作为被选择答案。随后,它应用直接偏好优化,鼓励模型偏好更长的推理输出。实验表明,ThinkPO 进一步提升了经过 SFT 的模型的推理性能,例如,它使经过 SFT 的模型的数学推理准确率提高了 8.6%,输出长度增加了 25.9%。值得注意的是,ThinkPO 能够持续提升公开蒸馏 SFT 模型的性能,例如将官方 DeepSeek-R1-Distill-Qwen-7B 在 MATH500 上的性能从 87.4% 提高到 91.2%。

英文摘要:

Supervised Fine-Tuning (SFT) has been a go-to and effective method for enhancing long chain-of-thought (CoT) reasoning in relatively small LLMs by fine-tuning them with long CoT responses from larger LLMs. To continually improve reasoning abilities, we can either collect new high-quality long CoT reasoning SFT data or repeatedly train on existing SFT datasets. However, acquiring new long CoT SFT data is costly and limited, while repeated training often results in a performance plateau or decline. To further boost the performance with the SFT data, we propose Thinking Preference Optimization (ThinkPO), a simple yet effective post-SFT method that enhances long CoT reasoning without requiring new long CoT responses. Instead, ThinkPO utilizes readily available or easily obtainable short CoT reasoning responses as rejected answers and long CoT responses as chosen answers for the same question. It then applies direct preference optimization to encourage the model to favor longer reasoning outputs. Experiments show that ThinkPO further improves the reasoning performance of SFT-ed models, e.g. it increases math reasoning accuracy of SFT-ed models by 8.6% and output length by 25.9%. Notably, ThinkPO is capable of continually boosting the performance of the publicly distilled SFT model, e.g., increasing the official DeepSeek-R1-Distill-Qwen-7B's performance on MATH500 from 87.4% to 91.2%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑