[论文解读] Learning from Historical Activations in Graph Neural Networks
简要:HistoGraph 引入一个两阶段的基于注意力的池化层,利用跨 GNN 层的历史激活来产生更强的图表示,在图级、节点级和链接预测任务上提升性能;亦可作为对冻结骨干网络的轻量化后处理头使用。
Graph Neural Networks (GNNs) have demonstrated remarkable success in various domains such as social networks, molecular chemistry, and more. A crucial component of GNNs is the pooling procedure, in which the node features calculated by the model are combined to form an informative final descriptor to be used for the downstream task. However, previous graph pooling schemes rely on the last GNN layer features as an input to the pooling or classifier layers, potentially under-utilizing important activations of previous layers produced during the forward pass of the model, which we regard as historical graph activations. This gap is particularly pronounced in cases where a node's representation can shift significantly over the course of many graph neural layers, and worsened by graph-specific challenges such as over-smoothing in deep architectures. To bridge this gap, we introduce HISTOGRAPH, a novel two-stage attention-based final aggregation layer that first applies a unified layer-wise attention over intermediate activations, followed by node-wise attention. By modeling the evolution of node representations across layers, our HISTOGRAPH leverages both the activation history of nodes and the graph structure to refine features used for final prediction. Empirical results on multiple graph classification benchmarks demonstrate that HISTOGRAPH offers strong performance that consistently improves traditional techniques, with particularly strong robustness in deep GNNs.
研究动机与目标
- 推动利用最后一层以外的中间激活来捕捉多尺度信息的池化方法。
- 提出 HistoGraph 作为一组在层历史与节点交互上的两阶段注意力机制。
- 在图分类、节点分类和链接预测基准上显示改善。
- 作为对预训练 GNN 的高效后处理头,在保持冻结骨干的情况下实现训练。
提出的方法
- 将历史激活表示为每个节点在 L 层 GNN 上的序列。
- 使用最终层嵌入作为查询,对历史状态进行层级注意力,生成每个节点的聚合嵌入。
- 对节点进行自注意力,以从每节点表示中细化图级嵌入。
- 使用层级正弦位置编码来编码层的顺序。
- 通过带符号的 sum 除法对层级贡献进行归一化,以允许加法/减法效应。
- 提供端到端训练与冻结骨干的后处理选项,仅训练 HistoGraph 头。
实验结果
研究问题
- RQ1在 GNN 层之间利用历史激活是否能提升池化及下游性能,超越最后层特征?
- RQ2两阶段注意力(层级注意力+节点注意力)是否能有效捕捉多尺度与空间依赖,从而提升图表示?
- RQ3HistoGraph 对更深的 GNN 和在各类图基准上的过平滑是否具鲁棒性?
- RQ4在冻结骨干网络上作为后处理头能否实现显著的收益且训练成本低?
- RQ5单独组件(归一化、层级注意力、节点注意力)对性能的贡献如何?
主要发现
- HistoGraph 在 TU 与 OGB 基准的图分类任务上,持续优于强基线的池化方法。
- 该方法在非常深的 GNN 骨干下保持强劲性能,缓解过平滑问题。
- 作为对冻结骨干的后处理头,HistoGraph 在训练开销极小的情况下带来收益。
- 消融实验显示各组成部分(归一化、层级注意力、节点注意力)对达到最佳性能都很重要。
- 端到端与后处理模式提供灵活部署,显著提升准确率。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。