首页> 外文会议>International Conference on Intelligent Computer Mathematics >Comparing Machine Learning Models to Choose the Variable Ordering for Cylindrical Algebraic Decomposition
【24h】

Comparing Machine Learning Models to Choose the Variable Ordering for Cylindrical Algebraic Decomposition

机译:比较机器学习模型以选择圆柱代数分解的变量有序

获取原文

摘要

There has been recent interest in the use of machine learning (ML) approaches within mathematical software to make choices that impact on the computing performance without affecting the mathematical correctness of the result. We address the problem of selecting the variable ordering for cylindrical algebraic decomposition (CAD), an important algorithm in Symbolic Computation. Prior work to apply ML on this problem implemented a Support Vector Machine (SVM) to select between three existing human-made heuristics, which did better than anyone heuristic alone. Here we extend this result by training ML models to select the variable ordering directly, and by trying out a wider variety of ML techniques. We experimented with the NLSAT dataset and the Regular Chains Library CAD function for Maple 2018. For each problem, the variable ordering leading to the shortest computing time was selected as the target class for ML. Features were generated from the polynomial input and used to train the following ML models: k-nearest neighbours (KNN) classifier, multi-layer perceptron (MLP), decision tree (DT) and SVM, as implemented in the Python scikit-learn package. We also compared these with the two leading human-made heuristics for the problem: the Brown heuristic and sotd. On this dataset all of the ML approaches outperformed the human-made heuristics, some by a large margin.
机译:最近,人们对在数学软件中使用机器学习(ML)方法进行选择感兴趣,这些选择会影响计算性能而不影响结果的数学正确性。我们解决了选择圆柱代数分解(CAD)的变量顺序的问题,这是符号计算中的一种重要算法。先前针对此问题应用ML的工作实现了支持向量机(SVM),以在三种现有的人工启发式方法之间进行选择,这比任何一种启发式方法都要好。在这里,我们通过训练ML模型以直接选择变量顺序并尝试各种ML技术来扩展此结果。我们对NLSAT数据集和Maple 2018的常规链库CAD函数进行了实验。针对每个问题,选择了导致计算时间最短的变量排序作为ML的目标类。功能是从多项式输入生成的,并用于训练以下ML模型:k近邻(KNN)分类器,多层感知器(MLP),决策树(DT)和SVM(在Python scikit-learn包中实现) 。我们还将这些问题与两种主要的人为启发式算法进行了比较:Brown启发式算法和sotd。在此数据集上,所有ML方法均优于人工启发式算法,其中某些方法有很大优势。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号