ProtInvTree: Deliberate Protein Inverse Folding with Reward-guided Tree Search

Mengdi Liu, Xiaoxue Cheng, Zhangyang Gao, Hong Chang, Cheng Tan, Shiguang Shan, Xilin Chen

Abstract

Protein inverse folding—the task of designing an amino acid sequence that folds into a target 3D structure—is a foundational challenge in protein engineering. While existing deep learning models often treat this as a "one-shot" prediction task, they frequently struggle with the trade-off between sequence diversity and structural consistency. We present ProtInvTree, a framework that reimagines inverse folding as a deliberate, tree-based search process. By combining Monte Carlo Tree Search (MCTS) with a novel "jumpy denoising" evaluation strategy, ProtInvTree enables "System 2" reasoning for protein design. Our results on CATH and TS45 benchmarks demonstrate that ProtInvTree achieves state-of-the-art structural consistency (scTM-score of 0.881) and superior geometric accuracy (RMSD of 1.513) without requiring any retraining of the underlying generative models.

Introduction

In the field of computational biology, the "inverse folding" problem is often described as the inverse of the protein folding problem solved by AlphaFold. Given a specific 3D scaffold, the goal is to identify sequences that will reliably fold into that shape. This is a "one-to-many" problem: for any given structural fold, there may be millions of viable sequences, many of which have never been explored by natural evolution.

Current state-of-the-art models typically rely on autoregressive or one-shot denoising approaches. While fast, these models often fall into the "native sequence trap," where they prioritize sequence recovery (matching the original natural sequence) over structural viability. This leads to a fundamental limitation: models either produce sequences too similar to nature (low diversity) or generate "hallucinated" sequences that fail to maintain the target geometry (low consistency). ProtInvTree addresses this by shifting the paradigm from "fast intuition" (System 1) to "deliberate reasoning" (System 2), using search-time compute to explore the design space more effectively.

Methodology

ProtInvTree is a search-based framework built on top of frozen, pretrained protein language models (such as ESM-3). It introduces three core innovations to the design process:

Instead of generating a sequence linearly, ProtInvTree employs Monte Carlo Tree Search (MCTS). The model treats the design process as a sequence of decisions, building a search tree where each node represents a partial sequence. This allows the model to explore multiple design paths simultaneously, evaluate their potential using reward signals, and backtrack when a path leads to a structural dead end.

2. Focus-and-Grounding

To make the search space manageable, the model decouples the design step into two distinct phases:

  • Focus: The model identifies which specific positions in the sequence are most critical or uncertain and require modification.
  • Grounding: The model determines the optimal amino acid residue to place at the selected position. This separation allows the search to prioritize high-impact areas of the protein scaffold, improving the efficiency of the exploration.

3. Jumpy Denoising for Efficient Evaluation

A major bottleneck in tree search is the evaluation of partial sequences. Traditionally, this requires a full "rollout" to a complete sequence, which is computationally expensive. ProtInvTree utilizes a "jumpy denoising" strategy based on DDIM sampling. This allows the model to estimate the final structural quality of a partial design in a single step, providing a rapid reward signal that guides the MCTS without the need for exhaustive completion.

Experimental Results

We evaluated ProtInvTree against standard benchmarks, including CATH v4.2, CATH v4.3, and the TS45 dataset (comprising de novo structures from CASP15).

Structural Consistency and Accuracy

ProtInvTree demonstrated significant improvements over existing baselines. On the CATH 4.2 dataset, it achieved a self-consistency TM-score (scTM-score) of 0.881, outperforming the base ESM-3 model (0.816) and specialized architectures like PiFold and ProteinMPNN. Furthermore, it achieved a lower Root Mean Square Deviation (RMSD) of 1.513, indicating that the predicted folds of the designed sequences were geometrically closer to the target scaffolds than those produced by other models.

Test-Time Scaling

A key finding of the study is the correlation between "thinking time" and performance. By increasing the number of MCTS iterations—effectively increasing the test-time compute—the structural consistency of the generated sequences improved linearly. This mirrors recent trends in Large Language Models where increased deliberation leads to better problem-solving capabilities.

Diversity vs. Consistency

ProtInvTree occupies the Pareto frontier in the trade-off between sequence diversity and structural consistency. It is capable of generating sequences that are chemically distinct from the native sequence (high novelty) while maintaining a higher probability of folding correctly compared to one-shot models.

Discussion and Limitations

ProtInvTree represents a significant step toward more robust protein design by demonstrating that search-based methods can overcome the limitations of pure generative modeling. Notably, the framework is zero-shot, requiring no fine-tuning of the underlying protein language models.

However, several challenges remain. The computational cost of tree search is inherently higher than one-shot inference, creating a "cost per design" trade-off. Additionally, the current framework assumes a fixed, rigid backbone for the target structure. In biological systems, proteins are dynamic; future iterations of ProtInvTree could benefit from incorporating backbone flexibility. Finally, while computational metrics are promising, experimental wet-lab validation remains the gold standard for confirming the functional viability of these designed sequences.

Conclusion

By treating inverse folding as a deliberate search problem, ProtInvTree provides a powerful new tool for protein engineering. It successfully balances the need for sequence diversity with the requirement for structural integrity, offering a scalable path forward for designing novel proteins with high precision.

Summary updated

BibTeX
@inproceedings{liu2025protinvtree,
  author = {Mengdi Liu and Xiaoxue Cheng and Zhangyang Gao and Hong Chang and Cheng Tan and Shiguang Shan and Xilin Chen},
  title = {{ProtInvTree: Deliberate Protein Inverse Folding with Reward-guided Tree Search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=2uKVyGq5zK},
}
Figure