Abstract
We study the average-case complexity of min-sum product of matrices, which is a fundamental operation that has many applications in computer science. We focus on optimizing the number of "algebraic" operations (i.e., operations involving real numbers) used in the computation, since such operations are usually expensive in various environments. We present an algorithm that can compute the min-sum product of two n×n real matrices using only O(n2) algebraic operations, given that the matrix elements are drawn independently and identically from some fixed probability distribution satisfying several constraints. This improves the previously best known upper-bound of O(n2logn). The class of probability distributions under which our algorithm works include many important and commonly used distributions, such as uniform distributions, exponential distributions, folded normal distributions, etc.
In order to evaluate the performance of the proposed algorithm, we performed experiments to compare the running time of the proposed algorithm with algorithms in [1]. The experimental results demonstrate that our algorithm achieves significant performance improvement over the previous algorithms.
Original language | English |
---|---|
Pages (from-to) | 76-86 |
Number of pages | 11 |
Journal | Theoretical Computer Science |
Volume | 609 |
Issue number | 1 |
DOIs | |
Publication status | Published - 4 Jan 2016 |
Externally published | Yes |
Bibliographical note
This work was fully supported by a grant from the Research Grants Council, University Grants Committee, Hong Kong Special Administrative Region,China [Project No. CityU 122512].
Keywords
- Matrix multiplication
- Min-plus product
- Min-sum product