TL;DR
MAPred is a novel deep learning framework that significantly improves enzyme function prediction by combining protein sequences with structural "3Di" tokens. By employing a multi-scale architecture and an autoregressive prediction strategy, it captures both global protein characteristics and local functional sites to predict hierarchical Enzyme Commission (EC) numbers with state-of-the-art accuracy.
What Problem Does This Paper Address?
Enzymes are the biological catalysts driving nearly every process in living organisms. Identifying their specific function—standardized as a four-digit Enzyme Commission (EC) number—is essential for drug discovery and biotechnology. However, experimental verification is slow and expensive, creating a massive "annotation gap" as genomic data explodes.
Existing computational methods face three main hurdles:
- Modality Gap: Most models rely either on the amino acid sequence (which lacks spatial context) or 3D structures (which are hard to obtain and computationally heavy).
- Scale Issues: Models often focus on the "global" protein view, potentially overlooking the "local" clusters of amino acids that form the actual active site.
- Flat Prediction: EC numbers are hierarchical (e.g., 1.2.3.4), but many models treat them as a single, flat label, ignoring the logical dependencies between the digits.
Methods
The authors introduce MAPred (Multi-scale multi-modality Autoregressive Predictor), which uses a three-pronged architectural approach:
- Multi-Modality Inputs: It uses ESM-2 for sequence features and ProstT5 to generate 3Di tokens. 3Di tokens are a clever "alphabet" that describes the local 3D environment of each amino acid, providing structural information in a sequence-like format that is easy for neural networks to process.
- Dual-Pathway Feature Extraction:
- Global Pathway: Uses a sequence-to-3Di cross-attention mechanism to integrate the overall "shape" and "code" of the protein.
- Local Pathway: Uses Convolutional Neural Networks (CNNs) with varying kernel sizes (7, 9, and 11) to specifically "scan" for local functional motifs and active sites.
- Autoregressive Prediction Network: Instead of predicting all four EC digits at once, MAPred uses four sequential Multi-Layer Perceptrons (MLPs). The prediction for the first digit (the broad class) is fed as input to help predict the second, and so on. This mirrors the natural hierarchy of enzyme classification.
The model is trained in two phases: first using triplet loss (contrastive learning) to group similar enzymes together in embedding space, and then using standard classification loss to fine-tune the EC digit predictions.
Datasets
The model was trained on a massive slice of Swiss-Prot (over 227,000 sequences). Evaluation was performed on three challenging benchmark datasets:
- New-392: A standard benchmark for recent enzyme data.
- Price: A set of 149 experimentally verified proteins with low sequence similarity to known enzymes.
- New-815: A newly curated dataset by the authors containing Swiss-Prot data released after April 2022 to ensure no "data leakage" from the training set.
Key Insights and Ideas
- Hierarchy is a Feature, Not a Bug: The autoregressive approach proves that the hierarchical structure of EC numbers contains valuable information. By predicting digits sequentially, the model "reasons" through the classification levels, leading to much higher accuracy for the specific final digits.
- 3Di as a Structural Proxy: The success of MAPred suggests that we don't always need complex 3D graphs or atomic coordinates. Representing structure as 3Di tokens provides a "best of both worlds" scenario—structural awareness with sequence-level efficiency.
- Attention to Biology: Visualization of the model’s attention maps showed that it naturally "focuses" on known catalytic centers and substrate-binding sites, even though it wasn't explicitly told where they were during training. This provides a layer of interpretability crucial for biologists.
Key Results
MAPred consistently outperformed existing state-of-the-art models like CLEAN and DeepEC across all metrics (Precision, Recall, and F1 score):
- Superior Accuracy: On the New-392 dataset, MAPred achieved an F1 score of 0.610, a significant jump over the previous best (CLEAN) at 0.502.
- Robustness to Rarity: The model performed exceptionally well on "rare" enzymes (those with very few examples in the training set), maintaining a leading F1 score of ~0.486 even in the lowest frequency brackets.
- Hierarchical Strength: MAPred maintained high accuracy deep into the EC hierarchy, achieving an F1 of 0.918 for the first digit and staying above 0.63 for the highly specific fourth digit.
Limitations and Future Work
While MAPred is a significant step forward, the authors note a few areas for growth:
- Dataset Diversity: While EC numbers are vital, they don't cover all aspects of protein function. The authors plan to expand the model to predict Gene Ontology (GO) terms, which describe broader biological processes and cellular components.
- Feature Excavation: There is room to further "excavate" and isolate the specific local regions the model identifies as functional, potentially aiding in the de novo design of synthetic enzymes.
- Dependency on 3Di: The model relies on the quality of the 3Di tokens generated by ProstT5; if the structural prediction for a completely novel protein is poor, the model's performance may degrade.
Summary updated