Combining Simulated Annealing and Monte Carlo Tree Search for Expression Simplification

12/03/2013
by   Ben Ruijl, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2014

HEPGAME and the Simplification of Expressions

Advances in high energy physics have created the need to increase comput...
research
12/20/2020

Monte-Carlo Graph Search for AlphaZero

The AlphaZero algorithm has been successfully applied in a range of disc...
research
05/19/2020

The Second Type of Uncertainty in Monte Carlo Tree Search

Monte Carlo Tree Search (MCTS) efficiently balances exploration and expl...
research
11/01/2022

Monte Carlo Tree Descent for Black-Box Optimization

The key to Black-Box Optimization is to efficiently search through input...
research
11/02/2021

Pareto Monte Carlo Tree Search for Multi-Objective Informative Planning

In many environmental monitoring scenarios, the sampling robot needs to ...
research
09/28/2015

Ensemble UCT Needs High Exploitation

Recent results have shown that the MCTS algorithm (a new, adaptive, rand...
research
07/30/2012

Improving multivariate Horner schemes with Monte Carlo tree search

Optimizing the cost of evaluating a polynomial is a classic problem in c...

Please sign up or login with your details

Forgot password? Click here to reset