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

PRES:迈向可扩展的基于记忆的动态图神经网络

PRES: Toward Scalable Memory-Based Dynamic Graph Neural Networks

University of Hong Kong(香港大学)

Junwei Su, Difan Zou, Chuan Wu

AI总结:

本文针对基于记忆的动态图神经网络在大时间批量训练中的时间不连续性问题,提出迭代预测-校正方案PRES并结合记忆一致性目标,实现4倍时间批量增大和3.4倍加速而不损失泛化性能。

摘要:

基于记忆的动态图神经网络(MDGNNs)是一类动态图神经网络,其利用记忆模块来提取、蒸馏并记忆长期时间依赖关系,从而相比无记忆的同类方法取得更优越的性能。然而,训练MDGNNs面临处理纠缠的时间依赖与结构依赖的挑战,需要按顺序和时间先后处理数据序列以捕获准确的时间模式。在批量训练过程中,同一批次内的时间数据点会被并行处理,而它们之间的时间依赖关系被忽略。这一问题被称为时间不连续性,它限制了有效的时间批量大小,制约了数据并行性,并降低了MDGNNs在工业应用中的灵活性。本文研究MDGNNs在大规模下的高效训练,重点关注使用较大时间批量训练MDGNNs时的时间不连续性问题。我们首先对时间批量大小对MDGNN训练收敛性的影响进行了理论研究。基于该分析,我们提出了PRES,这是一种迭代的预测-校正方案,并结合了记忆一致性学习目标,以减轻时间不连续性的影响,使MDGNNs能够在不牺牲泛化性能的情况下使用显著更大的时间批量进行训练。实验结果表明,我们的方法在MDGNN训练过程中可实现高达4倍的时间批量增大(3.4倍加速)。

英文摘要:

Memory-based Dynamic Graph Neural Networks (MDGNNs) are a family of dynamic graph neural networks that leverage a memory module to extract, distill, and memorize long-term temporal dependencies, leading to superior performance compared to memory-less counterparts. However, training MDGNNs faces the challenge of handling entangled temporal and structural dependencies, requiring sequential and chronological processing of data sequences to capture accurate temporal patterns. During the batch training, the temporal data points within the same batch will be processed in parallel, while their temporal dependencies are neglected. This issue is referred to as temporal discontinuity and restricts the effective temporal batch size, limiting data parallelism and reducing MDGNNs' flexibility in industrial applications. This paper studies the efficient training of MDGNNs at scale, focusing on the temporal discontinuity in training MDGNNs with large temporal batch sizes. We first conduct a theoretical study on the impact of temporal batch size on the convergence of MDGNN training. Based on the analysis, we propose PRES, an iterative prediction-correction scheme combined with a memory coherence learning objective to mitigate the effect of temporal discontinuity, enabling MDGNNs to be trained with significantly larger temporal batches without sacrificing generalization performance. Experimental results demonstrate that our approach enables up to a 4x larger temporal batch (3.4x speed-up) during MDGNN training.

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

↑