Modeling enzyme temperature stability from sequence segment perspective

Ziqi Zhang, Shiheng Chen, Runze Yang, Zhisheng Wei, Wei Zhang, Lei Wang, Zhanzhi Liu, Fengshan Zhang, Jing Wu, Xiaoyong Pan, Hongbin Shen, Longbing Cao, Zhaohong Deng · DOI

Introduction

Enzymes are essential catalysts in biotechnology, yet their industrial application is frequently constrained by thermal instability. Designing thermostable enzymes—those capable of maintaining function at elevated temperatures—remains a significant challenge in protein engineering. Traditional approaches rely on resource-intensive "wet-lab" experiments or computational models that often suffer from data imbalance and a lack of structural context.

Existing models typically analyze protein sequences on a residue-by-residue basis. While granular, this approach often fails to capture the multi-scale structural motifs and local domains that dictate thermal stability. Furthermore, because the majority of known enzymes are mesophilic, standard models struggle to accurately predict the behavior of rare extremophile enzymes. To address these limitations, we present the Segment Transformer, a deep learning framework that shifts the focus from individual amino acids to segment-level representations.

Methodology: The Segment Transformer

Overview of the Segment Transformer workflow, from data collection to application.

The Segment Transformer architecture is designed to capture the hierarchical nature of protein stability through several key innovations:

  1. Feature Extraction and Conversion: The model utilizes ESM-2, a pretrained protein language model, to generate initial amino acid embeddings. These features are then down-sampled and partitioned into fixed-length segments. This approach aligns with the biological principle that stability is often a product of local motifs rather than isolated atoms.
  2. Dual Grouped Segment Attention (DGSA): The core of the model employs two distinct attention mechanisms. Short-range attention focuses on interactions within local segment neighborhoods, while long-range attention captures interactions between distant parts of the sequence that come into proximity upon folding.
  3. Weighted Loss Function: To mitigate the "mesophilic bias" in existing datasets, a Weighted RMSE loss function was implemented. This penalizes errors more heavily for enzymes at extreme temperature ranges (very cold or very hot), ensuring robust performance across the entire thermal spectrum.
  4. Multi-scale Prediction: Beyond a single stability value, the model outputs a "fluctuation range," providing a confidence interval for its predictions.

Data Curation

The researchers curated a high-quality dataset from the BRENDA enzyme database. Starting with 27,216 entries, the team performed rigorous preprocessing to arrive at 3,454 unique, high-quality entries. To ensure the model's generalizability, MMseqs2 was used to cluster sequences by similarity, ensuring that training and validation sets were structurally distinct and preventing the model from simply memorizing known sequences.

Key Insights and Interpretability

The application phase of the model, highlighting the generation of predicted temperature profiles and importance scores.

A primary advantage of the Segment Transformer is its interpretability. By aggregating information into segments, the model can generate "segment importance scores." These scores allow researchers to visualize which specific regions of an enzyme contribute most significantly to its heat resistance. This effectively provides a map for rational design, identifying "stability hotspots" that can be targeted for mutation.

Results and Experimental Validation

The Segment Transformer achieved state-of-the-art (SOTA) performance on benchmarking tests, recording an RMSE of 24.03 and an MAE of 18.09. Notably, it outperformed specialized predictors like TemStaPro and DeepET, particularly in the high-temperature range (>70°C) where other models typically fail.

To validate the model's practical utility, the team engineered a cutinase from Humicola insolens (HiC). The model identified 17 potential mutations. The most successful variant, A78E, demonstrated a 1.64-fold improvement in relative activity post-heat treatment. Most significantly, the thermal half-life ($t_{1/2}$) at 60°C increased from 6.8 minutes in the wild-type to 29.5 minutes in the mutant—a 3.9-fold enhancement in stability without compromising catalytic efficiency.

Conclusion and Future Work

The Segment Transformer demonstrates that segment-level analysis is a powerful paradigm for predicting protein thermal behavior. While the model currently excels at stability prediction, future iterations aim to integrate enzymatic activity predictions to address the common stability-activity trade-off. Additionally, the team explores hybrid "segment + residue" features to ensure that critical single-amino acid changes are not overlooked while maintaining the robust perspective provided by segment-level modeling.

Summary updated

BibTeX
@article{zhang2025modeling,
  author = {Ziqi Zhang and Shiheng Chen and Runze Yang and Zhisheng Wei and Wei Zhang and Lei Wang and Zhanzhi Liu and Fengshan Zhang and Jing Wu and Xiaoyong Pan and Hongbin Shen and Longbing Cao and Zhaohong Deng},
  title = {{Modeling enzyme temperature stability from sequence segment perspective}},
  journal = {Journal of Chemical Information and Modeling},
  year = {2025},
  doi = {10.1021/acs.jcim.5c01674},
}
Figure