arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.01032cs.IR
收藏

Hessian 感知的量化节点嵌入用于推荐

Hessian-aware Quantized Node Embeddings for Recommendation

Huiyuan Chen, Kaixiong Zhou, Kwei-Herng Lai, Chin-Chia Michael Yeh, Yan Zheng, Xia Hu, Hao Yang

AI总结:

提出 Hessian 感知的量化 GNN(HQ-GNN),通过量化节点嵌入加速推荐检索,并利用二阶导数解决梯度不匹配,实现延迟与性能的平衡。

摘要:

图神经网络(GNNs)在推荐系统中已取得最先进的性能。然而,从大型物品语料库中进行搜索和排序的过程通常需要高延迟,这限制了 GNN 在工业规模应用中的广泛部署。为解决此问题,许多方法将用户/物品表示压缩到二进制嵌入空间,以减少空间需求并加速推理。同时,它们使用直通估计器(STE)来防止反向传播过程中的梯度消失。然而,STE 经常导致梯度不匹配问题,从而产生次优结果。在本工作中,我们提出 Hessian 感知的量化 GNN(HQ-GNN),作为用户/物品离散表示的有效解决方案,能够实现快速检索。HQ-GNN 由两个组件构成:一个用于学习连续节点嵌入的 GNN 编码器,以及一个用于将全精度嵌入压缩为低比特嵌入的量化模块。因此,与原始 GNN 相比,HQ-GNN 兼具更低的内存需求和更快的推理速度。为解决 STE 中的梯度不匹配问题,我们进一步考虑量化误差及其二阶导数以提高稳定性。在多个大规模数据集上的实验结果表明,HQ-GNN 在延迟和性能之间取得了良好平衡。

英文摘要:

Graph Neural Networks (GNNs) have achieved state-of-the-art performance in recommender systems. Nevertheless, the process of searching and ranking from a large item corpus usually requires high latency, which limits the widespread deployment of GNNs in industry-scale applications. To address this issue, many methods compress user/item representations into the binary embedding space to reduce space requirements and accelerate inference. Also, they use the Straight-through Estimator (STE) to prevent vanishing gradients during back-propagation. However, the STE often causes the gradient mismatch problem, leading to sub-optimal results. In this work, we present the Hessian-aware Quantized GNN (HQ-GNN) as an effective solution for discrete representations of users/items that enable fast retrieval. HQ-GNN is composed of two components: a GNN encoder for learning continuous node embeddings and a quantized module for compressing full-precision embeddings into low-bit ones. Consequently, HQ-GNN benefits from both lower memory requirements and faster inference speeds compared to vanilla GNNs. To address the gradient mismatch problem in STE, we further consider the quantized errors and its second-order derivatives for better stability. The experimental results on several large-scale datasets show that HQ-GNN achieves a good balance between latency and performance.

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

↑