The Protein Design Method Matters Less Than Its Search Space

André BarbosaMSc student, Instituto Superior Técnicoandre.barbosa@loka.com
Patrícia RochaSenior Machine Learning Engineerpatricia@loka.com
Telmo FelgueiraMachine Learning Engineering Managertelmo@loka.com
Mário FigueiredoFull Professor, Instituto Superior Técnicomario.figueiredo@tecnico.ulisboa.pt
A cobalt-blue and teal fitness landscape on ivory, with a golden search path climbing toward a folded protein ribbon on the right-hand summit.

A protein design search works in rounds: propose new sequences, score them, and use the scores to propose the next batch.

Protein fitness optimization papers are hard to read against each other, because every paper runs that loop differently. Each one picks its own task, its own oracle, its own query budget, its own terminal statistic. One paper reports the best sequence it ever saw; another reports the median of a final batch. One lets the ground-truth scoring model answer every query during the search; another trains a predictor on a restricted dataset and calls the ground truth once, at the end. All four call the result “fitness,” but the numbers are not comparable.

Which of these would we actually run on a design campaign? The literature has no answer. Getting one took a master’s thesis: we re-ran nine published methods and added three of our own, instead of citing published numbers.

No single method won outright. What the study produced instead is a ranking that moves depending on two things most papers leave implicit: the space a method searches, and the model that closes its loop. We start with the space.

The setup#

Four fixed-length tasks from the benchmark released with GGS: GFP, a fluorescent protein (237 residues), and a 28-residue window of the AAV capsid, the virus’s protein shell, each at medium and hard difficulty. One shared ground-truth CNN oracle, used unchanged.

Every method gets the same budget within a regime: five seeds, fifteen rounds, 15 × 256 = 3,840 guidance queries per seed. The antibody experiment at the end runs on a longer schedule of its own. Fitness is the median ground-truth score over a frozen top-128 selection; Top is the mean of the best 16.

The design decision that mattered most was running everything twice, under two feedback regimes that we report separately and never average:

  • Oracle-guided. The ground-truth oracle answers every query during the search.
  • Surrogate-guided. A predictor trained only on the restricted starting set guides the search, and the ground truth scores the frozen terminal selection once. This is closer to a real campaign, where the thing you optimize is a model and the truth is an assay you cannot call 3,840 times.

The benchmark calls that reference model the oracle, but its scores are themselves predictions, not lab measurements, so every comparison below shares that ceiling.

The two regimes measure different things, so they never share a column. The gap between them turned out to be one of the most informative quantities in the study.

The roster covered:

  • Sequence-space: Bayesian optimization, CMA-ES, PEX, and AdaLead
  • Latent-space: Latent CMA-ES, LatProtRL
  • Mutation planning: µSearch
  • Preference tuning: ZymCTRL and ProtGPT2
  • Three decoding paths of our own, driven by PPO over a continuous latent action space: AR, CE and LevT

Everything ran on a single AWS g5.4xlarge (A10G, 24 GB).

CMA-ES is an off-the-shelf optimizer. We ran it twice on the same task, with the same budget and the same scoring model, changing only what it was allowed to search: a one-hot sequence encoding, or a learned latent space.

Median fitness goes from -0.105 with one-hot to 0.681 with the latent space, on a task where the strongest runs in the study reach about 0.9.

The mechanism is not mysterious. Gaussian sampling over one-hot encodings does not respect the categorical structure of amino acids, and projecting back to a sequence destroys the distribution the search intended. Changing the representation turns a non-competitive optimizer into a competitive one.

That spread is wider than any comparison we ran between two optimizers inside the same space. So when a paper credits a gain to its algorithm, check which representation the algorithm ran in. Part of the delta may belong to the encoder.

That is the search space. A single fitness number has its own blind spot too, even once the representation is fixed.

Same score, different designs#

We tracked three distance diagnostics alongside fitness: diversity (mean pairwise distance within the selection), novelty (mean distance to the nearest sequence in the initial set), and High (mean distance to the nearest experimentally observed high-fitness variant). Lower High is better, because it means the designs sit near something measured.

Novelty on its own is not a good sign. High novelty combined with a high High means the method walked into territory where no measured function supports it.

Figure 04

Explore beyond the starting pool. Check the distance to measured variants.

Novelty and proximity to measured high-fitness variants describe different aspects of a design.

Distance to a measured high-fitness variant mutations · lower is better

Novelty · mutations from the initial pool

Oracle-guidedSurrogate-guidedEqual distances

Hover, tap, or focus a point for its method and exact values. Use arrow keys to move between points.

60 supplied results. Surrogate results are available for CE, AR, and LevT only.

View the novelty and distance values
Supplied novelty / High results. Both axes use mutation counts.
MethodTaskFeedbackNoveltyHigh
CMA-ESGFP-mediumoracle170.3171.1
CMA-ESGFP-hardoracle221.2221.5
CMA-ESAAV-mediumoracle17.818.8
CMA-ESAAV-hardoracle19.619.8
Bayesian optimizationGFP-mediumoracle32.434.9
Bayesian optimizationGFP-hardoracle73.979.2
Bayesian optimizationAAV-mediumoracle9.88.4
Bayesian optimizationAAV-hardoracle10.28.8
PEXGFP-mediumoracle6.38.2
PEXGFP-hardoracle8.810.4
PEXAAV-mediumoracle5.35
PEXAAV-hardoracle6.26.4
AdaLeadGFP-mediumoracle9.410.6
AdaLeadGFP-hardoracle15.219.4
AdaLeadAAV-mediumoracle7.86.2
AdaLeadAAV-hardoracle7.85.4
Latent CMA-ESGFP-mediumoracle7.84
Latent CMA-ESGFP-hardoracle8.23.4
Latent CMA-ESAAV-mediumoracle7.45.7
Latent CMA-ESAAV-hardoracle9.26
LatProtRLGFP-mediumoracle5.81.2
LatProtRLGFP-hardoracle7.42
LatProtRLAAV-mediumoracle62.5
LatProtRLAAV-hardoracle72.2
µSearchGFP-mediumoracle30.231.6
µSearchGFP-hardoracle58.462
µSearchAAV-mediumoracle11.29.8
µSearchAAV-hardoracle10.48.2
DPO (ZymCTRL)GFP-mediumoracle10.615.6
DPO (ZymCTRL)GFP-hardoracle11.216.8
DPO (ZymCTRL)AAV-mediumoracle8.67.6
DPO (ZymCTRL)AAV-hardoracle12.411.2
DPO (ProtGPT2)GFP-mediumoracle1116
DPO (ProtGPT2)GFP-hardoracle11.417
DPO (ProtGPT2)AAV-mediumoracle12.512.2
DPO (ProtGPT2)AAV-hardoracle13.612.8
Fixed-length (CE)GFP-mediumoracle19.216.4
Fixed-length (CE)GFP-hardoracle127
Fixed-length (CE)AAV-mediumoracle5.26.1
Fixed-length (CE)AAV-hardoracle6.67.4
Autoregressive (AR)GFP-mediumoracle5.21
Autoregressive (AR)GFP-hardoracle72
Autoregressive (AR)AAV-mediumoracle6.65.2
Autoregressive (AR)AAV-hardoracle73.2
Edit-based (LevT)GFP-mediumoracle28.833.9
Edit-based (LevT)GFP-hardoracle22.428.2
Edit-based (LevT)AAV-mediumoracle5.36.9
Edit-based (LevT)AAV-hardoracle7.69
Fixed-length (CE)GFP-mediumsurrogate15.612.3
Fixed-length (CE)GFP-hardsurrogate127
Fixed-length (CE)AAV-mediumsurrogate3.85.8
Fixed-length (CE)AAV-hardsurrogate4.76.8
Autoregressive (AR)GFP-mediumsurrogate51
Autoregressive (AR)GFP-hardsurrogate61
Autoregressive (AR)AAV-mediumsurrogate52.2
Autoregressive (AR)AAV-hardsurrogate62
Edit-based (LevT)GFP-mediumsurrogate28
Edit-based (LevT)GFP-hardsurrogate28.5
Edit-based (LevT)AAV-mediumsurrogate2.76
Edit-based (LevT)AAV-hardsurrogate5.68
Figure 4. Supplied method/task/regime results. Both axes are linear through 10 mutations and logarithmic above 10. Below the dashed equality line, designs are closer to a measured high-fitness variant than to their initial pool.

