Improving multivariate Horner schemes with Monte Carlo tree search

07/30/2012
by   J. Kuipers, et al.
0

Optimizing the cost of evaluating a polynomial is a classic problem in computer science. For polynomials in one variable, Horner's method provides a scheme for producing a computationally efficient form. For multivariate polynomials it is possible to generalize Horner's method, but this leaves freedom in the order of the variables. Traditionally, greedy schemes like most-occurring variable first are used. This simple textbook algorithm has given remarkably efficient results. Finding better algorithms has proved difficult. In trying to improve upon the greedy scheme we have implemented Monte Carlo tree search, a recent search method from the field of artificial intelligence. This results in better Horner schemes and reduces the cost of evaluating polynomials, sometimes by factors up to two.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/16/2023

Multi-Polynomial Monte Carlo for Trace Estimation in Lattice QCD

Estimating the trace of the inverse of a large matrix is an important pr...
research
09/26/2017

Asymptotically Optimal Monte Carlo Sparse Multivariate Polynomial Interpolation Algorithms of Straight-Line Program

In this paper, we propose new deterministic interpolation algorithms and...
research
09/26/2017

Faster Interpolation Algorithms for Sparse Multivariate Polynomials Given by Straight-Line Programs\

In this paper, we propose new deterministic and Monte Carlo interpolatio...
research
11/08/2016

Sparse multivariate factorization by mean of a few bivariate factorizations

We describe an algorithm to factor sparse multivariate polynomials using...
research
05/27/2020

ProTuner: Tuning Programs with Monte Carlo Tree Search

We explore applying the Monte Carlo Tree Search (MCTS) algorithm in a no...
research
06/13/2023

Adaptive Monte Carlo Search for Conjecture Refutation in Graph Theory

Graph theory is an interdisciplinary field of study that has various app...
research
12/03/2013

Combining Simulated Annealing and Monte Carlo Tree Search for Expression Simplification

In many applications of computer algebra large expressions must be simpl...

Please sign up or login with your details

Forgot password? Click here to reset