paper-with-me

홈 › Papers

Hector: An Efficient Programming and Compilation Framework for Implementing Relational Graph Neural Networks in GPU Architectures

2023-01-16 · Kun Wu, Mert Hidayetoğlu, Xiang Song, Sitao Huang, Da Zheng, Israt Nisa, Wen-mei Hwu

Relational graph neural networks (RGNNs) are graph neural networks with dedicated structures for modeling the different types of nodes and edges in heterogeneous graphs. While RGNNs have been increasingly adopted in many real-world applications due to their versatility and accuracy, they pose performance and system design challenges: inherent memory-intensive computation patterns, the gap between the programming interface and kernel APIs, and heavy programming effort in optimizing kernels caused by their coupling with data layout and heterogeneity. To systematically address these challenges, we propose Hector, a novel two-level intermediate representation and its code generator framework, that (a) captures the key properties of RGNN models, and opportunities to reduce memory accesses in inter-operator scheduling and materialization, (b) generates code with flexible data access scheme to eliminate redundant data copies, (c) decouples model semantics, data layout, and operators-specific optimization from each other to reduce programming effort. By building on one general matrix multiply (GEMM) template and a node/edge traversal template, Hector achieves up to 9.9x speed-up in inference and 43.7x speed-up in training compared with the state-of-the-art public systems on select models, i.e., RGCN, RGAT and HGT, when running heterogeneous graphs provided by Deep Graph Library (DGL) and Open Graph Benchmark (OGB). In addition, Hector does not trigger any out-of-memory (OOM) exception in these tests. We also propose the linear operator reorder and compact materialization to further accelerate the system by up to 3.8x. As an indicator of programming effort reduction, Hector takes in 51 lines of code expressing the three models and generates a total of 8K lines of CUDA and C++ code.

📄 PDF Abstract BibTeX arXiv:2301.06284

Code (0)

등록된 구현이 없습니다.

Tasks

8kC++ codeGPUScheduling

Methods 이 논문이 사용한 방법론

Library 설명 없음
RGCN An RGCN, or Relational Graph Convolution Network, is a an application of the GCN framework to modeling relational data,…

Similar Papers 제목 키워드 기반

Complexity and Compilation of GZ-Aggregates in Answer Set Programming

2015-07-14 · Mario Alviano, Nicola Leone

Gelfond and Zhang recently proposed a new stable model semantics based on Vicious Circle Principle in order to improve the interpretation of logic programs with aggregates. The paper focuses on this proposal, and analyze…

Using LLVM-based JIT Compilation in Genetic Programming

2017-01-20 · Michal Gregor, Juraj Spalek

The paper describes an approach to implementing genetic programming, which uses the LLVM library to just-in-time compile/interpret the evolved abstract syntax trees. The solution is described in some detail, including a …

Parallel and in-process compilation of individuals for genetic programming on GPU

2017-05-21 · Hakan Ayral, Songül Albayrak

Three approaches to implement genetic programming on GPU hardware are compilation, interpretation and direct generation of machine code. The compiled approach is known to have a prohibitive overhead compared to other two…

GPU

LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loops

2026-03-24 · Ravin Ravi, Dylan Bradshaw, Stefano Ruberto, Gunel Jahangirova 외 arxiv

Large Language Models (LLMs) are showing remarkable performance in generating source code, yet the generated code often has issues like compilation errors or incorrect code. Researchers and developers often face wasted e…

Process-Centric Analysis of Agentic Software Systems

2025-12-02 · Shuyang Liu, Yang Chen, Rahul Krishna, Saurabh Sinha 외 arxiv

Agentic systems are modern software systems: they consist of orchestrated modules, expose interfaces, and are deployed in software pipelines. Unlike conventional programs, their execution, i.e., trajectories, is inherent…