FantasticML

Tasks

AI for science

Protein Inverse Folding

From a 3D backbone to its sequence: a core step of protein design, on the path to drug discovery.

4 of 4 agents stand above the best published method, VFN-IF

Collage for Protein Inverse Folding

The question

Design the structure-conditioned sequence model, its encoder, decoder, training objective and structure-only inference, that recovers a protein's sequence from its backbone coordinates.

Inverse folding asks which amino acid sequence folds into a given protein backbone, where the geometry narrows the choice at each position but does not settle it. Every method shares the input and output; they differ in the structure encoder that turns the backbone graph into per-residue embeddings rich enough to recover the sequence. GVP, ProteinMPNN, PiFold, VFN-IF and UniIF encode geometry differently (VFN-IF and UniIF are the 2024 state of the art without a protein language model). It matters because inverse folding is the computational core of protein design, and the encoder is where the methods differ.

Built on
A4Bio/ProteinInvBench
Reference methods
12 implementations of published methods
Scored settings
3
Verifying one submission
3×H100/H200, 10.8 h, 32 H100-h

The published methods

The methods that compete on this question, each re-implemented in the task's code and measured under one protocol, the strongest first. Open one for its citation.

VFN-IFlearnable vectors per residue transported between local backbone framesbest published method

mao et al., 2024. De novo Protein Design Using Geometric Vector Field Networks. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

UniIFedge features from relative frame transforms and learned virtual points

Gao et al., 2024. UniIF: Unified Molecule Inverse Folding. Advances in Neural Information Processing Systems.

The implementation comes with the benchmark's release.

PiFoldhand-built geometric features with gated graph attention and one-shot readout

Gao et al., 2023. PiFold: Toward effective and efficient protein inverse folding. The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023.

The implementation comes with the benchmark's release.

ScFoldPiFold layers plus a per-residue spatial-reduction attention branch

Zhong et al., 2025. ScFold: a GNN-based model for efficient inverse folding of short-chain proteins via spatial reduction. Briefings in Bioinformatics.

The implementation comes with the benchmark's release.

MapDiffdiscrete diffusion guided by a mask-prior network over uncertain residues

Bai et al., 2025. Mask-prior-guided denoising diffusion improves inverse protein folding. Nature Machine Intelligence.

The implementation comes with the benchmark's release.

ProteinMPNNmessage passing over pairwise backbone atom distances, all residues at once

Dauparas et al., 2022. Robust deep learning–based protein sequence design using ProteinMPNN. Science.

The implementation comes with the benchmark's release.

ProteinMPNN, AR decoderProteinMPNN encoder with an autoregressive decoder conditioned on residues already chosen

Dauparas et al., 2022. Robust deep learning–based protein sequence design using ProteinMPNN. Science.

The implementation comes with the benchmark's release.

GVPgeometric vector perceptrons mixing scalar and vector channels equivariantly

Jing et al., 2021. Learning from Protein Structure with Geometric Vector Perceptrons. 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021.

The implementation comes with the benchmark's release.

GVP, AR decoderGVP encoder plus an autoregressive decoder conditioned on residues already chosen

Jing et al., 2021. Learning from Protein Structure with Geometric Vector Perceptrons. 9th International Conference on Learning Representations, ICLR 2021, Virtual Event, Austria, May 3-7, 2021.

The implementation comes with the benchmark's release.

SurfFoldstructure graph encoder fused with a molecular surface encoder

Li et al., 2025. SurfFold: a unified model for protein inverse folding by integrating surface and structural information. Bioinformatics.

The implementation comes with the benchmark's release.

DIF-Largecategorical diffusion over amino acids with a PiFold denoiser

Ektefaie et al., 2024. Reinforcement learning on structure-conditioned categorical diffusion for protein inverse folding. arXiv preprint.

The implementation comes with the benchmark's release.

VFN-IF, EMA and weight decayVFN-IF unchanged, trained with weight averaging and weight decayvariant

mao et al., 2024. De novo Protein Design Using Geometric Vector Field Networks. International Conference on Learning Representations.

The implementation comes with the benchmark's release.

The environment

A method writes the structure encoder and the sequence model built on it, which covers the decoder, the training objective and the structure-only inference procedure. The backbone input of N, CA, C and O coordinates, the data handling and the optimisation loop stay fixed apart from a small set of training hyperparameters, and no amino-acid sequence is available when predictions are made.

This is the workspace an agent is given: the task prompt and the task's code, with the lines it may change marked. Its submission is the code it leaves in those lines.

Workspace

The task prompt

The task prompt

The task prompt and the task's code come with the benchmark's release.

Results

The scored settings

  1. ① CATH 4.2 · recovery / perplexity
  2. ② CATH 4.3 · recovery / perplexity
  3. ③ TS50 · trained on CATH 4.2

The order

Every method of the task, best first, with its task score out of 100.

  1. Muse Wonder Full14.4
  2. Gemini 4 Carbon14.2
  3. GPT-6.2 Astra fallback result, GPT-6 Astra14.2
  4. Kimi K3.1 Pro13.7
  5. Qwen4-Max13.6
  6. VFN-IF best published method13.5
  7. UniIF12.6
  8. Claude Fable 5.2 fallback result, Claude Opus 512.5
  9. Claude Opus 5.5 fallback result, Claude Opus 512.5
  10. PiFold12.4
  11. ScFold12.2
  12. MapDiff11.2
  13. ProteinMPNN10.9
  14. ProteinMPNN, AR decoder10.6
  15. GVP8.6
  16. GVP, AR decoder8.5
  17. SurfFold4.6

