A Reinforcement Learning Environment for Mathematical Reasoning via Program Synthesis

Joseph Palermo, Johnny Ye, Alok Singh
7/15/2021
cs.LGcs.AI
rl

Official code: JohnnyYeeee/math_prog_synth_env (13 stars, Python, last commit 2021-07-22).

Abstract

We convert the DeepMind Mathematics Dataset into a reinforcement learning environment by interpreting it as a program synthesis problem. Each action taken in the environment adds an operator or an input into a discrete compute graph.

Show full abstract

Graphs which compute correct answers yield positive reward, enabling the optimization of a policy to construct compute graphs conditioned on problem statements. Baseline models are trained using Double DQN on various subsets of problem types, demonstrating the capability to learn to correctly construct graphs despite the challenges of combinatorial explosion and noisy rewards.

View on arXivView PDF

Code Implementations(1)

131PythonJun 14, 20215 years ago

Similar Papers

Cite this paper

@article{palermo2021reinforcement,
  title  = {A Reinforcement Learning Environment for Mathematical Reasoning via Program Synthesis},
  author = {Joseph Palermo and Johnny Ye and Alok Singh},
  year   = {2021},
  eprint = {2107.07373},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.07373}
}

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

Discussion