Edge-Wise Graph-Instructed Neural Networks
Francesco Della Santa, Antonio Mastropietro, Sandra Pieraccini, Francesco Vaccarino
TL;DR
This work introduces Edge-Wise Graph-Instructed (EWGI) layers to augment Graph-Instructed Neural Networks (GINNs) for Regression on Graph Nodes (RoGN). By adding per-node incoming weights to the GI framework, EWGI layers increase expressive power while keeping the weight count low, defined as \widehat{W} = \text{diag}(\boldsymbol{w}^{\rm out}) \hat{A} \text{diag}(\boldsymbol{w}^{\rm in}) with \hat{A} = A + I_n. Empirical evaluation on stochastic max-flow RoGN tasks over Barabási–Albert and Erdos–Rényi graphs shows EWGINNs can outperform GINNs on BA graphs and offer improved regularization on ER graphs, highlighting the trade-off between increased capacity and the need for careful hyperparameter tuning. The work provides a formal definition of EWGI, analyzes weight counts, and demonstrates practical benefits for graph-structured regression problems with potential applications in physics-based simulations and network flow modeling.
Abstract
The problem of multi-task regression over graph nodes has been recently approached through Graph-Instructed Neural Network (GINN), which is a promising architecture belonging to the subset of message-passing graph neural networks. In this work, we discuss the limitations of the Graph-Instructed (GI) layer, and we formalize a novel edge-wise GI (EWGI) layer. We discuss the advantages of the EWGI layer and we provide numerical evidence that EWGINNs perform better than GINNs over some graph-structured input data, like the ones inferred from the Barabasi-Albert graph, and improve the training regularization on graphs with chaotic connectivity, like the ones inferred from the Erdos-Renyi graph.
