Piecewise Constant Spectral Graph Neural Network
Vahan Martirosyan, Jhony H. Giraldo, Fragkiskos D. Malliaros
TL;DR
PieCoN addresses the rigidity of traditional spectral GNNs that rely on low-degree polynomial filters by introducing piecewise constant spectral filters combined with polynomial filters. It uses adaptive spectrum partitioning to isolate informative frequency bands and integrates interval-based constant filters with learned polynomial components, improving expressivity, especially on heterophilic graphs. Theoretical results provide error bounds for polynomial approximation and establish invariances to eigenvector sign flips and basis changes, while experiments across nine datasets show PieCoN achieving state-of-the-art or competitive results, with notable gains on heterophilic graphs. This approach enhances spectral GNNs by enabling sharper spectral control and robust learning from the graph spectrum, offering a practical pathway for leveraging spectral structure in diverse graph domains.
Abstract
Graph Neural Networks (GNNs) have achieved significant success across various domains by leveraging graph structures in data. Existing spectral GNNs, which use low-degree polynomial filters to capture graph spectral properties, may not fully identify the graph's spectral characteristics because of the polynomial's small degree. However, increasing the polynomial degree is computationally expensive and beyond certain thresholds leads to performance plateaus or degradation. In this paper, we introduce the Piecewise Constant Spectral Graph Neural Network(PieCoN) to address these challenges. PieCoN combines constant spectral filters with polynomial filters to provide a more flexible way to leverage the graph structure. By adaptively partitioning the spectrum into intervals, our approach increases the range of spectral properties that can be effectively learned. Experiments on nine benchmark datasets, including both homophilic and heterophilic graphs, demonstrate that PieCoN is particularly effective on heterophilic datasets, highlighting its potential for a wide range of applications.
