WorksAgricultural and Biological Sciences
Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models
Abstract
Discrete structure tokenizers are the standard way to give a language model access to protein three-dimensional structure, yet they are selected on how accurately they can be read, their reconstruction fidelity, while the property that governs generation is how well a model can write them. We measure this property, writability, directly: holding the base model, data, recipe and compute fixed, we swap only the tokenizer and train the same 9B model to emit structure tokens residue by residue, over eight tokenizers, four compute budgets and three evaluation sets (96 cells). At 2B tokens final writability runs from TM 0.662 down to 0.378 under identical conditions, with five of the eight arms clearing the TM 0.5 mark at which a fold is usually called correct and three falling short of it. Neither codebook size nor reconstruction ceiling explains where an arm lands; the best and worst both use 8192 codewords. What does explain the spread is local structure preservation of the code space. In DPLM-2 a one-bit codeword error costs 0.019 TM where a random codeword costs 0.347, and the trained model's own errors are correspondingly local, at 0.51 of the random Hamming expectation; FoldToken4 fails both tests at the same codebook size and is 0.13 TM less writable. Three controls discipline how such a benchmark may be read. A same-recipe rerun puts the noise floor at TM, which collapses an apparent six-way ranking into four tiers. A reference-free geometry panel turns out to be nearly orthogonal to TM (Pearson ), with the worst arm by TM producing the most physically valid backbones. And two pre-registered interventions are null for a reason the mechanism measurements reveal: the quantity they target saturates at 1.5B tokens while TM is still rising. All 131 evaluation cells, including raw generated token streams, are released.
Technical Report II: Protein Structure Tokenizers for LLMs
Correspondence: [email protected]
Homepage: https://calpha-ai.com
GitHub: https://github.com/yliust/Calpha
Hugging Face: https://huggingface.co/liuyong9975/Calpha
Introduction
Language models are given access to protein three-dimensional structure by discretising it into tokens and extending the model’s vocabulary with them. A structure tokenizer maps each residue to one of codewords, so a backbone becomes a string the model can read alongside text and sequence. Several such tokenizers are now available off the shelf [1, 2, 3, 4, 5, 6], and a growing number of protein language models are built on them [7, 8, 9, 10].
This paper studies the setting in which the model must emit that string autoregressively, which turns a structure tokenizer from a perception module into a generation target. The same shift proved decisive in other modalities: replacing the tokenizer while holding the language model fixed is what closed the gap to diffusion in image generation [11], and in audio the codec rather than the sequence model sets the quality ceiling [12, 13].
The shift changes which property of a tokenizer matters, and that property has gone unmeasured. Tokenizers are evaluated, and advertised, by reconstruction fidelity: encode a known backbone, decode it, and report how much structure survives. That number describes the codec. It says how well structure can be read out of the code space, and nothing about whether a model trained with a next-token objective can produce a valid string in it. We call the second property writability. Prior comparisons do not supply it. The systematic benchmark of structure tokenizers scores reconstruction and frozen-representation probing [4], both of which are read-side; the closest mechanistic result, a trade-off between an encoder’s locality and its decoder’s reconstruction [14], is measured on the tokenizer alone, with no model asked to write in the code space. Published systems that do emit structure tokens differ simultaneously in tokenizer, base model, data and compute, so the tokenizer’s own contribution has never been isolated.
We isolate it. Eight tokenizers are trained into the same 9B base model under one mixture, recipe, sample order and compute budget, exported at four budgets and scored on three held-out sets. Three controls then decide what those numbers are allowed to mean. Every score is bracketed by a floor, uniformly random tokens pushed through that tokenizer’s own decoder and scorer, and a ceiling, ground truth encoded and decoded once; the bracket is necessary because the decoders differ enough in their structural priors that random tokens alone score anywhere from TM 0.10 to 0.19. The run-to-run noise floor is measured by repeating one arm end to end rather than assumed. And half the metric panel never looks at the reference, since TM-score [15], lDDT [16], GDT [17] and RMSD are alike blind to output that is not a plausible protein, the blindness that motivated physical-validity checks in docking [18].
Three findings follow. First, final writability at 2B tokens runs from TM 0.662 (DPLM-2) down to 0.378 (VanillaVQ) under identical conditions, a range that straddles the TM 0.5 mark at which a fold is usually called correct: five arms clear it and three do not. Neither of the quantities tokenizers are selected on predicts where an arm lands, since the best and the worst both use 8192 codewords and six of the eight reconstruct above 0.95 TM. Second, what does predict it is whether nearby codewords denote nearby structures. In DPLM-2, whose codewords are 13-bit strings, perturbing 30% of positions by a single bit costs 0.019 TM while replacing them with random codewords costs 0.347, and the trained model’s own errors land 3.29 bits from the correct codeword, about half the random expectation; FoldToken4 has binary codes and the same codebook size, fails both tests, and is 0.13 TM less writable. A code space is writable when being slightly wrong is only slightly wrong. Third, the three controls are not bookkeeping but change the answer: the measured noise floor collapses six apparent ranks into four tiers, and subtracting the per-tokenizer floor inverts the geometry ranking, because one decoder returns 81% valid bond lengths from random input while another returns 3%.
Related work
Structure tokenizers are designed and evaluated as codecs. Discrete protein structure tokenization has converged on per-residue quantisation of a learned geometric encoder, differing mainly in the quantiser. ESM3 [1] and AminoASeed [4] use a learned vector-quantised codebook [19]; DPLM-2 [2] uses lookup-free binary quantisation, imported from image tokenization [11]; Gaujac et al. [5] use finite scalar quantisation [20]; ProSST [9] runs -means over frozen geometric features; FoldToken4 [3] and ProtoTokens [6] target compact, amino-acid-like vocabularies; ProTok [21] shares one vocabulary across sequence, structure and function. Foldseek’s 3Di alphabet [22] predates this line and is designed for search rather than decoding. Across all of them the headline number is reconstruction, the TM, lDDT or RMSD of a round trip, which measures the codec and not what a language model can do with it.
The one systematic comparison is read-side, and the closest mechanistic result is tokenizer-only. StructTokenBench [4] evaluates structure tokenizers along four axes: reconstruction, codebook utilisation, and probing of frozen representations on supervised tasks. It reports that no tokenizer dominates. Every axis asks what can be read out of the code. AIDO.St [14] comes closest to our question by identifying a trade-off between the locality of the encoder and the reconstruction power of the decoder, but measures it on the tokenizer in isolation; no language model is asked to write in the code space, and the downstream evidence is representation quality rather than generation. Our contribution is the write-side measurement these leave open, under a design that holds the base model, data, recipe and compute fixed.
Systems that emit structure tokens differ in everything at once. A number of models extend a language model’s vocabulary with structure tokens and generate them: ESM3 [1] and DPLM-2 [2] with iterative masked decoding in the style of MaskGIT [23], ProtTeX [8] and SaProt [7] by vocabulary extension of a protein or general language model, and Gaujac et al. [5] with a GPT trained directly on their codes. Each pairs one tokenizer with one base model, mixture and budget, so the tokenizer’s contribution is confounded with every other design choice. This is precisely the comparison our setup is built to decouple, and it is why we accept the cost of training eight otherwise-identical arms.
Specialist folding models supply the absolute reference. AlphaFold2 [24], RoseTTAFold [25] and AlphaFold3 [26] predict structure in continuous space with no discretisation step, and ESMFold [27] does so from a protein language model’s features alone. ESMFold is the right reference for § 7: it consumes the same ESM2 features our arms are conditioned on and produces coordinates directly, so the difference isolates the cost of routing structure through a discrete code and an autoregressive decoder rather than the cost of a weaker input. CASP [28, 29] and FoldBench [30] supply the held-out targets.
Autoregressive degeneration and reference-free validity are known problems elsewhere. Greedy and low-temperature decoding collapse into repetition in natural language [31, 32], and the error accumulation that teacher-forced training hides from its own metrics has been studied since scheduled sampling [33, 34]. The structural-biology analogue of the second lesson, that a score against a reference cannot see an output that is not a physically valid molecule, is the argument behind PoseBusters [18]. Our reference-free panel applies both lessons to structure tokens: token-level degeneracy statistics on the emitted string, and geometry checks (bond lengths, clashes, radius of gyration, DSSP composition [35]) on the decoded backbone.
Measuring writability
Definition. Writability is the structural quality a model attains when it must produce the structure token string itself: prompted with the amino-acid sequence and a task instruction, it emits one token per residue by greedy decoding, the string goes through that tokenizer’s own decoder, and the coordinates are scored against the experimental structure with TM-score [15, 36]. The measurement necessarily includes the decoder, which is part of the interface a practitioner adopts. That inclusion is exactly why the next two controls are mandatory.
Floors and ceilings make scores comparable. A raw TM score cannot be compared across tokenizers because each decoder contributes a different amount of structure on its own. We bracket every model score with two measurements taken through the identical pipeline on the identical targets: the floor , from uniformly random tokens, is what the decoder’s prior alone is worth, and the ceiling , from encoding and decoding the ground truth once, is the best any model could do in that code space. We report the redemption rate
the fraction of the attainable interval the model actually captured. Figure 2 shows all three quantities together, which is how we report them throughout: a model score alone is not interpretable.
Figure 2. Every score read between its own floor and ceiling, at 2B tokens on FoldBench334. Left: backbone similarity. Right: local geometry, the fraction of consecutive CA–CA distances inside [3.6, 4.0] Å. Bar ends are the random-token floor and the reconstruction ceiling for that tokenizer; the dot is the trained model. The two panels order the tokenizers almost inversely.
The redemption rate has a failure mode, and it must be reported with it. Normalisation inflates whenever the interval is narrow. Two tokenizers in our set reconstruct poorly ( and ), and both post redemption rates at the top of the table (70.9% and 81.0%) while being last by raw TM (0.395 and 0.378). A high redemption rate over a low ceiling means the model has nearly exhausted a code space that cannot express protein structure in the first place. We therefore never report RR without beside it, and we treat these two tokenizers as counterexamples rather than as successes.
A measured noise floor decides how fine a ranking is allowed to be. Benchmarks of this kind report strict orderings without knowing the measurement’s own variance, a reporting practice criticised across machine learning [37, 38, 39]. We estimate it directly: one arm (ESM3) was trained twice end to end under identical recipe, data and sample order. The nine paired differences have mean +0.0028, standard deviation 0.0067 and maximum magnitude 0.0123 TM, four positive and five negative. We adopt
and apply it to every cross-tokenizer comparison in this paper. This is a lower bound on the true noise, since it comes from a single repetition of a single arm, so the rule is conservative in the direction that matters.
Half of the metric panel must not look at the reference. TM, lDDT [16], GDT [17] and RMSD all compare the output to a target through the decoder, and all are blind to one class of failure: output that is not a plausible protein at all—the same gap that physical-validity checks were introduced to close in docking [18]. We therefore compute a second panel from the generated structure alone: at the token level, the fraction of distinct tokens, adjacent-repeat rate, longest run and entropy, which detect the greedy degeneration familiar from neural text generation [31, 32]; at the geometry level, the fraction of consecutive CA–CA distances inside [3.6, 4.0] Å, the clash rate beyond , and the radius of gyration normalised by , each between the same floor and ceiling as TM. Because the raw token streams are archived, this panel was computed retroactively on checkpoints trained weeks earlier, without rerunning a model.
Experimental setup
The controlled variable is the tokenizer and nothing else. Every arm starts from the same 9B base model, extends its vocabulary with that tokenizer’s codewords, and trains on the same mixture (structure prediction, inverse folding, infilling, secondary structure, contacts and general text) built by the same script with the same task proportions, leakage filtering and sample order. The recipe is identical across arms: one cosine schedule over 2B tokens, the same learning rates for body, embeddings and adapter, the same noisy-prefix augmentation, exports at 0.5, 1, 1.5 and 2B tokens. Training runs on 8×H200 at roughly 10 hours per arm. The only deliberate difference is which tokenizer produced the structure tokens and which decoder scores the output.
Tokenizers. We evaluate eight tokenizers spanning codebook sizes from 512 to 8192 and three quantisation families (Table 5): ESM3 [1, 40] (learned VQ codebook [19], ), DPLM-2 [2, 41] (lookup-free binary quantisation [11], ), ProFiT [42] (), FoldToken4 [3, 43] at levels 10 and 12 ( and 4096, binary codes), AminoAseed [44] (), GCP-VQVAE [45] (), and VanillaVQ [44] (). AminoAseed and VanillaVQ share a network and differ only in how the codebook is trained, which isolates that single factor: VanillaVQ exhibits the codebook under-utilisation that AminoAseed was designed to fix [4, 46]. Repository commits and weight checksums for all eight are in Appendix § 14.
| Tokenizer | ceiling | floor | @10% | ||||
| DPLM-2 | 8192 | 0.9519 | 0.1766 | 0.996 | 0.806 | 0.890 | 0.2100 |
| ESM3 | 4096 | 0.9886 | 0.1847 | 0.975 | 0.087 | 0.671 | 0.5927 |
| GCP-VQVAE | 4096 | 0.9891 | 0.1029 | 0.991 | 0.149 | 0.839 | 0.0490 |
| FoldToken4-l12 | 4096 | 0.9620 | 0.1436 | 0.903 | 0.026 | 0.853 | 0.0205 |
| FoldToken4-l10 | 1024 | 0.9594 | 0.1508 | 0.891 | 0.028 | 0.849 | 0.0284 |
| ProFiT | 8192 | 0.9902 | 0.1680 | 0.995 | 0.793 | 0.912 | 0.0011 |
| AminoAseed | 512 | 0.4816 | 0.1847 | 0.337 | 0.126 | 0.445 | 0.5375 |
| VanillaVQ | 512 | 0.4226 | 0.1885 | 0.246 | 0.083 | 0.407 | 0.6545 |
Table 5. Tokenizer scorecard, measured on FoldBench334 without training any model. is the reconstruction ceiling, the uniform-random floor, both through that tokenizer’s own decoder. Bond-validity columns are the fraction of consecutive CA–CA distances inside [3.6, 4.0] Å at the ceiling and at the floor. is the TM retained after replacing 10% of ground-truth tokens at random. is prefix consistency.
Evaluation sets and leakage control. We report on three held-out sets: FoldBench334 [30] (333 chains released after January 2023), CASP16 [28, 29] (155 domains) and CAMEO2025 [47] (200 single-chain X-ray structures released in 2025). Leakage control is done when the training set is built, not at evaluation time: a temporal cut plus sequence-identity filtering [48] against the evaluation targets, with each target’s closest remaining homolog recorded so that results can be split into homologous and non-homologous buckets. All cells report greedy decoding; sampling and best-of- are out of scope for this round and we draw no conclusions about them.
Results
Writability spans TM 0.38 to 0.66, and neither codebook size nor fidelity explains it
The grid. Figure 1 shows all 96 cells. At 2B tokens, final TM on FoldBench334 ranges from 0.3781 (VanillaVQ) to 0.6623 (DPLM-2) between arms differing only in tokenizer, and the three evaluation sets agree on the ordering. We give these as absolute scores and deliberately not as a ratio between them. TM has no true zero: random tokens already score 0.103 to 0.185 through these same decoders (Table 1), so both ends of the range sit on a pedestal of roughly 0.17, and a quotient of two raw TM values changes with where the origin is assumed to be. Dividing the floor-subtracted scores instead would give a different figure again. The quantity with defined endpoints is the redemption rate of Section 3, and that is the normalised number we report; the ratios that do appear in this paper are between differences in TM, which do have a zero. Except for the two low-ceiling tokenizers, no arm has saturated; every claim below is a claim at this budget.
Figure 1. Writability under identical conditions. Each panel is one tokenizer (codebook size in parentheses); the three curves are the three evaluation sets. The shaded band is that tokenizer’s random-token floor and the dashed line is its reconstruction ceiling , both measured through the same decoder and scorer; panels share axes. Identity is carried by panel title rather than colour, since eight categorical hues cannot be separated reliably under colour-vision deficiency.
| Tier | Tokenizer | (floor) ↓ | (ceiling) ↑ | TM ↑ | RR ↑ | |
| 1 | DPLM-2 | 8192 | 0.177 | 0.952 | 0.6623 | 62.6% |
| 2 | ESM3 | 4096 | 0.185 | 0.989 | 0.6162 | 53.7% |
| 3 | FoldToken4-l12 | 4096 | 0.144 | 0.962 | 0.5281 | 47.0% |
| 3 | FoldToken4-l10 | 1024 | 0.151 | 0.959 | 0.5270 | 46.5% |
| 3 | GCP-VQVAE | 4096 | 0.103 | 0.989 | 0.5254 | 47.7% |
| 4 | ProFiT | 8192 | 0.168 | 0.990 | 0.4467 | 33.9% |
| Degenerate code spaces (reported as counterexamples, not ranked) | ||||||
| – | AminoAseed{sup}†` | 512 | 0.185 | 0.482 | 0.3952 | 70.9% |
| – | VanillaVQ{sup}†` | 512 | 0.189 | 0.423 | 0.3781 | 81.0% |
Table 1. Final writability at 2B tokens on FoldBench334, with each tokenizer’s own floor and ceiling. RR is the redemption rate. Arms whose TM differs by less than the measured noise floor of 0.013 are grouped into one tier and are not ordered within it. The two arms marked † have reconstruction ceilings below 0.5: their high RR is an artifact of a narrow interval, not a success.
Codebook size does not order the arms. The best and the worst tokenizer in the table both use 8192 codewords (DPLM-2 at 0.6623, ProFiT at 0.4467). FoldToken4 at and at land within 0.001 TM of each other. Size is not the variable.
Reconstruction fidelity does not order them either. Six of the eight tokenizers reconstruct above 0.95 TM, and those six span almost the entire writability range (0.4467 to 0.6623). ProFiT has the highest ceiling in the set () and the lowest redemption rate (33.9%). A tokenizer can be an excellent codec and a poor vehicle; reading and writing are different properties.
A measured noise floor collapses six ranks into four tiers
Three of the arms are not distinguishable. Table 1 applies the noise rule from § 3. FoldToken4-l12, FoldToken4-l10 and GCP-VQVAE are separated by 0.001–0.003 TM, an order of magnitude below the 0.013 noise floor; reporting them in rank order would be reporting noise. The two gaps that do survive are large: DPLM-2 over ESM3 is 0.046 (3.5× the noise floor) and ESM3 over tier 3 is 0.088.
One gap is stable with compute and one is closing. With four compute points per arm we can ask whether a gap is a property of the tokenizer or of the budget. DPLM-2’s advantage over ESM3 is flat (0.044, 0.043, 0.041, 0.046); ESM3’s over GCP-VQVAE is not, falling from 0.163 to 0.091. We therefore state the first without qualification and the second only at ≤2B tokens. The arms also sit at different points on their curves (between 1.5B and 2B, ESM3 gains 0.0007 and FoldToken4-l12 −0.0002, while ProFiT and FoldToken4-l10 gain 0.014), so a single-budget snapshot partly reflects convergence rate.
Decoder priors differ by an order of magnitude and must be subtracted
Random tokens already produce valid local geometry in some code spaces. Passing uniformly random tokens through each decoder yields CA–CA bond-length validity of 0.806 for DPLM-2 and 0.793 for ProFiT, but 0.149 for GCP-VQVAE, 0.087 for ESM3 and 0.026–0.028 for FoldToken4. The decoders differ by an order of magnitude in how much physically plausible backbone they will emit from no information at all. Any absolute geometry number that is quoted without this floor attributes the decoder’s prior to the model.
After subtracting the floor, the geometry ranking is not the TM ranking. DPLM-2’s model output is 0.970 valid by raw bond length, near its 0.996 ceiling, but its floor is 0.806, so it captured 86.3% of its interval. ProFiT, the weakest arm by TM, reaches 0.983 raw and 94.3% of its interval, the highest in the set. ESM3, second by TM, is at 0.530 raw and 49.9% of its interval, with a normalised radius of gyration of 3.33 against 2.79 for experimental structures. Figure 2 shows the two panels side by side.
The two panels are nearly orthogonal. Across the seven arms, raw TM and floor-corrected bond validity correlate at Pearson −0.58 (Spearman −0.46); against the redemption rate, +0.05. The reference-free panel is a second axis, not a redundant check. The extremes make it concrete: ProFiT writes something that looks like a protein but is not the right protein, while ESM3 writes something whose outline matches though half its local geometry is invalid and the chain is over-extended.
The degenerate tokenizers fail here too, and in the same way. AminoAseed reaches 93.9% of its bond-validity interval, but its ceiling is 0.337, meaning ground-truth coordinates passed once through its own codec do not yield valid bond lengths. This is the normalisation trap of § 3 reappearing in a second metric, and it is the reason we report ceilings in absolute terms everywhere.
Corruption tolerance is a property of the representation, not a predictor of writability
Robustness to random token corruption does not predict writability. Replacing 10% of ground-truth tokens at random retains TM 0.912 for ProFiT, 0.890 for DPLM-2, 0.839 for GCP-VQVAE and 0.671 for ESM3 (Figure 3a): the most corruption-tolerant tokenizer is the least writable and the least tolerant is the second most writable. Tolerating arbitrary errors is not the same as being easy to write: what matters is whether errors land on structurally near codewords (§ 6) and whether long-range contacts survive (§ 7). We report the disagreement rather than select the metric that agrees.
Figure 3. (a) Replacing a fraction of ground-truth tokens with uniformly random ones; this ordering is not the writability ordering. (b) Perturbing a fraction of positions by one bit (solid) versus by a random codeword (dashed); dotted lines are each tokenizer’s reconstruction ceiling. (c) Mean Hamming distance of the model’s own token errors, divided by the expectation for a uniformly random wrong codeword; 1.0 means directionless.
What makes a code space writable
The hypothesis. The previous section rules out codebook size, reconstruction fidelity and corruption tolerance. The candidate left standing is a property of the code space’s local structure: a tokenizer is writable if codewords that are close in the model’s output space denote structures that are close in Cartesian space, so that a near-miss is a near-hit. For tokenizers whose codewords are binary codes this is directly testable, because “close in output space” has a concrete meaning: a small Hamming distance [49]. This is the property an error-correcting output code buys deliberately [50]; here it is a side effect of the quantiser, which is why it varies so much across tokenizers. The encoder-side locality that AIDO.St trades against reconstruction [14] is the same quantity seen from the read side. Two of our tokenizers qualify: DPLM-2, whose lookup-free quantiser [11] makes each codeword a 13-bit string, and FoldToken4, whose level- codes are -bit strings.
Test 1: do neighbouring codewords denote neighbouring structures? We encode ground-truth backbones, perturb a fraction of positions, and decode (Figure 3b). Perturbing by one bit should be cheap if the code is locally structure-preserving; perturbing by a random codeword is the control. For DPLM-2 at 30% of positions, the one-bit perturbation costs 0.019 TM (0.946 to 0.927) while the random codeword costs 0.347 (to 0.599), a factor of 18. For FoldToken4-l12 the two perturbations cost almost the same (0.851 versus 0.837 at 10%, 0.627 versus 0.572 at 30%): its bits do not encode structural similarity, despite being bits.
Test 2: are the model’s own errors local? Test 1 is a property of the tokenizer. The question that matters is whether the trained model exploits it. We take the archived greedy generations and measure, for every token the model got wrong, the Hamming distance between what it wrote and what was correct, against the expectation for a uniformly random wrong codeword (Figure 3c). At 2B tokens DPLM-2’s model errs by 3.29 of 13 bits, a ratio of 0.506; FoldToken4-l12 is at 0.985 and FoldToken4-l10 at 0.999, indistinguishable from writing a random wrong codeword. The tokenizer whose bits carry structure is the tokenizer whose model makes structurally cheap mistakes, and it is the tokenizer that is 0.13 TM more writable.
The quantity saturates well before training ends. Because the generations are archived at all four budgets, this is a trajectory rather than a point. DPLM-2’s ratio falls 0.537, 0.515, 0.506, 0.506 over 0.5–2B tokens, stopping at 1.5B, while TM is still rising (0.5919, 0.6455, 0.6564, 0.6623): whatever drives the last quarter of the TM gain, it is not further locality of the model’s errors. FoldToken4’s two levels sit at 0.98–1.00 throughout, unmoved by 2B tokens of training.
What this does and does not establish. The locality account is correlational across eight tokenizers plus two direct measurements of the mechanism itself, and is the only candidate we tested that survives. It is not established causally: the intervention designed to test it (§ 8) is null, with the saturation result above as the explanation. We state it as the best-supported explanation of the ranking, not as a demonstrated cause.
Where the gap to a specialist folding model goes
The absolute number, not the relative one. The previous two sections compare tokenizers to each other and to their own ceilings. Neither asks why the best arm reaches TM 0.662 when ESMFold [27], on the same 333 targets from the same ESM2-3B features, reaches 0.870. ESMFold is the appropriate reference because it consumes those same features and emits coordinates directly, with no discrete code in between, so the difference isolates the cost of the token interface rather than of a weaker input. The paired difference is +0.209 (bootstrap 95% CI [51] [+0.194, +0.227]) and ESMFold wins on 96.3% of targets, so the shortfall is systematic. This section decomposes it. The representation is not the constraint: DPLM-2 reconstructs at TM 0.952 and recovers 0.983 of long-range contacts from ground-truth tokens, both above 0.870, so what is lost is lost between the input and the emitted string.
Long-range contacts are where tokenizers differ, and where this one falls short. We split contacts by sequence separation and score each band through the same pipeline, between a floor (nearest-in-sequence prediction) and a ceiling (ground-truth tokens decoded). DPLM-2 captures 72.3% of attainable short-range contacts (), 71.3% of medium and 63.2% of long-range (). A 9-point gradient within one arm looks minor; across arms it is the dominant axis (Table 2). Long-range capture spans 63.2% to 20.3%, a 42.8-point range against 15.4 for short range, and correlates with final TM at +0.976 versus +0.786. What separates a writable tokenizer from an unwritable one is whether long-range contacts survive into the generated string. This also explains the inversion of § 5: ProFiT produces the most valid backbones and the worst TM because it writes locally plausible fragments with the wrong global topology.
| Tokenizer | TM @2B ↑ | short ↑ | medium ↑ | long ↑ |
| DPLM-2 | 0.6623 | 72.3% | 71.3% | 63.2% |
| ESM3 | 0.6162 | 67.6% | 67.0% | 58.7% |
| FoldToken4-l12 | 0.5281 | 67.9% | 63.8% | 44.6% |
| GCP-VQVAE | 0.5254 | 56.9% | 52.1% | 35.4% |
| ProFiT | 0.4467 | 59.5% | 49.2% | 20.3% |
| spread across arms | 15.4 pt | 22.1 pt | 42.8 pt | |
| correlation with TM | +0.786 | +0.906 | +0.976 |
Table 2. Contact capture by sequence separation at 2B tokens on FoldBench334, as the fraction of the floor-to-ceiling interval the model realises. Floors (nearest-in-sequence) are 0.071 / 0.047 / 0.033 and ceilings (ground-truth tokens decoded) are 0.91–0.94 / 0.90–0.93 / 0.98–0.99 across arms. The long-range band spreads the arms nearly three times as far as the short-range band.
Half the gap is long-range contacts the model fails to transfer. The input already contains more long-range information than the model emits: ESM2-3B’s own unsupervised contact head [52] reaches P@L/5 = 0.813 on these targets, against the model’s 0.633. Regressing per-target TM on per-target long-range precision gives a slope of 0.505 for DPLM-2, and essentially the same slope for every other arm (0.526, 0.530, 0.529; –0.87), so the exchange rate between contact precision and backbone similarity is a property of the pipeline rather than of one tokenizer. Moving the model from its 0.633 to the input’s 0.813 therefore corresponds to +0.091 TM, which is 44% of the 0.209 gap. The per-target split agrees: on the third of targets where the model’s long-range precision is highest it trails ESMFold by 0.119, and on the worst third by 0.325.
The other half is the cost of discretisation itself. Extrapolating the same regression to the representation’s own ceiling (long-range 0.983) predicts TM 0.840, still below ESMFold’s 0.870. Even a model that transferred every long-range contact its code space can express would not close the gap. Consistently, on the third of targets where the model’s long-range contacts are best, it still trails by 0.119. We therefore report the decomposition as roughly half long-range transfer and half an irreducible discretisation cost, with the caveat that the second term is obtained by extrapolation beyond the observed range.
There is no sparse set of critical errors. If a few catastrophic tokens dominated, confidence-based repair or local resampling would recover most of the loss. Starting from the model’s own greedy tokens we replaced a random fraction with ground truth and re-decoded; recovery is sub-linear. For DPLM-2, recovers 5% of the distance to the ceiling, recovers 12% and recovers 28%; ESM3 is more extreme at 3%, 7% and 18%. Both curves are convex: the marginal value of fixing a token increases with how many are already fixed, so errors must be corrected in bulk, as expected if topology is determined cooperatively. Our pre-registered threshold would have called the errors sparse had recovered half the gap; it recovers a twentieth.
Better decoding is a small lever, and we measured how small. If the distribution held much better structures than greedy selects, better decoding would be the cheapest remedy. We sampled 32 chains per target at and scored all of them, reporting the oracle maximum (best by TM, an upper bound that uses the answer), the medoid (the sample most similar to the others, which uses no reference and is therefore available and is the structural analogue of self-consistency selection [53]), and the maximum over 32 random token strings, which extreme-value statistics require as a matched draw. The oracle maximum is +0.0515 TM over greedy (paired 95% CI [+0.0448, +0.0589], better on 84.4% of targets), confirming that better structures exist in the distribution. The medoid recovers only +0.0095 ([+0.0036, +0.0157], 53.2% of targets): 18% of the oracle gain is reachable without the reference. The random-token control sits at 0.2208, far below either, so the effect is not an artifact of sampling many times. Decoding and selection are therefore worth about 0.01 TM in practice, roughly 5% of the gap, at 32 times the inference cost, against an upper bound of 25% that is not attainable.
Summary of the decomposition. Table 3 collects the terms. Long-range transfer dominates, an irreducible discretisation cost is second, and decoding is a minor term. The three are not strictly additive, since improving long-range transfer would change what is left for the other two, so the percentages are magnitudes rather than an exact partition. The practical reading is that neither a better decoder nor a better training objective alone closes this gap: the first is worth a hundredth of a TM point, and the second runs into a discretisation floor around TM 0.84.
| Term | Magnitude | Share | Evidence |
| Long-range contacts not transferred | 44% | input 0.813 vs model 0.633; slope 0.505–0.530 | |
| Discretisation cost | 33% | ceiling 0.983 predicts TM 0.840 < 0.870 | |
| Decoding / selection (attainable) | 0.0095 | 5% | medoid vs greedy, paired |
| (oracle upper bound) | (0.0515) | (25%) | best-of-32 with the reference |
Table 3. Decomposition of the 0.209 TM gap between the most writable arm (DPLM-2 at 2B tokens) and ESMFold on the same 333 targets from the same ESM2-3B features. Terms overlap and are not strictly additive.
Where the pipeline fails outright: chains beyond 500 residues
The length effect is not what it is usually assumed to be. Long chains are commonly expected to degrade monotonically, and for the most writable arm they do not. DPLM-2’s per-target TM correlates with chain length at only −0.054, and its best bucket is 300–500 residues (TM 0.726), above both 100–200 (0.638) and 200–300 (0.674). Below 500 residues there is no length penalty worth reporting.
There is a cliff at 500 residues, and it is a long-range failure. Beyond 500 residues TM falls to 0.549, and the reference-free decomposition says why: long-range contact capture collapses from 66.0% in the 300–500 bucket to 40.1%, while short-range capture falls much less, from 70.7% to 59.0% (Figure 4, right). The bucket holds 26 targets (25 of which also have a contact panel, from which the capture figures are computed), so the point estimate is loose; but the gap to ESMFold in that bucket (0.327, paired 95% interval [+0.254, +0.390]) does not overlap any other bucket’s interval, the widest of which reaches +0.248. This is the same mechanism as § 7 appearing as an operating regime: long chains contain proportionally more long-range contacts, and long-range contacts are what this pipeline fails to transfer.
Figure 4. Chain length. Left: TM by length bucket for four arms and ESMFold on the same targets. Model arms peak at 300–500 residues and fall beyond 500; ESMFold rises with length, so the gap widens monotonically. Right: contact capture by band for DPLM-2, as the fraction of the floor-to-ceiling interval realised. The long-range band collapses beyond 500 residues while the short-range band degrades gently.
The gap to a specialist model widens with length because the specialist improves. The model’s own degradation with length is mild, yet the gap to ESMFold grows monotonically from 0.151 (under 100 residues) to 0.327 (500 and above), because ESMFold gains with length (TM correlates +0.172 with chain length, against −0.054 for DPLM-2). Longer chains tend to carry more evolutionary signal and more regular domain structure, and a specialist folding model converts that into accuracy while the token pipeline does not. Reporting only the mean over a length-mixed benchmark hides this: the two systems are not falling behind at the same rate in the same places.
Length has an effect of its own, beyond long-range contacts. Chain length and long-range capture are negatively correlated (−0.183), so part of the length effect is the contact effect. It is not all of it: after regressing the per-target gap on long-range capture, the residual still correlates with length at +0.195. Something that scales with length, whether the number of autoregressive steps, accumulated commitment or attention span, costs accuracy independently of which contacts are captured. Error accumulation over a longer generation is the behaviour exposure-bias analyses would predict [33, 34]. We have not isolated that term, and we do not claim a decomposition of it.
Length sensitivity is itself a writability signal. The correlation between TM and chain length is −0.054 for DPLM-2, −0.072 for ESM3, −0.102 for GCP-VQVAE, −0.167 and −0.187 for FoldToken4-l10 and l12, and −0.264 for ProFiT, the same ordering as writability itself (Table 1). A tokenizer whose code space transfers long-range structure poorly is also a tokenizer whose quality decays with length, which is the behaviour one would predict from § 6.
Scope. Generation is capped at 1024 structure tokens. Exactly one of the 334 evaluation chains is longer than that and is excluded, so the cliff at 500 residues is well inside the generated range and is not an artifact of the cap. All numbers in this subsection are for greedy decoding at the 2B-token budget on FoldBench334; we did not test whether the cliff moves with compute, which would need the length buckets re-evaluated at every checkpoint.
Two pre-registered negative results
Supervising the bits directly changes nothing
The intervention. If writability comes from the model landing on bit-adjacent codewords, then training the model to predict the bits rather than the codeword index should help. We pre-registered two implementations and their decision thresholds before running them. The first (D2H) keeps the index cross-entropy but smooths the target over Hamming-near codewords with . The second (D2B) replaces the index objective with a per-bit binary cross-entropy on the bit marginals, which is the objective an error-correcting output code prescribes [50]. Both use DPLM-2 tokens and are otherwise identical to the DPLM-2 arm.
Both are null. D2H was trained to 2B tokens and evaluated on all twelve cells: every difference from the baseline lies within TM, and the pre-registered primary comparison (FoldBench334 at 2B) is −0.0001 with a paired bootstrap interval [51] of [−0.0078, +0.0075] and a 50.8% win rate. D2B reached 1.39B tokens before being stopped; at its 0.5B checkpoint the three evaluation sets give +0.002, +0.014 and −0.002. No cell moves outside the noise.
The pre-registered mechanism check is what makes the null interpretable. The same plan required that a null result be discarded unless the intervention demonstrably changed the error geometry. For D2H it did not: the error Hamming ratio is 0.507 against the baseline’s 0.506, and the error rate is unchanged at 92.3% versus 92.4%. That run therefore tested nothing and we report it as void rather than as evidence against bit supervision; was simply too gentle a label smoothing for the gradient to reach the bits. D2B did change the mechanism, pushing the ratio from 0.537 to 0.526 at 0.5B, so its null is informative. The explanation is the saturation result of § 6: the quantity these interventions target stops improving at 1.5B tokens under ordinary index supervision, so there was little left to teach.
A by-product worth more than the intervention. D2B at 0.5B tokens has a higher token error rate than the baseline (95.1% versus 93.9%) and the same TM. Token accuracy and structural quality are decoupled: which codeword the model writes matters much less than how far it lands from the right one. Any evaluation of structure tokenizers that uses token accuracy as a proxy for structural quality is measuring the wrong thing.
Forcing a correct prefix does not rescue the worst tokenizer
The hypothesis being tested. ProFiT has near-zero prefix consistency ( against ESM3’s 0.5927, measured at a half-length prefix on principal-axis-canonicalised inputs to match the training condition): re-encoding a truncated chain changes almost every token. A natural explanation of its poor writability is that autoregressive generation must commit to early tokens that cannot be determined from a prefix. If that were the mechanism, replacing the prefix with ground truth should recover much of the loss.
The measurement must exclude the gift. We force the first of the tokens to ground truth and score only the residues the model wrote itself, superposing on that segment alone and comparing against the same segment under ordinary greedy decoding, with a paired bootstrap. Scoring the whole chain would count the copied prefix as model performance: at that inflates the ESM3 effect from +0.029 to +0.078, and the inflation grows with .
ProFiT does not respond; ESM3 does. Figure 5 gives the result. ProFiT’s gain is flat across the three settings (+0.055, +0.055, +0.062 TM; 10.0%, 9.9%, 10.5% of the remaining headroom to its ceiling), while ESM3 rises monotonically (+0.029, +0.041, +0.068; 7.4%, 9.8%, 13.6%) and overtakes ProFiT at . Handing ProFiT three quarters of the answer helps no more than handing it one quarter. All six intervals exclude zero, so the effect is real and small; what fails is the hypothesis, not the measurement.

