Self-Training with Direct Preference Optimization Improves Chain-of-Thought Reasoning

Tianduo Wang, Shichen Li, Wei Lu
7/25/2024
cs.CL

No official code found. Best implementation: TianduoWang/DPO-ST (54 stars, MIT, last commit 2024-07-28).

Abstract

Effective training of language models (LMs) for mathematical reasoning tasks demands high-quality supervised fine-tuning data. Besides obtaining annotations from human experts, a common alternative is sampling from larger and more powerful LMs. However, this knowledge distillation approach can be costly and unstable, particularly when relying on closed-source, proprietary LMs like GPT-4, whose behaviors are often unpredictable. In this work, we demonstrate that the reasoning abilities of small-scale LMs can be enhanced through self-training, a process where models learn from their own outputs. We also show that the conventional self-training can be further augmented by a preference learning algorithm called Direct Preference Optimization (DPO). By integrating DPO into self-training, we leverage preference data to guide LMs towards more accurate and diverse chain-of-thought reasoning. We evaluate our method across various mathematical reasoning tasks using different base models. Our experiments show that this approach not only improves LMs' reasoning performance but also offers a more cost-effective and scalable solution compared to relying on large proprietary LMs.

View on arXivView PDF

Code Implementations(1)

TianduoWang/DPO-STCommunity100%
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{wang2024selftraining,
  title  = {Self-Training with Direct Preference Optimization Improves Chain-of-Thought Reasoning},
  author = {Tianduo Wang and Shichen Li and Wei Lu},
  year   = {2024},
  eprint = {2407.18248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.18248v1}
}

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/2407.18248.svg)](https://codeofpaper.com/paper/2407.18248)

Discussion