Skip to main navigation Skip to search Skip to main content

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

  • Damitha Lenadora
  • , Nikhil Jayakumar
  • , Chamika Sudusinghe
  • , Charith Mendis

Research output: Contribution to journalArticlepeer-review

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.

Original languageEnglish (US)
Pages (from-to)1754-1782
Number of pages29
JournalProceedings of the ACM on Programming Languages
Volume9
Issue numberOOPSLA2
Early online dateOct 9 2025
DOIs
StatePublished - Oct 9 2025

Keywords

  • Graph Neural Networks
  • Intermediate Representations

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'GALA: A High Performance Graph Neural Network Acceleration LAnguage and Compiler'. Together they form a unique fingerprint.

Cite this