3D Protein Inverse Folding Benchmark

Can language models design sequences for 3D protein shapes?

A language model receives the 3D backbone coordinates of a generated de novo protein shape and writes one amino-acid sequence, using no tools. Two independent folding models predict that sequence's 3D shape, and Trace2Fold scores how closely it matches the target.

By Jacob Vogan (@jvogan) · MIT License

Illustration showing 3D protein backbone coordinates with side-chain directions and refolded sequence comparison.
Left: 3D backbone points and outward side-chain directions given in the prompt. Right: a predicted 3D fold overlaid on the target shape beside a same-length decoy shape.

One shape, start to finish

48-residue public starter shape (gen-l48-02-b) View full prompt →
1 Prompt: 3D shape as text
pos   x     y     z    dx    dy    dz
  1  0.00  0.00  0.00 -0.29  0.10 -0.95
  2  3.85  0.00  0.00  0.52 -0.80  0.30
  3  5.60  2.18 -2.53  0.16  0.98  0.11
...
 48 -0.44 26.76  0.00 -0.02 -0.63  0.78

48 rows give each residue's 3D alpha-carbon position (x, y, z) in ångströms and outward side-chain direction (dx, dy, dz).

2 Reply: one sequence, no tools
KTFPQELEAKIKQELQ
KLGIPDQLAQEIRQKA
DTPDELRKLIEELAKK 48 standard amino acids · single sequence

The model returns one 48-letter sequence from the 20 standard amino acids, with no code execution or external tools. Up to 3 tries in the 72‑shape run if malformed.

3 Grading: refold in 3D (0–100)
Composite Fit (0–100): ESMFold2-Fast and Boltz-2 fold the sequence from letters alone; higher means a closer 3D match.
Twin Δ: Target score minus the score on a same-length decoy shape.
Within 2 Å: Shapes folded within 2.0 Å backbone RMSD on both folding models.

Scores measure 3D coordinate alignment and contacts directly.

Benchmark Scores

Model and baseline scores

72-Shape Benchmark · 9 LLM settings · up to 3 tries (9 of 15 settings)

72 generated de novo shapes, 48–176 residues (Original 24 + Added 48). Up to 3 tries per shape lets models fix invalid formatting instead of scoring 0.00 (8 of 9 settings graded all 72; GLM 5.3 Flash Max graded 68/72, bounded 19.7–25.3 and plotted as 22.5 ± 2.8*).

24-Shape Survey · 14 LLM settings · 1‑try (14 of 15 settings)

Earlier single‑try run on the Original 24 shapes (8 settings shared with the 72‑shape run plus 6 survey‑only settings, including Claude Fable 5.2 High, Claude Opus 5.5 High, and Gemini 4 Carbon/Neon High). Invalid replies scored 0.00, so compare 1‑try and 3‑try runs separately.

Dataset
Export ▾

Composite Fit by model (72 shapes, 0–100, higher is better)

Each dot is one shape and the bar is the model mean. Within 2 Å counts shapes ≤ 2.0 Å RMSD on both predictors; Tokens / Shape averages reasoning + sequence tokens over graded replies only.

Scoring and baselines

How Composite Fit (0–100) and Twin Δ grade 3D design

Two independent folding models (ESMFold2-Fast and Boltz-2) predict what 3D shape the sequence forms from its letters alone. Then Composite Fit combines three weighted geometry checks, and Twin Δ checks whether the sequence matches this exact shape rather than a similar decoy.

spacefill-v4 Three geometric terms in the 0 to 100 spacefill-v4 score 40 + 25 + 35 = 100 pts 40% Proper Kabsch GDT-HA 25% Local Cα lDDT 35% Nonlocal contact F1 1. Aligned position accuracy 40 pts · proper Kabsch 1..N 0.5, 1, 2, 4 Å det = +1 (mirrors fail) • Single rotation on residues 1..N • Averages fit at 0.5, 1, 2, 4 Å • Rejects chiral mirror reflections 2. Local Cα distance agreement 25 pts · superposition-free lDDT hinge < 15 Å |i - j| > 1 No alignment • Pair error < 0.5, 1, 2, 4 Å • Target pairs < 15 Å, |i - j| > 1 • Local packing survives hinge tilt 3. Nonlocal contact F1 35 pts · long-range core contacts Folded core Extended rod F1 = 0.00 • Distant pairs with |i - j| >= 6 • Contact threshold < 8.0 Å • Extended rod scores F1 = 0.00
Composite Fit = 100 × (0.40 × Backbone Match + 0.25 × Local Distances + 0.35 × Long-Range Contacts), averaged across ESMFold2-Fast and Boltz-2.

