LEMMA: Bootstrapping High-Level Mathematical Reasoning with Learned Symbolic Abstractions

Zhening Li, Gabriel Poesia, Omar Costilla-Reyes, Noah Goodman, Armando Solar-Lezama
11/16/2022
cs.AI

Official code: uranium11010/lemma (1 star, Python, MIT, last commit 2024-01-13).

Abstract

Humans tame the complexity of mathematical reasoning by developing hierarchies of abstractions. With proper abstractions, solutions to hard problems can be expressed concisely, thus making them more likely to be found.

Show full abstract

In this paper, we propose Learning Mathematical Abstractions (LEMMA): an algorithm that implements this idea for reinforcement learning agents in mathematical domains. LEMMA augments Expert Iteration with an abstraction step, where solutions found so far are revisited and rewritten in terms of new higher-level actions, which then become available to solve new problems. We evaluate LEMMA on two mathematical reasoning tasks--equation solving and fraction simplification--in a step-by-step fashion. In these two domains, LEMMA improves the ability of an existing agent, both solving more problems and generalizing more effectively to harder problems than those seen during training.

View on arXivView PDF

Code Implementations(1)

uranium11010/lemmaOfficial100%
MIT

LEMMA: Bootstrapping High-Level Mathematical Reasoning with Learned Symbolic Abstractions

10PythonDec 3, 20222 years agoMIT

Similar Papers

Cite this paper

@article{li2022lemma,
  title  = {LEMMA: Bootstrapping High-Level Mathematical Reasoning with Learned Symbolic Abstractions},
  author = {Zhening Li and Gabriel Poesia and Omar Costilla-Reyes and Noah Goodman and Armando Solar-Lezama},
  year   = {2022},
  eprint = {2211.08671},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.08671}
}

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

Discussion