Towards Multiscale Graph-based Protein Learning with Geometric Secondary Structural Motifs

Shih-Hsin Wang, Yuhao Huang, Taos Transue, Justin Baker, Jonathan Forstater, Thomas Strohmer, Bao Wang

TL;DR

The authors introduce the Secondary Structure-based Hierarchical Graph (SSHG) framework, a novel multiscale approach that organizes protein structures into biologically meaningful motifs like $\alpha$-helices and $\beta$-strands. By decoupling local residue interactions from global arrangements using a two-stage Graph Neural Network (GNN), SSHG significantly improves prediction accuracy while delivering up to a 2× training speedup and a 90% reduction in memory usage.

What Problem Does This Paper Address?

When modeling proteins, machine learning models face a tough trade-off between detail and computational cost. Atomic-level graphs are too massive to scale, so researchers often use residue-level graphs (treating each amino acid as a single node). However, standard residue-level GNNs struggle to capture long-range dependencies and completely ignore secondary structures—like $\alpha$-helices and $\beta$-sheets—which are critical to how a protein functions.

Ignoring these higher-level structures means models can fail to distinguish between proteins with identical amino acid sequences but entirely different folds, such as normal vs. misfolded pathogenic prion proteins.

Misfolded prion proteins share identical primary sequences but feature drastically different secondary structures.

While some methods use large distance cutoffs to capture broader context, they introduce massive computational overhead. This paper addresses the urgent need for a scalable, multiscale framework that integrates domain knowledge to model intricate protein interactions efficiently without losing expressive power.

Methods

The proposed SSHG framework breaks protein modeling down into a biologically grounded, two-level hierarchy:

  1. Identification and Segmentation: The framework uses the standard DSSP (Define Secondary Structure of Proteins) algorithm to assign structural tokens to each residue and segment the protein sequence into coherent secondary structure motifs (subsequences). The segmentation process groups consecutive residues sharing the same secondary structure token.
The segmentation process groups consecutive residues sharing the same secondary structure token.
  1. Hierarchical Graph Construction:
  2. Intra-Structural Graphs: Fine-grained subgraphs model residue-level interactions within each individual motif.
  3. Inter-Structural Graph: A coarse-grained graph treats each motif as a single node located at its geometric center, capturing the global arrangement.

Crucially, both levels use the SCHull graph construction method, which guarantees mathematically sparse yet rigid graphs. To preserve spatial orientation between motifs, the inter-structural edges are encoded with relative 3D orientation features using local coordinate frames. The hierarchical graph design maps fine-grained residue interactions within motifs and coarse-grained relationships between motifs.

The hierarchical graph design maps fine-grained residue interactions within motifs and coarse-grained relationships between motifs.
  1. Two-Stage GNN Architecture: Feature learning is split between two GNNs. The first stage operates independently on each intra-structural graph to generate local motif embeddings. The second stage passes messages across the inter-structural graph to capture long-range dependencies and output global features. Overview of the two-stage GNN pipeline within the SSHG framework.
Figure 2: Overview of the proposed multiscale graph-based framework. We first construct a hierarchical graph representation that includes: (1) fine-grained motif subgraphs, where residues within each secondary structure motif (e.g., α-helices, β-strands, loops) are treated as nodes, and (2) a coarse-grained structural graph, where each motif is abstracted as a single node. The first GNN operates independently on each motif subgraph to learn local embeddings. These learned motif-level features are then used to construct the coarse-grained graph, on which a second GNN performs message passing to model higher-level structure and generate the final prediction.

Datasets

The framework was evaluated on two standard benchmark protein modeling tasks:

  • Enzyme Reaction Classification (React): A dataset of 37,428 proteins across 384 Enzyme Commission (EC) numbers, split into training (29,215), validation (2,562), and testing (5,651) sets based on sequence similarity.
  • Protein-Ligand Binding Affinity (LBA): A curated subset of 3,507 complexes from the PDBbind refined set, split using a strict 30% sequence identity threshold to test generalization to unseen proteins.

Key Insights and Ideas

  • Provable Sparsity: The authors prove that the total number of edges across the entire hierarchical graph is strictly bounded by $3N$ (where $N$ is the total number of residues). This mathematical guarantee is what prevents the computational explosion seen in dense, large-cutoff radial graphs.
  • Maximal Expressiveness: Despite its sparsity, the authors theoretically demonstrate that the framework preserves "maximal expressiveness." By incorporating relative local frame orientations ($g_i^\top g_j$) as edge features, the model can distinguish any two non-isomorphic protein structures up to rigid motions without losing critical geometric information.
  • Local Capacity Matters Most: Ablation studies revealed that allocating more parameter capacity to the first-stage GNN (residue-level) yields better accuracy than beefing up the second-stage (global) network, proving that rich local representations form the bedrock of effective protein learning.

Key Results

Integrating SSHG into existing backbone architectures (like GCN, GVP-GNN, ProNet, and Mamba) consistently yielded superior accuracy and efficiency:

  • Enzyme Reaction Classification: The Mamba+SSHG model achieved a state-of-the-art accuracy of 88.4%, outperforming standalone Mamba (85.9%) and ProNet-Backbone (86.4%).
  • Computational Efficiency: When applied to ProNet, SSHG slashed memory usage from 14,548 MiB (at a 10 Å cutoff) to just 1,818 MiB—a nearly 90% reduction—while simultaneously improving test accuracy and accelerating training time per epoch from 210 seconds down to 140 seconds.
  • Binding Affinity Prediction: On the LBA task, Mamba+SSHG outperformed all baselines, achieving the lowest Root Mean Squared Error (1.399) and the highest Pearson correlation (0.614).

Limitations and Future Work

While theoretically sound, the practical implementation relies on standard multilayer perceptrons (MLPs) and non-injective pooling operations (like mean pooling), which do not strictly enforce the injectivity required for theoretical maximal expressiveness.

Moving forward, the authors plan to explore more expressive pooling mechanisms and injective aggregation schemes. They also aim to test the framework on a broader array of tasks, such as protein-fold classification and protein-protein interaction prediction, and explore integrations with pretrained protein language models.

Summary updated

BibTeX
@inproceedings{wang2025towards,
  author = {Shih-Hsin Wang and Yuhao Huang and Taos Transue and Justin Baker and Jonathan Forstater and Thomas Strohmer and Bao Wang},
  title = {{Towards Multiscale Graph-based Protein Learning with Geometric Secondary Structural Motifs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=JSbVO7dNYE},
}
Figure