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.
| Original language | English |
|---|---|
| Title of host publication | Mathematical Software – ICMS 2024 |
| Subtitle of host publication | 8th International Conference, Durham, UK, July 22–25, 2024, Proceedings |
| Editors | Kevin Buzzard, Alicia Dickenstein, Bettina Eick, Anton Leykin, Yue Ren |
| Publisher | Springer |
| Pages | 167-175 |
| Number of pages | 9 |
| Volume | 14749 |
| ISBN (Electronic) | 978-3-031-64529-7 |
| ISBN (Print) | 978-3-031-64528-0 |
| DOIs | |
| Publication status | Published - 2024 |
Publication series
| Name | Lecture Notes in Computer Science |
|---|---|
| Publisher | Springer |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Bibliographical note
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AGThe final publication is available at Springer via http://dx.doi.org/10.1007/978-3-031-64529-7_18
Copyright © and Moral Rights are retained by the author(s) and/ or other copyright owners. A copy can be downloaded for personal non-commercial research or study, without prior permission or charge. This item cannot be reproduced or quoted extensively from without first obtaining permission in writing from the copyright holder(s). The content must not be changed in any way or sold commercially in any format or medium without the formal permission of the copyright holders.
This document is the author’s post-print version, incorporating any revisions agreed during the peer-review process. Some differences between the published version and this version may remain and you are advised to consult the published version if you wish to cite from it.
Funding
| Funders | Funder number |
|---|---|
| Engineering and Physical Sciences Research Council | EP/T015748/1 |
Keywords
- Computer Algebra
- Symbolic Integration
- Machine Learning
- LSTM
- TreeLSTM
- Data Generation
