Skip to main content
QUICK REVIEW

[论文解读] GOMA: Geometrically Optimal Mapping via Analytical Modeling for Spatial Accelerators

Wulve Yang, Hailong Zou|arXiv (Cornell University)|Mar 9, 2026
Parallel Computing and Optimization TechniquesComputer Science被引用 0
一句话总结

GOMA 引入几何抽象框架,具备精确解析能量目标,能够在空间加速器上计算全局最优 GEMM 映射;通过能耗–延迟积(EDP)提升与更快的求解时间来证明。

ABSTRACT

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$.

研究动机与目标

  • 在组合映射空间中,说明在空间加速器上实现能效高的 GEMM 映射的需求。
  • 提出一种几何抽象,可为任意映射提供精确且常数时间的能量目标。
  • 将全局、带约束的优化问题形式化,以选择分块、遍走轴线和旁路策略。
  • 提供以接收端为中心的闭式能量模型,以实现可证明最优映射及证书。

提出的方法

  • 为 GEMM 引入一个用于 3D 计算网格的表示,包含投影 A(x,z)、B(y,z) 与 P(x,y)。
  • 在五个硬件层次(DRAM、SRAM、PE 阵列、寄存器文件、MACC)上定义分层分块。
  • 通过遍历的 walking axes 和投影更新来建模数据访问量,以投影面积计数量化数据流。
  • 将层级旁路策略并入接收端为中心的公式中,以重新映射数据源与能量归因。
  • 开发闭式能量表达式,将投影流量按每次访问能量常数加权,形成全局整数优化目标。
  • 提供可验证的最优性证书来证明所计算映射的最优性。

实验结果

研究问题

  • RQ1在明确的能量目标和硬件约束下,空间加速器上的 GEMM 映射是否可以全局最优?
  • RQ2几何抽象如何为任意给定映射提供精确的 O(1) 能量评估模型?
  • RQ3循环排列(walking axes)和数据旁路选择对内存层级中的能量与数据流有何影响?
  • RQ4提出的模型能否在不同 GEMM 工作负载和硬件模板下提供快速、可验证的最优映射?

主要发现

  • GOMA 在能耗–延迟积(EDP)方面相对于最先进的映射方法,在加速器和大语言模型预填充工作负载上实现了 2.24× 到 4.24× 的改进。
  • GOMA 相较于现有映射方法在求解时间上提升了 3.83× 到 73.6×。
  • 该框架提供可验证的全局最优性,具备精确分析能量模型(O(1) 评估)与闭式优化目标。
  • 实验覆盖代表性加速器与大语言模型工作负载,验证了能量与性能提升。
  • GOMA 能在几秒内为给定 GEMM 工作负载和硬件实例计算全局最优映射。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。