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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Xuan, Du, Chao, Pang, Tianyu, Liu, Qian, Gao, Wei, Lin, Min
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912096774520832
author Zhang, Xuan
Du, Chao
Pang, Tianyu
Liu, Qian
Gao, Wei
Lin, Min
author_facet Zhang, Xuan
Du, Chao
Pang, Tianyu
Liu, Qian
Gao, Wei
Lin, Min
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_09136
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs
Zhang, Xuan
Du, Chao
Pang, Tianyu
Liu, Qian
Gao, Wei
Lin, Min
Computation and Language
Machine Learning
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.
title Chain of Preference Optimization: Improving Chain-of-Thought Reasoning in LLMs
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2406.09136