English

Adaptive Flip Graph Algorithm for Matrix Multiplication

Symbolic Computation 2024-03-19 v2 Data Structures and Algorithms

Abstract

This study proposes the "adaptive flip graph algorithm", which combines adaptive searches with the flip graph algorithm for finding fast and efficient methods for matrix multiplication. The adaptive flip graph algorithm addresses the inherent limitations of exploration and inefficient search encountered in the original flip graph algorithm, particularly when dealing with large matrix multiplication. For the limitation of exploration, the proposed algorithm adaptively transitions over the flip graph, introducing a flexibility that does not strictly reduce the number of multiplications. Concerning the issue of inefficient search in large instances, the proposed algorithm adaptively constraints the search range instead of relying on a completely random search, facilitating more effective exploration. Numerical experimental results demonstrate the effectiveness of the adaptive flip graph algorithm, showing a reduction in the number of multiplications for a 4×54\times 5 matrix multiplied by a 5×55\times 5 matrix from 7676 to 7373, and that from 9595 to 9494 for a 5×55 \times 5 matrix multiplied by another 5×55\times 5 matrix. These results are obtained in characteristic two.

Keywords

Cite

@article{arxiv.2312.16960,
  title  = {Adaptive Flip Graph Algorithm for Matrix Multiplication},
  author = {Yamato Arai and Yuma Ichikawa and Koji Hukushima},
  journal= {arXiv preprint arXiv:2312.16960},
  year   = {2024}
}

Comments

7 pages, 2 figures