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.
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 in Equation (5.2) in [Citation3], which defines the APA scheme. We encourage the reader to consult our code for a corrected definition.