Most of the field sits on or near the identity line, which is the uninformative case: those methods buy distance from the starting pool and distance from anything measured in equal amounts.

The runs off that line are the interesting ones, and they separate methods whose fitness scores barely differ. Oracle-guided Bayesian optimization reaches novelty 32.4 on GFP-medium against High of 34.9, with fitness stuck at 0.299. It explores where its own surrogate is most uncertain, which is also where nothing is known. LatProtRL travels less far, novelty 5.8 to 7.4, but holds the lowest High in the field at 1.2 to 2.5: less adventurous, far better anchored to observed function.

Median and Top split a second way. Oracle-guided latent CMA-ES hits Top of 0.922 on GFP-medium with a median of only 0.473. It finds isolated peaks inside an otherwise mediocre batch. If you are ordering 128 sequences for a plate, that is a different product from a method whose whole batch is good, and the fitness column alone will not tell you which one you bought.

Figure 03

A high peak can hide a mediocre batch.

Compare the best 16 sequences with the median of the frozen top 128.

Top · mean of best 16Fitness · median of top 128

GFP-medium

Reference fitness · oracle-guided

GFP-hard

Reference fitness · oracle-guided

AAV-medium

Reference fitness · oracle-guided

AAV-hard

Reference fitness · oracle-guided

Hover, tap, or focus a method to inspect the gap between its best sequences and its batch median.

View all 48 method/task comparisons
Oracle-guided fitness. Same method order and fixed −0.25 to 1.05 scale across tasks.
MethodTaskTopMedianGap
Fixed-length (CE)GFP-medium0.7280.5030.225
Fixed-length (CE)GFP-hard0.8420.7820.06
Fixed-length (CE)AAV-medium0.5850.5340.051
Fixed-length (CE)AAV-hard0.570.5250.045
Autoregressive (AR)GFP-medium0.9630.9250.038
Autoregressive (AR)GFP-hard0.9670.9140.053
Autoregressive (AR)AAV-medium0.7250.6850.04
Autoregressive (AR)AAV-hard0.7060.6830.023
Edit-based (LevT)GFP-medium0.4650.4270.038
Edit-based (LevT)GFP-hard0.3180.2780.04
Edit-based (LevT)AAV-medium0.6050.5550.05
Edit-based (LevT)AAV-hard0.5860.5310.055
CMA-ESGFP-medium0.087-0.0430.13
CMA-ESGFP-hard0.064-0.0410.105
CMA-ESAAV-medium0.1520.040.112
CMA-ESAAV-hard0.1290.0360.093
Bayesian optimizationGFP-medium0.3930.2990.094
Bayesian optimizationGFP-hard0.3490.2920.057
Bayesian optimizationAAV-medium0.6680.6230.045
Bayesian optimizationAAV-hard0.6760.6220.054
PEXGFP-medium0.780.6380.142
PEXGFP-hard0.6030.480.123
PEXAAV-medium0.7050.6420.063
PEXAAV-hard0.7020.6330.069
AdaLeadGFP-medium0.9740.9220.052
AdaLeadGFP-hard0.7530.7180.035
AdaLeadAAV-medium0.7630.7330.03
AdaLeadAAV-hard0.7190.6860.033
Latent CMA-ESGFP-medium0.9220.4730.449
Latent CMA-ESGFP-hard0.9120.50.412
Latent CMA-ESAAV-medium0.750.6280.122
Latent CMA-ESAAV-hard0.6830.5120.171
LatProtRLGFP-medium0.9890.9210.068
LatProtRLGFP-hard0.9290.8230.106
LatProtRLAAV-medium0.7530.670.083
LatProtRLAAV-hard0.7180.6440.074
µSearchGFP-medium0.8090.6990.11
µSearchGFP-hard0.7660.7150.051
µSearchAAV-medium0.7410.6170.124
µSearchAAV-hard0.7270.6040.123
DPO (ZymCTRL)GFP-medium0.8140.780.034
DPO (ZymCTRL)GFP-hard0.5030.4290.074
DPO (ZymCTRL)AAV-medium0.7320.6990.033
DPO (ZymCTRL)AAV-hard0.6440.6210.023
DPO (ProtGPT2)GFP-medium0.670.520.15
DPO (ProtGPT2)GFP-hard0.3650.2340.131
DPO (ProtGPT2)AAV-medium0.4420.3380.104
DPO (ProtGPT2)AAV-hard0.4470.3450.102
Figure 3. Oracle-guided Top and median fitness under the matched 15 × 256 query budget. Methods keep the GFP-medium Top ranking across all tasks; bar scales stay fixed and retain negative medians.

Every comparison so far assumed an honest grader: the ground-truth oracle, answering every query. The second axis from the setup is what happens when the grader is an approximation instead, and that turns out to move the ranking more than anything else in this study.

The leaderboard depends on which model closed the loop#

For each method and task we computed the empirical regime gap: the oracle-guided result minus the surrogate-guided result, same method, same budget.

Figure 01

Same search. Different feedback. Different outcome.

Track the three in-house decoding paths under both feedback regimes.

GFP-medium

oracle-guided

Reference fitness

Optimization round

Fixed-length (CE)0.503 ± 0.12
Autoregressive (AR)0.925 ± 0.02
Edit-based (LevT)0.427 ± 0.02

Round 15: supplied thesis endpoint.

View values for GFP-medium · oracle-guided
GFP-medium · oracle-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.1096 ± 0.00260.1109 ± 0.00760.1215 ± 0.0042Seed aggregate
20.1236 ± 0.00220.5407 ± 0.0920.1648 ± 0.0051Seed aggregate
30.134 ± 0.0030.8092 ± 0.020.1967 ± 0.0069Seed aggregate
40.143 ± 0.00530.8665 ± 0.01570.2309 ± 0.0132Seed aggregate
50.1581 ± 0.0130.8819 ± 0.01010.2581 ± 0.0199Seed aggregate
60.191 ± 0.03810.8933 ± 0.00750.2805 ± 0.0228Seed aggregate
70.2285 ± 0.07250.9005 ± 0.00450.3022 ± 0.0244Seed aggregate
80.2697 ± 0.10310.9069 ± 0.0020.3216 ± 0.0258Seed aggregate
90.3075 ± 0.12420.9105 ± 0.00180.3407 ± 0.0263Seed aggregate
100.3448 ± 0.15020.915 ± 0.00290.3597 ± 0.0279Seed aggregate
110.3855 ± 0.15370.9179 ± 0.00350.3743 ± 0.0258Seed aggregate
120.4126 ± 0.14930.9204 ± 0.00230.3872 ± 0.0265Seed aggregate
130.4466 ± 0.13650.9219 ± 0.00220.3999 ± 0.0246Seed aggregate
140.4703 ± 0.12560.9239 ± 0.00270.4142 ± 0.0228Seed aggregate
150.503 ± 0.120.925 ± 0.020.427 ± 0.02Thesis endpoint

GFP-medium

surrogate-guided

Reference fitness

Optimization round

