IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v13y2025i19p3064-d1756336.html
   My bibliography  Save this article

Exploiting Generalized Cyclic Symmetry to Find Fast Rectangular Matrix Multiplication Algorithms Easier

Author

Listed:
  • Charlotte Vermeylen

    (Department of Electrical Engineering (ESAT), KU Leuven, Kasteelpark Arenberg 10 bus 2246, B-3001 Leuven, Belgium)

  • Nico Vervliet

    (Department of Electrical Engineering (ESAT), KU Leuven, Kasteelpark Arenberg 10 bus 2246, B-3001 Leuven, Belgium
    Subfaculty Science and Technology, KU Leuven Kulak, E. Sabbelaan 53, B-8500 Kortrijk, Belgium)

  • Lieven De Lathauwer

    (Department of Electrical Engineering (ESAT), KU Leuven, Kasteelpark Arenberg 10 bus 2246, B-3001 Leuven, Belgium
    Subfaculty Science and Technology, KU Leuven Kulak, E. Sabbelaan 53, B-8500 Kortrijk, Belgium)

  • Marc Van Barel

    (Department of Computer Science, KU Leuven, Celestijnenlaan 200A, B-3001 Leuven, Belgium)

Abstract

The quest to multiply two large matrices as fast as possible is one that has already intrigued researchers for several decades. However, the ‘optimal’ algorithm for a certain problem size is still not known. The fast matrix multiplication (FMM) problem can be formulated as a non-convex optimization problem—more specifically, as a challenging tensor decomposition problem. In this work, we build upon a state-of-the-art augmented Lagrangian algorithm, which formulates the FMM problem as a constrained least squares problem, by incorporating a new, generalized cyclic symmetric (CS) structure in the decomposition. This structure decreases the number of variables, thereby reducing the large search space and the computational cost per iteration. The constraints are used to find practical solutions, i.e., decompositions with simple coefficients, which yield fast algorithms when implemented in hardware. For the FMM problem, usually a very large number of starting points are necessary to converge to a solution. Extensive numerical experiments for different problem sizes demonstrate that including this structure yields more ‘unique’ practical decompositions for a fixed number of starting points. Uniqueness is defined relative to the known scale and trace invariance transformations that hold for all FMM decompositions. Making it easier to find practical decompositions may lead to the discovery of faster FMM algorithms when used in combination with sufficient computational power. Lastly, we show that the CS structure reduces the cost of multiplying a matrix by itself.

Suggested Citation

  • Charlotte Vermeylen & Nico Vervliet & Lieven De Lathauwer & Marc Van Barel, 2025. "Exploiting Generalized Cyclic Symmetry to Find Fast Rectangular Matrix Multiplication Algorithms Easier," Mathematics, MDPI, vol. 13(19), pages 1-20, September.
  • Handle: RePEc:gam:jmathe:v:13:y:2025:i:19:p:3064-:d:1756336
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/13/19/3064/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/13/19/3064/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:19:p:3064-:d:1756336. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.