Activation Compression of Graph Neural Networks using Block-wise Quantization with Improved Variance Minimization
Sebastian Eliassen, Raghavendra Selvan
TL;DR
The paper tackles memory bottlenecks in training graph neural networks by extending EXACT with block-wise activation quantization to $INT2$ and an improved variance minimization that uses a clipped-normal activation distribution. By reshaping projected activations into blocks and applying quantization within each block, memory usage decreases further than EXACT, while preserving accuracy and delivering modest per-epoch speedups. The authors show that activation maps in GNNs are better described by a clipped-normal distribution rather than uniform, enabling non-uniform quantization boundaries that further reduce quantization variance, though this variance reduction does not translate into noticeable accuracy gains. Overall, the technique yields substantial memory savings (up to >95% vs FP32 and >15% over EXACT) and practical speedups, representing a meaningful advance for memory-efficient GNN training with BLOCK-wise INT2 quantization.
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.
