ICMS 2024 Session

Machine Learning within
Computer Algebra Systems

ICMS 2024 Home Page — Session Home Page

Rashid Barket — Algorithm Selection for Symbolic Integration using Machine Learning

Abstract

Computer Algebra Systems (e.g. Maple) are used in many contexts including research, education, and industrial settings. One of the key algorithms, symbolic integration, has various sub-algorithms used that can affect the form of the output integral or the runtime. The way Maple is currently selecting the sub-algorithm is deterministic and takes little consideration about the form integrand. Thus, machine learning (ML) could be used to select the best sub-algorithm to improve the output form and/or runtime given the integrand.

We first discuss current and new data generation methods for integrals that generate a richer variety of training data. Then, various types of ML models are trained to select a sub-algorithm that outputs the optimal expression for the integral. Not only are some of the models able to produce more optimal outputs compared to Maple's state-of-the-art meta-algorithm, but it also outputs substantially more uniquely optimal answers compared to Maple.

© 2024. All rights reserved.