Graph Neural Networks (GNNs) have achieved state-of-the-art results in tasks like node classification, link prediction, and graph classification. While much research has focused on their ability to distinguish graphs, fewer studies have addressed their capacity to differentiate links, a complex and less explored area. This paper introduces SLRGNN, a novel, theoretically grounded GNN-based method for link prediction. SLRGNN ensures that link representations are distinct if and only if the links have different structural roles within the graph. Our approach transforms the link prediction problem into a node classification problem on the corresponding line graph, enhancing expressiveness without sacrificing efficiency. Unlike existing methods, SLRGNN computes link probabilities in a single inference step, avoiding the need for individual subgraph constructions. We provide a formal proof of our method’s expressiveness and validate its superior performance through experiments on real-world datasets. The code is publicly available1
A Simple and Expressive Graph Neural Network Based Method for Structural Link Representation / Lachi, Veronica; Ferrini, Francesco; Longa, Antonio; Lepri, Bruno; Passerini, Andrea. - 251:(2024), pp. 187-201. (Intervento presentato al convegno Geometry-grounded Representation Learning and Generative Modeling Workshop (GRaM) at ICML 2024 tenutosi a Vienna, Austria nel 29th July 2024).
A Simple and Expressive Graph Neural Network Based Method for Structural Link Representation
Ferrini, Francesco;Longa, Antonio;Lepri, Bruno;Passerini, Andrea
2024-01-01
Abstract
Graph Neural Networks (GNNs) have achieved state-of-the-art results in tasks like node classification, link prediction, and graph classification. While much research has focused on their ability to distinguish graphs, fewer studies have addressed their capacity to differentiate links, a complex and less explored area. This paper introduces SLRGNN, a novel, theoretically grounded GNN-based method for link prediction. SLRGNN ensures that link representations are distinct if and only if the links have different structural roles within the graph. Our approach transforms the link prediction problem into a node classification problem on the corresponding line graph, enhancing expressiveness without sacrificing efficiency. Unlike existing methods, SLRGNN computes link probabilities in a single inference step, avoiding the need for individual subgraph constructions. We provide a formal proof of our method’s expressiveness and validate its superior performance through experiments on real-world datasets. The code is publicly available1File | Dimensione | Formato | |
---|---|---|---|
GRaM_proceedings_camera_ready_link-2.pdf
accesso aperto
Tipologia:
Versione editoriale (Publisher’s layout)
Licenza:
Creative commons
Dimensione
409.28 kB
Formato
Adobe PDF
|
409.28 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione