cs.LGJun 20, 2026

Early-Exit Graph Neural Networks for Link Prediction

Authors: Roman KnyazhitskiyAndrea Giuseppe Di Francesco

Abstract

Graph Neural Networks are great for link prediction in various network-like structures; however, the question of their speed/quality tradeoff has been barely studied. While in practice the time it takes to do inference matters little for small benchmarks, the latency does limit applicability in large-scale domains. In this work, we explore early-exiting strategies that can be applied to Graph Neural Networks to solve the problem of link-prediction faster. We use no auxiliary losses to enforce early exiting, allowing it to emerge as an implicit property of the architecture. We show that our method enables early exiting in several setups, moving the Pareto frontier on the HeaRT benchmark for GCN and SAS-GNN backbones. Our findings show that inference speed of GNNs on many link-prediction problems can be improved, while losing little, or even winning in terms of prediction quality. The code is available in our repository: https://github.com/knyazer/link_prediction.

Explore similar work

CardsList
  1. GravityGraphSAGE: Link Prediction in Directed Attributed Graphs

    May 10, 2026Riccardo Porcedda, Francesca Chiaromonte, Fabrizio Lillo +1Zero-Shot Link PredictionComplex Networks