GFlowNet Fine-tuning for Diverse Correct Solutions in Mathematical Reasoning Tasks

Ryoichi Takase, Masaya Tsunokake, Yuta Tsuchiya, Shota Inuzuka
10/26/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Mathematical reasoning problems are among the most challenging, as they typically require an understanding of fundamental laws to solve. The laws are universal, but the derivation of the final answer changes depending on how a problem is approached. When training large language models (LLMs), learning the capability of generating such multiple solutions is essential to accelerate their use in mathematical education. To this end, we train LLMs using generative flow network (GFlowNet). Different from reward-maximizing reinforcement learning (RL), GFlowNet fine-tuning seeks to find diverse solutions by training the LLM whose distribution is proportional to a reward function. In numerical experiments, we evaluate GFlowNet fine-tuning and reward-maximizing RL in terms of accuracy and diversity. The results show that GFlowNet fine-tuning derives correct final answers from diverse intermediate reasoning steps, indicating the improvement of the capability of alternative solution generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{takase2024gflownet,
  title  = {GFlowNet Fine-tuning for Diverse Correct Solutions in Mathematical Reasoning Tasks},
  author = {Ryoichi Takase and Masaya Tsunokake and Yuta Tsuchiya and Shota Inuzuka},
  year   = {2024},
  eprint = {2410.20147},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.20147v1}
}

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

Discussion