Efficient Mixed Precision Quantization in Graph Neural Networks

Samir Moustafa, Nils M. Kriege, Wilfried N. Gansterer
5/14/2025
cs.LG

No official code found. Best implementation: SamirMoustafa/MixQ (4 stars, last commit 2025-05-19).

Abstract

Graph Neural Networks (GNNs) have become essential for handling large-scale graph applications. However, the computational demands of GNNs necessitate the development of efficient methods to accelerate inference. Mixed precision quantization emerges as a promising solution to enhance the efficiency of GNN architectures without compromising prediction performance. Compared to conventional deep learning architectures, GNN layers contain a wider set of components that can be quantized, including message passing functions, aggregation functions, update functions, the inputs, learnable parameters, and outputs of these functions. In this paper, we introduce a theorem for efficient quantized message passing to aggregate integer messages. It guarantees numerical equality of the aggregated messages using integer values with respect to those obtained with full (FP32) precision. Based on this theorem, we introduce the Mixed Precision Quantization for GNN (MixQ-GNN) framework, which flexibly selects effective integer bit-widths for all components within GNN layers. Our approach systematically navigates the wide set of possible bit-width combinations, addressing the challenge of optimizing efficiency while aiming at maintaining comparable prediction performance. MixQ-GNN integrates with existing GNN quantization methods, utilizing their graph structure advantages to achieve higher prediction performance. On average, MixQ-GNN achieved reductions in bit operations of 5.5x for node classification and 5.1x for graph classification compared to architectures represented in FP32 precision.

View on arXivView PDF

Code Implementations(1)

SamirMoustafa/MixQCommunity100%

The official implementation for the paper S. Moustafa, N. Kriege and W. N. Gansterer, "Efficient Mixed Precision Quantization in Graph Neural Networks," in 2025 IEEE 41st International Conference on Data Engineering (ICDE).

40Python, DockerfileJul 17, 20241 years ago

Similar Papers

Cite this paper

@article{moustafa2025efficient,
  title  = {Efficient Mixed Precision Quantization in Graph Neural Networks},
  author = {Samir Moustafa and Nils M. Kriege and Wilfried N. Gansterer},
  year   = {2025},
  eprint = {2505.09361},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.09361v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.09361.svg)](https://codeofpaper.com/paper/2505.09361)

Discussion