Interpretable Enzyme Function Prediction via Residue-Level Detection

Zhao Yang, Bing Su, Jiahao Chen, Ji-Rong Wen · DOI

TL;DR

This paper introduces ProtDETR, a novel deep learning framework that treats enzyme function prediction as an object detection problem. By using learnable "functional queries" and a Transformer-based architecture, ProtDETR achieves state-of-the-art performance in predicting multiple enzyme functions while offering unprecedented interpretability by pinpointing specific residue regions responsible for different functions.

What Problem Does This Paper Address?

Predicting the function of enzymes is crucial for understanding biological processes and developing new therapeutics. Enzymes are classified using the Enzyme Commission (EC) number system, which has over 6000 categories. A major challenge is that most enzymes have multiple functions (multi-label classification), and each enzyme is only associated with a small subset of these EC numbers, leading to a "sparse multi-label" problem. Existing methods often rely on a single, global representation of the enzyme sequence, which can obscure the fine-grained information from specific protein regions (like active sites) that are responsible for particular functions. This lack of focus on local features also hinders interpretability, making it difficult to understand why a model predicts a certain function.

Methods

ProtDETR frames enzyme function prediction as a detection task, inspired by object detection models like DETR. Instead of predicting bounding boxes, it uses learnable "functional queries" to "detect" relevant functional regions within an enzyme's amino acid sequence.

Here's a breakdown of the key components:

  • Sequence Encoding: Enzyme sequences are first embedded into a rich representation using the pre-trained ESM-1b language model.
  • Transformer Encoder: These embeddings are then processed by a Transformer encoder to capture residue-level features and their interactions.
  • Transformer Decoder with Functional Queries: The core innovation lies in the decoder. It uses a fixed number (N=10) of learnable "functional queries." These queries interact with the encoded sequence features via cross-attention. Each query learns to focus on specific local residue fragments that are indicative of a particular enzyme function.
  • Set Prediction: The model outputs a set of predicted functions, and a matching mechanism (Hungarian algorithm) is used to align these predictions with the ground truth EC numbers.
  • Interpretability: The cross-attention weights between the functional queries and the residue features provide EC number-specific interpretability. This allows researchers to visualize which parts of the enzyme sequence are most important for predicting a particular function.

Datasets

  • split100: A large dataset derived from the SwissProt section of the UniProt database, used for training and evaluating multifunctional enzyme prediction. It's composed of approximately 220K enzyme sequences.
  • New-392: A benchmark dataset for evaluating multifunctional enzyme prediction, containing 392 enzyme sequences and 177 unique EC numbers. It was curated from a later version of SwissProt than the one used for CLEAN's training, simulating a real-world scenario.
  • Price-149: Another benchmark dataset for multifunctional enzyme prediction, curated by ProteInfer, known for its experimentally verified annotations and potential inconsistencies.
  • ECPred40: A dataset for monofunctional enzyme classification, used to evaluate ProtDETR's performance on simpler tasks and compare it with specialized models.
  • M-CSA Database: Used for benchmarking interpretability by comparing predicted active sites with known ones.

Key Insights and Ideas

  • Enzyme Function as Detection: Reframing enzyme function prediction as a "detection" problem, analogous to finding objects in images, is a powerful new paradigm. This allows the model to focus on localized features rather than relying solely on global sequence information.
  • Learnable Functional Queries: The use of a small, fixed set of learnable "functional queries" is a key innovation. These queries adaptively extract function-specific information, avoiding the need for a massive number of classifiers and enabling more targeted analysis.
  • EC Number-Specific Interpretability: The cross-attention mechanism between queries and residue features provides a direct link between a predicted EC number and the specific protein regions responsible for it. This is a significant step beyond generic attention maps.
  • Monofunctionality is Prevalent: The study highlights that the majority of enzymes are actually monofunctional, suggesting that models excelling at this simpler task are still highly relevant and that ProtDETR can be effectively adapted for it.

Key Results

  • State-of-the-Art Performance: ProtDETR significantly outperforms existing deep learning methods like CLEAN and DeepECtransformer on multifunctional enzyme prediction tasks, particularly in recall and F-score. For example, on the New-392 dataset, ProtDETR achieved a 25% improvement in recall over CLEAN.
  • Superiority in Monofunctional Prediction: ProtDETR also surpasses specialized models like EnzBert in predicting monofunctional enzymes across various EC levels.
  • Improved Prediction Alignment: ProtDETR's predicted EC number frequencies align more closely with actual observed frequencies in test sets compared to CLEAN.
  • Enhanced Interpretability: Quantitative evaluations on the M-CSA database show ProtDETR's encoder and decoder achieve high interpretability scores, comparable to or exceeding EnzBert's methods. Case studies visually demonstrate how specific queries highlight distinct active sites for different EC numbers.

Limitations and Future Work

  • Long-Tail Challenge: While ProtDETR shows improvements, the long-tailed distribution of EC numbers remains a challenge. The paper explores strategies like Inverse Frequency Reweighting (IFR) to mitigate this, but acknowledges the need for novel long-tail handling strategies.
  • Hyperparameter Tuning: The model's performance is sensitive to hyperparameter choices, particularly the number of queries and inference thresholds.
  • Future Work: The authors suggest further investigation into the roles of multifunctional enzymes and exploring the interpretative capabilities of ProtDETR to gain deeper insights into enzyme-specific functionalities and catalytic mechanisms. The framework's potential for advancing research on multifunctional enzymes is highlighted.

Summary updated

BibTeX
@misc{yang2025interpretable,
  author = {Zhao Yang and Bing Su and Jiahao Chen and Ji-Rong Wen},
  title = {{Interpretable Enzyme Function Prediction via Residue-Level Detection}},
  year = {2025},
  eprint = {2501.05644},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.05644},
}
Figure