Figure 5. Ground-truth prefix rescue, scored only on the suffix the model wrote itself. Left: absolute TM with paired bootstrap 95% intervals. Right: the same effect as a fraction of the headroom remaining to each tokenizer’s reconstruction ceiling, which removes the advantage ProFiT gets from starting lower.
We withdraw the causal reading of prefix consistency. Low is a symptom that co-occurs with low writability, not its cause; the bottleneck for ProFiT is the representation itself (§ 6), not the commitment that autoregressive decoding forces. An independent measurement of where along the chain errors occur had already failed to support the commitment hypothesis, and this intervention agrees. In particular, these data do not support recommending bidirectional or diffusion decoding [23, 54] as a remedy, a recommendation that would have followed from the causal reading.
General capability is retained, and training loss cannot tell you so
The guardrail. Extending the vocabulary and continuing pretraining could simply damage the base model through catastrophic forgetting [55, 56], a known hazard of domain-adaptive pretraining [57], which would be an alternative explanation for any writability difference. We evaluate all seven 2B-token checkpoints on a pre-registered 350-item stratified subset of MMLU-Pro [58, 59], using the upstream project’s item list and scorer unchanged so that the numbers are comparable with earlier rounds. The base model scores 0.7743; extending the vocabulary without training leaves it at 0.7743, item for item.
No arm collapses. Accuracies range from 0.7629 (ESM3, −1.14pp) to 0.7257 (ProFiT, −4.86pp), with parse failure rates between 0.00% and 0.86% against the base model’s 0.29% (Table 6); nothing resembles format collapse, so the alternative explanation is ruled out.
| Arm | TM @2B | Accuracy | vs base | Parse failures | Mean CoT tokens |
| base model | – | 0.7743 | – | 0.29% | 661 |
| DPLM-2 | 0.6623 | 0.7571 | -1.71pp | 0.86% | 371 |
| ESM3 | 0.6162 | 0.7629 | -1.14pp | 0.29% | 360 |
| GCP-VQVAE | 0.5254 | 0.7457 | -2.86pp | 0.29% | 379 |
| FoldToken4-l12 | 0.5281 | 0.7371 | -3.71pp | 0.57% | 373 |
| FoldToken4-l10 | 0.5270 | 0.7371 | -3.71pp | 0.00% | 359 |
| ProFiT | 0.4467 | 0.7257 | -4.86pp | 0.00% | 370 |
| AminoAseed | 0.3952 | 0.7371 | -3.71pp | 0.29% | 331 |
Table 6. General-capability guardrail: MMLU-Pro on a pre-registered 350-item stratified subset, official 5-shot chain-of-thought protocol, at the 2B-token checkpoint. No pairwise difference is significant (exact McNemar); see § 9.
The model does not get less capable; it gets terser. Mean chain-of-thought [60] length falls from 661 tokens for the base model to 331–379 for every arm, a 43–50% reduction with no systematic relation to the tokenizer (Figure 6). Because all seven arms behave the same way, this is a property of the training recipe, not of the structure tokens. Reporting accuracy alone would have hidden it entirely, for the same reason that reporting TM alone hides the failures of § 5.
Figure 6. General-capability guardrail at 2B tokens. Left: MMLU-Pro accuracy against the base model (dashed). Right: accuracy versus mean chain-of-thought length; the diamond is the base model. Every arm loses roughly half its reasoning length regardless of tokenizer.
The in-mixture text loss is blind to this. The final general-text training loss across the seven arms is 2.1663, 2.1673, 2.1682, 2.1691, 2.1692, 2.1694 and 2.1695, a spread of 0.003, while their MMLU-Pro accuracies differ by 3.7pp. Training loss on in-mixture text measures fit, not retention; used as a guardrail it would have reported that all seven arms were equally safe.
We do not claim that more writable arms retain more. Raw TM and accuracy drop correlate at Pearson +0.825 (permutation ), but no pairwise comparison is significant: the most extreme pair, ESM3 versus ProFiT, differing by 3.7pp, gives an exact McNemar test [61] , and three of seven arms score identically (258/350). A 350-item set has a binomial standard error of about 2.3pp. We report the association as an observation and not as a finding; settling it needs the full 12,032-item benchmark.
Limitations and what we do not claim
We state the boundary of every claim explicitly, because the controls in § 3 exist precisely to stop this benchmark from being over-read.
We do not claim a best tokenizer. We claim that DPLM-2 is the most writable of the eight under this base model, this recipe and a 2B-token budget. No arm except the two degenerate ones has saturated.
We do not claim that ESM3 beats GCP-VQVAE. That gap closes from 0.163 to 0.091 as compute grows and would plausibly vanish beyond our budget; compute-matched comparison is the only kind that is meaningful here [62, 63]. It is reported as a statement about ≤2B tokens only.
We do not order the third tier, whose three members differ by less than the noise floor, and we do not treat a high redemption rate as a success on its own: for AminoAseed and VanillaVQ it reflects a narrow floor-to-ceiling interval.
We do not claim bit locality is causal. It is the best-supported correlate, with two independent mechanism measurements; the intervention that would establish causality is null (§ 8), and we report that null and its explanation rather than omit it.
We do not claim writable arms retain more general capability, since the association is not significant pairwise, and we do not generalise beyond one configuration: one base model, one scale, one mixture, one recipe, greedy decoding only, with no result about sampling or best-of-.
We do not claim a general length penalty. Below 500 residues the most writable arm shows no length effect worth reporting (); the failure is specific to chains of 500 residues and above, where only 26 targets are available (§ 7.1). We also did not isolate the length term that survives conditioning on long-range capture, and we did not test whether the 500-residue cliff moves with compute.
The noise floor is a lower bound, from one repetition of one arm ( paired cells); three to five repetitions per arm, at 30–50 GPU-hours each, would be the proper estimate. The reference-free panel is partial: secondary-structure composition needs a full backbone, so for CA-only decoders we report bond validity, clash rate and radius of gyration but not DSSP composition. The gap decomposition’s second term is an extrapolation beyond the observed range of long-range precision, and its three terms overlap.
Conclusion
Structure tokenizers are chosen by how well they can be read, and used as something that must be written. Measuring the second property directly, with everything else fixed, we find it varies by from TM 0.662 to 0.378 across eight tokenizers, the distance between a backbone a reader would call the right fold and one they would not, and is predicted by neither codebook size nor reconstruction fidelity, but by whether the code space is locally structure-preserving, so that the model’s inevitable mistakes are structurally cheap.
For practice, this implies three changes. When selecting a tokenizer for a generative interface, measure what a one-codeword error costs, not only what a perfect round trip preserves. When reporting through a generative decoder, bracket every number with a random-input floor and a ground-truth ceiling on the same targets, and give the ceiling in absolute terms so that normalised scores over narrow intervals are not mistaken for success. And never use token accuracy as a proxy for structural quality: we exhibit a variant that raises the token error rate while leaving structural quality unchanged.
Our decomposition of the gap to a specialist folding model also bounds what the remaining levers are worth: better decoding buys about 0.01 TM in practice, transferring the long-range contacts already present in the input would buy 0.09, and a discretisation floor near TM 0.84 sits behind both. Closing the remaining distance therefore requires either a better-quantised code space [11, 14, 20] or a continuous refinement stage [26], not another decoding heuristic.
Appendix
Measurement incidents and what they cost
Every control in § 3 exists because its absence produced a wrong number first. We record the four incidents because the resulting rules are the transferable part of this work, and because each of them was caught late enough to be worth describing.
Reporting a capability score that was below the floor. In an earlier round we reported a greedy TM of 0.168 as a capability result. The random-token floor for that tokenizer, measured afterwards on the same targets at the same sample size, was 0.185. The model’s output was worse than random input through the same decoder. Two facts needed to detect this were already written in that report: that local geometry was guaranteed by the decoder rather than by the model, and that greedy decoding repeated the same token at about 25% of positions. Neither had been followed to its conclusion. Rule adopted: a floor is part of the result, not a follow-up, and an observed anomaly is pursued to a conclusion rather than noted.
Scoring the gift. The prefix-rescue script’s header stated that it scored only the unforced suffix; its implementation called the general scorer, which scores the whole chain. Because the forced prefix is copied ground truth, the reported effect was inflated 2.7-fold at and more at larger . The script’s own log line said ”whole-chain TM”; the header and the log were never read against each other. Rule adopted: when a comment and a log disagree, the log is the specification; suffix-only scoring now runs automatically at the end of that script.
Numbers with no file behind them. The error-geometry measurements underlying § 6 initially existed only as terminal output. They were recomputed and archived as JSON, at which point extending them from one checkpoint to all four cost nothing, and produced the saturation result that explains the null interventions. Rule adopted: every number in a report resolves to an archived file, and analysis scripts write their results rather than printing them.
An intervention too gentle to test anything. The first bit-supervision variant used , chosen to match an existing label-smoothing convention. It moved the error Hamming ratio from 0.506 to 0.507. A pre-registered mechanism check caught this and voided the run; without it, a clean-looking null would have been published as evidence that bit supervision does not help. Rule adopted: a conservative hyperparameter is not a safe one, and every intervention ships with a pre-registered check that it did something.
Self-corrections. Four conclusions were revised during the study as data accumulated: the role of codebook size (revised four times before settling on ”no effect that survives the noise floor”), the relative standing of two tokenizers (three times), a diagnosis of an encoding bottleneck that was wrong about which resource was saturated, and a claimed result that held on only one of three evaluation sets and was withdrawn. Rule adopted: the report records when each judgement was made and on what data.
Reproducibility
What is released. All 131 evaluation cells are archived, each containing the summary metrics, per-target scores, the reference-free panel, and the raw generated token streams. The last item is what makes the archive useful: the geometry panel of § 5, the error-geometry trajectory of § 6 and the suffix-only rescue scores of § 8 were all computed after the fact from archived generations, on checkpoints trained weeks earlier, without loading a single model. Also archived: 11 training curves at per-step granularity, the cross-tokenizer scorecard containing every floor, ceiling, stability and tolerance measurement, the data-construction statistics for each arm’s mixture, and the per-item MMLU-Pro predictions.
Third-party components. Each tokenizer is pinned to a repository commit and its weights to a SHA-256 checksum, both recorded in the archive’s provenance directory. Model checkpoints (four exports per arm, roughly 17 GB each) are not distributed; the training mixtures can be rebuilt from the recorded construction parameters, and the checkpoints cannot, which is noted in the archive.
Known gaps. ESM3’s four compute points in the released grid come from a rerun under this paper’s pipeline rather than from the original run, which had no 1.5B export and whose training checkpoints had been rotated away; the original run’s three points are kept separately and used only for the noise estimate. VanillaVQ’s 1.5B and 2B points come from resuming its 1B checkpoint rather than from a continuous run. Neither affects the comparisons made in this paper, and both are marked in the archive.
Full result tables
| Tokenizer | Budget | FoldBench334 | CASP16 | CAMEO2025 |
| DPLM-2 | 0.5B | 0.5919 | 0.4888 | 0.6791 |
| 1B | 0.6455 | 0.5289 | 0.7538 | |
| 1.5B | 0.6564 | 0.5521 | 0.7787 | |
| 2B | 0.6623 | 0.5689 | 0.7999 | |
| ESM3 | 0.5B | 0.5478 | 0.4577 | 0.6562 |
| 1B | 0.6025 | 0.4910 | 0.7455 | |
| 1.5B | 0.6155 | 0.5123 | 0.7836 | |
| 2B | 0.6162 | 0.5482 | 0.7946 | |
| GCP-VQVAE | 0.5B | 0.3847 | 0.3324 | 0.4540 |
| 1B | 0.4771 | 0.4102 | 0.6102 | |
| 1.5B | 0.5179 | 0.4263 | 0.6810 | |
| 2B | 0.5254 | 0.4407 | 0.7106 | |
| FoldToken4-l12 | 0.5B | 0.4101 | 0.3617 | 0.4449 |
| 1B | 0.4841 | 0.4299 | 0.5827 | |
| 1.5B | 0.5283 | 0.4604 | 0.6487 | |
| 2B | 0.5281 | 0.4586 | 0.6761 | |
| FoldToken4-l10 | 0.5B | 0.3740 | 0.3556 | 0.4185 |
| 1B | 0.4639 | 0.4019 | 0.5395 | |
| 1.5B | 0.5129 | 0.4521 | 0.6344 | |
| 2B | 0.5270 | 0.4532 | 0.6645 | |
| ProFiT | 0.5B | 0.3303 | 0.3033 | 0.3611 |
| 1B | 0.4020 | 0.3728 | 0.4923 | |
| 1.5B | 0.4325 | 0.3885 | 0.5446 | |
| 2B | 0.4467 | 0.3845 | 0.5678 | |
| AminoAseed | 0.5B | 0.3692 | 0.2807 | 0.4170 |
| 1B | 0.3880 | 0.3094 | 0.4581 | |
| 1.5B | 0.3941 | 0.2996 | 0.4668 | |
| 2B | 0.3952 | 0.3036 | 0.4727 | |
| VanillaVQ | 0.5B | 0.3672 | 0.3291 | 0.3767 |
| 1B | 0.3808 | 0.3252 | 0.3987 | |
| 1.5B | 0.3769 | 0.3246 | 0.3992 | |
| 2B | 0.3781 | 0.3272 | 0.4008 |
Table 4. The complete grid: greedy TM-score for every tokenizer, compute budget and evaluation set (96 cells). Within-column comparisons smaller than 0.013 TM are below the measured run-to-run noise floor (§ 3).
References
- [1]Hayes, T., Rao, R., Akin, H., et al. Simulating 500 million years of evolution with a language model. Science, 387 (6736): 850–858, 2025.DOI
- [2]Wang, X., Zheng, Z., Ye, F., Xue, D., Huang, S., and Gu, Q. DPLM-2: A multimodal diffusion protein language model. In International Conference on Learning Representations, 2025.
- [3]Gao, Z., Tan, C., Wang, J., Huang, Y., Wu, L., and Li, S. Z. FoldToken: Learning protein language via vector quantization and beyond. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 219–227, 2025. doi: 10.1609/aaai.v39i11.31998.
- [4]Yuan, X., Wang, Z., Collins, M., and Rangwala, H. Protein structure tokenization: Benchmarking and new recipe. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of PMLR, 2025. arXiv:2503.00089.arxiv.org/abs/2503.00089
- [5]Gaujac, B., Doña, J., Liu, L., Sarkissian, T., Beguir, K., and Pierrot, T. Learning the language of protein structure. arXiv preprint arXiv:2405.15840, 2024.arxiv.org/abs/2405.15840
- [6]Cao, X., Feng, Z., Zhang, Z., and Gao, Y. Q. Protokens: A machine-learned language for compact and informative encoding of protein 3d structures. Chemical Science, 2025. doi: 10.1039/D5SC02055G.
- [7]Su, J., Han, C., Zhou, Y., Shan, J., Zhou, X., and Yuan, F. SaProt: Protein language modeling with structure-aware vocabulary. In International Conference on Learning Representations (ICLR), 2024. https://openreview.net/forum?id=6MRm3G4NiU.DOI
- [8]Ma, Z., Fan, C., Wang, Z., et al. ProtTeX: Structure-in-context reasoning and editing of proteins with large language models. arXiv preprint arXiv:2503.08179, 2025.arxiv.org/abs/2503.08179
- [9]Li, M., Tan, Y., Ma, X., Zhong, B., Yu, H., Zhou, Z., Ouyang, W., Zhou, B., Tan, P., and Hong, L. ProSST: Protein language modeling with quantized structure and disentangled attention. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024.DOI
- [10]Heinzinger, M., Weissenow, K., Sanchez, J. G., Henkel, A., Mirdita, M., Steinegger, M., and Rost, B. Bilingual language model for protein sequence and structure. NAR Genomics and Bioinformatics, 6(4):lqae150, 2024. doi: 10.1093/nargab/lqae150.DOI
- [11]Yu, L., Lezama, J., Gundavarapu, N. B., Versari, L., Sohn, K., Minnen, D., Cheng, Y., Gupta, A., Gu, X., Hauptmann, A. G., Gong, B., Yang, M.-H., Essa, I., Ross, D. A., and Jiang, L. Language model beats diffusion: Tokenizer is key to visual generation. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2310.05737
- [12]Zeghidour, N., Luebs, A., Omran, A., Skoglund, J., and Tagliasacchi, M. SoundStream: An end-to-end neural audio codec. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 30:495–507, 2022.arxiv.org/abs/2107.03312
- [13]Défossez, A., Copet, J., Synnaeve, G., and Adi, Y. High fidelity neural audio compression. Transactions on Machine Learning Research (TMLR), 2023.arxiv.org/abs/2210.13438
- [14]Zhang, J., Yang, B. M.-P., Gong, J., Fan, X., Ellington, T., Xing, E. P., and Tan, L. S. Balancing locality and reconstruction in protein structure tokenizer. bioRxiv preprint 2024.12.02.626366, 2024.DOI
- [15]Zhang, Y. and Skolnick, J. Scoring function for automated assessment of protein structure template quality. Proteins: Structure, Function, and Bioinformatics, 57(4):702–710, 2004.
- [16]Mariani, V., Biasini, M., Barbato, A., and Schwede, T. lddt: a local superposition-free score for comparing protein structures and models using distance difference tests. Bioinformatics, 29(21):2722–2728, 2013.DOI
- [17]Zemla, A. LGA: A method for finding 3d similarities in protein structures. Nucleic Acids Research, 31(13):3370–3374, 2003.pubmed.ncbi.nlm.nih.gov/12824330
- [18]Buttenschoen, M., Morris, G. M., and Deane, C. M. PoseBusters: AI-based docking methods fail to generate physically valid poses or generalise to novel sequences. Chemical Science, 15(9):3130–3139, 2024.
- [19]van den Oord, A., Vinyals, O., and Kavukcuoglu, K. Neural discrete representation learning. In Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. https://proceedings.neurips.cc/paper_files/paper/2017/hash/7a98af17e63a0ac09ce2e96d03992fbc-Abstract.html.arxiv.org/abs/1711.00937
- [20]Mentzer, F., Minnen, D., Agustsson, E., and Tschannen, M. Finite scalar quantization: VQ-VAE made simple. In International Conference on Learning Representations (ICLR), 2024.arxiv.org/abs/2309.15505
- [21]Hardy, R., Zhang, X., and Rajpurkar, P. ProTok: Unified protein tokenization via modular multi-codebook quantization. arXiv preprint arXiv:2610.18481, 2026.arxiv.org/abs/2610.18481
- [22]van Kempen, M., Kim, S. S., Tumescheit, C., Mirdita, M., Lee, J., Gilchrist, C. L. M., Söding, J., and Steinegger, M. Fast and accurate protein structure search with Foldseek. Nature Biotechnology, 42(2):243–246, 2024. doi: 10.1038/s41587-023-01773-0.DOI
- [23]Chang, H., Zhang, H., Jiang, L., Liu, C., and Freeman, W. T. MaskGIT: Masked generative image transformer. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022.arxiv.org/abs/2202.04200
- [24]Jumper, J., Evans, R., Pritzel, A., et al. Highly accurate protein structure prediction with AlphaFold. Nature, 596:583–589, 2021.DOI
- [25]Baek, M., DiMaio, F., Anishchenko, I., et al. Accurate prediction of protein structures and interactions using a three-track neural network. Science, 373(6557):871–876, 2021. doi: 10.1126/science.abj8754.DOI
- [26]Abramson, J., Adler, J., Dunger, J., et al. Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature, 630:493–500, 2024.DOI
- [27]Lin, Z., Akin, H., Rao, R., et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science, 379(6637):1123–1130, 2023.DOI
- [28]Kryshtafovych, A., Schwede, T., Topf, M., Fidelis, K., and Moult, J. Progress and bottlenecks for deep learning in computational structure biology: CASP round XVI. Proteins: Structure, Function, and Bioinformatics, 94(1):5–14, 2026.DOI
- [29]Yuan, Q., Tian, C., and Zhang, Y. CASP16 protein monomer structure prediction assessment. Proteins: Structure, Function, and Bioinformatics, 94(1):86–105, 2026.DOI
- [30]Xu, S., Zhang, O., Wang, Y., et al. Benchmarking all-atom biomolecular structure prediction with FoldBench. Nature Communications, 2025. doi: 10.1101/2025.05.22.655600.
- [31]Holtzman, A., Buys, J., Du, L., Forbes, M., and Choi, Y. The curious case of neural text degeneration. In International Conference on Learning Representations (ICLR), 2020.
- [32]Welleck, S., Kulikov, I., Roller, S., Dinan, E., Cho, K., and Weston, J. Neural text generation with unlikelihood training. In International Conference on Learning Representations (ICLR), 2020.
- [33]Bengio, S., Vinyals, O., Jaitly, N., and Shazeer, N. Scheduled sampling for sequence prediction with recurrent neural networks. In Advances in Neural Information Processing Systems (NeurIPS), 2015.arxiv.org/abs/1506.03099
- [34]Ranzato, M., Chopra, S., Auli, M., and Zaremba, W. Sequence level training with recurrent neural networks. In International Conference on Learning Representations (ICLR), 2016.
- [35]Kabsch, W. and Sander, C. Dictionary of protein secondary structure: Pattern recognition of hydrogen-bonded and geometrical features. Biopolymers, 22(12):2577–2637, 1983.
- [36]Zhang, Y. and Skolnick, J. TM-align: a protein structure alignment algorithm based on the TM-score. Nucleic Acids Research, 33(7):2302–2309, 2005. doi: 10.1093/nar/gki524.DOI
- [37]Reimers, N. and Gurevych, I. Reporting score distributions makes a difference: Performance study of LSTM-networks for sequence tagging. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2017.arxiv.org/abs/1707.09861
- [38]Henderson, P., Islam, R., Bachman, P., Pineau, J., Precup, D., and Meger, D. Deep reinforcement learning that matters. In AAAI Conference on Artificial Intelligence, 2018.arxiv.org/abs/1709.06560
- [39]Dodge, J., Gururangan, S., Card, D., Schwartz, R., and Smith, N. A. Show your work: Improved reporting of experimental results. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2019.arxiv.org/abs/1909.03004
- [40]Esm3 structure tokenizer. https://github.com/evolutionaryscale/esm. Accessed 2026; exact commit and weight checksums recorded in the released archive.
- [41]Dplm-2 structure tokenizer. https://github.com/bytedance/dplm.git, commit 8a2e15e534. Accessed 2026; exact commit and weight checksums recorded in the released archive.
- [42]Profit. https://github.com/QDkStorm/ProFiT.git, commit be4ff7cb6b. Accessed 2026; exact commit and weight checksums recorded in the released archive.
- [43]Foldtoken4. https://github.com/A4Bio/FoldToken_open.git, commit fed13c4d11. Accessed 2026; exact commit and weight checksums recorded in the released archive.
- [44]Structtokenbench (aminoaseed, vanillavq). https://github.com/KatarinaYuan/StructTokenBench.git, commit 2681b240f6. Accessed 2026; exact commit and weight checksums recorded in the released archive.
- [45]Gcp-vqvae. https://github.com/mahdip72/vq_encoder_decoder.git, commit 68c4c284fe. Accessed 2026; exact commit and weight checksums recorded in the released archive.
- [46]Yu, J., Li, X., Koh, J. Y., Zhang, H., Pang, R., Qin, J., Ku, A. X., Xu, Y., Baldridge, J., and Wu, Y. Vector-quantized image modeling with improved VQGAN. In International Conference on Learning Representations (ICLR), 2022.arxiv.org/abs/2110.04627
- [47]Robin, X., Haas, J., Gumienny, R., Smolinski, A., Tauriello, G., and Schwede, T. Continuous Automated Model EvaluatiOn (CAMEO)—perspectives on the future of fully automated evaluation of structure prediction methods. Proteins: Structure, Function, and Bioinformatics, 89(12):1977–1986, 2021. doi: 10.1002/prot.26213.DOI
- [48]Steinegger, M. and Söding, J. MMseqs2 enables sensitive protein sequence searching for the analysis of massive data sets. Nature Biotechnology, 35(11):1026–1028, 2017. doi: 10.1038/nbt.3988.
- [49]Hamming, R. W. Error detecting and error correcting codes. The Bell System Technical Journal, 29(2):147–160, 1950.DOI
- [50]Dietterich, T. G. and Bakiri, G. Solving multiclass learning problems via error-correcting output codes. Journal of Artificial Intelligence Research, 2:263–286, 1995.arxiv.org/abs/cs/9501101
- [51]Efron, B. Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1):1–26, 1979.
- [52]Rao, R., Meier, J., Sercu, T., Ovchinnikov, S., and Rives, A. Transformer protein language models are unsupervised structure learners. In International Conference on Learning Representations (ICLR), 2021.DOI
- [53]Wang, X., Wei, J., Schuurmans, D., Le, Q., Chi, E., Narang, S., Chowdhery, A., and Zhou, D. Self-consistency improves chain of thought reasoning in language models. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2203.11171
- [54]Wang, X., Zheng, Z., Ye, F., Xue, D., Huang, S., and Gu, Q. Diffusion language models are versatile protein learners. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 52309–52333. PMLR, 2024. https://proceedings.mlr.press/v235/wang24ct.html.arxiv.org/abs/2402.18567
- [55]Kirkpatrick, J., Pascanu, R., Rabinowitz, N., et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the National Academy of Sciences, 114(13):3521–3526, 2017. doi: 10.1073/pnas.1611835114.DOI
- [56]Luo, Y., Yang, Z., Meng, F., Li, Y., Zhou, J., and Zhang, Y. An empirical study of catastrophic forgetting in large language models during continual fine-tuning. IEEE Transactions on Audio, Speech and Language Processing, 33:3776–3786, 2025. doi: 10.1109/TASLPRO.2025.3606231.DOI
- [57]Gururangan, S., Marasović, A., Swayamdipta, S., Lo, K., Beltagy, I., Downey, D., and Smith, N. A. Don’t stop pretraining: Adapt language models to domains and tasks. In Annual Meeting of the Association for Computational Linguistics (ACL), 2020.arxiv.org/abs/2004.10964
- [58]Wang, Y., Ma, X., Zhang, G., et al. MMLU-Pro: A more robust and challenging multi-task language understanding benchmark. In Advances in Neural Information Processing Systems (Datasets and Benchmarks Track), volume 37, pp. 95266–95290. Curran Associates, Inc., 2024.arxiv.org/abs/2406.01574
- [59]MMLU-Pro. MMLU-Pro: A more robust and challenging multi-task language understanding benchmark. https://huggingface.co/datasets/TIGER-Lab/MMLU-Pro. Evaluated on a pre-registered 350-item stratified subset with the upstream item list and scorer.
- [60]Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E. H., Le, Q. V., and Zhou, D. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, 2022.arxiv.org/abs/2201.11903
- [61]McNemar, Q. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika, 12(2):153–157, 1947.pubmed.ncbi.nlm.nih.gov/20254758
- [62]Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361, 2020.arxiv.org/abs/2001.08361
- [63]Hoffmann, J., Borgeaud, S., Mensch, A., et al. Training compute-optimal large language models. In Advances in Neural Information Processing Systems (NeurIPS), 2022.arxiv.org/abs/2203.15556




