HyInv Technical Report
Abstract
Inverse folding designs amino-acid sequences for a given protein backbone, and screening needs many candidates that are both diverse and well folded. We present HyInv, a 1.96-million-parameter backbone-conditioned graph network with an encoder-decoder architecture, trained by Hyra 2.0, the research agent developed by our team: pretrained with random-order autoregressive sequence modeling, followed by structure-reward reinforcement learning. At inference, a grouped draft-and-rewrite sampler that uses separate draft and rewrite temperatures improves refolding TM-score at matched diversity. An optimized implementation with BF16 numerics designs 128 sequences for a 402-residue backbone in 50.6 ms on a single NVIDIA H20 GPU, about 52 times faster than the reference sampler, and an exact FP32 path that returns the reference sequences is 8.7 times faster. Across five benchmark datasets and seven dataset-predictor combinations, HyInv reaches a higher average scTM than all ten external baselines at comparable or higher sequence diversity, with large margins over ProteinMPNN and ProteinZero V2. The same default setting supports de novo backbones, pocket-constrained libraries, enzyme redesign with the catalytic site kept, and loop redesign. We have released our code and model at https://github.com/Tencent-Hunyuan/Hyra-results/tree/main/AI4Science/hyinv.
Figures & tables
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Panel | Chains | Clusters | Structure predictors | Use |
| CATH4.3 test | 1,882 | 103 | ESMFold2 | comparison; sampler check |
| CATH4.2 test | 1,120 | 109 | ESMFold2 | comparison |
| TS500 | 500 | 500 | ESMFold2 | comparison |
| TS50 | 50 | 50 | ESMFold2 | comparison |
| RecentPDB | 121 | 121 | ESMFold2, Boltz2, Protenix2 | comparison; sampler check |
| CATH4.3 validation | 1,529 | 91 | ESMFold2 | development |
| Supervised | RL | |
| Data | 627,945 structures | 50,000 backbones |
| Objective | random-order likelihood | reward, leave-one-out advantage |
| Updates | 85,000 | 640 (full run 656) |
| Batch | window up to 512 | 256 backbones 32 |
| Optimizer | AdamW, (0.9, 0.98) | AdamW, (0.9, 0.95) |
| Learning rate | Noam schedule | constant |
Protein Design
Protein design uses computational and experimental methods to create or modify protein sequences and structures for desired functions.
See all 114 papers