Fast and accurate protein function prediction from sequence through pretrained language model and homology-based label diffusion

Qianmu Yuan, Junjie Xie, Jiancong Xie, Huiying Zhao, Yuedong Yang · DOI

TL;DR

This paper introduces SPROF-GO, a novel sequence-based method for predicting protein functions. It leverages powerful pretrained language models to extract rich protein sequence information and combines this with a label diffusion approach on homology networks, achieving state-of-the-art accuracy while being computationally efficient and generalizing well to new proteins and species.

What Problem Does This Paper Address?

Predicting the function of proteins is crucial for understanding diseases and developing new drugs. However, the sheer volume of protein sequences generated by modern sequencing technologies far outpaces experimental methods for determining function. While many computational approaches exist, they often rely on additional data like protein structures, biological networks, or literature, which are not always available for most proteins. This leaves a significant gap in our ability to annotate and understand the vast majority of known protein sequences. The challenge is to develop methods that are both accurate and efficient, relying solely on the protein sequence itself.

Methods

SPROF-GO combines several key techniques:

  • Pretrained Protein Language Model (ProtTrans): Instead of traditional sequence alignment or domain searching, SPROF-GO uses ProtTrans (specifically ProtT5-XL-U50) to generate informative sequence embeddings. This transformer-based model has learned the "language" of proteins from massive datasets, capturing complex patterns.
  • Self-Attention Pooling: To focus on the most relevant parts of the protein sequence for function prediction, SPROF-GO employs a self-attention mechanism. This allows the model to dynamically weigh different residues, highlighting important functional regions and also providing interpretability.
  • Hierarchical Learning: Protein functions are organized in a hierarchical structure (Gene Ontology - GO). SPROF-GO incorporates a hierarchical learning strategy to ensure that predictions are consistent with this hierarchy, meaning if a protein has a broad function, it should also be predicted to have its more specific sub-functions.
  • Homology-Based Label Diffusion: In the test phase, SPROF-GO builds a homology network based on sequence similarities (using DIAMOND for speed). It then applies a label diffusion algorithm to propagate functional information across this network, leveraging the idea that similar proteins often share functions and accounting for overlapping functional communities.

Datasets

The study utilizes benchmark datasets for protein function prediction based on the Gene Ontology (GO) framework, following the standard protocol of the Critical Assessment of Functional Annotation (CAFA) competition.

  • Training, Validation, and Test Sets: These were collected from UniProt, GOA, and GO, with annotations from January 2020. They are split based on annotation timestamps to simulate real-world prediction scenarios, particularly focusing on "no-knowledge" proteins.
  • Sub-Ontologies: Predictions were made separately for the three main GO sub-ontologies: Molecular Function (MF), Biological Process (BP), and Cellular Component (CC).
  • Species-Specific Subsets: The study also evaluated performance on HUMAN (9606) and MOUSE (10090) specific subsets.

Key Insights and Ideas

  • Language Models are Powerful Feature Extractors: The research strongly suggests that pretrained protein language models like ProtTrans can capture more informative sequence representations than traditional methods like one-hot encoding or even domain-based features (InterPro). This bypasses the need for expensive database searches.
  • Attention for Interpretability and Focus: Self-attention pooling not only helps the model focus on critical sequence regions but also provides a way to visualize where the model is looking, offering insights into which parts of a protein are most indicative of its function.
  • Homology and Community Matter: Even with powerful sequence embeddings, leveraging homology information through label diffusion significantly boosts performance. This highlights the importance of considering relationships between proteins and their functional communities.
  • Sequence-Only Methods Can Compete with Network-Based Approaches: SPROF-GO demonstrates that a purely sequence-based method, when enhanced with modern techniques, can outperform methods that incorporate complex biological network data, which can sometimes be noisy or incomplete.

Key Results

  • State-of-the-Art Performance: SPROF-GO significantly outperforms existing state-of-the-art sequence-based methods and even network-based methods. It achieves improvements of over 14.5%, 27.3%, and 10.1% in AUPR on the MF, BP, and CC sub-ontology test sets, respectively, compared to the best performing methods.
  • Efficiency: The feature extraction using ProtTrans is computationally efficient, taking only about 6 hours for ~120,000 sequences on a single GPU. The overall prediction process for all three ontologies for 1,000 proteins takes approximately 7 minutes.
  • Generalization: SPROF-GO shows excellent generalization capabilities on non-homologous proteins and proteins from unseen species, indicating its robustness and applicability to novel sequences. For instance, it maintained similar performance on difficult proteins and outperformed other methods even when trained without data from the target species.
  • Interpretability: Visualization of attention scores successfully mapped important functional domains (e.g., DHHC domain, Zinc finger domain) to regions of high attention, confirming that the model is learning biologically relevant patterns.

Limitations and Future Work

  • Limited GO Terms: SPROF-GO currently focuses on GO terms with at least 50 training samples to ensure performance. Predicting functions for terms with very scarce data remains a challenge.
  • Potential for Further Integration: The authors suggest future work could explore integrating graph neural networks (GNNs) with predicted protein structures (from AlphaFold2 or ESMFold), applying contrastive learning on PPI networks, or incorporating knowledge graphs for even richer information.
  • Improving Scarce Data Prediction: Developing strategies to effectively predict functions for GO terms with very few annotated examples is a key area for future research.

Summary updated

BibTeX
@article{yuan2023fast,
  author = {Qianmu Yuan and Junjie Xie and Jiancong Xie and Huiying Zhao and Yuedong Yang},
  title = {{Fast and accurate protein function prediction from sequence through pretrained language model and homology-based label diffusion}},
  journal = {Briefings in Bioinformatics},
  year = {2023},
  doi = {10.1093/bib/bbad117},
}

Loading related content...

Figure