[Paper Review] GOMA: Geometrically Optimal Mapping via Analytical Modeling for Spatial Accelerators
GOMA introduces a geometric-abstraction framework with an exact analytical energy objective to compute globally optimal GEMM mappings on spatial accelerators, demonstrated with energy–delay product gains and faster solution times.
General matrix multiplication (GEMM) on spatial accelerators is highly sensitive to mapping choices in both execution efficiency and energy consumption. However, the mapping space exhibits combinatorial explosion, which makes it extremely challenging to obtain optimal mappings within an acceptable time budget. Existing approaches typically face challenges: They often lack global-optimality guarantees and become prohibitively slow as the mapping space grows. To address these limitations, we propose extsc{GOMA}, a geometric-abstraction-based, globally optimal GEMM mapping framework via analytical modeling, which achieves efficient solving while guaranteeing optimality. extsc{GOMA} introduces, from first principles, a geometric abstraction for GEMM mapping, yielding an exact analytical energy objective with $O(1)$ evaluation for any given mapping. The objective is highly accurate. extsc{GOMA} then formulates mapping selection as an integer optimization problem under hardware and mapping constraints, using the analytical energy model as the objective to automate mapping search. extsc{GOMA} can quickly compute a global-optimal mapping for any (GEMM workload, target hardware) pair, achieving this for the first time in mapping space exploration. Experiments confirm that across representative accelerators and large language model prefill workloads, extsc{GOMA} improves the energy--delay product (EDP) by $2.24$--$4.24 imes$ over SOTA mappers, while accelerating time-to-solution by $3.83$--$73.6 imes$.
Motivation & Objective
- Motivate the need for energy-efficient GEMM mappings on spatial accelerators amid combinatorial mapping spaces.
- Propose a geometric abstraction that yields an exact, constant-time energy objective for any mapping.
- Formulate a global, constraint-aware optimization problem to select tiling, walking axes, and bypass policies.
- Provide a receiver-centric, closed-form energy model to enable provable optimal mappings with certificates.
Proposed method
- Introduce a 3D compute-grid representation for GEMM with projections A(x,z), B(y,z), and P(x,y).
- Define hierarchical tiling across five hardware levels (DRAM, SRAM, PE-array, regfile, MACC).
- Model traversal via walking axes and projection updates to quantify data traffic as projection-area counts.
- Incorporate level bypass policies to re-map data sources and energy attribution in a receiver-centric formulation.
- Develop closed-form energy expressions weighting projection traffic by per-access energy constants to form a global integer-optimization objective.
- Provide a verifiable optimality certificate for the computed mapping.
Experimental results
Research questions
- RQ1Can GEMM mappings on spatial accelerators be globally optimal under a well-defined energy objective and hardware constraints?
- RQ2How can a geometric abstraction yield an exact, O(1) evaluation energy model for any given mapping?
- RQ3What are the effects of loop permutation (walking axes) and data bypass choices on energy and data traffic across memory hierarchy?
- RQ4Can the proposed model provide fast, verifiable optimal mappings across varying GEMM workloads and hardware templates?
Key findings
- GOMA achieves 2.24× to 4.24× improvements in energy–delay product (EDP) over state-of-the-art mappers across accelerators and LLM prefill workloads.
- GOMA accelerates time-to-solution by 3.83× to 73.6× compared with existing mapping methods.
- The framework delivers verifiable global optimality with an exact analytical energy model (O(1) evaluation) and a closed-form optimization objective.
- Experiments cover representative accelerators and large language model workloads, validating energy and performance gains.
- GOMA can compute global-optimal mappings for given GEMM workloads and hardware instances within seconds.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.