98
Views
1
CrossRef citations to date
0
Altmetric
Articles

Randomization of approximate bilinear computation for matrix multiplication

ORCID Icon & ORCID Icon
Pages 54-93 | Received 24 Feb 2020, Accepted 29 Nov 2020, Published online: 30 Dec 2020
 

ABSTRACT

We present a method for randomizing formulas for bilinear computation of matrix products which does not increase the leading order complexity of the computation. We consider the implications of such randomization when there are two sources of error. The first source is due to the computation formula itself only being approximately correct. Such formulas come up when numerically searching for faster matrix multiplication algorithms. The second source is due to using floating point arithmetic. This kind of error is especially important when computing on low precision hardware like GPUs. Our theoretical results and numerical experiments indicate that our method can improve performance when the two kinds of error are present individually, as well as when they are present at the same time.

2010 Mathematics Subject Classifications:

Acknowledgments

This material is based upon work supported by the National Science Foundation under Grant No. ECCS-1810314.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Notes

1 We present results for square matrices, but we believe the results can be extended to rectangular matrices.

2 There appears to be a few typos in the definition of wr(s) in Equation (5.2) in [Citation3], which defines the APA scheme. We encourage the reader to consult our code for a corrected definition.

Additional information

Funding

This material is based upon work supported by the National Science Foundation under Grant No. ECCS-1810314.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 513.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.