ReHub:基于自适应枢纽-辐条重分配的线性复杂度图Transformer
ReHub: Linear Complexity Graph Transformers with Adaptive Hub-Spoke Reassignment
AI总结:
针对图Transformer因密集注意力机制导致节点数二次方缩放、难以应用于大规模图的问题,提出ReHub架构,通过节点与虚拟节点间的自适应重分配技术实现线性复杂度,性能优于Neural Atoms及竞争性基准模型。
摘要:
我们提出ReHub,一种新型图Transformer架构,通过节点与虚拟节点间的高效重分配技术实现线性复杂度。图Transformer因能显式利用长程节点通信、解决消息传递图网络中的过平滑和过挤压等局限,在图学习中日益重要。但它们的密集注意力机制与节点数呈二次方缩放,限制了在大规模图上的应用。ReHub受航空业枢纽-辐条模型启发,该模型通过航班分配优化运营效率。我们的方法中,图节点(辐条)被动态重分配给固定数量的虚拟节点(枢纽)。近期工作Neural Atoms(Li等人,2024)利用此类虚拟节点在GNN基准上取得了显著且一致的改进,其研究表明枢纽数量对性能影响显著。然而,增加枢纽数量通常会提高复杂度,需权衡以维持线性复杂度。我们的核心见解是,即使总枢纽数很大,每个节点只需与一小部分枢纽交互即可实现线性复杂度。为在不增加计算成本的情况下利用所有枢纽,我们提出一种基于枢纽-枢纽相似度得分的简单有效自适应重分配技术,无需昂贵的节点-枢纽计算。我们在LRGB上的实验表明,ReHub在维持线性复杂度的同时,结果持续优于基础方法Neural Atoms;值得注意的是,其稀疏模型性能与非稀疏版本相当。此外,ReHub优于竞争性基准模型,且在各类基准测试中始终位居顶尖行列。
英文摘要:
We present ReHub, a novel graph transformer architecture that achieves linear complexity through an efficient reassignment technique between nodes and virtual nodes. Graph transformers have become increasingly important in graph learning for their ability to utilize long-range node communication explicitly, addressing limitations such as oversmoothing and oversquashing found in message-passing graph networks. However, their dense attention mechanism scales quadratically with the number of nodes, limiting their applicability to large-scale graphs. ReHub draws inspiration from the airline industry's hub-and-spoke model, where flights are assigned to optimize operational efficiency. In our approach, graph nodes (spokes) are dynamically reassigned to a fixed number of virtual nodes (hubs) at each model layer. Recent work, Neural Atoms (Li et al., 2024), has demonstrated impressive and consistent improvements over GNN baselines by utilizing such virtual nodes; their findings suggest that the number of hubs strongly influences performance. However, increasing the number of hubs typically raises complexity, requiring a trade-off to maintain linear complexity. Our key insight is that each node only needs to interact with a small subset of hubs to achieve linear complexity, even when the total number of hubs is large. To leverage all hubs without incurring additional computational costs, we propose a simple yet effective adaptive reassignment technique based on hub-hub similarity scores, eliminating the need for expensive node-hub computations. Our experiments on LRGB indicate a consistent improvement in results over the base method, Neural Atoms, while maintaining a linear complexity. Remarkably, our sparse model achieves performance on par with its non-sparse counterpart. Furthermore, ReHub outperforms competitive baselines and consistently ranks among top performers across various benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。