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

TLV-HGNN:像顶点一样思考以实现内存高效的HGNN推理

TLV-HGNN: Thinking Like a Vertex for Memory-efficient HGNN Inference

Dengke Han, Duo Wang, Mingyu Yan, Xiaochun Ye, Dongrui Fan

AI总结:

本文针对HGNN推理中邻居聚合阶段的内存低效问题,提出语义完备执行范式并设计硬件加速器TVL-HGNN,结合顶点分组技术减少冗余访问,实现显著加速与能耗降低。

摘要:

异构图神经网络(HGNN)擅长处理异构图数据,广泛应用于关键领域。在HGNN推理中,邻居聚合阶段是性能的主要决定因素,但它存在两个主要的内存低效问题。首先,通常采用的逐语义执行范式在语义融合之前存储每个语义的中间聚合结果,导致内存大幅膨胀。其次,聚合过程引起大量冗余内存访问,包括跨语义重复加载目标顶点特征,以及由于跨语义邻域重叠导致重复访问共享邻居。这些低效性严重限制了可扩展性并降低了HGNN推理性能。在这项工作中,我们首先从顶点视角提出一种语义完备的执行范式,消除了逐语义中间存储和冗余的目标顶点访问。基于该范式,我们设计了TVL-HGNN,一种针对高效聚合优化的可重构硬件加速器。此外,我们引入了一种基于跨语义邻域重叠的顶点分组技术,并通过硬件实现,减少对共享邻居的冗余访问。实验结果表明,与NVIDIA A100 GPU和最先进的HGNN加速器HiHGNN相比,TVL-HGNN分别实现了7.85倍和1.41倍的平均加速,同时降低了98.79%和32.61%的能耗。

英文摘要:

Heterogeneous graph neural networks (HGNNs) excel at processing heterogeneous graph data and are widely applied in critical domains. In HGNN inference, the neighbor aggregation stage is the primary performance determinant, yet it suffers from two major sources of memory inefficiency. First, the commonly adopted per-semantic execution paradigm stores intermediate aggregation results for each semantic prior to semantic fusion, causing substantial memory expansion. Second, the aggregation process incurs extensive redundant memory accesses, including repeated loading of target vertex features across semantics and repeated accesses to shared neighbors due to cross-semantic neighborhood overlap. These inefficiencies severely limit scalability and reduce HGNN inference performance. In this work, we first propose a semantics-complete execution paradigm from a vertex perspective that eliminates per-semantic intermediate storage and redundant target vertex accesses. Building on this paradigm, we design TVL-HGNN, a reconfigurable hardware accelerator optimized for efficient aggregation. In addition, we introduce a vertex grouping technique based on cross-semantic neighborhood overlap, with hardware implementation, to reduce redundant accesses to shared neighbors. Experimental results demonstrate that TVL-HGNN achieves average speedups of 7.85x and 1.41x over the NVIDIA A100 GPU and the state-of-the-art HGNN accelerator HiHGNN, respectively, while reducing energy consumption by 98.79% and 32.61%.

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

↑