Energy Guided smoothness to improve Robustness in Graph Classification
Farooq Ahmad Wani, Maria Sofia Bucarelli, Andrea Giuseppe Di Francesco, Oleksandr Pryymak, Fabrizio Silvestri
TL;DR
Graph classification with noisy labels challenges GNNs, but robustness can be tied to the smoothness of learned representations. The authors propose an energy-guided perspective centered on the Dirichlet energy $E^{dir}$, and introduce three smoothing-based strategies: (i) enforcing positive eigenvalues in weight matrices, (ii) directly regularizing Dirichlet energy, and (iii) the GCOD loss that discounts likely noisy samples via centroid-based signals. Across diverse benchmarks, robustness improvements accompany lower or stabilized $E^{dir}$, with GCOD delivering the strongest gains and minimal overhead while preserving performance on clean data. This work suggests that controlling spectral smoothness is a principled path to robust graph classification and potentially extends to domain shift and adversarial settings.
Abstract
Graph Neural Networks (GNNs) are powerful at solving graph classification tasks, yet applied problems often contain noisy labels. In this work, we study GNN robustness to label noise, demonstrate GNN failure modes when models struggle to generalise on low-order graphs, low label coverage, or when a model is over-parameterized. We establish both empirical and theoretical links between GNN robustness and the reduction of the total Dirichlet Energy of learned node representations, which encapsulates the hypothesized GNN smoothness inductive bias. Finally, we introduce two training strategies to enhance GNN robustness: (1) by incorporating a novel inductive bias in the weight matrices through the removal of negative eigenvalues, connected to Dirichlet Energy minimization; (2) by extending to GNNs a loss penalty that promotes learned smoothness. Importantly, neither approach negatively impacts performance in noise-free settings, supporting our hypothesis that the source of GNNs robustness is their smoothness inductive bias.
