Using Symmetry to Schedule Classical Matrix Multiplication
Harsha Vardhan Simhadri

TL;DR
This paper introduces a systematic algebraic approach using symmetry groups to design efficient schedules for classical matrix multiplication algorithms across various machine topologies.
Contribution
It models algorithm and machine symmetries with group actions, providing algebraic equations whose solutions yield communication- and time-efficient schedules.
Findings
Recovers known algorithms like Cannon's and 2.5D algorithms
Provides a unified algebraic framework for schedule design
Suggests new schedules can be derived from algebraic solutions
Abstract
Presented with a new machine with a specific interconnect topology, algorithm designers use intuition about the symmetry of the algorithm to design time and communication-efficient schedules that map the algorithm to the machine. Is there a systematic procedure for designing schedules? We present a new technique to design schedules for algorithms with no non-trivial dependencies, focusing on the classical matrix multiplication algorithm. We model the symmetry of algorithm with the set of instructions as the action of the group formed by the compositions of bijections from the set to itself. We model the machine as the action of the group , where and represent the interconnect topology and time increments respectively, on the set of processors iterated over time steps. We model schedules as symmetry-preserving equivariant maps between…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Interconnection Networks and Systems · Complexity and Algorithms in Graphs
