Optimal Inference in Contextual Stochastic Block Models

Published: 19 Mar 2024, Last Modified: 19 Mar 2024Accepted by TMLREveryoneRevisionsBibTeX
Abstract: The contextual stochastic block model (CSBM) was proposed for unsupervised community detection on attributed graphs where both the graph and the high-dimensional node information correlate with node labels. In the context of machine learning on graphs, the CSBM has been widely used as a synthetic dataset for evaluating the performance of graph-neural networks (GNNs) for semi-supervised node classification. We consider a probabilistic Bayes-optimal formulation of the inference problem and we derive a belief-propagation-based algorithm for the semi-supervised CSBM; we conjecture it is optimal in the considered setting and we provide its implementation. We show that there can be a considerable gap between the accuracy reached by this algorithm and the performance of the GNN architectures proposed in the literature. This suggests that the CSBM, along with the comparison to the performance of the optimal algorithm, readily accessible via our implementation, can be instrumental in the development of more performant GNN architectures.
Submission Length: Regular submission (no more than 12 pages of main content)
Code: https://gitlab.epfl.ch/spoc-idephics/csbm
Supplementary Material: zip
Assigned Action Editor: ~Giannis_Nikolentzos1
Submission Number: 1835