paperbot · PL 论文追踪

全部论文 待读 收藏

P2 GALA: A High Performance Graph Neural Network Acceleration LAnguage and Compiler

GALA:一种高性能图神经网络加速语言与编译器
OOPSLA 9(OOPSLA2)2025匹配度 3/10 · 论文是面向 GNN 的 DSL 与编译器优化,属于 PL 技术在 ML 系统中的应用,但核心是编译优化而非静态分析,也未涉及 Agentic/LLM、浮点或贝叶斯程序分析,与用户研究方向仅边缘相关。引用 1 inbox
Damitha Lenadora, Nikhil Jayakumar, Chamika Sudusinghe, Charith Mendis
crossref: 2026-09-10

AI 速览

一句话:提出 GALA DSL 与编译器,通过两级 IR 组合算子内/间优化并支持训练专用变换,实现 GNN 推理与训练加速。

现有图神经网络(GNN)加速系统通常只在算子内或算子间层面进行优化,忽略了二者组合带来的协同机会,并且大多聚焦前向推理,较少关注训练阶段的优化。为弥补这些缺失,本文提出 GALA——一种领域特定语言(DSL)及其编译器。GALA DSL 将算子内变换暴露为调度命令,编译器则引入新颖的算子间变换,并通过两个新的中间表示(IR)跟踪与组合算子内和算子间变换。这些 IR 还维护包含训练过程的 GNN 程序全局视图,从而支持训练专用变换以更激进地优化 GNN 训练。评估表明,GALA 在多种系统、图和 GNN 模型上取得了推理 2.55 倍、训练 2.52 倍的几何平均加速,并在不同图规模和模型配置下表现良好,同时允许用户探索不同优化方式及其权衡空间。

问题
现有 GNN 加速系统往往只优化算子内或算子间一层,缺乏两级优化的协同,且主要针对推理而忽视训练阶段的优化机会。
方法
GALA 提供 DSL 将算子内变换表达为调度命令,并在编译器中引入算子间变换;通过两个新 IR 跟踪、组合两级变换,并维护包含训练过程的全局程序视图以支持训练专用优化。
评估
在多种系统、图数据集和 GNN 模型上测量推理与训练加速比,并考察不同图规模、模型配置以及不同优化方式带来的权衡空间。
原文摘要(Abstract)

Multiple frameworks and optimizations have been proposed for accelerating Graph Neural Network (GNN) workloads over the years, achieving sizable runtime performance improvements. However, we notice that existing systems usually explore optimizing either at the intra-operator level or at the inter-operator level, missing synergies that exist due to their compositions. Further, most existing works focus primarily on optimizing the forward computation of GNNs, often overlooking opportunities for training-specific optimizations. To exploit these missed optimization opportunities, we introduce GALA, a domain-specific language (DSL) and a compiler that allows composing optimizations at different levels. The GALA DSL exposes intra-operator transformations as scheduling commands, while we introduce novel inter-operator transformations as part of the compiler. The composition of these transformations is made possible through the introduction of two novel intermediate representations (IR) in the GALA compiler that tracks and composes transformations at both the intra- and inter-operator levels. Further, the IRs maintain a global view of the GNN program, including its training process. This allows us to introduce training-specific transformations to aggressively optimize GNN training. Our evaluations show that GALA achieves a geo-mean speedup of 2.55× for inference and 2.52× for training across multiple systems, graphs, and GNN models. We also show that GALA performs well across different graph sizes and GNN model configurations, as well as allows users to explore different methods of performing similar optimizations leading to different tradeoff spaces.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2909,
  title = {GALA: A High Performance Graph Neural Network Acceleration LAnguage and Compiler},
  author = {Damitha Lenadora and Nikhil Jayakumar and Chamika Sudusinghe and Charith Mendis},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA2},
  year = {2025},
  doi = {10.1145/3763113}
}