Integrating Structure and Sequence: Protein Graph Embeddings via GNNs and LLMs

Francesco Ceccarelli, Lorenzo Giusti, Sean B. Holden, Pietro Liò

Researchers from the University of Cambridge and Sapienza University of Rome have introduced a novel framework for protein representation that bridges the gap between primary amino acid sequences and tertiary 3D structures. By leveraging the complementary strengths of Large Language Models (LLMs) and Graph Neural Networks (GNNs), the team has developed a method to map proteins into a geometric latent space that preserves structural similarity.

The Challenge of Protein Comparison

In bioinformatics, determining the similarity between proteins is a foundational task with applications ranging from drug discovery to evolutionary biology. Traditionally, this is achieved through structural alignment—a process that physically rotates and overlaps 3D models to calculate a similarity score (such as the TM-score). However, this approach is computationally intensive and mathematically complex (NP-hard), making it difficult to scale to massive proteomic databases.

While previous deep learning attempts have sought "alignment-free" alternatives, they often suffered from three primary limitations: treating comparison as a binary classification rather than a continuous distance metric, failing to integrate sequence-based evolutionary context with physical structure, and ignoring the complex topology of protein folding.

Methodology: A Hybrid Graph-Language Approach

The proposed framework treats each protein as a graph where nodes represent amino acids and edges represent physical proximity (defined by a 6 Angstrom threshold). The architecture follows a multi-stage pipeline to transform these raw structures into informative embeddings.

Figure 1: High-level overview of the protein embedding pipeline, from input structures to a 3-dimensional latent space for downstream applications.

Sequence Encoding and Graph Integration

To capture the "evolutionary language" of proteins, the researchers utilized pre-trained LLMs, such as ProBert and SeqVec. These models provide high-dimensional vectors for each residue, capturing context that simple biochemical labels miss. These sequence attributes are then mapped onto the protein graph.

Figure 2: The integration process where protein sequence data is processed through an LLM to generate attributes for the nodes of the protein graph.

Graph Processing and Distance Preservation

The framework evaluates several GNN architectures, including GCN, GAT, and GraphSAGE. The Graph Attention Network (GAT) emerged as the most effective, likely due to its ability to dynamically weigh the importance of structural neighbors.

A critical innovation of this work is the Distance-Preserving Loss function. Rather than training for simple classification, the model is optimized to ensure that the Euclidean distance between two protein embeddings in the latent space directly correlates with their structural TM-score. This ensures that the geometric "closeness" of two points in the vector space has a physical, biological meaning.

Key Insights and Results

The model was benchmarked using the Human Kinome and the SCOPe v2.07 dataset, yielding several significant findings:

  • Efficiency Gains: The GNN framework achieved a staggering 480x speedup over traditional alignment tools. A task that took 16 hours using TM-align was completed in just 120 seconds.
  • Superior Accuracy: On the SCOPe structural classification task, the model demonstrated a 32% improvement in F1-Score over existing state-of-the-art methods like GraSR and DeepFold.
  • The Power of LLMs: Ablation studies confirmed that LLM-derived features significantly outperform traditional "handcrafted" features (like BLOSUM matrices or physicochemical properties). The "hidden knowledge" within language models translates effectively into structural insights.
  • Robust Generalization: Even when trained specifically on kinases, the model maintained high accuracy when applied to entirely different protein families, showing a 26% improvement in out-of-distribution performance.

Conclusion and Future Directions

By successfully embedding protein structures into a metric space, this research provides a scalable solution for large-scale proteomic analysis. While the current model relies on high-quality structural data (such as that provided by the PDB or AlphaFold2), its ability to rapidly identify structural analogs opens new doors for drug re-purposing and understanding disease sub-types. Future work may explore non-Euclidean geometries, such as hyperbolic space, to better represent the hierarchical nature of protein evolution.

Summary updated

BibTeX
@inproceedings{ceccarelli2024integrating,
  author = {Francesco Ceccarelli and Lorenzo Giusti and Sean B. Holden and Pietro Liò},
  title = {{Integrating Structure and Sequence: Protein Graph Embeddings via GNNs and LLMs}},
  booktitle = {ICPRAM},
  year = {2024},
  doi = {10.5220/0012453600003654},
}
Figure