Symbolic Integration Algorithm Selection with Machine Learning: LSTMs vs Tree LSTMs

Rashid Barket, Matthew England, Jürgen Gerhard
4/23/2024
cs.LGcs.MScs.SC

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Computer Algebra Systems (e.g. Maple) are used in research, education, and industrial settings. One of their key functionalities is symbolic integration, where there are many sub-algorithms to choose from that can affect the form of the output integral, and the runtime. Choosing the right sub-algorithm for a given problem is challenging: we hypothesise that Machine Learning can guide this sub-algorithm choice. A key consideration of our methodology is how to represent the mathematics to the ML model: we hypothesise that a representation which encodes the tree structure of mathematical expressions would be well suited. We trained both an LSTM and a TreeLSTM model for sub-algorithm prediction and compared them to Maple's existing approach. Our TreeLSTM performs much better than the LSTM, highlighting the benefit of using an informed representation of mathematical expressions. It is able to produce better outputs than Maple's current state-of-the-art meta-algorithm, giving a strong basis for further research.

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. 2 weaker matches are 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{barket2024symbolic,
  title  = {Symbolic Integration Algorithm Selection with Machine Learning: LSTMs vs Tree LSTMs},
  author = {Rashid Barket and Matthew England and Jürgen Gerhard},
  year   = {2024},
  eprint = {2404.14973},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.14973v1}
}

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

Discussion