arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.05000cs.LGstat.ML
收藏

度量化:图神经网络的Quantization感知训练

Degree-Quant: Quantization-Aware Training for Graph Neural Networks

University of Cambridge(剑桥大学);University of Oxford(牛津大学);Samsung AI Center(三星人工智能中心)

Shyam A. Tailor, Javier Fernandez-Marques, Nicholas D. Lane

摘要:

图神经网络(GNN)由于其对非均匀结构化数据建模的能力,在各种任务上表现出强大的性能。尽管他们的承诺,很少有研究探索的方法,使他们更有效地在推理时间。在这项工作中,我们探索了训练量化GNN的可行性,从而能够在推理过程中使用低精度整数运算。我们确定了在尝试对GNN进行量化时唯一出现的错误来源,并提出了一种与架构无关的方法Degree-Quant,以提高其他架构(如CNN)上常用的现有量化感知训练基线的性能。我们在六个数据集上验证了我们的方法,并显示,与以前的尝试不同,模型可以推广到看不见的图形。在大多数情况下,使用Degree-Quant训练的INT 8量化模型与FP 32模型一样好;对于INT 4模型,我们获得了超过基线的26%的增益。当使用INT 8算法时,我们的工作可以在CPU上实现高达4.7倍的加速。

英文摘要:

Graph neural networks (GNNs) have demonstrated strong performance on a wide variety of tasks due to their ability to model non-uniform structured data. Despite their promise, there exists little research exploring methods to make them more efficient at inference time. In this work, we explore the viability of training quantized GNNs, enabling the usage of low precision integer arithmetic during inference. We identify the sources of error that uniquely arise when attempting to quantize GNNs, and propose an architecturally-agnostic method, Degree-Quant, to improve performance over existing quantization-aware training baselines commonly used on other architectures, such as CNNs. We validate our method on six datasets and show, unlike previous attempts, that models generalize to unseen graphs. Models trained with Degree-Quant for INT8 quantization perform as well as FP32 models in most cases; for INT4 models, we obtain up to 26% gains over the baselines. Our work enables up to 4.7x speedups on CPU when using INT8 arithmetic.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