GNN-LoFI: a Novel Graph Neural Network through Localized Feature-based Histogram Intersection
Alessandro Bicciato, Luca Cosmo, Giorgia Minello, Luca Rossi, Andrea Torsello
TL;DR
GNN-LoFI replaces standard message passing with a localized feature distribution analysis over egonets, using learned dictionaries and histograms connected by a differentiable histogram-intersection kernel. Each LoFI layer yields a vector of similarity scores across multiple masks, which are pooled and passed to an MLP for graph-level prediction, while enabling interpretability by revealing influential masks. Empirically, it achieves state-of-the-art or competitive results on graph classification and regression benchmarks with runtime comparable to traditional GNNs, illustrating the practicality of distribution-based neighborhood representations. The work broadens graph representation learning by combining local distributional information with end-to-end trainable histograms, and suggests future extensions to jointly learn feature distributions and graph structure using alternatives like Earth mover’s distance.
Abstract
Graph neural networks are increasingly becoming the framework of choice for graph-based machine learning. In this paper, we propose a new graph neural network architecture that substitutes classical message passing with an analysis of the local distribution of node features. To this end, we extract the distribution of features in the egonet for each local neighbourhood and compare them against a set of learned label distributions by taking the histogram intersection kernel. The similarity information is then propagated to other nodes in the network, effectively creating a message passing-like mechanism where the message is determined by the ensemble of the features. We perform an ablation study to evaluate the network's performance under different choices of its hyper-parameters. Finally, we test our model on standard graph classification and regression benchmarks, and we find that it outperforms widely used alternative approaches, including both graph kernels and graph neural networks.
