Efficiently Parallelizable Strassen-Based Multiplication of a Matrix by its Transpose

Viviana Arrigoni, Filippo Maggioli, Annalisa Massini, Emanuele Rodolà
10/25/2021
cs.DC

Official code: filthynobleman/AtA (3 stars, C, last commit 2021-06-21).

Abstract

The multiplication of a matrix by its transpose, $A^T A$, appears as an intermediate operation in the solution of a wide set of problems. In this paper, we propose a new cache-oblivious algorithm (ATA) for computing this product, based upon the classical Strassen algorithm as a sub-routine.

Show full abstract

In particular, we decrease the computational cost to $\frac{2}{3}$ the time required by Strassen's algorithm, amounting to $\frac{14}{3}n^{\log_2 7}$ floating point operations. ATA works for generic rectangular matrices, and exploits the peculiar symmetry of the resulting product matrix for saving memory. In addition, we provide an extensive implementation study of ATA in a shared memory system, and extend its applicability to a distributed environment. To support our findings, we compare our algorithm with state-of-the-art solutions specialized in the computation of $A^T A$. Our experiments highlight good scalability with respect to both the matrix size and the number of involved processes, as well as favorable performance for both the parallel paradigms and the sequential implementation, when compared with other methods in the literature.

View on arXivView PDF

Code Implementations(1)

filthynobleman/AtAOfficial100%

This repository contains the code related to the article Efficiently Parallelizable Strassen-Based Multiplication of a Matrix by its Transpose.

31C, CMakeJan 12, 20215 years ago

Similar Papers

Cite this paper

@article{arrigoni2021efficiently,
  title  = {Efficiently Parallelizable Strassen-Based Multiplication of a Matrix by its Transpose},
  author = {Viviana Arrigoni and Filippo Maggioli and Annalisa Massini and Emanuele Rodolà},
  year   = {2021},
  eprint = {2110.13042},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.13042}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.13042.svg)](https://codeofpaper.com/paper/2110.13042)

Discussion