Structure Prediction and Computation of Sparse Matrix Products |
| |
Authors: | Edith Cohen |
| |
Affiliation: | (1) AT&T Labs-Research, Florham Park, NJ, 07932 |
| |
Abstract: | We consider1 the problem of predicting the nonzero structure of a product of two or more matrices. Prior knowledge of the nonzero structure can be applied to optimize memory allocation and to determine the optimal multiplication order for a chain product of sparse matrices. We adapt a recent algorithm by the author and show that the essence of the nonzero structure and hence, a near-optimal order of multiplications, can be determined in near-linear time in the number of nonzero entries, which is much smaller than the time required for the multiplications. An experimental evaluation of the algorithm demonstrates that it is practical for matrices of order 103 with 104 nonzeros (or larger). A relatively small pre-computation results in a large time saved in the computation-intensive multiplication. |
| |
Keywords: | nonzero structure structure prediction sparse matrices size estimation matrix multiplication |
本文献已被 SpringerLink 等数据库收录! |
|