Backbone match (40% weight)

Trace2Fold rotates the predicted chain once onto the target and counts the share of alpha-carbons within 0.5, 1, 2, and 4 Å. Restricting alignment to proper rotations (no mirror reflections) rejects mirror-image folds, and averaging four distance cutoffs keeps one loose end from dominating the score, as it would in raw RMSD.

Technical term: Single-fit proper-Kabsch coverage at GDT-HA cutoffs (0.5, 1.0, 2.0, 4.0 Å, det(R) = +1).

Local distances (25% weight)

This term compares pairwise distances between nearby alpha-carbons (within 15 Å and more than one position apart in sequence) across 0.5, 1, 2, and 4 Å tolerances with no whole-chain alignment. Accurate helices, strands, and turns still earn credit even if a flexible hinge tilts two regions.

Technical term: Superposition-free Cα lDDT over pairs within 15 Å at sequence separation |i − j| > 1.

Long-range contacts (35% weight)

This term checks whether residues at least 6 positions apart in sequence pack within 8.0 Å inside the 3D core without forming false contacts. Open unfolded chains miss real contacts (low recall), wrong compact blobs add false ones (low precision), and this term accounts for 46.8% of score variance across the 14 LLMs in the 24-Shape Survey.

Technical term: Nonlocal Cα Contact F1 for pairs within 8.0 Å at sequence separation |i − j| ≥ 6.

Zero points for predictor confidence (pLDDT and pTM)

Folding models rate their own confidence per residue (pLDDT) and per chain (pTM), and often assign high confidence to generic alpha-helices that miss the target shape. Composite Fit gives confidence 0% weight and averages two independent predictors; in the 24-Shape Survey, model rankings hold across 10,000 weight changes (median ρ = 0.9912).

Twin Δ checks whether the sequence fits this exact shape

Every target A has a hidden twin B with the same length and matching 1D helix/strand/coil labels but a different 3D fold. Subtracting the decoy score gives Twin Δ = Fit(A) − Fit(B).

How the Matched Twin Decoy Test works and what Twin Δ measures One model sequence is folded once and scored against both its assigned 3D target A and a withheld 1D-matched twin B 1. Same 1D schedule, different 3D folds Equal length · similar H/E/C labels >= 70% (66.5% S2 beta) H1 turn H2 turn H3 Assigned Target A Sent in prompt 3D gap >= 3.0 Å Stage 1 >= 5.0 Å Stage 2 Hidden Decoy Twin B Withheld Target A contacts Parallel H1-H2-H3 core Twin B contacts Crossed H1-H3 interface 2. Fold once, score against both shapes Twin Δ = Fit(Shape A) − Fit(Decoy Twin B) Shape A (assigned) Twin B (withheld decoy) 1D Local H/E/C rule (no 3D packing) Twin Δ = +1.5 17.1 on A 15.6 on B Near zero: guesses 1D helices, ignores 3D fold Zero-tool LLM example (Stage 1 mean) Twin Δ = +37.0 57.0 on A 20.0 on B Strong positive: encodes Shape A's specific 3D fold Cα-ProteinMPNN (specialist ceiling) Twin Δ = +69.3 91.7 on A 22.4 on B Specialist reference: high 3D fold specificity
Matched twin design: Target A and Decoy Twin B share chain length and 1D helix/strand/coil (H/E/C) patterns yet differ sharply in 3D space (≥ 3.0 Å Cα RMSD at 48–112 aa; ≥ 5.0 Å at 176 aa).

Observed score scale across baselines and frontier models

7–9 pts · Random floor Composition Shuffle keeping amino-acid counts fixed (8.47 mean, Twin Δ +0.08 across 72 shapes).
10–17 pts · 1D pattern floor 1D H/E/C Rule picking helix, strand, and coil letters with zero 3D coordinates (15.73 mean, Twin Δ +2.28 across 72 shapes).
15–52 pts · Zero-tool LLMs Single-turn language models with zero external tools span 18.13 to 50.49 across 72 shapes (Twin Δ +2.41 to +31.69) and 14.57 to 51.89 in the 24-Shape Survey (overlapping the 1D floor at the low end).
91–93 pts · Specialist tools Cα-ProteinMPNN, Vanilla ProteinMPNN, and RFD4-Proteina. Under 1.0 Å Cα RMSD on most shapes.
Public development structures (not holdouts)

Interactive 3D viewer on 6 public starter shapes

This live 3D viewer displays 38 sequence-only predicted folds on 6 public starter shapes (gen-*, lengths 48 and 72 aa). All 72 benchmark holdout shapes stay private to keep them out of future training data. Drag or use arrow keys to rotate, click the canvas or use Ctrl/⌘+scroll to zoom, and select any residue tile to inspect its position error.

