Skip to main content
QUICK REVIEW

[Paper Review] Toward accurate polynomial evaluation in rounded arithmetic

James Demmel, Ioana Dumitriu|ArXiv.org|Aug 18, 2005
Numerical Methods and AlgorithmsComputer Science64 references11 citations
TL;DR

This paper develops a decision procedure to determine whether a multivariate polynomial can be evaluated accurately in rounded arithmetic—defined as relative error less than 1—using basic operations and constants. It establishes necessary and sufficient conditions for accurate evaluation, particularly for homogeneous polynomials with integer coefficients over complex domains, and proves that certain structured matrices (e.g., polynomial Vandermonde) lack accurate inverse computation even with additional operations, due to irreducible algebraic structure in their minors.

ABSTRACT

Given a multivariate real (or complex) polynomial $p$ and a domain $\cal D$, we would like to decide whether an algorithm exists to evaluate $p(x)$ accurately for all $x \in {\cal D}$ using rounded real (or complex) arithmetic. Here ``accurately'' means with relative error less than 1, i.e., with some correct leading digits. The answer depends on the model of rounded arithmetic: We assume that for any arithmetic operator $op(a,b)$, for example $a+b$ or $a \cdot b$, its computed value is $op(a,b) \cdot (1 + δ)$, where $| δ|$ is bounded by some constant $ε$ where $0 < ε\ll 1$, but $δ$ is otherwise arbitrary. This model is the traditional one used to analyze the accuracy of floating point algorithms.Our ultimate goal is to establish a decision procedure that, for any $p$ and $\cal D$, either exhibits an accurate algorithm or proves that none exists. In contrast to the case where numbers are stored and manipulated as finite bit strings (e.g., as floating point numbers or rational numbers) we show that some polynomials $p$ are impossible to evaluate accurately. The existence of an accurate algorithm will depend not just on $p$ and $\cal D$, but on which arithmetic operators and which constants are are available and whether branching is permitted. Toward this goal, we present necessary conditions on $p$ for it to be accurately evaluable on open real or complex domains ${\cal D}$. We also give sufficient conditions, and describe progress toward a complete decision procedure. We do present a complete decision procedure for homogeneous polynomials $p$ with integer coefficients, ${\cal D} = \C^n$, and using only the arithmetic operations $+$, $-$ and $\cdot$.

Motivation & Objective

  • To develop a decision procedure that determines whether an accurate algorithm exists for evaluating a multivariate polynomial $ p(x) $ with relative error less than 1 in rounded arithmetic.
  • To identify the algebraic and arithmetic conditions under which accurate evaluation is possible or impossible, depending on available operations, constants, and domain.
  • To analyze the role of polynomial structure—especially homogeneity and irreducibility—in determining the feasibility of accurate evaluation.
  • To extend prior work on accurate linear algebra algorithms for structured matrices (e.g., Vandermonde, Cauchy) by identifying fundamental algebraic obstructions.
  • To clarify why certain matrix computations (e.g., inverse, minors) cannot be computed accurately even with additional operations, due to the variety of the underlying polynomial.

Proposed method

  • Models rounded arithmetic as a standard floating-point model where each operation introduces a relative error bounded by $ \epsilon \ll 1 $, with $ \delta $ arbitrary within that bound.
  • Uses algebraic geometry to analyze the variety of the polynomial $ p(x) $, focusing on whether the zero set of $ p $ is preserved under rounding errors.
  • Applies the concept of 'allowable varieties'—defined as those that can be computed accurately using basic arithmetic operations and constants.
  • For homogeneous polynomials with integer coefficients over $ \mathbb{C}^n $, derives necessary and sufficient conditions based on dominance of terms and pruning of non-dominant monomials.
  • Analyzes minors of structured matrices (e.g., polynomial Vandermonde) by expressing them as determinants of matrices whose entries are polynomials, and studies the irreducibility of the resulting polynomials.
  • Employs symmetric functions (e.g., Schur functions) to decompose determinant expressions and prove that certain minors define irreducible polynomials, thus ruling out accurate evaluation.

Experimental results

Research questions

  • RQ1Under what conditions on a multivariate polynomial $ p $ and domain $ \mathcal{D} $ does an accurate evaluation algorithm exist in rounded arithmetic with relative error less than 1?
  • RQ2Can the existence of an accurate algorithm be decided algorithmically for homogeneous polynomials with integer coefficients over $ \mathbb{C}^n $, using only $ +, -, \cdot $?
  • RQ3Why are certain structured matrices—like polynomial Vandermonde matrices—incapable of having their inverses or minors computed accurately, even with additional operations?
  • RQ4What role does the irreducibility of the polynomial defining a matrix minor play in the impossibility of accurate evaluation?
  • RQ5Are there specific classes of polynomials (e.g., orthogonal polynomials) for which accurate SVD or EVD computation is possible despite general limitations?

Key findings

  • For homogeneous polynomials with integer coefficients over $ \mathbb{C}^n $, a complete decision procedure exists to determine accurate evaluable status using only $ +, -, \cdot $, based on dominance and pruning of monomials.
  • The inverse of a polynomial Vandermonde matrix cannot be computed accurately in classical rounded arithmetic, even with additional operations, because the minors define irreducible polynomials with non-allowable varieties.
  • The determinant of a minor of a polynomial Vandermonde matrix is shown to be a linear combination of Schur functions, and for $ n \geq 4 $, this expression defines a polynomial with an irreducible factor of degree $ k \geq 2 $, which cannot be accurately evaluated.
  • The LDU decomposition of a polynomial Vandermonde matrix cannot be computed accurately because the L factor inherits the same inaccuracy as in the standard Vandermonde case.
  • For special classes of polynomials such as orthogonal polynomials, accurate SVD and possibly symmetric EVD are possible, indicating that polynomial structure can enable accurate computation despite general impossibility.
  • The paper proves that for certain structured matrices, even with the addition of any enumerable set of bounded-degree black-box operations, accurate inverse computation remains impossible due to the algebraic nature of the underlying polynomial.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.