Fixed-length (CE)0.526 ± 0.12
Autoregressive (AR)0.868 ± 0.01
Edit-based (LevT)0.1 ± 0.01

Round 15: supplied thesis endpoint.

View values for GFP-medium · surrogate-guided
GFP-medium · surrogate-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.0707 ± 0.00240.1017 ± 0.00510.0882 ± 0.0034Seed aggregate
20.0744 ± 0.00350.3696 ± 0.07890.0899 ± 0.0043Seed aggregate
30.077 ± 0.00470.7404 ± 0.03580.092 ± 0.0038Seed aggregate
40.0888 ± 0.00910.8116 ± 0.01710.0934 ± 0.004Seed aggregate
50.1073 ± 0.02340.8364 ± 0.01840.096 ± 0.0032Seed aggregate
60.1552 ± 0.07140.8405 ± 0.0190.0968 ± 0.0034Seed aggregate
70.2303 ± 0.10390.8563 ± 0.01890.0975 ± 0.0032Seed aggregate
80.289 ± 0.12360.8585 ± 0.01280.0995 ± 0.0045Seed aggregate
90.3217 ± 0.11850.861 ± 0.01010.1018 ± 0.0064Seed aggregate
100.3664 ± 0.13170.8623 ± 0.01210.1009 ± 0.0052Seed aggregate
110.4019 ± 0.13450.862 ± 0.0160.1 ± 0.0025Seed aggregate
120.4366 ± 0.14850.8682 ± 0.01190.1003 ± 0.0024Seed aggregate
130.4686 ± 0.14440.8684 ± 0.00940.0994 ± 0.0035Seed aggregate
140.4949 ± 0.14450.8708 ± 0.00690.0991 ± 0.0044Seed aggregate
150.526 ± 0.120.868 ± 0.010.1 ± 0.01Thesis endpoint

GFP-hard

oracle-guided

Reference fitness

Optimization round

Fixed-length (CE)0.782 ± 0.01
Autoregressive (AR)0.914 ± 0.01
Edit-based (LevT)0.278 ± 0.01

Round 15: supplied thesis endpoint.

View values for GFP-hard · oracle-guided
GFP-hard · oracle-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.6863 ± 0.01660.6979 ± 0.0425-0.0079 ± 0.0035Seed aggregate
20.6057 ± 0.01830.6983 ± 0.03990.0185 ± 0.0058Seed aggregate
30.691 ± 0.00350.7693 ± 0.03420.0409 ± 0.0058Seed aggregate
40.7186 ± 0.00530.825 ± 0.00860.0603 ± 0.0069Seed aggregate
50.7316 ± 0.00640.8465 ± 0.00850.0838 ± 0.0116Seed aggregate
60.7413 ± 0.00480.8702 ± 0.00370.1044 ± 0.0111Seed aggregate
70.7513 ± 0.00590.8849 ± 0.00510.1258 ± 0.015Seed aggregate
80.7571 ± 0.00520.8935 ± 0.00340.1469 ± 0.019Seed aggregate
90.763 ± 0.00310.9005 ± 0.0020.1702 ± 0.0198Seed aggregate
100.7678 ± 0.00480.9069 ± 0.00140.1892 ± 0.0218Seed aggregate
110.7702 ± 0.00550.9084 ± 0.00110.2076 ± 0.0182Seed aggregate
120.7742 ± 0.00720.91 ± 0.00170.2268 ± 0.0178Seed aggregate
130.7785 ± 0.00580.9115 ± 0.00160.2459 ± 0.0154Seed aggregate
140.7804 ± 0.00550.9131 ± 0.00220.2604 ± 0.0154Seed aggregate
150.782 ± 0.010.914 ± 0.010.278 ± 0.01Thesis endpoint

GFP-hard

surrogate-guided

Reference fitness

Optimization round

Fixed-length (CE)0.69 ± 0.02
Autoregressive (AR)0.771 ± 0.02
Edit-based (LevT)0 ± 0

Round 15: supplied thesis endpoint.

View values for GFP-hard · surrogate-guided
GFP-hard · surrogate-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.6863 ± 0.01660.6979 ± 0.04250 ± 0Seed aggregate
20.5991 ± 0.01390.7009 ± 0.04610 ± 0Seed aggregate
30.6441 ± 0.02710.6726 ± 0.0350 ± 0Seed aggregate
40.6591 ± 0.0220.7245 ± 0.03510 ± 0Seed aggregate
50.6551 ± 0.0170.7186 ± 0.05020 ± 0Seed aggregate
60.6564 ± 0.01630.701 ± 0.04640 ± 0Seed aggregate
70.6648 ± 0.01810.7144 ± 0.06030 ± 0Seed aggregate
80.6633 ± 0.01690.7235 ± 0.0490 ± 0Seed aggregate
90.6699 ± 0.0240.7263 ± 0.04490 ± 0Seed aggregate
100.6743 ± 0.02660.7311 ± 0.04480 ± 0Seed aggregate
110.6784 ± 0.02350.7495 ± 0.0320.0003 ± 0.0006Seed aggregate
120.6855 ± 0.02790.7556 ± 0.00920 ± 0Seed aggregate
130.6855 ± 0.0290.7643 ± 0.01680 ± 0Seed aggregate
140.6926 ± 0.02380.7696 ± 0.01780 ± 0Seed aggregate
150.69 ± 0.020.771 ± 0.020 ± 0Thesis endpoint

AAV-medium

oracle-guided

Reference fitness

Optimization round

Fixed-length (CE)0.534 ± 0.01
Autoregressive (AR)0.685 ± 0.01
Edit-based (LevT)0.555 ± 0.02

Round 15: supplied thesis endpoint.

View values for AAV-medium · oracle-guided
AAV-medium · oracle-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.2181 ± 0.01040.3885 ± 0.00720.2786 ± 0.008Seed aggregate
20.3253 ± 0.00770.4918 ± 0.01160.3333 ± 0.0139Seed aggregate
30.3796 ± 0.00890.5377 ± 0.00630.3772 ± 0.0146Seed aggregate
40.403 ± 0.01030.5697 ± 0.00630.4165 ± 0.0186Seed aggregate
50.422 ± 0.00920.5966 ± 0.0120.4434 ± 0.0186Seed aggregate
60.4354 ± 0.00780.6169 ± 0.01460.4646 ± 0.0141Seed aggregate
70.4457 ± 0.00980.6326 ± 0.01230.4785 ± 0.0119Seed aggregate
80.4568 ± 0.00970.6466 ± 0.00940.4944 ± 0.0128Seed aggregate
90.4694 ± 0.00890.6551 ± 0.00850.5036 ± 0.0129Seed aggregate
100.4817 ± 0.00750.6613 ± 0.00690.5125 ± 0.0134Seed aggregate
110.492 ± 0.00860.6673 ± 0.00690.5224 ± 0.0137Seed aggregate
120.5032 ± 0.01020.6731 ± 0.00610.5307 ± 0.0154Seed aggregate
130.5142 ± 0.01170.6773 ± 0.00710.5402 ± 0.0171Seed aggregate
140.5241 ± 0.01380.6815 ± 0.00850.5476 ± 0.015Seed aggregate
150.534 ± 0.010.685 ± 0.010.555 ± 0.02Thesis endpoint

AAV-medium

surrogate-guided

Reference fitness

Optimization round

Fixed-length (CE)0.483 ± 0.02
Autoregressive (AR)0.605 ± 0.01
Edit-based (LevT)0.466 ± 0.01

Round 15: supplied thesis endpoint.

