TGSBM: Transformer-Guided Stochastic Block Model for Link Prediction
Preprint
Abstract
Link prediction is a cornerstone of the Web ecosystem, powering applications from recommendation and search to knowledge graph completion and collaboration forecasting. However, large-scale networks present unique challenges: they contain hundreds of thousands of nodes and edges with heterogeneous and overlapping community structures that evolve over time. Existing approaches face notable limitations: traditional graph neural networks struggle to capture global structural dependencies, while recent graph transformers achieve strong performance but incur quadratic complexity and lack interpretable latent structure. We propose \textbf{TGSBM} (Transformer-Guided Stochastic Block Model), a framework that integrates the principled generative structure of Overlapping Stochastic Block Models with the representational power of sparse Graph Transformers. TGSBM comprises three main components: (i) \emph{expander-augmented sparse attention} that enables near-linear complexity and efficient global mixing, (ii) a \emph{neural variational encoder} that infers structured posteriors over community memberships and strengths, and (iii) a \emph{neural edge decoder} that reconstructs links via OSBM's generative process, preserving interpretability. Experiments across diverse benchmarks demonstrate competitive performance (mean rank 1.6 under HeaRT protocol), superior scalability (up to $6\times$ faster training), and interpretable community structures. These results position TGSBM as a practical approach that strikes a balance between accuracy, efficiency, and transparency for large-scale link prediction.
Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- A degree-corrected stochastic block model for community discovery in signed networks with heterogeneous degree distributionsPattern Recognition, 2025
- EGNN: Exploring Structure-Level Neighborhoods in Graphs With Varying Homophily RatiosIEEE Transactions on Knowledge and Data Engineering, 2025
- A Flexible Diffusion Convolution for Graph Neural NetworksIEEE Transactions on Knowledge and Data Engineering, 2025
- SSBM: A signed stochastic block model for multiple structure discovery in large-scale exploratory signed networksKnowledge-Based Systems, 2022
- Strong Consistency of Spectral Clustering for Stochastic Block ModelsIEEE Transactions on Information Theory, 2019
- Structural transition in social networks: The role of homophilyScientific Reports, 2019
- Signal-plus-noise matrix models: eigenvector deviations and fluctuationsBiometrika, 2019
- Overlapping stochastic block models with application to the French political blogosphereThe Annals of Applied Statistics, 2011
- Predicting missing links via local informationThe European Physical Journal B, 2009
- A New Status Index Derived from Sociometric AnalysisPsychometrika, 1953