Quick presets:
Target trace ≤ 1.0 Å 1–2 Å 2–4 Å > 4.0 Å Drag or arrow keys to rotate · Ctrl/⌘+scroll to zoom
--

Selected fold

--
Select a submission to inspect its refolded Cα trace against the target coordinates.
Composite Fit
--
Mean RMSD
--
Twin Δ
--
Both ≤ 2.0 Å
--
pLDDT
--
pTM
--
Select a residue index to read Cα displacement. Top index · bottom amino acid · color indicates Cα error
Benchmark Patterns

Patterns across chain length, decoy twins, and reasoning tokens

How scores scale with chain length, decoy-twin controls, reasoning tokens, and benchmark scope.

1. Scores decline from 48 to 176 residues as residue pairs grow

Across the 72 holdout shapes (18 shapes at each length), 3D specialist tools stay between 85.32 and 95.61 across length bins (65–70/72 folded within 2.0 Å). Zero-tool language model averages decline with chain length as residue pairs grow from 1,128 at 48 aa to 15,400 at 176 aa (ranging from 22.37–61.24 at 48 aa down to 9.59–42.82 at 176 aa across fully graded models).

72-shape chain-length scaling across 48, 80, 112, and 176 residues Mean Composite Fit (0–100) · 18 holdout shapes (9 matched twin pairs) per chain length · Right labels show 72-shape mean 48–112 aa · 54 shapes (18 each) 176 aa · 18 shapes Composite Fit (0 to 100) 48 aa1,128 pairs80 aa3,160 pairs112 aa6,216 pairs176 aa15,400 pairs0255075100 Vanilla ProteinMPNN · 92.63 (68/72 ≤ 2Å)Cα-ProteinMPNN · 92.39 (70/72 ≤ 2Å)RFD4-Proteina · 91.16 (65/72 ≤ 2Å)Gemini 4 Hydrogen XHigh · 50.49 (11/72 ≤ 2Å)GPT-6.2 Astra XHigh · 42.82 (6/72 ≤ 2Å)Gemini 4 Hydrogen High · 41.15 (4/72 ≤ 2Å)GPT-6.2 Sol XHigh · 40.02 (3/72 ≤ 2Å)GPT-6.2 Astra High · 38.17 (3/72 ≤ 2Å)GPT-6.1 Terra XHigh · 31.51 (2/72 ≤ 2Å)1D H/E/C Rule · 15.73 (0/72 ≤ 2Å)Claude Sonnet 5.5 XHigh · 18.13 (1/72 ≤ 2Å)DeepSeek V4.1 Flash Max · 19.29 (0/72 ≤ 2Å)
Mean Composite Fit (0–100) across 48, 80, 112, and 176 residues (18 holdout shapes per length; GLM 5.3 Flash Max [68/72] and Composition Shuffle appear in the leaderboard table).

2. Matched A/B decoy twins separate 3D shape fit from 1D helix/strand patterns

Baselines without 3D coordinates show near-zero target preference across 72 shapes: Composition Shuffle averages Twin Δ = +0.08 and 1D H/E/C Rule averages +2.28. Specialist 3D tools average +71.67 to +72.95, and zero-tool language models span +2.41 to +31.69 across the 72-shape benchmark.

How 3D side-chain vectors distinguish buried core from solvent (starter shape gen-l48-02-b) Helix 3 axial wheel (positions 36 to 48 · 100° per residue) Arrows = (dx, dy, dz) Buried core Helices 1 and 2 Inward vectors Solvent surface Outward Helix 3 36 to 48 36 37 38 39 40 41 42 43 44 45 46 47 48 Inward core sites: 38, 41, 42, 45 Outward solvent sites: 9 positions Why 3D phasing beats a 1D repeat 3D-phased sequence Places hydrophobic side chains (Leu, Ile, Val, Met) on inward vectors 38, 41, 42, 45 and polar/charged residues toward water. Unphased 1D helix rule (15.3 / 100) Repeats generic helix letters without 3D rotation angle, burying charged residues in the core (Twin Δ near zero).
Helix 3 axial wheel on public starter shape gen-l48-02-b: matching hydrophobic residues to inward side-chain vectors separates target fit from decoy fit.

3. Reasoning effort and generated tokens (graded replies only)