View values for AAV-medium · surrogate-guided
AAV-medium · surrogate-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.2181 ± 0.01040.372 ± 0.00450.2749 ± 0.0069Seed aggregate
20.265 ± 0.00910.4181 ± 0.01740.3036 ± 0.008Seed aggregate
30.3347 ± 0.01210.4437 ± 0.01710.3215 ± 0.0085Seed aggregate
40.3619 ± 0.00920.4469 ± 0.03630.3422 ± 0.0094Seed aggregate
50.3797 ± 0.00860.4699 ± 0.04370.3584 ± 0.012Seed aggregate
60.3927 ± 0.00380.5134 ± 0.0430.3778 ± 0.0176Seed aggregate
70.4081 ± 0.00410.5441 ± 0.02080.4041 ± 0.0268Seed aggregate
80.4193 ± 0.00860.5604 ± 0.00780.4097 ± 0.0271Seed aggregate
90.4327 ± 0.01190.5705 ± 0.00520.4215 ± 0.0255Seed aggregate
100.4493 ± 0.01830.5788 ± 0.00420.4278 ± 0.0289Seed aggregate
110.4631 ± 0.0170.5836 ± 0.00260.4388 ± 0.0273Seed aggregate
120.4695 ± 0.01870.5887 ± 0.00230.4516 ± 0.0148Seed aggregate
130.4746 ± 0.01840.5938 ± 0.00140.4581 ± 0.011Seed aggregate
140.479 ± 0.01730.5984 ± 0.00490.4629 ± 0.0122Seed aggregate
150.483 ± 0.020.605 ± 0.010.466 ± 0.01Thesis endpoint

AAV-hard

oracle-guided

Reference fitness

Optimization round

Fixed-length (CE)0.525 ± 0.02
Autoregressive (AR)0.683 ± 0.01
Edit-based (LevT)0.531 ± 0.01

Round 15: supplied thesis endpoint.

View values for AAV-hard · oracle-guided
AAV-hard · oracle-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.2771 ± 0.00430.3173 ± 0.00470.2844 ± 0.0058Seed aggregate
20.3014 ± 0.00590.3679 ± 0.00510.322 ± 0.0076Seed aggregate
30.3255 ± 0.01060.4056 ± 0.00370.3472 ± 0.0063Seed aggregate
40.3487 ± 0.00950.4393 ± 0.00530.3678 ± 0.0103Seed aggregate
50.3689 ± 0.00440.4671 ± 0.01340.3882 ± 0.0086Seed aggregate
60.3861 ± 0.00440.4965 ± 0.02160.4089 ± 0.0098Seed aggregate
70.4027 ± 0.00790.525 ± 0.02090.4256 ± 0.0118Seed aggregate
80.4239 ± 0.01380.5483 ± 0.02330.4419 ± 0.013Seed aggregate
90.441 ± 0.01710.5693 ± 0.02390.4554 ± 0.0134Seed aggregate
100.4612 ± 0.01970.588 ± 0.02080.4681 ± 0.0121Seed aggregate
110.4751 ± 0.02190.6052 ± 0.01370.4829 ± 0.0128Seed aggregate
120.4895 ± 0.02520.6182 ± 0.01050.4938 ± 0.0128Seed aggregate
130.5028 ± 0.02740.6283 ± 0.0080.5058 ± 0.0118Seed aggregate
140.5147 ± 0.02850.6372 ± 0.0060.5183 ± 0.012Seed aggregate
150.525 ± 0.020.683 ± 0.010.531 ± 0.01Thesis endpoint

AAV-hard

surrogate-guided

Reference fitness

Optimization round

Fixed-length (CE)0.388 ± 0.01
Autoregressive (AR)0.581 ± 0.01
Edit-based (LevT)0.371 ± 0.03

Round 15: supplied thesis endpoint.

View values for AAV-hard · surrogate-guided
AAV-hard · surrogate-guided. Mean ± population standard deviation where supplied.
RoundFixed-length (CE)Autoregressive (AR)Edit-based (LevT)Source
10.2771 ± 0.00430.3161 ± 0.00520.2816 ± 0.0055Seed aggregate
20.2926 ± 0.00640.3416 ± 0.00230.2985 ± 0.0063Seed aggregate
30.2961 ± 0.0050.366 ± 0.0040.3042 ± 0.0078Seed aggregate
40.299 ± 0.00390.3947 ± 0.0090.3092 ± 0.0114Seed aggregate
50.3089 ± 0.00920.4137 ± 0.01330.3212 ± 0.0117Seed aggregate
60.3267 ± 0.01320.4375 ± 0.0180.3246 ± 0.017Seed aggregate
70.3424 ± 0.01210.4667 ± 0.0150.3315 ± 0.0239Seed aggregate
80.3536 ± 0.0080.4964 ± 0.01180.3351 ± 0.021Seed aggregate
90.364 ± 0.00650.5262 ± 0.01680.3377 ± 0.021Seed aggregate
100.3679 ± 0.0070.5433 ± 0.01430.3432 ± 0.0234Seed aggregate
110.3726 ± 0.00880.562 ± 0.01130.3494 ± 0.0258Seed aggregate
120.3762 ± 0.00740.5685 ± 0.01250.3512 ± 0.0276Seed aggregate
130.3813 ± 0.00960.5717 ± 0.01150.3588 ± 0.0254Seed aggregate
140.3844 ± 0.00990.5782 ± 0.01090.3661 ± 0.0227Seed aggregate
150.388 ± 0.010.581 ± 0.010.371 ± 0.03Thesis endpoint
Figure 1. CE, AR, and LevT substitution trajectories. Bands show the supplied mean ±1 standard deviation across five seeds. The author’s summary marks round-15 values as thesis endpoints; these are retained separately from seed-derived rounds.

Comparing the two feedback panels for a task shows what swapping the evaluator costs each path. The autoregressive curve barely moves between regimes on GFP-medium, while the edit path drops from a steady climb to a flat line at zero on GFP-hard.

What a method loses between regimes tracks how far it can travel from the predictor’s training data. Latent-space methods lose least. Generative and edit-based paths lose most. On GFP-medium the gap is -0.023 for the fixed-length cross-entropy decoder, 0.057 for the autoregressive path, and 0.327 for the edit-based path.

Some gaps are negative. Latent CMA-ES beats its own oracle-guided result by 0.208 on GFP-medium. Both endpoints are scored by the same ground truth, so the predictor is not grading its own homework here.

The likely reason is that a restricted predictor smooths a rugged objective, steering the search toward broad basins instead of narrow peaks. We did not measure that directly. Either way, the oracle-guided leaderboard cannot be read as a forecast of performance under realistic feedback.

Preference tuning shows the same dependence from another angle. Under oracle guidance, DPO on ZymCTRL reaches 0.780 on GFP-medium and 0.699 on AAV-medium; the same optimization rule on ProtGPT2 reaches 0.520 and 0.338. The rule is shared, and the prior decides which high-reward region is reachable at all.

Everything up to here also assumed the search could only substitute residues, never change how long the sequence is.

Most of these methods cannot insert or delete anything#

The standard benchmarks admit substitutions only, which excludes the operation that matters in much of real design work: loop length, insertion-tolerant capsid windows, anything where the answer is not the same length as the question.

So we built two length-changing paths on top of the framework and tested them where length can actually move. Both are driven by PPO. The autoregressive path adapts the native ProtT5 decoder through low-rank parameters on a shared latent scaffold. The edit-based path uses a Levenshtein Transformer, with four heads choosing keep, replace, delete and gap-indexed insertion operations, and the edit itself compressed into the latent rather than the target sequence.

On an insertion-bearing AAV window (28 to 44 residues, from ProteinGym), the edit path leads under ground-truth guidance by 0.124 fitness on medium and 0.117 on hard, winning on every matched seed. The edit path had been the weaker of the two on fixed-length substitution. Given room to change length, it is the stronger complete system.

