Refold: Refining Protein Inverse Folding with Efficient Structural Matching and Fusion
Organizations: AIMS Lab, HKUST (GZ), Guangzhou, China · North China Electric Power University, Baoding, China · Westlake University, Hangzhou, China · Hunan University, Changsha, China · University of Science and Technology of China, Hefei, China · Northwest Polytechnical University, Xi’an, China · HKUST, Hong Kong SAR, China
Abstract
Protein inverse folding aims to design an amino acid sequence that will fold into a given backbone structure, serving as a central task in protein design. Two main paradigms have been widely explored. Template-based methods exploit database-derived structural priors and can achieve high local precision when close structural neighbors are available, but their dependence on database coverage and match quality often degrades performance on out-of-distribution (OOD) targets. Deep learning approaches, in contrast, learn general structure-to-sequence regularities and usually generalize better to new backbones. However, they struggle to capture fine-grained local structure, which can cause uncertain residue predictions and missed local motifs in ambiguous regions. We introduce Refold, a novel framework that synergistically integrates the strengths of database-derived structural priors and deep learning prediction to enhance inverse folding. Refold obtains structural priors from matched neighbors and fuses them with model predictions to refine residue probabilities. In practice, low-quality neighbors can introduce noise, potentially degrading model performance. We address this issue with a Dynamic Utility Gate that controls prior injection and falls back to the base prediction when the priors are untrustworthy. Comprehensive evaluations on standard benchmarks demonstrate that Refold achieves state-of-the-art native sequence recovery of 0.63 on both CATH 4.2 and CATH 4.3. Also, analysis indicates that Refold delivers larger gains on high-uncertainty regions, reflecting the complementarity between structural priors and deep learning predictions.
Figures & tables
| Model | Perplexity | Recovery | CATH version | |||
| Short | Full | Short | Full | 4.2 | 4.3 | |
| GraphTrans ( Ingraham et al., 2019 ) | 8.39 | 6.63 | 0.28 | 0.36 | ||
| StructGNN ( Ingraham et al., 2019 ) | 8.29 | 6.40 | 0.29 | 0.36 | ||
| ESM-IF † ( Hsu et al., 2022 ) | 8.18 | 6.44 | 0.31 | 0.38 | ||
| GCA ( Tan et al., 2022 ) | 7.09 | 6.05 | 0.33 | 0.38 | ||
| GVP ( Jing et al., 2021 ) | 7.23 | 5.36 | 0.31 | 0.39 | ||
| Model | Test Set | Recovery | Perplexity |
|---|---|---|---|
| ProteinMPNN | TS50 | 0.54 | 3.93 |
| TS500 | 0.58 | 3.53 | |
| Refold | TS50 | 0.60 (+0.06) | 3.78 (-0.15) |
| TS500 | 0.63 (+0.05) | 3.51 (-0.02) |
| Uncertainty Regime | Base Rec. | Refold Rec. | |
|---|---|---|---|
| Low ( ) | 0.78 | 0.83 | +0.05 |
| Mid ( ) | 0.34 | 0.55 | +0.21 |
| High ( ) | 0.18 | 0.45 | +0.27 |
| Overall (All) | 0.44 | 0.61 | +0.17 |
| Configuration | Recovery | Perplexity |
|---|---|---|
| Full Model (Ours) | 0.61 | 3.77 |
| Source Contribution | ||
| w/o Refold (Baseline) | 0.44 | 5.94 |
| w/o base model (Priors Only) | 0.52 | 6.40 |
| Mechanisms | ||
| w/o TM-score Bias | 0.58 | 4.21 |
| Row | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | … |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Base | M | S | S | E | G | Y | S | G | E | S | S | S | H | C | A | P | E | P | G | C | T | R | G | T | S | S | R | P | R | … |
| Refold | M | S | S | Y | G | W | S | G | L | S | C | D | H | C | A | P | E | P | G | C | T | R | G | T | C | S | R | P | R | … |
| Nbr | K | H | Q | Y | G | W | Q | G | L | Y | C | D | K | C | I | P | H | P | G | C | V | H | G | I | C | N | E | P | W | … |
| Model | Params | Latency | Overhead |
|---|---|---|---|
| ProteinMPNN | 1.7M | 13.41ms | – |
| Refold | 3.5M | 18.22ms | +35.9% |
| KWDesign | 4.1B | 656.24ms | +4793.7% |