Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs

Xuan Zhang, Chao Du, Tianyu Pang, Qian Liu, Wei Gao +1 more
2/3/2026

No official code found. Best implementation: sail-sg/CPO (137 stars, last commit 2025-03-21). 1 more below.

Abstract

The recent development of chain-of-thought (CoT) decoding has enabled large language models (LLMs) to generate explicit logical reasoning paths for complex problem-solving. However, research indicates that these paths are not always deliberate and optimal. The tree-of-thought (ToT) method employs tree-searching to extensively explore the reasoning space and find better reasoning paths that CoT decoding might overlook. This deliberation, however, comes at the cost of significantly increased inference complexity. In this work, we demonstrate that fine-tuning LLMs leveraging the search tree constructed by ToT allows CoT to achieve similar or better performance, thereby avoiding the substantial inference burden. This is achieved through Chain of Preference Optimization (CPO), where LLMs are fine-tuned to align each step of the CoT reasoning paths with those of ToT using the inherent preference information in the tree-search process. Extensive experimental results show that CPO significantly improves LLM performance in solving a variety of complex problems, including question answering, fact verification, and arithmetic reasoning, demonstrating its effectiveness. Our code is available at https://github.com/sail-sg/CPO.

View on arXivView PDF

Code Implementations(2)

sail-sg/CPOCommunity100%

[NeurIPS 2024] The official implementation of paper: Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs.

13710PythonJun 11, 20241 years ago
TianduoWang/DPO-STCommunity72%
MIT

[ACL 2024] Self-Training with Direct Preference Optimization Improves Chain-of-Thought Reasoning

546PythonJun 4, 20242 years agoMIT
chain-of-thoughtdpomath-word-problem

Similar Papers

Cite this paper

@article{zhang2026chain,
  title  = {Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs},
  author = {Xuan Zhang and Chao Du and Tianyu Pang and Qian Liu and Wei Gao and Min Lin},
  year   = {2026},
  eprint = {2406.09136},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.09136},
  url    = {https://arxiv.org/abs/2406.09136},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.09136.svg)](https://codeofpaper.com/paper/2406.09136)

Discussion