World Models for Math Story Problems

Andreas Opedal, Niklas Stoehr, Abulhair Saparov, Mrinmaya Sachan
6/7/2023
19 citations
cs.CL

Official code: eth-nlped/mathworld (9 stars, Python, last commit 2023-08-30).

Abstract

Solving math story problems is a complex task for students and NLP models alike, requiring them to understand the world as described in the story and reason over it to compute an answer. Recent years have seen impressive performance on automatically solving these problems with large pre-trained language models and innovative techniques to prompt them.

Show full abstract

However, it remains unclear if these models possess accurate representations of mathematical concepts. This leads to lack of interpretability and trustworthiness which impedes their usefulness in various applications. In this paper, we consolidate previous work on categorizing and representing math story problems and develop MathWorld, which is a graph-based semantic formalism specific for the domain of math story problems. With MathWorld, we can assign world models to math story problems which represent the situations and actions introduced in the text and their mathematical relationships. We combine math story problems from several existing datasets and annotate a corpus of 1,019 problems and 3,204 logical forms with MathWorld. Using this data, we demonstrate the following use cases of MathWorld: (1) prompting language models with synthetically generated question-answer pairs to probe their reasoning and world modeling abilities, and (2) generating new problems by using the world models as a design space.

View on arXivView PDF

Code Implementations(1)

Code accompanying the MathWorld world model formalism from "World Models for Math Story Problems", ACL Findings 2023

90Python, Jupyter NotebookMay 22, 20233 years ago

Similar Papers

Cite this paper

@article{opedal2023world,
  title  = {World Models for Math Story Problems},
  author = {Andreas Opedal and Niklas Stoehr and Abulhair Saparov and Mrinmaya Sachan},
  year   = {2023},
  eprint = {2306.04347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.04347v2}
}

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

Discussion