ICMS 2024 Home Page
—
Session Home Page
Abstract
Traditionally, decisions regarding Computer Algebra Systems have been made using human-designed heuristics. However, in this study, we introduce two alternatives to this approach: training machine learning models and developing informed heuristics.
When training machine learning models to make choices in symbolic computation, it is crucial to select the appropriate methodology, including how to present mathematical objects to the models, employing the right paradigm (supervised or reinforcement learning), and using models with discrete (classification) or continuous (regression) outputs. We would like to share our experiences in training models to choose the variable ordering in CAD, along with the insights and lessons we gained from this process, which may prove beneficial for other decision-making tasks in Computer Algebra.
Furthermore, we propose an approach for designing informed heuristics that are not solely based on the expert's intuition. The first informed heuristic is developed by analyzing the complexity of the algorithm and making choices that minimize the cost-driving feature. We also utilize explainable AI techniques to identify the features that have the greatest impact on the choices made by machine learning models, allowing us to design an informed heuristic based on these impactful features.
© 2024. All rights reserved.