Saved in:
Bibliographic Details
Main Authors: Takase, Ryoichi, Tsunokake, Masaya, Tsuchiya, Yuta, Inuzuka, Shota
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.20147
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912087860576256
author Takase, Ryoichi
Tsunokake, Masaya
Tsuchiya, Yuta
Inuzuka, Shota
author_facet Takase, Ryoichi
Tsunokake, Masaya
Tsuchiya, Yuta
Inuzuka, Shota
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_20147
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GFlowNet Fine-tuning for Diverse Correct Solutions in Mathematical Reasoning Tasks
Takase, Ryoichi
Tsunokake, Masaya
Tsuchiya, Yuta
Inuzuka, Shota
Machine Learning
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.
title GFlowNet Fine-tuning for Diverse Correct Solutions in Mathematical Reasoning Tasks
topic Machine Learning
url https://arxiv.org/abs/2410.20147