Neuro-Symbolic Data Generation for Math Reasoning

Zenan Li, Zhi Zhou, Yuan Yao, Yu-Feng Li, Chun Cao +3 more
12/6/2024
cs.AI

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

Abstract

A critical question about Large Language Models (LLMs) is whether their apparent deficiency in mathematical reasoning is inherent, or merely a result of insufficient exposure to high-quality mathematical data. To explore this, we developed an automated method for generating high-quality, supervised mathematical datasets. The method carefully mutates existing math problems, ensuring both diversity and validity of the newly generated problems. This is achieved by a neuro-symbolic data generation framework combining the intuitive informalization strengths of LLMs, and the precise symbolic reasoning of math solvers along with projected Markov chain Monte Carlo sampling in the highly-irregular symbolic space. Empirical experiments demonstrate the high quality of data generated by the proposed method, and that the LLMs, specifically LLaMA-2 and Mistral, when realigned with the generated data, surpass their state-of-the-art counterparts.

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{li2024neurosymbolic,
  title  = {Neuro-Symbolic Data Generation for Math Reasoning},
  author = {Zenan Li and Zhi Zhou and Yuan Yao and Yu-Feng Li and Chun Cao and Fan Yang and Xian Zhang and Xiaoxing Ma},
  year   = {2024},
  eprint = {2412.04857},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.04857v1}
}

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

Discussion