NetSurfP-3.0: accurate and fast prediction of protein structural features by protein language models and deep learning

Magnus Haraldson Høie, Erik Nicolas Kiehl, Bent Petersen, Morten Nielsen, Ole Winther, Henrik Nielsen, Jeppe Hallgren, Paolo Marcatili

TL;DR

NetSurfP-3.0 significantly accelerates protein structural feature prediction by replacing computationally intensive multiple sequence alignments (MSAs) with powerful protein language models (PLMs). This results in a tool that is up to 600 times faster than its predecessor while maintaining state-of-the-art accuracy for predicting solvent accessibility, secondary structure, disorder, and dihedral angles.

What Problem Does This Paper Address?

Predicting the 3D structure and functional features of proteins from their amino acid sequences is a fundamental challenge in biology. While recent deep learning methods like AlphaFold have achieved remarkable accuracy in predicting full protein structures, they are computationally very expensive, limiting their application to large-scale analyses of entire proteomes. Even tools that predict local structural features (like secondary structure or solvent accessibility) often rely on Multiple Sequence Alignments (MSAs). Generating MSAs involves searching vast sequence databases for homologous proteins, which is a time-consuming bottleneck, especially for large datasets. This paper addresses the need for a tool that can accurately predict these crucial protein features much faster, enabling broader applications in biological research.

Methods

NetSurfP-3.0 builds upon the established NetSurfP-2.0 architecture but introduces a key innovation: the replacement of MSA-based feature extraction with embeddings from a pre-trained protein language model, specifically ESM-1b. The core of NetSurfP-3.0 involves:

  • Protein Language Model (PLM) Embeddings: Instead of relying on MSAs, NetSurfP-3.0 uses ESM-1b to generate rich, contextualized numerical representations (embeddings) for each amino acid in a sequence. These embeddings capture complex evolutionary and structural information learned from massive unannotated protein datasets.
  • Downstream Deep Learning Architecture: The PLM embeddings are then fed into a deep learning network consisting of:
  • Two 1D Convolutional Neural Network (CNN) layers with ReLU activation and dropout.
  • A 1D batch normalization layer.
  • A two-layer Bidirectional Long Short-Term Memory (biLSTM) network.
  • A final fully connected layer that outputs predictions for the various structural features.
  • Handling Long Sequences: To address the 1024-residue input limit of ESM-1b, NetSurfP-3.0 employs a moving window approach, processing sequences in overlapping segments and then stitching the results together.

Datasets

The paper utilizes several standard datasets for training and evaluation:

  • Training and Validation: A set of 10,337 non-redundant proteins.
  • Testing:
    • TS115: 115 proteins.
  • CB513: 513 protein regions from 434 proteins.
  • CASP12: 21 proteins.
  • New Benchmark Dataset: CASP14_FM (CASP14 Free Modeling targets). This dataset is notable because it consists of protein domains for which no structural templates could be identified via homology searches at the time of the CASP14 competition. The authors ensured this dataset had less than 20% sequence identity and 50% coverage with their training/validation sets, making it a robust external benchmark.

Key Insights and Ideas

  • PLMs as MSA Replacements: The most significant insight is that pre-trained protein language models can effectively replace the computationally expensive MSA generation step for predicting local structural features, achieving comparable accuracy. This opens the door for much faster large-scale protein analysis.
  • Speed vs. Accuracy Trade-off: The paper demonstrates that it's possible to achieve a dramatic speedup (orders of magnitude) without a substantial loss in prediction accuracy, challenging the long-held assumption that high accuracy necessitates slow, MSA-dependent methods.
  • Transformer vs. CNN/LSTM: Interestingly, the authors found that replacing the CNN/LSTM downstream architecture with transformer encoder layers (while using ESM-1b embeddings) resulted in sub-optimal performance. This suggests that the specific downstream architecture is still crucial, even with powerful PLM inputs.
  • Importance of Benchmarking: The introduction of the CASP14_FM dataset highlights the need for rigorous, independent benchmarking, especially for methods that aim to predict features without relying on homologous sequences.

Key Results

  • Speedup: NetSurfP-3.0 is up to 600 times faster than its predecessor, NetSurfP-2.0, and significantly faster (e.g., 5.3x faster than SPOT-1D-LM) than other contemporary tools. Predicting 1000 sequences takes approximately 100 seconds.
  • Accuracy: NetSurfP-3.0 achieves state-of-the-art prediction performance across all its output features (solvent accessibility, secondary structure, disorder, and dihedral angles), performing on par with or better than NetSurfP-2.0 and other leading methods like SPOT-1D-LM on various test datasets.
  • Performance on CASP14_FM: NetSurfP-3.0 shows competitive results on the challenging CASP14_FM dataset, outperforming NetSurfP-2.0 and SPOT-1D in some metrics, particularly for phi and psi predictions.

Limitations and Future Work

  • Long Sequence Handling: While the moving window approach addresses the ESM-1b input length limitation, it's a pragmatic solution rather than an inherent capability of the model to process very long sequences directly. The authors note that the performance is mainly limited by memory for large datasets.
  • Future PLM Integration: The authors suggest that as new and more advanced PLMs are developed, it will be crucial to test their ability to provide powerful representations for protein sequence analysis and downstream tasks. They also mention investigating transformer-based downstream architectures further, despite the initial sub-optimal results.
  • Web Server Capacity: The web server has limits on the number of sequences and total residues per job, though these are quite generous (up to 10,000 sequences, 10 million residues total).

Summary updated

Abstract

Recent advances in machine learning and natural language processing have made it possible to profoundly advance our ability to accurately predict protein structures and their functions. While such improvements are significantly impacting the fields of biology and biotechnology at large, such methods have the downside of high demands in terms of computing power and runtime, hampering their applicability to large datasets. Here, we present NetSurfP-3.0, a tool for predicting solvent accessibility, secondary structure, structural disorder and backbone dihedral angles for each residue of an amino acid sequence. This NetSurfP update exploits recent advances in pre-trained protein language models to drastically improve the runtime of its predecessor by two orders of magnitude, while displaying similar prediction performance. We assessed the accuracy of NetSurfP-3.0 on several independent test datasets and found it to consistently produce state-of-the-art predictions for each of its output features, with a runtime that is up to to 600 times faster than the most commonly available methods performing the same tasks. The tool is freely available as a web server with a user-friendly interface to navigate the results, as well as a standalone downloadable package.
BibTeX
@inproceedings{hie2022netsurfp,
  author = {Magnus Haraldson Høie and Erik Nicolas Kiehl and Bent Petersen and Morten Nielsen and Ole Winther and Henrik Nielsen and Jeppe Hallgren and Paolo Marcatili},
  title = {{NetSurfP-3.0: accurate and fast prediction of protein structural features by protein language models and deep learning}},
  booktitle = {Nucleic Acids Res},
  year = {2022},
  url = {https://openreview.net/forum?id=E7pcuEeewsB},
}
Figure