Every graded reply outputs only the amino-acid sequence (25–113 visible tokens for 48–176 residues), so internal reasoning makes up nearly all generated tokens (failed replies are excluded from all token averages). Within both paired families on the 72-shape panel, raising effort from High to XHigh increases generated tokens and Composite Fit. Mean tokens per graded shape span about 93× on 72 shapes (2.0k to 188k) and 204× on 24 shapes (0.9k to 183k): Anthropic settings average 2.0k on 72 shapes (0.9k–5.5k on 24), OpenAI XHigh settings average 14.0k–18.0k, open-weights Max settings average 56.0k–64.9k, and Gemini 4 High/XHigh settings average 76.8k–188k (open Fit vs. Tokens / Shape plot →).

High → XHigh reasoning effort across 36 twin pairs (72 shapes) Gemini 4 Hydrogen (+9.34 pts · 76.8k → 188k tok/shape · p = 3.06e-5) and GPT-6.2 Astra (+4.65 pts · 5.1k → 14.0k tok/shape · p = 0.0069) 72-shape mean Composite Fit 2535455565 High XHigh 41.15 50.49 (+9.34) Hydrogen 38.17 42.82 (+4.65) Astra Paired XHigh − High gain (pts) Hydrogen Astra 0 +8 +16 All 72 (36 pairs)+9.34+4.65Added 48+9.23+6.50Original 24+9.57+0.9548 aa (18)+14.29+4.6780 aa (18)+4.71+3.88112 aa (18)+9.38+5.10176 aa (18)+9.00+4.96
Model family High (72) XHigh (72) Δ (XHi − Hi) Pair wins (shapes) Paired t / p (36 pairs) Wilcoxon p Orig 24 Δ Added 48 Δ ≤ 2.0 Å (Hi → XHi) Tokens / Shape
Gemini Gemini 4 Hydrogen
41.15 50.49 +9.34 26/36 (53/72) t=4.79 · 3.06e-5 5.14e-5 +9.57 +9.23 4 → 11 / 72 76.8k → 188k
OpenAI GPT-6.2 Astra
38.17 42.82 +4.65 26/36 (48/72) t=2.87 · 0.0069 0.0090 +0.95 +6.50 3 → 6 / 72 5.1k → 14.0k
Additional 4-shape Mixed α/β effort check (112 and 176 aa · High, XHigh, Max · 5 seeds + SimpleFold 3B) Show or hide 4-shape table

This 4-shape check evaluates GPT-6.2 Astra Max, GPT-6.2 Astra XHigh, and Claude Fable 5.2 XHigh alongside 24-Shape Survey settings and the Cα-ProteinMPNN baseline on 4 Mixed α/β shapes.

Model or baseline4-shape mean5-seed meanBest-of-5SimpleFold 3B (s0)Twin Δ≤ 2.0 Å (any-5)112-09-A112-09-B176-03-A176-03-B
OpenAI GPT-6.2 Astra Max
42.7443.6649.4232.94+28.420/4 (0)41.6160.8427.6140.89
OpenAI GPT-6.2 Astra XHigh
37.5339.5242.9335.22+22.460/4 (0)45.3635.9524.9943.80
OpenAI GPT-6.2 Astra High
39.9339.2742.8633.95+26.620/4 (0)41.5943.3522.4252.38
Anthropic Claude Fable 5.2 XHigh
35.5735.7940.0749.31+21.140/4 (0)46.1537.5822.3136.23
Anthropic Claude Fable 5.2 High
35.2234.9536.8129.69+20.770/4 (0)39.3245.8925.1230.55
Gemini Gemini 4 Neon High
51.5349.1552.9750.23+37.270/4 (0)45.0958.5342.5159.98
Gemini Gemini 4 Hydrogen XHigh
50.2952.2856.4146.40+37.310/4 (0)51.2148.8736.2564.83
Gemini Gemini 4 Carbon High
46.3446.0949.5738.45+32.700/4 (0)51.4655.4631.0947.35
OpenAI GPT-6.2 Sol XHigh
35.7837.9443.1531.19+22.490/4 (0)44.7533.3625.8639.13
Anthropic Claude Opus 5.5 High
32.6633.9337.0433.12+18.460/4 (0)36.7842.7426.3924.72
Base Cα-ProteinMPNN (4 draws)
89.2189.0689.8582.72+74.853/4 (3)92.9478.1393.8891.89

4. Scope and limitations

  • Synthetic single-chain targets. RFD4-Proteina generated all 72 primary holdout shapes (Original 24 + Added 48), and Genie 3 generated 4 additional backbones for the generator check, rather than natural multi-domain or multi-chain complexes.
  • Computational refolding, not wet-lab assays. ESMFold2-Fast, Boltz-2, and SimpleFold 3B test whether sequence-only predictors fold the letters to the target Cα shape; they do not measure wet-lab expression, solubility, or folding free energy (ΔG).
  • Attempt limits and missing-shape bounds. The 72-shape panel allowed up to 3 tries total per shape instead of scoring a first-try formatting slip 0.00 (8 of 9 LLMs graded 72/72; GLM 5.3 Flash Max graded 68/72, bounded at 22.51 ± 2.78*). The earlier 24-Shape Survey allowed 1 try and scored invalid replies 0.00.
  • Private holdouts. Holdout coordinates stay off public repositories to prevent training contamination. Test locally on the 20 bundled gen-* shapes or open a GitHub issue to submit a model configuration.
