面向深度图神经网络的低比特量化与平滑感知消息传播
Low-bit Quantization for Deep Graph Neural Networks with Smoothness-aware Message Propagation
AI总结:
针对深度图神经网络的可扩展性与过平滑问题,提出低比特量化结合平滑感知消息传播的端到端方案,在INT2/INT4下兼顾准确率与推理加速。
摘要:
图神经网络(GNN)的训练与推理在模型规模和层数两方面都面临着显著的可扩展性挑战,导致大型深度GNN的效率与准确率出现下降。我们提出了一种端到端解决方案,旨在在资源受限环境下解决这些挑战以实现高效GNN,同时避免深度GNN中的过平滑问题。我们为GNN的所有阶段(从训练中的消息传递到节点分类)引入了一种基于量化的方法,对模型进行压缩并实现高效处理。所提出的GNN量化器可学习量化范围,即便在低比特量化下也能以相当的准确率减小模型尺寸。为了随层数扩展,我们在训练中设计了一种消息传播机制,该机制控制相邻节点间相似度的逐层变化。该目标被纳入带约束的拉格朗日函数中,并采用微分乘子法迭代求解最优嵌入。这一机制缓解了过平滑问题,并将量化误差抑制在一定范围内。我们在全精度模型和量化模型上均证明了该方法相对于现有最先进的量化方法和深度GNN方法的显著提升。所提出的量化器在GNN所有阶段的INT2配置下均表现出优越性能,达到了可观的准确率水平。相比之下,现有量化方法无法生成令人满意的准确率水平。最后,采用INT2和INT4表示的推理分别比全精度对应模型实现了5.11倍和4.70倍的加速。
英文摘要:
Graph Neural Network (GNN) training and inference involve significant challenges of scalability with respect to both model sizes and number of layers, resulting in degradation of efficiency and accuracy for large and deep GNNs. We present an end-to-end solution that aims to address these challenges for efficient GNNs in resource constrained environments while avoiding the oversmoothing problem in deep GNNs. We introduce a quantization based approach for all stages of GNNs, from message passing in training to node classification, compressing the model and enabling efficient processing. The proposed GNN quantizer learns quantization ranges and reduces the model size with comparable accuracy even under low-bit quantization. To scale with the number of layers, we devise a message propagation mechanism in training that controls layer-wise changes of similarities between neighboring nodes. This objective is incorporated into a Lagrangian function with constraints and a differential multiplier method is utilized to iteratively find optimal embeddings. This mitigates oversmoothing and suppresses the quantization error to a bound. Significant improvements are demonstrated over state-of-the-art quantization methods and deep GNN approaches in both full-precision and quantized models. The proposed quantizer demonstrates superior performance in INT2 configurations across all stages of GNN, achieving a notable level of accuracy. In contrast, existing quantization approaches fail to generate satisfactory accuracy levels. Finally, the inference with INT2 and INT4 representations exhibits a speedup of 5.11 $\times$ and 4.70 $\times$ compared to full precision counterparts, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。