Skip to main content
QUICK REVIEW

[Paper Review] The complexity of accurate floating point computation

James Demmel|ArXiv.org|May 1, 2003
Numerical Methods and AlgorithmsComputer Science16 references4 citations
TL;DR

This paper introduces a rigorous framework for evaluating rational expressions and matrix factorizations with high accuracy and polynomial-time efficiency across three arithmetic models: the Traditional Model (TM), Long Exponent Model (LEM), and Short Exponent Model (SEM). It shows that problems like adding three numbers or factoring structured matrices (e.g., Cauchy, Vandermonde, and discretized operators) can be computed accurately and efficiently in LEM and SEM, but not in TM, due to stricter error bounds in the latter, with factorizability of expressions and minors serving as the key criterion for tractability.

ABSTRACT

Our goal is to find accurate and efficient algorithms, when they exist, for evaluating rational expressions containing floating point numbers, and for computing matrix factorizations (like LU and the SVD) of matrices with rational expressions as entries. More precisely, {\em accuracy} means the relative error in the output must be less than one (no matter how tiny the output is), and {\em efficiency} means that the algorithm runs in polynomial time. Our goal is challenging because our accuracy demand is much stricter than usual.

Motivation & Objective

  • To identify rational expressions and matrices that can be evaluated accurately and efficiently under strict error bounds.
  • To define and compare three arithmetic models—Traditional, Long Exponent, and Short Exponent—based on their ability to support accurate and efficient computation.
  • To determine the conditions under which matrix factorizations (e.g., LU, SVD) and rational function evaluations achieve both accuracy (relative error < 1) and polynomial-time complexity.
  • To establish that the TM is strictly weaker than LEM and SEM, as certain computations (e.g., x+y+z) are provably impossible in TM but feasible in the others.
  • To link the tractability of matrix computations to the factorizability of minors and rational expressions in factored form.

Proposed method

  • Uses three models of floating-point arithmetic: TM with relative error δ bounded by machine epsilon, LEM with unbounded exponent sizes, and SEM with bounded exponents relative to fraction sizes.
  • Defines accuracy as achieving a relative error less than one, even for tiny outputs, and efficiency as polynomial-time execution in terms of input size.
  • Applies sparse arithmetic in LEM and dense arithmetic in SEM to represent and compute large or small numbers efficiently, especially for expressions in factored form.
  • Reduces matrix computation accuracy to rational expression evaluation by analyzing minors, using Laplace expansion only when factorizability is preserved.
  • Employs factored representation of rational functions: r(x) = ∑(p_i(x)^e_i), where each p_i is a sum of monomials, and size(r) is the bit complexity of this form.
  • Uses polynomial-time algorithms to compute monomials exactly, sum them via sparse arithmetic, and multiply/divide using standard rounded operations to ensure accuracy.

Experimental results

Research questions

  • RQ1Which rational expressions can be evaluated accurately and efficiently in the Traditional Model (TM), Long Exponent Model (LEM), and Short Exponent Model (SEM)?
  • RQ2Why is adding three floating-point numbers x+y+z provably impossible to compute accurately in the TM, despite being feasible in LEM and SEM?
  • RQ3What structural properties of matrices (e.g., Cauchy, Vandermonde, M-matrices) allow their minors to be expressed in factored form with polynomial-size representation?
  • RQ4How do the LEM and SEM differ in their computational power, and is the SEM strictly stronger than the LEM in terms of solvable problems?
  • RQ5What matrix properties guarantee accurate computation of all eigenvalues in the nonsymmetric eigenvalue problem?

Key findings

  • The Traditional Model (TM) is strictly weaker than both LEM and SEM, as it cannot accurately compute x+y+z, even though this is straightforward in the other models.
  • In the LEM, rational functions expressible in factored form with polynomial-size representation can be evaluated accurately and efficiently in polynomial time.
  • Matrix computations such as LU, SVD, and determinant calculation can be performed accurately and efficiently for structured matrices (e.g., Cauchy, Vandermonde, Green’s matrices) when their minors admit polynomial-sized factored representations.
  • The Short Exponent Model (SEM) supports a strictly larger class of computable problems than the LEM, as it allows dense representation of fraction bits and accounts for exponent size in input cost.
  • The class of matrices that can be computed accurately and efficiently in the LEM includes those with entries that are polynomial-sized rational expressions, such as M-matrices or inverses of tridiagonal matrices.
  • The paper conjectures that general or tridiagonal matrices cannot be computed in polynomial time in the LEM, but can be in the SEM, suggesting a strict hierarchy in computational power across models.

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.