Symbolic Integration Algorithm Selection with Machine Learning: LSTMs vs Tree LSTMs
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 6 of its 11 references that are in the map. First posted on arXiv 23 Apr 2024.
Builds on
6 of 11 references.
References · 6
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2019Can Neural Networks Learn Symbolic Rewriting?cited by 12
- 2014Applying machine learning to the problem of choosing a heuristic to select the variable ordering for cylindrical algebraic decompositioncited by 10
- 2023Explainable AI Insights for Symbolic Computation: A case study on selecting the variable ordering for cylindrical algebraic decompositioncited by 7
- 2023Generating Elementary Integrable Expressionscited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 1.
3 papers.