Methodology and verification checks

Weight stability, coordinate-only tests, and independent checks

Independent checks test scoring-weight sensitivity, coordinate-only prompts and Genie 3 backbones, SimpleFold 3B agreement, Protein Data Bank structural similarity, and replication across the 48 added holdout shapes.

Rankings hold across 10,000 weight changes (median ρ = 0.9912)

In the 24-Shape Survey, across 10,000 weight combinations within ±15 points of the 40 / 25 / 35 defaults, the 14-model ranking stays stable (median Spearman ρ = 0.9912, minimum 0.9824).

Exact 12-pair sign-flip p-values (4,096 flips) and leave-one-pair-out intervals for all 14 survey settings are available in the interactive weight explorer below.

Interactive weight sliders, 12-pair leave-one-out intervals, and head-to-head sign-flip table Expand interactive explorer

Move the three sliders to re-score all 14 LLM settings live and compare against leave-one-pair-out ranges and approximate 95% pair intervals.

Presets
40.0%
0Canonical 40%100
25.0%
0Canonical 25%100
35.0%
0Canonical 35%100
Weights set 40.0% / 25.0% / 35.0%
Single-fit GDT-HA Cα lDDT Contact F1
Effective share of 14-LLM score variance -- / -- / --
Computed as w_k × Cov(X_k, S) / Var(S) across the 14 LLM means
Rank match to canonical (14 LLMs)
1.0000
Spearman ρ versus 40 / 25 / 35
Gap across top 3 (#1 to #3)
--
Top 3 overlap inside paired 95% intervals
Nearby weight changes (10,000)
--
Median ρ within ±15 points of default
All weight combinations (10,000)
--
Random draws across all three checks
Re-weighted score Canonical mean Deletion range (drop 1 pair) Approx. 95% pair range (t, df=11) Shuffle and 1D H/E/C floors
Rank (Δ) Model or control Re-weighted fit Canonical mean Paired 95% t range 12-pair deletion range Top-3 share
All 24-shape head-to-head top-tier comparisons (12 twin pairs, exact 4,096 sign flips) Show or hide table

For each model pair, we average their score difference within each of the 12 twin pairs so both models are compared on the exact same shapes. The two-sided p-value tests all 4,096 ways to flip the sign of those 12 pair differences.

Model A Model B Score gap (A minus B) Paired 95% t range (df=11) Exact sign-flip p Drop-1-pair gap range Status

Target fit quadrants Target geometry fit (spacefill-v4) versus single-chain predictor confidence Single-chain confidence (pLDDT and pTM, 0 score pts) High Mid Low 0 25 50 75 (2.0 Å zone) 100 Target geometry fit (spacefill-v4, 0 to 100) Confident wrong fold • Sol High rod 48-01-b (4.2) • Wrong-fold decoy A (9.8) • Wrong-fold decoy B (21.8) High pLDDT, low fit Unfolded or unphased • Local H/E/C rule (17.1) • Composition shuffle (8.9) Low pLDDT, low fit Coarse fold, loose packing • Carbon High Stage 1 mean (57.0) • Neon High mean (53.4) 45 to 60 fit · ~2.1 Å, ~43% F1 Sub-2 Å target match • RFD4 bank mean (94.1) • Neon 48-01-b (93.3, 0.60 Å) High confidence and <= 2.0 Å in both predictors
Predictor self-confidence (pLDDT and pTM) earns zero points so confident wrong shapes cannot score high.

How adding side-chain directions changes each model's score

Six frontier models ran 36 coordinate-only (Pure-Cα) prompts paired against matching 6-column prompts with outward side-chain directions (one member from each of 4 Stage 1 and 2 Stage 2 twin pairs), plus 24 coordinate-only runs on 2 helical Genie 3 twin pairs.

Side-chain vector comparison and fresh Genie 3 pure-Cα pairs 60 matched evaluations across 6 frontier models comparing orientation vectors (dx, dy, dz) and pure-Cα backbones Stage 1 Vectors minus Pure-Cα point gain (4 pairs) Positive = side-chain vectors (dx, dy, dz) improve fit -20 -10 0 +10 +20 Gemini 4 Carbon High +20.08 Gemini 4 Neon High +19.05 GPT-6.2 Astra High +4.37 All 6 models (mean) +1.51 GPT-6.2 Sol High -15.13 Fresh Genie 3 pure-Cα helical twin pairs (v4.3) 80 aa (G3-P01) 112 aa (G3-P02) 0 25 50 75 100 Cα-ProteinMPNN 93.06 91.08 Gemini 4 Carbon High 69.37 51.60 Gemini 4 Neon High 59.03 54.80 GPT-6.2 Sol High 45.96 30.02 GPT-6.2 Astra High 41.65 22.07 Composition shuffle 9.77 9.35
36 paired prompts comparing 6-column position-and-direction tables against 3-column position-only tables (4 Stage 1 shapes at 48–112 aa and 2 Stage 2 shapes at 176 aa per model), plus 24 position-only runs on 4 fresh Genie 3 shapes. Table shows Stage 1 (4/4 shapes); across the 2 Stage 2 shapes (176 aa), the 6-model mean Consensus Δ is −0.61.
Model Shapes Consensus Δ ESMFold2-Fast Δ Boltz-2 Δ
Gemini 4 Carbon High4/4+20.08+21.64+18.52
Gemini 4 Neon High4/4+19.05+20.24+17.86
GPT-6.2 Astra High4/4+4.37+1.51+7.23
GPT-6.2 Sol High4/4-15.13-8.22-22.03
Claude Opus 5.5 High4/4+5.45+6.08+4.83
GLM 5.3 Flash Max4/4-24.74-24.32-25.16

Independent Genie 3 twin pairs using coordinates only

Genie 3 generates 3D alpha-carbon coordinates directly without creating a native amino-acid sequence. Using coordinates only and zero tools, scores reach up to 69.37 on the 80 aa pair and 54.80 on the 112 aa pair, extending the test beyond RFD4-Proteina.

Model or control Consensus ESMFold2-Fast Boltz-2 SimpleFold 3B
80 aa helical twin pair (G3-P01)
Cα-ProteinMPNN (4 draws)93.0693.6092.5290.60
Gemini 4 Carbon High69.3771.4767.2767.68
Gemini 4 Neon High59.0356.7261.3559.30
GPT-6.2 Sol High45.9648.1643.7650.62
GPT-6.2 Astra High41.6537.3845.9336.17
Claude Opus 5.5 High19.0318.4019.6718.47
GLM 5.3 Flash Max0.000.000.000.00
Composition shuffle9.7710.149.409.29
Local secondary-structure rule15.4315.3515.5023.66
112 aa helical twin pair (G3-P02)
Cα-ProteinMPNN (4 draws)91.0890.4091.7689.07
Gemini 4 Neon High54.8045.9963.6158.35
Gemini 4 Carbon High51.6053.7649.4453.43
GPT-6.2 Sol High30.0228.6531.4024.59
GPT-6.2 Astra High22.0722.1522.0019.48
GLM 5.3 Flash Max8.8710.047.7010.32
Claude Opus 5.5 High6.386.536.245.38
Composition shuffle9.359.159.557.87
Local secondary-structure rule12.8513.5412.1617.84

Agreement with an independent third folding model (Apple SimpleFold 3B)

An independent third folding model from a different architecture family (Apple SimpleFold 3B) preserves the 14-LLM ranking across all 442 folded benchmark combinations (rank correlation ρ = 0.987 with ESMFold2-Fast and 0.969 with Boltz-2) and across 128 prompt-variation and generator-check folds.

Third-predictor check Apple SimpleFold 3B agreement with primary predictors (24-Shape Survey) 442 survey + 128 variation folds · tau = 0.01 · 500 steps · seed 0 versus Boltz-2 versus ESMFold2-Fast 24-Shape Survey Matrix (442 folded cells · 12 pairs) Composite Fit Pearson r and Spearman ρ across 14 LLMs + 5 baselines 0.0 0.25 0.50 0.75 1.0 All 24 shapes 442 cells r=0.914 · ρ=0.906 r=0.921 · ρ=0.919 Stage 1 (48–112) 334 cells r=0.905 · ρ=0.896 r=0.907 · ρ=0.905 Stage 2 (176 aa) 108 cells r=0.935 · ρ=0.918 r=0.961 · ρ=0.932 Prompt-Variation & Genie 3 Checks (128 folded cells) Composite Fit Pearson r and Spearman ρ across Vectors, Pure-Cα & Genie 3 0.0 0.25 0.50 0.75 1.0 Stage 1 Vec/Cα 70 cells r=0.946 · ρ=0.929 r=0.864 · ρ=0.851 Stage 2 Vec/Cα 32 cells r=0.957 · ρ=0.924 r=0.966 · ρ=0.952 Fresh Genie 3 26 cells r=0.977 · ρ=0.957 r=0.957 · ρ=0.963 14-LLM model-mean rank correlation across all 24 shapes: Spearman ρ = 0.987 vs. ESMFold2-Fast · ρ = 0.969 vs. Boltz-2
Agreement between Apple SimpleFold 3B and the two primary predictors across all 456 benchmark combinations (442 folded) and 128 prompt-variation folds.
Cohort Cells Pairs ESMFold2-Fast r / ρ Boltz-2 r / ρ
All 24 shapes (456-slot matrix)442120.921 / 0.9190.914 / 0.906
Stage 1 v4.2 (342-slot matrix)33490.907 / 0.9050.905 / 0.896
Stage 2 v4.3 (114-slot matrix)10830.961 / 0.9320.935 / 0.918
Stage 1 v4.2 (Pure-Cα + Vectors)7040.864 / 0.8510.946 / 0.929
Stage 2 v4.3 (176 aa Pure-Cα + Vectors)3220.966 / 0.9520.957 / 0.924
Fresh Genie 3 v4.3 (80 and 112 aa Pure-Cα)2620.957 / 0.9630.977 / 0.957

Structural similarity screen across 324,204 known protein chains

We screened holdout targets against the January 2025 PDB100 Protein Data Bank snapshot (324,204 known chains) using Foldseek prefiltering and exact US-align 3D matching (TM-score, where 1.0 is identical) to count targets that match known protein structures.

324,204 chains
January 2025 Protein Data Bank (PDB100) chains searched with Foldseek and exact US-align.
0 / 18 matches
None of the 18 holdout shapes at 176 residues (6 Stage 2 + 12 Added 48) matched a PDB100 chain at bidirectional TM ≥ 0.85.
1 / 18 scored
1 of 18 Stage 1 shapes (48–112 aa) matched a PDB100 chain at bidirectional TM ≥ 0.85 (one helical bundle; 3 / 144 across the 48–112 aa candidate pool).

Rankings replicate across the 48 added holdout shapes

Across the 8 fully graded language models, mean Composite Fit changes by -4.82 to +1.06 points between the Original 24 shapes and the Added 48 holdout shapes. Foldseek and US-align screening against 324,204 PDB100 chains found 0/18 structural matches at TM ≥ 0.85 across all 18 176-residue targets.

Out-of-sample replication: Original 24 vs. Added 48 holdout shapes Mean Composite Fit (0–100) across Original 24 and Added 48 shapes (GLM 5.3 [68/72] & Shuffle in table) Original 24 Added 48 020406080100 Vanilla ProteinMPNN91.893.0Cα-ProteinMPNN91.692.8RFD4-Proteina91.091.2Gemini 4 Hydrogen XHigh51.749.9GPT-6.2 Astra XHigh42.143.2Gemini 4 Hydrogen High42.140.7GPT-6.2 Sol XHigh41.639.2GPT-6.2 Astra High41.236.7GPT-6.1 Terra XHigh34.430.0DeepSeek V4.1 Flash Max21.418.2Claude Sonnet 5.5 XHigh21.316.51D H/E/C Rule15.316.0
Model or baseline Original 24 Added 48 All 72 Added − Orig ≤ 2.0 Å Tokens / Shape
Gemini 4 Hydrogen XHigh51.6649.9150.49-1.7611/72188k
GPT-6.2 Astra XHigh42.1243.1842.82+1.066/7214.0k
Gemini 4 Hydrogen High42.0940.6841.15-1.424/7276.8k
GPT-6.2 Sol XHigh41.6339.2140.02-2.423/7218.0k
GPT-6.2 Astra High41.1736.6838.17-4.493/725.1k
GPT-6.1 Terra XHigh34.4430.0431.51-4.412/7216.8k
GLM 5.3 Flash Max23.5921.97 ± 4.17*22.51 ± 2.78*—2/6856.0k
DeepSeek V4.1 Flash Max21.4018.2419.29-3.160/7264.9k
Claude Sonnet 5.5 XHigh21.3516.5318.13-4.821/722.0k
Vanilla ProteinMPNN91.8193.0392.63+1.2268/72—
Cα-ProteinMPNN91.5792.8192.39+1.2470/72—
RFD4-Proteina91.0091.2391.16+0.2365/72—
1D H/E/C Rule15.2615.9715.73+0.720/72—
Composition Shuffle8.238.598.47+0.360/72—

* GLM 5.3 Flash Max graded 68/72 shapes (observed mean 20.89; [0, 100] missing-shape bounds 19.73–25.28 across All 72, shown as midpoint ± half-width 22.51 ± 2.78*; Added 48 bounds 17.80–26.13, shown as 21.97 ± 4.17*).

Prompt templates and reply validator

Inspect verbatim prompts and validate any sequence locally

Stage 1 (18 shapes) used prompt v4.2; Stage 2 and the 48 added holdout shapes use v4.3. Switch tabs to inspect the exact prompt for public starter shape gen-l48-02-b, or paste any model reply into the browser validator to check sequence extraction.

v4.3 prompt for Stage 2 and Added 48 (54 shapes; Stage 1 used v4.2): numbered (x, y, z) alpha-carbon positions plus outward (dx, dy, dz) side-chain directions.

      

Live exact-length sequence validator (length-aware-v2)

Valid · Extracted
Residue count
--
Required exact match
Amino-acid diversity
--
Normalized entropy (24-shape survey LLM mean: 0.781)
Effective alphabet
--
Benchmark mean: 10.66 aa
Longest repeat run
--
Benchmark mean: 1.81 (Stage 2: 2.08)
Water-avoiding (hydrophobic)
--
A, V, I, L, M, F, W, P
Polar and charged
--
D, E, K, R, H, N, Q, S, T, Y (excludes G, C)
Strand-biased I/V/T (chain)
--
Strand-only benchmark mean: 47.6%
Parser rule
length-aware-v2
Last exact-length token or fenced block
Run locally with the command-line tool
git clone https://github.com/jvogan/trace2fold.git && cd trace2fold
pip install -e .
python examples/quickstart_demo.py
trace2fold prompt gen-l48-02-b --condition vectors --prompt-version v4.3
trace2fold grade-v4 --submissions runs/my_trials --folds runs/my_folds --twin-map examples/starter_pilot_pairs.json --out summary.json
Protocol, tools, and attribution

Evaluation protocol, benchmark tools, and BibTeX

The public trace2fold repository ships under the MIT License with 20 public gen-* starter shapes, 4 Protein Data Bank calibration structures, coordinate-free score archives in benchmarks/, and offline verification checks. See CONTRIBUTING.md to run locally or submit a configuration.

Tool or model Category Role in Trace2Fold Citation and upstream source
ESMFold2-FastStructure predictorPrimary language-model folding predictor (seeds 0–4, sequence only, no alignments)Biohub ESMFold2-Fast · Lin et al., Science 2023
Boltz-2Structure predictorPrimary diffusion folding predictor (seeds 0–4, sequence only, no alignments or templates)jwohlwend/boltz · Passaro et al., 2025 (MIT)
Apple SimpleFold 3BStructure predictorIndependent third folding model from a different architecture family (seed 0, sequence only)apple/ml-simplefold · Wang et al., 2025
Cα-ProteinMPNN / Vanilla ProteinMPNNSpecialist referenceCα-only and 4-atom inverse-folding specialist tools (best internal likelihood of 4 draws)dauparas/ProteinMPNN · Dauparas et al., Science 2022
RFD4-Proteina / RFdiffusionBackbone generatorHoldout and starter backbone generator plus co-generated specialist sequence referenceRFD4-Proteina · Geffner et al., 2025; Watson et al., 2023
Genie 3Backbone generatorIndependent backbone generator outputting Cα coordinates with no native sequenceaqlaboratory/genie3 · Lin et al., 2024
FoldseekStructural searchFast prefilter across 324,204 known Protein Data Bank (PDB100) chainssteineggerlab/foldseek · van Kempen et al., Nat. Biotechnol. 2024
US-alignStructural searchExact rigid Cα 3D alignment (TM-score) for clustering and PDB100 screeningpylelab/USalign · Zhang et al., Nat. Methods 2022
BiotiteStructure libraryAssigns helix, strand, and coil (H/E/C) labels from Cα coordinates for twin pairingbiotite-dev/biotite · Kunzmann et al., BMC Bioinf. 2023
wwPDB / PDB100Structure archiveExperimental calibration structures (1L2Y, 1TRZ, 1QY3, 1I3V) and novelty databasercsb.org · Berman et al., Nucleic Acids Res. 2000

Cite Trace2Fold (MIT License)

@software{vogan2026trace2fold,
  author       = {Vogan, Jacob},
  title        = {Trace2Fold: Zero-Tool 3D Inverse Folding Benchmark},
  year         = {2026},
  version      = {0.5.0},
  license      = {MIT},
  url          = {https://github.com/jvogan/trace2fold}
}
Quick jump to any section, model, or target
Jump to any section, model, or target
Use arrow keys to select, Enter to open, Esc to close.