Skew-polynomial-sparse matrix multiplication
Abstract
Based on the observation that Q(p−1)×(p−1)<math><msup is="true"><mrow is="true"><mi mathvariant="double-struck" is="true">Q</mi></mrow><mrow is="true"><mo stretchy="false" is="true">(</mo><mi is="true">p</mi><mo linebreak="badbreak" linebreakstyle="after" is="true">−</mo><mn is="true">1</mn><mo stretchy="false" is="true">)</mo><mo is="true">×</mo><mo stretchy="false" is="true">(</mo><mi is="true">p</mi><mo linebreak="badbreak" linebreakstyle="after" is="true">−</mo><mn is="true">1</mn><mo stretchy="false" is="true">)</mo></mrow></msup></math> is isomorphic to a quotient skew polynomial ring, we propose a new deterministic algorithm for (p−1)×(p−1)<math><mo stretchy="false" is="true">(</mo><mi is="true">p</mi><mo linebreak="badbreak" linebreakstyle="after" is="true">−</mo><mn is="true">1</mn><mo stretchy="false" is="true">)</mo><mo is="true">×</mo><mo stretchy="false" is="true">(</mo><mi is="true">p</mi><mo linebreak="badbreak" linebreakstyle="after" is="true">−</mo><mn is="true">1</mn><mo stretchy="false" is="true">)</mo></math> matrix multiplication over Q<math><mi mathvariant="double-struck" is="true">Q</mi></math>, where p is a prime number. The algorithm has complexity O(Tω−2p2)<math><mi mathvariant="normal" is="true">O</mi><mo stretchy="false" is="true">(</mo><msup is="true"><mrow is="true"><mi is="true">T</mi></mrow><mrow is="true"><mi is="true">ω</mi><mo linebreak="badbreak" linebreakstyle="after" is="true">−</mo><mn is="true">2</mn></mrow></msup><msup is="true"><mrow is="true"><mi is="true">p</mi></mrow><mrow is="true"><mn is="true">2</mn></mrow></msup><mo stretchy="false" is="true">)</mo></math>, where T≤p−1<math><mi is="true">T</mi><mo is="true">≤</mo><mi is="true">p</mi><mo linebreak="goodbreak" linebreakstyle="after" is="true">−</mo><mn is="true">1</mn></math> is a parameter determined by the skew-polynomial-sparsity of input matrices and ω is the asymptotic exponent of matrix multiplication. Here a matrix is skew-polynomial-sparse if its corresponding skew polynomial is sparse. Moreover, by introducing randomness, we also propose a probabilistic algorithm with complexity O∼(tω−2p2+p2log1ν)<math><msup is="true"><mrow is="true"><mi is="true">O</mi></mrow><mrow is="true"><mo is="true">∼</mo></mrow></msup><mo stretchy="false" is="true">(</mo><msup is="true"><mrow is="true"><mi is="true">t</mi></mrow><mrow is="true"><mi is="true">ω</mi><mo linebreak="badbreak" linebreakstyle="after" is="true">−</mo><mn is="true">2</mn></mrow></msup><msup is="true"><mrow is="true"><mi is="true">p</mi></mrow><mrow is="true"><mn is="true">2</mn></mrow></msup><mo linebreak="badbreak" linebreakstyle="after" is="true">+</mo><msup is="true"><mrow is="true"><mi is="true">p</mi></mrow><mrow is="true"><mn is="true">2</mn></mrow></msup><mi mathvariant="normal" is="true">log</mi><mo is="true"></mo><mfrac is="true"><mrow is="true"><mn is="true">1</mn></mrow><mrow is="true"><mi is="true">ν</mi></mrow></mfrac><mo stretchy="false" is="true">)</mo></math>, where t≤p−1<math><mi is="true">t</mi><mo is="true">≤</mo><mi is="true">p</mi><mo linebreak="goodbreak" linebreakstyle="after" is="true">−</mo><mn is="true">1</mn></math> is the skew-polynomial-sparsity of the product and ν is the probability parameter. The main feature of the algorithms is the acceleration for matrix multiplication if the input matrices or their products are skew-polynomial-sparse.
BibTeX
@article{huang2024skew,
author = {Qiao-Long Huang and Ke Ye and Xiao-Shan Gao},
title = {{Skew-polynomial-sparse matrix multiplication}},
journal = {J. Symb. Comput.},
year = {2024},
url = {https://openreview.net/forum?id=YpAG9VnpSD},
}Ask Althea to put this paper to the test.
Loading related content...