[Paper Review] Learned Low Precision Graph Neural Networks
This paper proposes Low Precision Graph NAS (LPGNAS), a differentiable, one-shot NAS framework that jointly optimizes GNN architecture and quantization precision at the sub-block level. LPGNAS achieves state-of-the-art model compression with minimal accuracy drop, converging on a W4A8 (4-bit weights, 8-bit activations) quantization strategy across diverse datasets, outperforming both manual designs and prior NAS methods in size-accuracy trade-offs.
Deep Graph Neural Networks (GNNs) show promising performance on a range of graph tasks, yet at present are costly to run and lack many of the optimisations applied to DNNs. We show, for the first time, how to systematically quantise GNNs with minimal or no loss in performance using Network Architecture Search (NAS). We define the possible quantisation search space of GNNs. The proposed novel NAS mechanism, named Low Precision Graph NAS (LPGNAS), constrains both architecture and quantisation choices to be differentiable. LPGNAS learns the optimal architecture coupled with the best quantisation strategy for different components in the GNN automatically using back-propagation in a single search round. On eight different datasets, solving the task of classifying unseen nodes in a graph, LPGNAS generates quantised models with significant reductions in both model and buffer sizes but with similar accuracy to manually designed networks and other NAS results. In particular, on the Pubmed dataset, LPGNAS shows a better size-accuracy Pareto frontier compared to seven other manual and searched baselines, offering a 2.3 times reduction in model size but a 0.4% increase in accuracy when compared to the best NAS competitor. Finally, from our collected quantisation statistics on a wide range of datasets, we suggest a W4A8 (4-bit weights, 8-bit activations) quantisation strategy might be the bottleneck for naive GNN quantisations.
Motivation & Objective
- To systematically study and define the quantization search space for Graph Neural Networks (GNNs), which differ from traditional DNNs in layer composition and parameter distribution.
- To address the high computational and memory cost of GNN inference in large-scale systems by enabling automated, efficient quantization without performance degradation.
- To develop a novel NAS method that co-optimizes architecture and quantization choices in a single, differentiable search process, reducing search time and complexity.
- To empirically identify the bottleneck in fixed-point quantization of GNNs and provide data-driven guidelines for future model design and hardware optimization.
Proposed method
- LPGNAS employs a single-path, one-shot, gradient-based NAS framework that enables differentiable architecture and quantization search across GNN sub-blocks (Linear, Attention, Aggregation, Activation).
- The method models quantization as a differentiable operation by using straight-through estimators and learnable temperature parameters to control bitwidth choices for weights and activations.
- Quantization levels are defined as discrete choices over [1,2,4,6,8,12,16] bits for weights and [4,8,12,16] bits for activations, with the search space constrained to enable backpropagation.
- The search process jointly optimizes the GNN architecture and quantization strategy using a single forward pass per search round, drastically reducing search time compared to random or reinforcement-based methods.
- The framework is evaluated across eight benchmark datasets, with quantization decisions collected across over 100 search runs to derive statistical trends.
- The method uses a proxy loss based on validation accuracy to guide the search, enabling convergence to optimal configurations without iterative retraining.
Experimental results
Research questions
- RQ1What is the appropriate search space for quantizing GNNs, given their unique sub-block structure (e.g., attention, aggregation) and parameter distribution?
- RQ2Can a differentiable, one-shot NAS approach effectively co-optimize GNN architecture and quantization precision to minimize model size and memory footprint while preserving accuracy?
- RQ3What quantization strategy (bitwidths for weights and activations) emerges as optimal across diverse GNN datasets, and is it consistent across architectures?
- RQ4Why do manually designed GNNs often fail under aggressive quantization (e.g., W4A8), while NAS-learned models succeed, and what architectural factors contribute to this difference?
- RQ5To what extent does the LPGNAS framework reduce search cost compared to baseline methods that rely on random or sequential hyperparameter search?
Key findings
- LPGNAS achieves a 2.3× reduction in model size on the PubMed dataset while improving accuracy by 0.4% compared to the best NAS competitor, demonstrating a superior size-accuracy Pareto frontier.
- On the CoraFull dataset, manually quantized GNNs like JKNet and JKNet-V2 suffer a catastrophic 4.4% accuracy drop under W4A8 quantization, highlighting the limitations of hand-designed models.
- Across 100+ search runs on 8 datasets, LPGNAS consistently converges to a W4A8 (4-bit weights, 8-bit activations) quantization strategy, suggesting this is the practical bottleneck for fixed-point GNN quantization.
- The search cost of LPGNAS is reduced by up to 2270× compared to a naive random search baseline on Citeseer, even when the baseline uses a fixed architecture, demonstrating massive efficiency gains.
- LPGNAS shows that architectural choices (e.g., shortcut connections, attention mechanisms) can compensate for aggressive quantization, explaining why NAS-learned models outperform manually designed ones under W4A8.
- The study reveals that residual/skip connections in GNNs require higher precision (around 4-bit weights), while attention and linear layers can be effectively quantized to binary or ternary, informing future quantization-aware design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.