Its fixed-length weakness has a specific and fixable cause, which is worth separating from the architecture. An edit step changes at most four residues per round, so fifteen rounds cover a meaningful fraction of a 28-residue AAV window but almost none of a 237-residue protein. Under the restricted GFP predictor the path sits at 0.100 fitness on medium and 0.000 on hard, with novelty near two mutations: too few residues moved for the search signal to register at all.

Each of our three paths hit a different ceiling, and this is the only one addressable without touching the model. The autoregressive path is bounded by the quality of its prior, the fixed-length decoder by what it can express. The same budget spent on more edits per round, instead of more rounds, should reach further. We did not run that configuration, so it is a recommendation, not a result.

Figure 02

When the predictor improves, does the design?

On AAV, compare held-out oracle fitness with the predictor’s own score.

AAV-medium

oracle-guided

Held-out oracle / predictor score

Optimization round

Autoregressive (AR) · oracle0.48 ± 0.02
Edit-based (LevT) · oracle0.603 ± 0.04

Round 15: supplied thesis endpoint.

View values for AAV-medium · oracle-guided
AAV-medium · oracle-guided. Mean ± population standard deviation where supplied.
RoundAutoregressive (AR) · oracleEdit-based (LevT) · oracleSource
10.2548 ± 0.00240.2651 ± 0.0006Seed aggregate
20.2708 ± 0.00220.3088 ± 0.0055Seed aggregate
30.2935 ± 0.0040.3485 ± 0.0054Seed aggregate
40.3145 ± 0.00670.3788 ± 0.0099Seed aggregate
50.3374 ± 0.010.4086 ± 0.0186Seed aggregate
60.3583 ± 0.01260.4363 ± 0.0204Seed aggregate
70.377 ± 0.0160.4632 ± 0.0191Seed aggregate
80.3929 ± 0.01870.4849 ± 0.0211Seed aggregate
90.4068 ± 0.01970.5017 ± 0.0241Seed aggregate
100.42 ± 0.02090.5176 ± 0.0238Seed aggregate
110.4349 ± 0.02020.5355 ± 0.028Seed aggregate
120.4472 ± 0.02060.5586 ± 0.0349Seed aggregate
130.4595 ± 0.02230.5761 ± 0.0361Seed aggregate
140.4692 ± 0.02280.5911 ± 0.0373Seed aggregate
150.48 ± 0.020.603 ± 0.04Thesis endpoint

AAV-medium

surrogate-guided

Held-out oracle / predictor score

Optimization round

Autoregressive (AR) · oracle0.306 ± 0.02
Autoregressive (AR) · predictor0.3504
Edit-based (LevT) · oracle0.293 ± 0.02
Edit-based (LevT) · predictor0.3662

Round 15: supplied thesis endpoint.

View values for AAV-medium · surrogate-guided
AAV-medium · surrogate-guided. Mean ± population standard deviation where supplied.
RoundAutoregressive (AR) · oracleAutoregressive (AR) · predictorEdit-based (LevT) · oracleEdit-based (LevT) · predictorSource
10.2548 ± 0.00240.32560.2595 ± 0.00360.3277Seed aggregate
20.2632 ± 0.00140.3270.272 ± 0.00680.3333Seed aggregate
30.269 ± 0.00340.32990.2832 ± 0.00770.3375Seed aggregate
40.2743 ± 0.00480.33250.2856 ± 0.01050.341Seed aggregate
50.2755 ± 0.00290.33480.297 ± 0.00540.3442Seed aggregate
60.2751 ± 0.00480.3370.2977 ± 0.00440.347Seed aggregate
70.279 ± 0.00480.33870.2935 ± 0.00460.3494Seed aggregate
80.2795 ± 0.00530.34040.2922 ± 0.00480.3517Seed aggregate
90.2833 ± 0.00410.34180.2904 ± 0.00970.3539Seed aggregate
100.2862 ± 0.00480.34350.2904 ± 0.0120.356Seed aggregate
110.2879 ± 0.00860.34520.2971 ± 0.01680.3579Seed aggregate
120.2919 ± 0.0140.34680.2981 ± 0.01020.3599Seed aggregate
130.2939 ± 0.01960.34810.298 ± 0.01230.3621Seed aggregate
140.299 ± 0.01910.34920.2991 ± 0.01350.3641Seed aggregate
150.306 ± 0.020.35040.293 ± 0.020.3662Thesis endpoint

AAV-hard

oracle-guided

Held-out oracle / predictor score

Optimization round

Autoregressive (AR) · oracle0.523 ± 0.01
Edit-based (LevT) · oracle0.64 ± 0.02

Round 15: supplied thesis endpoint.

View values for AAV-hard · oracle-guided
AAV-hard · oracle-guided. Mean ± population standard deviation where supplied.
RoundAutoregressive (AR) · oracleEdit-based (LevT) · oracleSource
10.288 ± 0.00150.2901 ± 0.0041Seed aggregate
20.3039 ± 0.00250.3494 ± 0.0104Seed aggregate
30.3333 ± 0.00080.4029 ± 0.0069Seed aggregate
40.3573 ± 0.00380.4409 ± 0.0055Seed aggregate
50.3804 ± 0.00260.48 ± 0.0067Seed aggregate
60.3996 ± 0.00790.5089 ± 0.0041Seed aggregate
70.4183 ± 0.01060.539 ± 0.0062Seed aggregate
80.4345 ± 0.01090.5569 ± 0.0073Seed aggregate
90.4504 ± 0.01280.5714 ± 0.0076Seed aggregate
100.463 ± 0.01070.5832 ± 0.0082Seed aggregate
110.4733 ± 0.00970.5963 ± 0.0088Seed aggregate
120.4872 ± 0.00750.6063 ± 0.0101Seed aggregate
130.5008 ± 0.01140.6173 ± 0.0129Seed aggregate
140.5114 ± 0.01210.6299 ± 0.0159Seed aggregate
150.523 ± 0.010.64 ± 0.02Thesis endpoint

AAV-hard

surrogate-guided

Held-out oracle / predictor score

Optimization round

Autoregressive (AR) · oracle0.314 ± 0.02
Autoregressive (AR) · predictor0.306
Edit-based (LevT) · oracle0.27 ± 0.02
Edit-based (LevT) · predictor0.3432

Round 15: supplied thesis endpoint.

View values for AAV-hard · surrogate-guided
AAV-hard · surrogate-guided. Mean ± population standard deviation where supplied.
RoundAutoregressive (AR) · oracleAutoregressive (AR) · predictorEdit-based (LevT) · oracleEdit-based (LevT) · predictorSource
10.288 ± 0.00150.27790.2874 ± 0.00430.278Seed aggregate
20.2994 ± 0.00210.28050.3277 ± 0.01060.2844Seed aggregate
30.304 ± 0.00370.28370.3399 ± 0.0090.2899Seed aggregate
40.3122 ± 0.00680.28680.3307 ± 0.00920.2945Seed aggregate
50.3235 ± 0.00560.28970.3128 ± 0.01540.2987Seed aggregate
60.3307 ± 0.00740.29180.3021 ± 0.01860.3027Seed aggregate
70.3328 ± 0.0090.29390.2975 ± 0.03250.3063Seed aggregate
80.3308 ± 0.01570.29570.2835 ± 0.03450.3102Seed aggregate
90.3261 ± 0.01520.29750.2803 ± 0.02910.3143Seed aggregate
100.3234 ± 0.020.29920.2761 ± 0.02720.3181Seed aggregate
110.3212 ± 0.02110.30080.2686 ± 0.02130.3226Seed aggregate
120.3157 ± 0.01880.30220.2738 ± 0.02680.3278Seed aggregate
130.3146 ± 0.01750.30350.2732 ± 0.02490.3326Seed aggregate
140.3123 ± 0.01960.30480.2733 ± 0.0180.3378Seed aggregate
150.314 ± 0.020.3060.27 ± 0.020.3432Thesis endpoint
Figure 2. Insertion-aware AAV trajectories. Solid lines and uncertainty bands show held-out oracle fitness; dashed lines show the predictor’s own score. Round-15 values use the supplied thesis endpoints.

