A Machine Learning Based Software Pipeline to Pick the Variable Ordering for Algorithms with Polynomial Inputs [chapter]

Dorian Florescu, Matthew England
2020 Lecture Notes in Computer Science  
We are interested in the application of Machine Learning (ML) technology to improve mathematical software. It may seem that the probabilistic nature of ML tools would invalidate the exact results prized by such software, however, the algorithms which underpin the software often come with a range of choices which are good candidates for ML application. We refer to choices which have no effect on the mathematical correctness of the software, but do impact its performance. In the past we
more » ... ed with one such choice: the variable ordering to use when building a Cylindrical Algebraic Decomposition (CAD). We used the Python library Scikit-Learn (sklearn) to experiment with different ML models, and developed new techniques for feature generation and hyper-parameter selection. These techniques could easily be adapted for making decisions other than our immediate application of CAD variable ordering. Hence in this paper we present a software pipeline to use sklearn to pick the variable ordering for an algorithm that acts on a polynomial system. The code described is freely available online.
doi:10.1007/978-3-030-52200-1_30 fatcat:mkrpckkoxnevpdiynqfwny6rhu