English

Improving multivariate Horner schemes with Monte Carlo tree search

Symbolic Computation 2015-06-05 v1 Artificial Intelligence Mathematical Physics math.MP

Abstract

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.

Keywords

Cite

@article{arxiv.1207.7079,
  title  = {Improving multivariate Horner schemes with Monte Carlo tree search},
  author = {J. Kuipers and J. A. M. Vermaseren and A. Plaat and H. J. van den Herik},
  journal= {arXiv preprint arXiv:1207.7079},
  year   = {2015}
}

Comments

5 pages

R2 v1 2026-06-21T21:43:41.952Z