Cache Oblivious Sparse Matrix Multiplication
- Matteo Dusefante,
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Peer-reviewHost publication Subtitle
LATIN 2018: Theoretical Informatics Original language
EnglishPages from-to (Number of pages)
Pages 437-447Publication milestones
- Published - 13/03/2018
Publication status
Published - 13/03/2018
Publisher
Springer, United States, GermanyBook series
- Book series name: Lecture Notes in Computer Science
Volume: 10807
ISSN: 0302-9743
ISBN (Print)
978-3-319-77403-9ISBN (Electronic)
978-3-319-77404-6Publication IDs
- Scopus: 85045389257
Host publication title
Latin American Symposium on Theoretical InformaticsAbstract
We study the problem of sparse matrix multiplication in theRandom Access Machine and in the Ideal Cache-Oblivious model. Wepresent a simple algorithm that exploits randomization to compute theproduct of two sparse matrices with elements over an arbitrary field. LetA ∈ Fn×n and C ∈ Fn×n be matrices with h nonzero entries in totalfrom a field F. In the RAM model, we are able to compute all the knonzero entries of the product matrix AC ∈ Fn×n using O˜(h + kn)time and O(h) space, where the notation O˜(·) suppresses logarithmicfactors. In the External Memory model, we are able to compute cacheobliviously all the k nonzero entries of the product matrix AC ∈ Fn×nusing O˜(h/B + kn/B) I/Os and O(h) space. In the Parallel ExternalMemory model, we are able to compute all the k nonzero entries ofthe product matrix AC ∈ Fn×n using O˜(h/PB + kn/PB) time andO(h) space, which makes the analysis in the External Memory model aspecial case of Parallel External Memory for P = 1. The guarantees aregiven in terms of the size of the field and by bounding the size of F as|F| > knlog(n2/k) we guarantee an error probability of at most 1/n forcomputing the matrix product.
Publication metrics
PlumX, opens in new tab
Captures
11
Citations
4
Access to documents
Final published version, 266.48 KB
License:Other
