arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1312.0841cs.AI
收藏

结合模拟退火和蒙特卡罗树搜索的表达式化简

Combining Simulated Annealing and Monte Carlo Tree Search for Expression Simplification

Tilburg University(蒂尔堡大学);Nikhef(荷兰国家亚原子物理研究所)

Ben Ruijl, Jos Vermaseren, Aske Plaat, Jaap van den Herik

摘要:

在计算机代数的许多应用中,大型表达式必须简化,以使重复的数值计算易于处理。以前的作品提出了启发式指导的改进,例如,霍纳的阴谋然后通过公共子表达式消除进一步减少剩余的表达式。最近的一种方法成功地应用了一种相对较新的算法,蒙特卡罗树搜索(MCTS)与UCT作为选择标准,以找到更好的变量排序。然而,这种方法适合于进一步的改进,因为它对所谓的探索-利用常数$C_p$和树更新次数$N$敏感。在本文中,我们提出了一个新的选择标准,称为模拟退火UCT(SA-UCT),有一个动态的勘探开发参数,随着迭代次数$i$,从而降低了勘探的重要性随着时间的推移。首先,我们提供了一个直观的解释方面的探索利用行为的算法。然后,我们测试我们的算法上的三个大的表达不同的起源。我们观察到,SA-UCT扩大了良好的初始值$C_p$的区间,其中达到最佳结果。这种改进很大(超过十倍),便于选择适当的$C_p$。

英文摘要:

In many applications of computer algebra large expressions must be simplified to make repeated numerical evaluations tractable. Previous works presented heuristically guided improvements, e.g., for Horner schemes. The remaining expression is then further reduced by common subexpression elimination. A recent approach successfully applied a relatively new algorithm, Monte Carlo Tree Search (MCTS) with UCT as the selection criterion, to find better variable orderings. Yet, this approach is fit for further improvements since it is sensitive to the so-called exploration-exploitation constant $C_p$ and the number of tree updates $N$. In this paper we propose a new selection criterion called Simulated Annealing UCT (SA-UCT) that has a dynamic exploration-exploitation parameter, which decreases with the iteration number $i$ and thus reduces the importance of exploration over time. First, we provide an intuitive explanation in terms of the exploration-exploitation behavior of the algorithm. Then, we test our algorithm on three large expressions of different origins. We observe that SA-UCT widens the interval of good initial values $C_p$ where best results are achieved. The improvement is large (more than a tenfold) and facilitates the selection of an appropriate $C_p$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