Learnable Filters for Geometric Scattering Modules

Alexander Tong, Frederik Wenkel, Dhananjay Bhaskar, Kincaid MacDonald, Jackson D. Grady, Michael Perlmutter, Smita Krishnaswamy, Guy Wolf

TL;DR

This paper introduces Learnable Geometric Scattering (LEGS) modules, a novel approach to graph neural networks (GNNs) that allows for adaptive learning of scattering transform filters. LEGS modules enhance GNNs' ability to capture long-range dependencies and complex graph structures, leading to improved performance on various graph classification and regression tasks, especially in biochemical domains.

What Problem Does This Paper Address?

Traditional Graph Neural Networks (GNNs), particularly Graph Convolutional Networks (GCNs), often struggle with complex graph structures. This is due to issues like "oversmoothing" (nodes becoming indistinguishable), "underreaching" (limited ability to capture long-range interactions), and "oversquashing" (difficulty compressing information from large neighborhoods). While geometric scattering transforms offer a robust alternative by using handcrafted filters to capture multi-scale diffusion patterns, they lack the adaptability of learned GNN filters. This paper aims to bridge this gap by introducing learnable filters within the geometric scattering framework, combining the strengths of both approaches.

Methods

The core innovation is the Learnable Geometric Scattering (LEGS) module. This module integrates into existing GNN architectures and comprises three submodules:

  • Diffusion Submodule: This part iteratively applies a diffusion matrix (derived from a lazy random walk Markov process) to the input signal, generating a series of diffusion responses.
  • Scattering Submodule: This is the key novelty. Instead of using fixed, dyadic scales for diffusion wavelets as in traditional geometric scattering, LEGS learns these scales. This is achieved by introducing a learnable scale selection matrix that uses a softmax function to determine the appropriate diffusion scales. This allows the module to adapt to the specific structure of the input graph.
  • Aggregation Module: This module collects the extracted features from the scattering submodule to produce a graph-level representation. The authors use statistical moment aggregation, similar to previous work.

The LEGS module is designed to be differentiable, enabling end-to-end training via backpropagation. The paper also provides theoretical guarantees, showing that the learned filters retain properties like being a nonexpansive frame, similar to handcrafted scattering.

Datasets

The LEGS module was evaluated on a variety of datasets, categorized as:

  • Biochemical Datasets: DD, ENZYMES, MUTAG, NCI1, NCI109, PROTEINS, PTC. These datasets often feature molecules with relatively large diameters and irregular connectivity patterns.
  • Social Network Datasets: COLLAB, IMDB-BINARY, IMDB-MULTI, REDDIT-BINARY, REDDIT-MULTI-12K, REDDIT-MULTI-5K. These datasets typically have smaller diameters and more regular structures.
  • Regression Datasets: QM9 (quantum chemistry), CASP (protein structure prediction), and BindingDB (binding affinities).

Key Insights and Ideas

  • Learning Scattering Scales is Crucial: The paper demonstrates that allowing the diffusion scales in geometric scattering to be learned (LEGS-FCN) significantly improves performance over fixed, dyadic scales (LEGS-FIXED) across many tasks, especially on complex biochemical graphs.
  • Bridging Handcrafted Robustness and Learned Adaptability: LEGS successfully combines the theoretical guarantees and robustness of handcrafted geometric scattering with the task-driven adaptability of learned GNNs.
  • Improved Long-Range Dependency Capture: LEGS excels on graphs with large diameters and complex connectivity, suggesting its ability to effectively model long-range interactions that often elude standard GNNs.
  • Ensembling Power: LEGS features can be effectively combined with traditional GNN features (like GCN) to create powerful hybrid architectures, further boosting performance.
  • Robustness to Small Training Sets: Similar to handcrafted scattering, LEGS-based networks show remarkable robustness when trained on smaller datasets.

Key Results

  • Biochemical Datasets: LEGS-FCN consistently outperformed GCN, GraphSAGE, GAT, GIN, and even LEGS-FIXED on several biochemical datasets, particularly those with high diameters (e.g., NCI1, NCI109, ENZYMES, PTC). For instance, LEGS-FCN achieved accuracy improvements over GCN on the ENZYMES dataset.
  • Social Network Datasets: LEGS-RBF and LEGS-FCN performed competitively with or better than other GNNs on social network datasets. Ensembling LEGS features with GCN features led to significant improvements.
  • Regression Tasks: LEGS-FCN showed superior performance on CASP targets, especially those with long-range dependencies. On QM9, LEGS-FCN and LEGS-FIXED outperformed other models on molecule energy targets, while LEGS generally performed well across various targets.
  • Robustness: LEGS networks maintained accuracy even when the training set size was reduced to 20%, with a median decrease of only 4.7%.

Limitations and Future Work

  • Approximation of One-Hot Encoding: The use of softmax for scale selection might not strictly guarantee a one-hot encoding, though it often works well in practice.
  • Aggregation Module: The paper primarily uses statistical moment aggregation and suggests exploring other pooling methods as a future direction.
  • Attention Mechanisms: While LEGS-ATTN-FCN was explored, applying attention to the scattering output did not always yield significant improvements over LEGS-FCN, possibly due to the FCN's inherent ability to identify relevant features.
  • Future Work: The authors suggest exploring node-specific or graph-specific tuning of LEGS modules via attention mechanisms, which could further enhance their flexibility and applicability. They also mention the possibility of incorporating spectral approximations for very large graphs.

Summary updated

BibTeX
@article{tong2022learnable,
  author = {Alexander Tong and Frederik Wenkel and Dhananjay Bhaskar and Kincaid MacDonald and Jackson D. Grady and Michael Perlmutter and Smita Krishnaswamy and Guy Wolf},
  title = {{Learnable Filters for Geometric Scattering Modules}},
  journal = {IEEE Trans. Signal Process.},
  year = {2022},
}
Figure