Abstract
Recent years have witnessed the remarkable progress of deep learning within the realm of scientific disciplines, yielding a wealth of promising outcomes. A prominent challenge within this domain has been the task of predicting enzyme function, a complex problem that has seen the development of numerous computational methods, particularly those rooted in deep learning techniques. However, the majority of these methods have primarily focused on either amino acid sequence data or protein structure data, neglecting the potential synergy of combining both modalities. To address this gap, we propose a Contrastive Learning framework for Enzyme functional ANnotation prediction combined with protein amino acid sequences and Contact maps (CLEAN-Contact). We rigorously evaluate the performance of our CLEAN-Contact framework against the state-of-the-art enzyme function prediction models using multiple benchmark datasets. Using CLEAN-Contact, we predict previously unknown enzyme functions within the proteome of Prochlorococcus marinus MED4. Our findings convincingly demonstrate the substantial superiority of our CLEAN-Contact framework, marking a significant step forward in enzyme function prediction accuracy.
Introduction
Assigning an Enzyme Commission (EC) number to a protein—a process known as functional annotation—is fundamental to understanding metabolic pathways and engineering microbial systems. Traditionally, researchers have relied on sequence similarity tools like BLAST. However, enzymes often exhibit functional convergence (different sequences, same function) or divergence (similar sequences, different functions), making sequence-only methods insufficient for many "dark" enzymes.
While deep learning has advanced the field, most existing models are monomodal, focusing exclusively on either primary amino acid sequences or 3D structural data. Structural data contains critical functional clues, such as the spatial arrangement of active site residues, that sequences alone may miss. CLEAN-Contact addresses this by synergistically integrating both modalities through a contrastive learning framework.
Methodology: The CLEAN-Contact Framework
CLEAN-Contact utilizes a dual-stream architecture designed to extract and fuse features from both sequence and structure.
- Sequence Stream: The model employs ESM-2, a large-scale pretrained protein language model, to generate functional-aware embeddings from amino acid sequences.
- Structure Stream: To avoid the high computational cost of 3D atomic coordinates, the model uses 2D contact maps—representations of which residues are in physical proximity. These maps are processed by a ResNet-50 computer vision architecture to extract structural features.
- Contrastive Fusion: Features from both streams are projected into a shared embedding space. The model is trained using a triplet margin loss strategy, which mathematically "pulls" proteins with the same EC number closer together while "pushing" those with different functions apart.
- Inference: For a new query protein, the model calculates its distance to known EC number clusters in the embedding space, using specialized algorithms to provide a final functional assignment.
Key Results and Performance
CLEAN-Contact was rigorously tested against the previous state-of-the-art model, CLEAN, using curated benchmark datasets (New-392 and Price-149).
Superior Accuracy and Precision
On the New-392 dataset, CLEAN-Contact achieved a 16.22% improvement in Precision and a 12.30% boost in F1-score over the sequence-only baseline. This improvement was even more pronounced for rare enzymes (those with fewer than 11 representatives in the training set), where the model showed a 30.4% precision gain.
Success in the "Twilight Zone"
A critical advantage of CLEAN-Contact is its performance on proteins with low sequence identity to known enzymes. In the "twilight zone" (sequence identity < 50%), structural patterns captured by the contact maps provide the necessary signal that sequence similarity lacks. As shown in the performance metrics, CLEAN-Contact consistently maintains higher precision and recall in these challenging categories.
Real-World Application
In a case study of the marine cyanobacterium Prochlorococcus marinus MED4, CLEAN-Contact predicted functions for 38 previously unannotated "hypothetical" proteins with high confidence (>0.90). These predictions included specific ligases and transferases, demonstrating the model's utility for biological discovery.
Discussion and Future Directions
The success of CLEAN-Contact highlights the synergy between evolutionary information (sequence) and physical constraints (structure). By using 2D contact maps and pretrained models, the framework achieves high accuracy with minimal computational overhead, adding only ~0.18 seconds per enzyme during inference.
Future work will explore incorporating more granular structural data, such as 3Di sequences, and accounting for the hierarchical nature of EC numbers in the loss function. Additionally, the authors plan to extend this contrastive framework to other functional descriptors like Gene Ontology (GO) terms.
Summary updated