Activation Compression of Graph Neural Networks using Block-wise Quantization with Improved Variance Minimization

Sebastian Eliassen, Raghavendra Selvan
9/21/2023
stat.MLcs.LG

Official code: saintslab/i-Exact (4 stars, MIT, last commit 2024-03-07).

Abstract

Efficient training of large-scale graph neural networks (GNNs) has been studied with a specific focus on reducing their memory consumption. Work by Liu et al. (2022) proposed extreme activation compression (EXACT) which demonstrated drastic reduction in memory consumption by performing quantization of the intermediate activation maps down to using INT2 precision. They showed little to no reduction in performance while achieving large reductions in GPU memory consumption. In this work, we present an improvement to the EXACT strategy by using block-wise quantization of the intermediate activation maps. We experimentally analyze different block sizes and show further reduction in memory consumption (>15%), and runtime speedup per epoch (about 5%) even when performing extreme extents of quantization with similar performance trade-offs as with the original EXACT. Further, we present a correction to the assumptions on the distribution of intermediate activation maps in EXACT (assumed to be uniform) and show improved variance estimations of the quantization and dequantization steps.

View on arXivView PDF

Code Implementations(1)

MIT

Official repository for "Activation Compression of Graph Neural Networks using Block-wise Quantization and Improved Variance Minimization". Eliassen and Selvan. 2023

41C, C++Sep 9, 20232 years agoMIT

Similar Papers

Cite this paper

@article{eliassen2023activation,
  title  = {Activation Compression of Graph Neural Networks using Block-wise Quantization with Improved Variance Minimization},
  author = {Sebastian Eliassen and Raghavendra Selvan},
  year   = {2023},
  eprint = {2309.11856},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.11856v2}
}

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/2309.11856.svg)](https://codeofpaper.com/paper/2309.11856)

Discussion