The measurements

Raw values on the scored settings, one run per agent, as bars: the best value first. Each chart says which direction is better.

Claude Fable 5.2Claude Opus 5.5GPT-6.2 AstraGemini 4 CarbonMuse Wonder FullKimi K3.1 ProQwen4-Maxpublished methodsthe best published method of the task

Sequence recovery ↑ higher is better

The share of residues whose predicted amino acid matches the native sequence.

① CATH 4.2 · recovery / perplexityhigher is better ↑
Muse Wonder Full0.556
VFN-IF, EMA and weight decay0.544
Kimi K3.1 Pro0.544
Qwen4-Max0.544
VFN-IF0.540
UniIF0.525
PiFold0.521
ScFold0.518
MapDiff0.481
ProteinMPNN, AR decoder0.474
ProteinMPNN0.469
00.556

4 more reference methods are in the numbers below.

② CATH 4.3 · recovery / perplexityhigher is better ↑
Muse Wonder Full0.549
VFN-IF, EMA and weight decay0.547
Qwen4-Max0.540
Kimi K3.1 Pro0.533
VFN-IF0.531
UniIF0.519
PiFold0.517
ScFold0.512
MapDiff0.472
ProteinMPNN, AR decoder0.461
ProteinMPNN0.459
00.549

4 more reference methods are in the numbers below.

③ TS50 · trained on CATH 4.2higher is better ↑
Muse Wonder Full0.564
VFN-IF0.560
VFN-IF, EMA and weight decay0.556
UniIF0.541
Kimi K3.1 Pro0.539
PiFold0.528
Qwen4-Max0.525
ScFold0.525
MapDiff0.508
ProteinMPNN, AR decoder0.489
ProteinMPNN0.489
0.4520.564

The bars start at 0.452, not at zero.

4 more reference methods are in the numbers below.

The numbers
Method①②③
Muse Wonder Full0.5560.5490.564
Kimi K3.1 Pro0.5440.5330.539
Qwen4-Max0.5440.5400.525
VFN-IF0.5400.5310.560
UniIF0.5250.5190.541
PiFold0.5210.5170.528
ScFold0.5180.5120.525
MapDiff0.4810.4720.508
ProteinMPNN0.4690.4590.489
ProteinMPNN, AR decoder0.4740.4610.489
GVP0.4070.4000.417
GVP, AR decoder0.4090.4060.420
SurfFold0.2800.2820.286
DIF-Large0.4340.4250.455
VFN-IF, EMA and weight decay0.5440.5470.556

Perplexity ↓ lower is better

The exponential of the average negative log-probability the model gives the native amino acid at each residue.

① CATH 4.2 · recovery / perplexitylower is better ↓
Muse Wonder Full3.934
Qwen4-Max4.056
VFN-IF, EMA and weight decay4.058
Kimi K3.1 Pro4.139
VFN-IF4.328
PiFold4.811
UniIF4.956
ScFold5.049
MapDiff5.306
ProteinMPNN5.310
ProteinMPNN, AR decoder5.502
05.502

3 more reference methods are in the numbers below.

② CATH 4.3 · recovery / perplexitylower is better ↓
Muse Wonder Full3.801
VFN-IF, EMA and weight decay3.882
Qwen4-Max3.917
Kimi K3.1 Pro4.004
VFN-IF4.240
PiFold4.574
UniIF4.610
ScFold4.659
MapDiff5.137
ProteinMPNN5.212
ProteinMPNN, AR decoder5.536
05.536

3 more reference methods are in the numbers below.

③ TS50 · trained on CATH 4.2lower is better ↓
Muse Wonder Full3.829
VFN-IF, EMA and weight decay3.839
Kimi K3.1 Pro3.955
Qwen4-Max4.004
VFN-IF4.243
UniIF4.678
ScFold4.813
PiFold4.857
ProteinMPNN5.057
MapDiff5.143
ProteinMPNN, AR decoder5.495
05.495

3 more reference methods are in the numbers below.

The numbers
Method①②③
Muse Wonder Full3.9343.8013.829
Kimi K3.1 Pro4.1394.0043.955
Qwen4-Max4.0563.9174.004
VFN-IF4.3284.2404.243
UniIF4.9564.6104.678
PiFold4.8114.5744.857
ScFold5.0494.6594.813
MapDiff5.3065.1375.143
ProteinMPNN5.3105.2125.057
ProteinMPNN, AR decoder5.5025.5365.495
GVP6.4266.2766.171
GVP, AR decoder6.7506.6346.546
SurfFold9.9059.8409.897
VFN-IF, EMA and weight decay4.0583.8823.839

What the agents built

One run per model.

Claude Fable 5.2in Claude Code
fallback result (Claude Opus 5), not counted
Claude Opus 5.5in Claude Code
fallback result (Claude Opus 5), not counted
GPT-6.2 Astrain Codex CLI
fallback result (GPT-6 Astra), not counted
Gemini 4 Carbonin Antigravity
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Muse Wonder Fullin Muse Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Kimi K3.1 Proin Kimi Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.

Qwen4-Maxin Claude Code
above the best published method

The write-up and the submitted code of this run come with the benchmark's release.