Zhang, Lingfeng and Cosmo, Luca and Minello, Giorgia and Torsello, Andrea and Rossi, Luca (2026) GraFix++: A novel graph transformer based on a fixed multi-head structural attention mechanism. Pattern Recognition, 180. p. 114633. DOI https://doi.org/10.1016/j.patcog.2026.114633
Zhang, Lingfeng and Cosmo, Luca and Minello, Giorgia and Torsello, Andrea and Rossi, Luca (2026) GraFix++: A novel graph transformer based on a fixed multi-head structural attention mechanism. Pattern Recognition, 180. p. 114633. DOI https://doi.org/10.1016/j.patcog.2026.114633
Zhang, Lingfeng and Cosmo, Luca and Minello, Giorgia and Torsello, Andrea and Rossi, Luca (2026) GraFix++: A novel graph transformer based on a fixed multi-head structural attention mechanism. Pattern Recognition, 180. p. 114633. DOI https://doi.org/10.1016/j.patcog.2026.114633
Abstract
Graph neural networks (GNNs) have achieved strong performance on graph learning tasks, but their message-passing mechanism makes it difficult to capture long-range structural dependencies and may lead to over-smoothing in deeper architectures. Graph transformers offer a possible remedy, yet existing approaches typically rely on learnable attention or additional structural encodings, which increase the number of trainable parameters and computational cost while not always exploiting graph structure explicitly. Motivated by these limitations, we propose GraFix++, a graph transformer based on a fixed (non-learnable) multi-head structural attention mechanism derived from graph kernels. Multiple attention heads capture a range of structural similarities between substructures in the input graph, while a GNN is employed to improve the node features extraction. The resulting graph transformer showcases an excellent performance on standard graph classification benchmarks, matching or surpassing a wide range of alternative graph-based approaches. Furthermore, our model benefits from a reduced number of learnable parameters and competitive training runtime. In our experiments, we extensively evaluate the impact of various graph kernels, multiple attention heads, and GNN integration, demonstrating their collective contribution to the model's superior performance.
| Item Type: | Article |
|---|---|
| Uncontrolled Keywords: | Graph neural network; Graph transformer; Graph kernel |
| Subjects: | Z Bibliography. Library Science. Information Resources > ZR Rights Retention |
| Divisions: | Faculty of Science and Health Faculty of Science and Health > Computer Science and Electronic Engineering, School of |
| SWORD Depositor: | Unnamed user with email elements@essex.ac.uk |
| Depositing User: | Unnamed user with email elements@essex.ac.uk |
| Date Deposited: | 01 Sep 2026 14:17 |
| Last Modified: | 01 Sep 2026 14:18 |
| URI: | http://repository.essex.ac.uk/id/eprint/43792 |
Available files
Filename: PR_2025__GraFix__.pdf
Licence: Creative Commons: Attribution 4.0