The ordering then reverses under the restricted predictor, and the per-round diagnostics show how. The bottom-right panel is the one to look at: the predictor’s own score climbs steadily while the held-out oracle curve for the same designs turns over and falls. Rescoring every round with the held-out oracle, the edit path on the hard task peaks at 0.340 by round three and then falls to 0.270 by round fifteen.

The predictor over-values its selections by a consistent margin, those selections re-seed the frontier, and the search walks steadily away from true fitness while its own reward curve still looks healthy. The path that gains most from an honest evaluator is the one that loses most when you swap the evaluator out.

That is the evaluator axis breaking down over many rounds. The next failure mode does not need a bad evaluator at all, just one with an exploitable rule.

A scoring function will hand you shortcuts, and some policies take them#

The last experiment optimizes an antibody’s CDR-H3 loop (11 to 20 residues), the stretch that does most of the work of recognizing a target, against chain A of PDB 1ADQ, the human IgG4 Fc fragment recognized by the rheumatoid-factor antibody RF-AN. Fitness is negated binding energy from Absolut!, a lattice-based structural oracle. No learned predictor is involved.

Absolut! scores the best contiguous 11-mer inside the loop. A longer loop therefore gets more chances at a favorable contact window, and a policy can raise its score by growing the loop instead of designing a better one.

Figure 05

Better binding, or just a longer loop?

Follow optimization, then inspect which loop lengths each method selects.

Antibody CDR-H3 optimization

Negated binding energy · higher is better

Optimization round

Best screened loop: 103.46

Autoregressive (AR) · median99.27 ± 1.3022
Autoregressive (AR) · best 16102.6564
Edit-based (LevT) · medianNot observed
Edit-based (LevT) · best 16Not observed

Five seeds; bands show ±1 population standard deviation.

View values for Antibody CDR-H3 optimization
Antibody CDR-H3 optimization. Mean ± population standard deviation where supplied.
RoundAutoregressive (AR) · medianAutoregressive (AR) · best 16Edit-based (LevT) · medianEdit-based (LevT) · best 16Source
183.26 ± 0.2445484.8227484.359 ± 0.4215590.27514Seed aggregate
283.003 ± 0.21032485.370486.522 ± 0.70165995.37274Seed aggregate
382.729 ± 0.33532786.0157690.028 ± 1.21165498.34736Seed aggregate
482.69 ± 0.24625286.6767493.06 ± 1.303199.95574Seed aggregate
582.794 ± 0.37848987.4555294.956 ± 1.045143101.54924Seed aggregate
683.12 ± 0.59287488.105596.904 ± 1.02764103.06088Seed aggregate
783.54 ± 0.56610188.940598.519 ± 0.972221104.00312Seed aggregate
883.966 ± 0.54894890.095499.752 ± 1.077806104.90402Seed aggregate
984.193 ± 0.59394191.31136100.771 ± 0.751475105.35924Seed aggregate
1084.405 ± 0.50251492.03362101.806 ± 0.802661105.6436Seed aggregate
1184.625 ± 0.42811292.98862102.255 ± 0.763125105.81476Seed aggregate
1284.959 ± 0.45111494.05102.765 ± 0.734282106.0625Seed aggregate
1385.269 ± 0.55860994.70076103.116 ± 0.81168106.2085Seed aggregate
1485.547 ± 0.69335195.16103.593 ± 0.874761106.33938Seed aggregate
1586.256 ± 1.19827595.50438103.69 ± 0.874254106.44586Seed aggregate
1686.649 ± 1.24772895.6775103.744 ± 0.862916106.52976Seed aggregate
1787.093 ± 1.63073895.93488104.001 ± 0.899736106.65712Seed aggregate
1887.366 ± 1.91656696.038104.137 ± 0.781458106.773Seed aggregate
1987.847 ± 2.3477996.12562104.269 ± 0.645294106.86698Seed aggregate
2088.679 ± 3.18500896.22822104.488 ± 0.69216106.96326Seed aggregate
2189.004 ± 3.35116596.28136104.996 ± 0.920236107.08174Seed aggregate
2289.475 ± 3.93745396.36148105.132 ± 0.918725107.09436Seed aggregate
2389.909 ± 4.06280296.41312105.419 ± 0.845609107.1051Seed aggregate
2490.044 ± 4.17517296.47948105.582 ± 1.015178107.12536Seed aggregate
2590.266 ± 4.20529896.535105.644 ± 1.056231107.22224Seed aggregate
2690.959 ± 4.33890596.61586105.77 ± 1.048795107.26926Seed aggregate
2791.036 ± 4.30366396.64362105.88 ± 1.16691107.27776Seed aggregate
2891.584 ± 4.4019996.75938105.88 ± 1.16691107.279Seed aggregate
2991.866 ± 4.50012696.77388105.88 ± 1.16691107.28026Seed aggregate
3092.22 ± 4.50681296.87014105.88 ± 1.16691107.28026Seed aggregate
3192.562 ± 4.4141396.94324105.887 ± 1.158868107.28376Seed aggregate
3292.728 ± 4.34947497.08324105.94 ± 1.219869107.2965Seed aggregate
3393.067 ± 4.31463297.24148105.948 ± 1.210957107.30438Seed aggregate
3493.333 ± 4.29814197.49512106.026 ± 1.143282107.31526Seed aggregate
3593.652 ± 4.14656897.66014106.078 ± 1.112468107.32388Seed aggregate
3694.372 ± 4.21471998.12874106.146 ± 1.076844107.329Seed aggregate
3794.78 ± 4.29230198.547106.169 ± 1.052846107.33938Seed aggregate
3894.969 ± 4.19356798.96688106.242 ± 1.090599107.33938Seed aggregate
3995.27 ± 3.80110699.70086106.319 ± 1.107106107.34774Seed aggregate
4095.52 ± 3.616132100.19852106.508 ± 1.118041107.36662Seed aggregate
4195.732 ± 3.45787100.55788106.508 ± 1.118041107.39538Seed aggregate
4295.945 ± 3.426205100.75338106.526 ± 1.107513107.42812Seed aggregate
4396.042 ± 3.301616100.85714106.535 ± 1.099127107.44574Seed aggregate
4496.213 ± 3.148659100.90426106.566 ± 1.097863107.47486Seed aggregate
4596.322 ± 3.167677100.96178106.566 ± 1.097863107.48098Seed aggregate
4696.501 ± 2.974028101.1614106.6 ± 1.091329107.48774Seed aggregate
4796.596 ± 2.813628101.3525106.653 ± 1.06047107.5065Seed aggregate
4896.714 ± 2.683631101.56612106.68 ± 1.056314107.55912Seed aggregate
4996.819 ± 2.56574101.61976106.772 ± 1.098497107.56812Seed aggregate
5097.044 ± 2.385746101.84438106.772 ± 1.098497107.57774Seed aggregate
5197.186 ± 2.307246101.88164106.786 ± 1.083819107.595Seed aggregate
5297.52 ± 2.262185102.063106.794 ± 1.075669107.60436Seed aggregate
5397.693 ± 2.188412102.23902106.794 ± 1.075669107.61336Seed aggregate
5497.774 ± 2.211365102.329106.822 ± 1.038102107.64262Seed aggregate
5597.944 ± 1.937809102.434106.838 ± 1.040373107.65238Seed aggregate
5697.998 ± 1.933263102.48248Not observedNot observedSeed aggregate
5798.419 ± 1.418078102.48722Not observedNot observedSeed aggregate
5898.722 ± 1.183709102.5276Not observedNot observedSeed aggregate
5999.038 ± 1.223587102.55262Not observedNot observedSeed aggregate
6099.099 ± 1.230416102.59126Not observedNot observedSeed aggregate
6199.159 ± 1.25037102.62712Not observedNot observedSeed aggregate
6299.27 ± 1.302198102.65636Not observedNot observedSeed aggregate

