arrow
Return

Exploring sparsity in graph transformers

delete2024-06-01
delete1
delete
OA
AI
C
Chuang Liu
Y
Yibing Zhan
X
Xueqi Ma
L
Liang Ding
陶大鹏 cover
陶大鹏 (Dapeng Tao)
J
Jia Wu
W
Wenbin Hu *
B
Bo Du
DOI:10.1016/j.neunet.2024.106265delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Graph Transformers (GTs) have achieved impressive results on various graph -related tasks. However, the huge computational cost of GTs hinders their deployment and application, especially in resource -constrained environments. Therefore, in this paper, we explore the feasibility of sparsifying GTs, a significant yet underexplored topic. We first discuss the redundancy of GTs based on the characteristics of existing GT models, and then propose a comprehensive G raph T ransformer SP arsification (GTSP) framework that helps to reduce the computational complexity of GTs from four dimensions: the input graph data, attention heads, model layers, and model weights. Specifically, GTSP designs differentiable masks for each individual compressible component, enabling effective end -to -end pruning. We examine our GTSP through extensive experiments on prominent GTs, including GraphTrans, Graphormer, and GraphGPS. The experimental results demonstrate that GTSP effectively reduces computational costs, with only marginal decreases in accuracy or, in some instances, even improvements. For example, GTSP results in a 30% reduction in Floating Point Operations while contributing to a 1.8% increase in Area Under the Curve accuracy on the OGBG-HIV dataset. Furthermore, we provide several insights on the characteristics of attention heads and the behavior of attention mechanisms, all of which have immense potential to inspire future research endeavors in this domain. Our code is available at https://github.com/LiuChuang0059/GTSP.
Keywords:
Graph transformers
Graph sparse training
Model pruning
Graph classification
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Neural Networks cover
Neural Networks
IF:
6.3
Papers:
7.8K
Citations:
3.0W

Organization

U
University of Sydney
Scholars:
6.5W
Papers: 6.2W
Citations: 90
Y
Yunnan University
Scholars:
1.6W
Papers: 9.9K
Citations: 13
M
Macquarie University
Scholars:
1.2W
Papers: 1.5W
Citations: 2.2W
W
wuhan university
Scholars:
8.0W
Papers: 5.8W
Citations: 70
U
university of melbourne
Scholars:
5.7W
Papers: 5.4W
Citations: 69
researcher View more organizations