Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TPO: Aligning Large Language Models with Multi-branch & Multi-step Preference Trees

About

In the domain of complex reasoning tasks, such as mathematical reasoning, recent advancements have proposed the use of Direct Preference Optimization (DPO) to suppress output of dispreferred responses, thereby enhancing the long-chain reasoning capabilities of large language models (LLMs). To this end, these studies employed LLMs to generate preference trees via Tree-of-thoughts (ToT) and sample the paired preference responses required by the DPO algorithm. However, the DPO algorithm based on binary preference optimization is unable to learn multiple responses with varying degrees of preference/dispreference that provided by the preference trees, resulting in incomplete preference learning. In this work, we introduce Tree Preference Optimization (TPO), that does not sample paired preference responses from the preference tree; instead, it directly learns from the entire preference tree during the fine-tuning. Specifically, TPO formulates the language model alignment as a Preference List Ranking problem, where the policy can potentially learn more effectively from a ranked preference list of responses given the prompt. In addition, to further assist LLMs in identifying discriminative steps within long-chain reasoning and increase the relative reward margin in the preference list, TPO utilizes Adaptive Step Reward to adjust the reward values of each step in trajectory for performing fine-grained preference optimization. We carry out extensive experiments on mathematical reasoning tasks to evaluate TPO. The experimental results indicate that TPO consistently outperforms DPO across five public large language models on four datasets. Our code is publicly available at https://github.com/MrBlankness/TPO.git.

Weibin Liao, Xu Chu, Yasha Wang• 2024

Related benchmarks

TaskDatasetResultRank
LLM Preference AlignmentDeepPref
AccPF55.3
7
LLM Preference AlignmentPrefEval
AccPF62.5
7
Multi-turn Dialogue AlignmentALOE (test)
Rank-1 Score2.4
5
Showing 3 of 3 rows

Other info

Follow for update