Five seeds at every plotted round. Autoregressive runs stop at round 62; edit-based runs stop at round 55, the shortest supplied run for each method. Dashed lines show the best-16 mean.

Which loop lengths make the selection?

Bars show share of each method’s supplied selection. Counts and average negated energy stay beside each bar.

View selection counts and mean energies
Supplied selections contain 335 autoregressive and 640 edit-based designs. Percentages use each method’s own denominator.
MethodLengthCountTotalShare (%)Mean negated energy
Autoregressive (AR)1173352.08955289.405714
Autoregressive (AR)12183355.37313489.705
Autoregressive (AR)13133353.88059789.723077
Autoregressive (AR)14223356.56716489.932273
Autoregressive (AR)15323359.55223990.266875
Autoregressive (AR)16243357.16417991.931667
Autoregressive (AR)174733514.02985191.977234
Autoregressive (AR)187133521.1940397.364225
Autoregressive (AR)194833514.32835895.734792
Autoregressive (AR)205333515.82089695.025283
Edit-based (LevT)119164014.21875101.892857
Edit-based (LevT)12376405.78125101.07973
Edit-based (LevT)137064010.9375101.989429
Edit-based (LevT)14496407.65625102.037551
Edit-based (LevT)15586409.0625101.617069
Edit-based (LevT)167964012.34375102.812785
Edit-based (LevT)17486407.5101.784104
Edit-based (LevT)18526408.125101.139808
Edit-based (LevT)19596409.21875101.803051
Edit-based (LevT)209764015.15625102.678866
Figure 5. Antibody CDR-H3 optimization and the length composition of supplied selected designs. Energy is shown with its sign reversed, so higher is better. Shading is ±1 population standard deviation across five seeds; the reference is the best loop in the 1,200-sequence screen.

The length breakdown above is where this shows up most clearly. The autoregressive path takes the shortcut: half its selected designs are 18 residues or longer, and mean negated energy jumps from about 90 below length 17 to between 95 and 97 at lengths 18 to 20. The edit path does not. Its mean energy stays between 101 and 103 at every permitted length, fewer than a third of its designs reach 18 residues, and it finds comparable quality at the shortest and longest loops alike.

The antibody runs are longer than the substitution benchmarks and were not round-matched: seeds ran between 55 and 70 rounds. We compare at round 55, the last round every seed of both methods reached: the mean per-seed median is 106.8 for the edit path against 97.9 for the autoregressive path. Only the edit path beats the single best loop in the 1,200-sequence initialization screen, crossing it on best-16 at round seven and on the median at round fourteen.

Both paths exceed the screen median of 81.2, so both are doing real work. But one of them is partly being paid for length, and no fitness column would have surfaced that. You need the score stratified along whatever axis the assay rewards for free.

On comparing to published numbers: our best designs reach -109.04 (edit) and -105.43 (autoregressive) raw binding energy, against -112.59 for Structured Q-learning and -112.58 for Stable online RL. Those entries are not budget-matched or search-space matched. The published methods use 1,000 proposals per seed in a fixed 11-residue space, while our paths search lengths 11 through 20 and count a 1,200-sequence screen against their budget. We report the row for context, not as a win or a loss.

Every check so far has come from the same family of model: a learned predictor, or a hand-built scoring function with its own blind spots. The last check comes from somewhere else entirely, a structure model that was never trained on any of this fitness data.

What AlphaFold confidence does and does not tell you#

We folded five sequences per task, method and regime (the three highest-fitness designs and the two most diverse) and read two AlphaFold confidence scores as diagnostics: pLDDT, 0 to 100, how reliably each residue is placed, and PAE, the model’s estimate of error between residue pairs.

The useful signal turned out to be an association with distance rather than with fitness. Designs within roughly 5% of a sequence length from a measured high-fitness variant have median pLDDT 92.5. At 10% it drops to about 84, at 20% to 72, and designs nearly a full sequence length away land in the fifties.

That association has a biological reading as well as a methodological one. AlphaFold’s confidence depends in part on the depth and quality of the multiple sequence alignment it can assemble, and a design far from any natural homolog has a shallower alignment to work from. Low pLDDT on a distant design can therefore mean the model has little evolutionary evidence to condition on, not that the sequence fails to fold. We cannot separate those two explanations from confidence scores alone.

For a campaign it does not matter which is true. A design far from anything measured is harder for AlphaFold to judge, and less likely to work in the first place, since neither evolution nor the assay has been there. The trend flags designs that need experimental attention; it does not filter them out.

The reverse does not hold. De novo designs sit far from any natural homolog and AlphaFold is often confident about them, so pLDDT is a poor read on evolutionary distance. The distance worth acting on is the one to a measured high-fitness variant, which is what High tracks.

Structure and function stay distinct, and reporting only top-scoring designs hides things. On surrogate-guided GFP-hard, AdaLead’s diverse selections average pLDDT 29.9 against 92.9 for its top-fitness ones, a structural-confidence collapse in part of the batch that a top-only table would never show. PEX reaches pTM 0.917 (AlphaFold’s own estimate of overall fold confidence, 0 to 1) and pLDDT 92.2 with fitness of -0.046, while AdaLead has fitness 0.027 at pLDDT 29.9. A structural filter would not reproduce the functional ranking.

Figure 06

Structural confidence tells a different story.

Compare the supplied mean and best pTM scores across method/task/regime groups.

GFP237 residues

Median 0.9133

pTM score · 0 to 1

88 mean/best observations from 44 groups

AAV28-residue window

Median 0.3397

pTM score · 0 to 1

88 mean/best observations from 44 groups

Group meanGroup bestMedian of displayed scores

Hover, tap, or focus a point to see its method, task, feedback regime, and score.

