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

DOTIN:删除GNN的任务无关节点

DOTIN: Dropping Task-Irrelevant Nodes for GNNs

Shanghai Jiao Tong University(上海交通大学);SenseTime Research(商汤科技研究院);Qing Yuan Research Institute, Shanghai Jiao Tong University(上海交通大学清源研究院)

Shaofeng Zhang, Feng Zhu, Junchi Yan, Rui Zhao, Xiaokang Yang

摘要:

可扩展性是深度图神经网络的重要考虑因素。受CNN中传统池化层的启发,许多最近的图学习方法都引入了池化策略来减少用于学习的图的大小,从而可以提高可扩展性和效率。然而,这些基于池化的方法主要是针对单个图级任务定制的,并且更关注局部信息,限制了它们在通常需要特定于任务的全局信息的多任务设置中的性能。在本文中,离开这些池为基础的努力,我们设计了一种新的方法,称为DOTIN(\underline{D} r \underline{o} ping \underline{T} ask- \underline{I} rrelevant \underline{N}),以减少图形的大小。具体来说,通过引入$K$可学习虚拟节点来表示针对$K$不同图级任务的图嵌入,可以在不显著降低性能的情况下自适应地丢弃多达90%的低注意力原始节点,并采用本文中的注意力模型--Transformer.在D &D数据集上,我们的方法在图级任务(包括图分类和图编辑距离(GED))上实现了几乎相同的精度,将GAT速度提高了约50%,而内存减少了约60%。代码将在https://github.com/Sherrylone/DOTIN上公开发布。

英文摘要:

Scalability is an important consideration for deep graph neural networks. Inspired by the conventional pooling layers in CNNs, many recent graph learning approaches have introduced the pooling strategy to reduce the size of graphs for learning, such that the scalability and efficiency can be improved. However, these pooling-based methods are mainly tailored to a single graph-level task and pay more attention to local information, limiting their performance in multi-task settings which often require task-specific global information. In this paper, departure from these pooling-based efforts, we design a new approach called DOTIN (\underline{D}r\underline{o}pping \underline{T}ask-\underline{I}rrelevant \underline{N}odes) to reduce the size of graphs. Specifically, by introducing $K$ learnable virtual nodes to represent the graph embeddings targeted to $K$ different graph-level tasks, respectively, up to 90\% raw nodes with low attentiveness with an attention model -- a transformer in this paper, can be adaptively dropped without notable performance decreasing. Achieving almost the same accuracy, our method speeds up GAT by about 50\% on graph-level tasks including graph classification and graph edit distance (GED) with about 60\% less memory, on D\&D dataset. Code will be made publicly available in https://github.com/Sherrylone/DOTIN.

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

↑