Skip to main content
QUICK REVIEW

[Paper Review] An improved algorithm to compute the exponential of a matrix

Philipp Bader, Sergio Blanes|arXiv (Cornell University)|Oct 30, 2017
Matrix Theory and AlgorithmsComputer Science15 references5 citations
TL;DR

This paper proposes a new algorithm to compute the matrix exponential by optimizing the evaluation of its Taylor polynomial, reducing matrix multiplications compared to the Paterson–Stockmeyer method. The method achieves 10–30% better performance than Padé approximants across a wide range of matrix norms, making it a superior alternative for standard software libraries like MATLAB's expm.

ABSTRACT

In this work, we present a new way to compute the Taylor polynomial of the matrix exponential which reduces the number of matrix multiplications in comparison with the de-facto standard Patterson-Stockmeyer method. This reduction is sufficient to make the method superior in performance to Padé approximants by 10-30% over a range of values for the matrix norms and thus we propose its replacement in standard software kits. Numerical experiments show the performance of the method and illustrate its stability.

Motivation & Objective

  • To reduce the computational cost of evaluating the Taylor polynomial of the matrix exponential.
  • To improve performance over the widely used Paterson–Stockmeyer method for computing matrix polynomial evaluations.
  • To develop a more efficient alternative to Padé approximants in scaling and squaring algorithms for matrix exponentials.
  • To ensure numerical stability comparable to existing methods like MATLAB's expm while reducing computational cost.
  • To provide a practical, implementable algorithm suitable for integration into standard scientific software.

Proposed method

  • A generalized recursive algorithm is introduced to compute matrix polynomials with fewer matrix products than the Paterson–Stockmeyer method.
  • The method reorganizes the evaluation of Taylor polynomial coefficients using a hierarchical decomposition that increases the degree per matrix product.
  • It achieves higher-degree polynomials (e.g., degree 22 with 6 products) compared to Paterson–Stockmeyer (degree 16 with 6 products).
  • The algorithm uses Horner-like evaluation strategies with optimized coefficient grouping to minimize multiplications.
  • The approach is integrated into the scaling and squaring framework, replacing Padé approximants in the inner polynomial evaluation step.
  • The method is validated through numerical experiments using standard test matrices and random matrices across various norms.

Experimental results

Research questions

  • RQ1Can the number of matrix multiplications required to evaluate the Taylor polynomial of the matrix exponential be reduced below the Paterson–Stockmeyer standard?
  • RQ2Does the proposed method outperform Padé approximants in terms of computational cost while maintaining numerical stability?
  • RQ3For which ranges of matrix norm is the new Taylor-based method more efficient than Padé-based scaling and squaring?
  • RQ4How does the new method compare in accuracy and stability to existing implementations like MATLAB's expm?
  • RQ5Can the method be generalized to achieve higher polynomial degrees with the same number of matrix products?

Key findings

  • The new algorithm reduces the number of matrix multiplications required to compute the Taylor polynomial of the matrix exponential compared to the Paterson–Stockmeyer method.
  • With 6 matrix products, the new method computes a degree-22 polynomial, whereas Paterson–Stockmeyer achieves only degree 16.
  • The method outperforms Padé approximants by 10–30% in performance across a wide range of matrix norms in both single and double precision.
  • The relative error of the new method remains within expected bounds for Horner scheme evaluations and is comparable to that of Padé methods.
  • The method is numerically stable and suitable for integration into standard software libraries such as MATLAB's expm function.
  • For matrices with small to moderate norms, the new Taylor-based method is significantly more efficient than Padé approximants.

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.