View all supplied pTM group summaries
Supplied group summaries; each contributes one mean and one best value to the distribution.
MethodTaskFeedbackMean pTMBest pTM
Autoregressive (AR)AAV-hardoracle0.3460.37
Autoregressive (AR)AAV-hardsurrogate0.33130.38
Autoregressive (AR)AAV-mediumoracle0.3680.39
Autoregressive (AR)AAV-mediumsurrogate0.3220.36
Autoregressive (AR)GFP-hardoracle0.9040.91
Autoregressive (AR)GFP-hardsurrogate0.90870.91
Autoregressive (AR)GFP-mediumoracle0.9120.92
Autoregressive (AR)GFP-mediumsurrogate0.90930.91
AdaLeadAAV-hardoracle0.28470.34
AdaLeadAAV-hardsurrogate0.1540.23
AdaLeadAAV-mediumoracle0.2520.36
AdaLeadAAV-mediumsurrogate0.33930.37
AdaLeadGFP-hardoracle0.920.92
AdaLeadGFP-hardsurrogate0.92070.93
AdaLeadGFP-mediumoracle0.92670.93
AdaLeadGFP-mediumsurrogate0.91670.92
Bayesian optimizationAAV-hardoracle0.2240.35
Bayesian optimizationAAV-hardsurrogate0.18130.28
Bayesian optimizationAAV-mediumoracle0.33070.37
Bayesian optimizationAAV-mediumsurrogate0.26470.37
Bayesian optimizationGFP-hardoracle0.7740.79
Bayesian optimizationGFP-hardsurrogate0.90930.92
Bayesian optimizationGFP-mediumoracle0.90930.92
Bayesian optimizationGFP-mediumsurrogate0.90130.93
Fixed-length (CE)AAV-hardoracle0.31330.39
Fixed-length (CE)AAV-hardsurrogate0.22870.36
Fixed-length (CE)AAV-mediumoracle0.24930.35
Fixed-length (CE)AAV-mediumsurrogate0.310.37
Fixed-length (CE)GFP-hardoracle0.90330.91
Fixed-length (CE)GFP-hardsurrogate0.90530.92
Fixed-length (CE)GFP-mediumoracle0.91330.92
Fixed-length (CE)GFP-mediumsurrogate0.91330.92
CMA-ESAAV-hardoracle0.2950.42
CMA-ESAAV-hardsurrogate0.3140.4
CMA-ESAAV-mediumoracle0.33470.4
CMA-ESAAV-mediumsurrogate0.30330.37
CMA-ESGFP-hardoracle0.16270.2
CMA-ESGFP-hardsurrogate0.460.78
CMA-ESGFP-mediumoracle0.53270.92
CMA-ESGFP-mediumsurrogate0.4740.92
Latent CMA-ESAAV-hardoracle0.22670.37
Latent CMA-ESAAV-hardsurrogate0.340.36
Latent CMA-ESAAV-mediumoracle0.3120.36
Latent CMA-ESAAV-mediumsurrogate0.33730.37
Latent CMA-ESGFP-hardoracle0.910.91
Latent CMA-ESGFP-hardsurrogate0.910.91
Latent CMA-ESGFP-mediumoracle0.9160.92
Latent CMA-ESGFP-mediumsurrogate0.91070.92
DPO (ProtGPT2)AAV-hardoracle0.2480.37
DPO (ProtGPT2)AAV-mediumoracle0.40870.45
DPO (ProtGPT2)GFP-hardoracle0.8960.92
DPO (ProtGPT2)GFP-mediumoracle0.87930.92
DPO (ZymCTRL)AAV-hardoracle0.20930.36
DPO (ZymCTRL)AAV-mediumoracle0.43270.46
DPO (ZymCTRL)GFP-hardoracle0.920.92
DPO (ZymCTRL)GFP-mediumoracle0.92530.93
LatProtRLAAV-hardoracle0.35070.39
LatProtRLAAV-hardsurrogate0.3480.37
LatProtRLAAV-mediumoracle0.33330.38
LatProtRLAAV-mediumsurrogate0.3320.37
LatProtRLGFP-hardoracle0.91070.92
LatProtRLGFP-hardsurrogate0.910.91
LatProtRLGFP-mediumoracle0.91070.92
LatProtRLGFP-mediumsurrogate0.91130.92
Edit-based (LevT)AAV-hardoracle0.25130.38
Edit-based (LevT)AAV-hardsurrogate0.25130.4
Edit-based (LevT)AAV-mediumoracle0.21870.33
Edit-based (LevT)AAV-mediumsurrogate0.2120.28
Edit-based (LevT)GFP-hardoracle0.91470.92
Edit-based (LevT)GFP-hardsurrogate0.92530.93
Edit-based (LevT)GFP-mediumoracle0.8640.87
Edit-based (LevT)GFP-mediumsurrogate0.9020.91
PEXAAV-hardoracle0.23270.31
PEXAAV-hardsurrogate0.28730.42
PEXAAV-mediumoracle0.23730.34
PEXAAV-mediumsurrogate0.33070.37
PEXGFP-hardoracle0.92070.93
PEXGFP-hardsurrogate0.91730.93
PEXGFP-mediumoracle0.920.92
PEXGFP-mediumsurrogate0.9160.92
µSearchAAV-hardoracle0.2810.33
µSearchAAV-hardsurrogate0.21730.26
µSearchAAV-mediumoracle0.3370.382
µSearchAAV-mediumsurrogate0.30130.36
µSearchGFP-hardoracle0.8830.89
µSearchGFP-hardsurrogate0.89670.91
µSearchGFP-mediumoracle0.8970.9
µSearchGFP-mediumsurrogate0.91870.93
Figure 6. Mean and best pTM values from the supplied method/task/regime group summaries, pooled into GFP and AAV. Vertical lines mark the median of displayed mean/best scores. Vertical point placement only separates overlaps; it carries no data.

On the 28-residue AAV window, pTM sits in a uniformly low band, 0.15 to 0.46 across all methods, and resolves nothing. That is the expected mismatch between a global topology score and an isolated fragment, and it is why we report those columns as window-level diagnostics rather than capsid-level validation.

Caveats#

Everything here is in silico. Learned fitness values indicate resemblance to labelled high-fitness regions rather than measured function, Absolut! energies are lattice calculations, and AlphaFold outputs are confidence estimates rather than experimental validation. The insertion-aware oracle has a rank correlation (Spearman) of 0.863 with true fitness on the full landscape, but only 0.301 and 0.196 on the restricted medium and hard bands, so it supports comparisons under a shared scoring model and does not establish that any individual design is good.

Query budgets are matched within a regime; initialization procedures and internal computation are not. We kept each method’s native initialization, because forcing a common one would alter the published algorithms, which does mean part of a measured distance can reflect the starting set rather than the search rule. Five seeds cannot resolve narrow differences. Several oracle-guided runs are still improving at round 15, so those margins are budget-dependent lower bounds. Wall-clock time was not recorded for the baseline sweeps, so nothing here ranks methods by computational efficiency.

One scope limit is worth stating plainly, because it is the gap between this study and a real campaign. Every experiment optimizes a single fitness objective at a time. Actual protein engineering balances activity against stability, solubility and developability, and a design that wins on one axis can be useless on another. The framework has the multi-objective machinery built, with reward providers that combine several components behind the same interface, but we never exercised it. No result in this work is a multi-objective result.

We expect the evaluator-dependence reported above to get worse under combined rewards, not better: each additional component is another approximation with its own exploitable weaknesses. That makes calibration and shortcut analysis more important, not less.

What we would tell anyone benchmarking a sequence optimizer#

Re-run, do not cite. Published numbers are point estimates under each paper’s own protocol. The regime gap, the single most informative quantity we computed, needs both regimes for the same method under one budget. It cannot be assembled from the literature.

Report both feedback regimes, separately. A method’s oracle-guided ranking does not predict its surrogate-guided ranking, and the realistic setting is the second one. Averaging them, or reporting only the first, hides the failure mode you will actually hit.

Rescore every round with the held-out oracle. Endpoint fitness cannot distinguish a search that improved from one that peaked at round three and ended below that peak. The trajectory shows the difference; the final number does not.

Carry the distance diagnostics. Fitness alone cannot separate productive extrapolation from evaluator exploitation. Novelty paired with distance to a measured variant can.

Stratify by whatever your assay rewards for free. If the scoring function has a shortcut, whether length, composition or a contact window, some policy will find it. Report the score broken down along that axis, not only in aggregate.


The thesis, “Guided Generative Protein Design Using Reinforcement Learning,” was completed at Instituto Superior Técnico, Universidade de Lisboa, in collaboration with Loka, supervised by Prof. Mário Figueiredo, Eng.ª Patrícia Rocha and Eng.º Telmo Felgueira.

Cite this work

Use this BibTeX entry to cite this technical report.

@techreport{barbosa2026twelveprotein,
  title = {The Protein Design Method Matters Less Than Its Search Space},
  author = {André Barbosa and Patrícia Rocha and Telmo Felgueira and Mário Figueiredo},
  institution = {Loka},
  year = {2026},
  url = {https://techblog.loka.com/twelve-protein-design-methods/}
}

Tags

Topics