Embeddings from deep learning transfer GO annotations beyond homology

Maria Littmann, Michael Heinzinger, Christian Dallago, Tobias Olenyi, Burkhard Rost

Abstract

Knowing protein function is crucial to advance molecular and medical biology, yet experimental function annotations through the Gene Ontology (GO) exist for fewer than 0.5% of all known proteins. Computational methods bridge this sequence-annotation gap typically through homology-based annotation transfer by identifying sequence-similar proteins with known function or through prediction methods using evolutionary information. Here, we propose predicting GO terms through annotation transfer based on proximity of proteins in the SeqVec embedding rather than in sequence space. These embeddings originate from deep learned language models (LMs) for protein sequences (SeqVec) transferring the knowledge gained from predicting the next amino acid in 33 million protein sequences. Replicating the conditions of CAFA3, our method reaches an F<sub>max</sub> of 37 ± 2%, 50 ± 3%, and 57 ± 2% for BPO, MFO, and CCO, respectively. Numerically, this appears close to the top ten CAFA3 methods. When restricting the annotation transfer to proteins with < 20% pairwise sequence identity to the query, performance drops (F<sub>max</sub> BPO 33 ± 2%, MFO 43 ± 3%, CCO 53 ± 2%); this still outperforms naïve sequence-based transfer. Preliminary results from CAFA4 appear to confirm these findings. Overall, this new concept is likely to change the annotation of proteins, in particular for proteins from smaller families or proteins with intrinsically disordered regions.

Introduction

The rapid advancement of genomic sequencing technologies has created a significant "sequence-annotation gap." While we can sequence genomes quickly and cheaply, experimentally determining the biological function of the resulting proteins—represented by Gene Ontology (GO) terms—remains a slow and resource-intensive process. Currently, fewer than 0.5% of known proteins have experimentally verified functions.

Traditionally, this gap has been bridged using homology-based transfer methods like BLAST. These methods rely on the principle that proteins with high sequence similarity likely share similar functions. However, this approach falters in the "midnight zone" of protein evolution, where sequence identity drops below 20-30%. In this zone, proteins may maintain similar structures and functions despite having highly diverged sequences, rendering standard alignment tools ineffective.

Methods

This research proposes a shift from raw sequence space to a high-dimensional "embedding space" generated by Protein Language Models (pLMs).

Feature Extraction and Embedding

The researchers utilized pLMs such as SeqVec (based on ELMo) and ProtBert (based on BERT), which were pre-trained on millions of protein sequences. These models learn the "grammar" of proteins by predicting missing amino acids, effectively capturing complex biophysical properties without explicit biological supervision. Per-residue embeddings are generated and then compressed into a single fixed-size vector (1024 dimensions) using global average pooling.

Annotation Transfer

To predict the function of a query protein, the system identifies its $k$-nearest neighbors ($k$-NN) in the embedding space using Euclidean distance. The GO terms associated with these neighbors are then transferred to the query. A Reliability Index (RI) was also developed to quantify prediction confidence based on embedding distance.

Results

The embedding-based transfer method was benchmarked against the CAFA3 (Critical Assessment of Functional Annotation) targets.

Performance comparison (Fmax) of the embedding-based transfer method against CAFA3 competitors and baselines across BPO, MFO, and CCO.

Competitive Performance

As shown in the performance benchmarks, the simple $k$-NN approach achieved performance levels comparable to the top 10 most sophisticated methods in the CAFA3 competition. The method reached $F_{max}$ scores of 37% for Biological Process (BPO), 50% for Molecular Function (MFO), and 57% for Cellular Component (CCO).

Beyond Homology

A key finding is that embedding similarity and sequence similarity are only weakly correlated ($\rho \approx 0.29$). This allows the method to remain robust in the "midnight zone." Even when restricting transfers to proteins with <20% sequence identity, the embedding-based method significantly outperformed traditional sequence-based baselines like BLAST.

Discussion

While highly effective, the method has limitations. Global average pooling may lead to information loss, particularly for long proteins with multiple domains. Additionally, combining embedding-based transfer with BLAST did not yield immediate improvements, suggesting a need for more complex ensemble strategies.

Despite these challenges, the speed and accuracy of this approach—capable of annotating entire proteomes in minutes—mark a significant step forward. By leveraging the "latent knowledge" captured by deep learning language models, researchers can now predict protein functions that were previously invisible to homology-based tools.

Summary updated

BibTeX
@inproceedings{littmann2021embeddings,
  author = {Maria Littmann and Michael Heinzinger and Christian Dallago and Tobias Olenyi and Burkhard Rost},
  title = {{Embeddings from deep learning transfer GO annotations beyond homology}},
  booktitle = {Scientific},
  year = {2021},
  doi = {10.1038/s41598-020-80786-0},
}
Figure