Skip to main content
QUICK REVIEW

[论文解读] Hierarchical Graph Transformer with Adaptive Node Sampling

Zaixi Zhang, Qi Liu|arXiv (Cornell University)|Oct 8, 2022
Advanced Graph Neural NetworksComputer Science被引用 30
一句话总结

论文提出 ANS-GT,一种带自适应节点采样的图变换器,通过对抗性博弈框架和层级注意力方案结合图的粗化来在大图上捕获局部与全局信息。

ABSTRACT

The Transformer architecture has achieved remarkable success in a number of domains including natural language processing and computer vision. However, when it comes to graph-structured data, transformers have not achieved competitive performance, especially on large graphs. In this paper, we identify the main deficiencies of current graph transformers:(1) Existing node sampling strategies in Graph Transformers are agnostic to the graph characteristics and the training process. (2) Most sampling strategies only focus on local neighbors and neglect the long-range dependencies in the graph. We conduct experimental investigations on synthetic datasets to show that existing sampling strategies are sub-optimal. To tackle the aforementioned problems, we formulate the optimization strategies of node sampling in Graph Transformer as an adversary bandit problem, where the rewards are related to the attention weights and can vary in the training procedure. Meanwhile, we propose a hierarchical attention scheme with graph coarsening to capture the long-range interactions while reducing computational complexity. Finally, we conduct extensive experiments on real-world datasets to demonstrate the superiority of our method over existing graph transformers and popular GNNs.

研究动机与目标

  • 证明需要能够扩展到大规模图且保持性能的图变换器的必要性。
  • 提出一种在训练过程中选择信息性节点的自适应节点采样机制。
  • 通过带有图粗化的分层注意力方案引入长程全局依赖。
  • 在六个数据集上展示相对于现有图变换器和流行的GNN的经验提升。

提出的方法

  • 将节点采样形式化为对抗性带来问题,并将 Exp4.P 调整为对多种采样启发式(1-/2-hop、PPR、KNN)赋权。
  • 定义基于注意力幅值和采样概率的奖励以引导采样策略更新。
  • 引入分层注意力框架,使用带有图粗化和少量全局节点的细粒度局部注意力与粗粒度全局注意力。
  • 通过图粗化生成较小的图并实现全局交互,从而降低复杂度。
  • 使用基于邻近性的位置编码和受 Graphormer 启发的 transformer 层,采用前后 LN 结构。
  • 通过限制采样节点数量并将长程交互卸载到粗化后的图,给出线性时间的整体计算复杂度说法。

实验结果

研究问题

  • RQ1自适应的、图感知的节点采样是否可以提高大图上的图变换器性能?
  • RQ2通过图粗化和分层注意力引入的长程全局信息是否比仅局部注意力带来更好的表示?
  • RQ3不同的采样启发式(1-hop、2-hop、PPR、KNN)在具有不同结构属性的图(如同质性/异质性)上表现如何?

主要发现

  • ANS-GT 在六个基准数据集上始终优于现有的图变换基线。
  • 自适应采样权重在训练中变化并与图属性对齐,提升了对注意力聚焦节点的选择。
  • 带图粗化的分层注意力在保持效率的同时捕获长程依赖。
  • 消融研究表明自适应采样模块相对于无此模块的版本(HGT)有显著提升。
  • 粗化方法具有鲁棒性,较小的粗化率也能实现强性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。