Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models
summary
The gist
Discrete structure tokenizers are chosen by how well they can be read, and used as something that must be written.<ref:2611.32168#pg1>.
In short
The study benchmarks how well different discrete structure tokenizers can be used as targets for language models to generate protein structures. It found that writability—how structurally sound a model is when producing the target structure string—varies significantly across eight tokenizers, ranging from TM 0.662 down to 0.378. This variation is linked to the local structure preservation of the tokenizer's code space, suggesting that choosing a good tokenizer is crucial for reliable generation.
Key concepts
- Writability
- Writability measures the structural quality a model achieves when it must produce the exact structure token string itself. It assesses how well the model handles generating its own required output format. This metric is essential because it reflects the practical success of using a specific tokenizer as a generation target for protein structures.
- Code Space Locality
- This property describes whether codewords close to each other in the model's output space represent structurally similar concepts in Cartesian space. Tokenizers like DPLM-2 qualify because their code spaces are locally structure-preserving, meaning near misses in the output space correspond to near hits in the actual protein structure.
- Pipeline Failure Decomposition
- The gap between a model and a specialist folding model is broken down into three components: long-range contacts not transferred (44% of the gap), discretization cost (33%), and decoding/selection (5%). Understanding these terms helps pinpoint where generation errors originate, such as failing to capture distant structural interactions.
Terminology used across episodes
This episode discusses
- Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models · Paper Radio
- Protein Structure Tokenization: Benchmarking and New Recipe
- Learning the Language of Protein Structure
- ProtTeX: Structure-In-Context Reasoning and Editing of Proteins with Large Language Models
- ProTok: Unified Protein Tokenization via Modular Multi-Codebook Quantization · Paper Radio
- Scaling Laws for Neural Language Models
The paper
Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models · Read on arXiv
Yong Liu, Zhanpeng Shi, Peicong Lin, Zhenyi Zhong, Yizhou Dang, Wendi Wu, Haoling Li, Jiayu Gu, Duo An
Shanghai Jiao Tong University · Lingang Laboratory · Fudan University · Shanghai Innovation Institute · Northeastern University · Nanjing University
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 σ=0.0067 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-0.58), 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.
Transcript
Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.
Ines: We're looking at the paper: "Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models".
Title and authors: Marcus: Let's talk about who wrote this. It’s Yong Liu, Zhanpeng Shi, Peicong Lin, Zhenyi Zhong, Yizhou Dang, Wendi Wu, Haoling Li, Jiayu Gu, Duo An and Shuangjia Zheng. They are all from Shanghai Jiao Tong University and related labs >
Ines: It's interesting that the authors are from a few different places. We have people focused on sequence analysis like myself and others who focus on large-scale data like Marcus does >
Yuki: I'm curious about the team structure. Having people from different backgrounds, like you, me, and Marcus, should help them look at this problem from various angles when they talk about which tokenizers are better >
Marcus: Definitely. The paper is titled "Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models," and it sets out to systematically test these tokenizers against each other under controlled conditions >
Ines: So the core idea here is that we usually look at how well a tokenizer encodes known structures, like in reconstruction fidelity, but this paper wants us to focus on the reverse process—how well a model can actually generate those tokens from scratch >
Yuki: It sounds like they are shifting the focus from just reading to writing as a generation target, which is a key distinction when thinking about how we use these models for design or prediction >
Ines: Precisely. We've seen this shift happen in other areas too, like diffusion models in image generation, where changing the way you encode something affects the quality ceiling of the entire system >
The paper's summary: Marcus: So what they summarize is that they are measuring writability directly. They hold things fixed and swap tokenizers to see how much structure survives when the model tries to emit it residue by residue >
Ines: It’s not just about encoding a known backbone, though. The paper measures the property of "writability," which is defined as the structural quality a model attains when it must produce that structure token string itself >
Yuki: That definition sounds important because it's more than just whether the final output looks similar to what we expect; it’s about the intrinsic structural integrity during generation >
Marcus: Right. They found that writability varies a lot across eight different tokenizers when they test this property at 2B tokens, with scores ranging from TM zero point six six two down to zero point three seven eight under identical conditions > <ref:2611.32168#pg1,from TM 0.662 down to 0.378 under identical>
Ines: That range is interesting because it crosses the threshold where most people consider a fold to be correct, with five tokenizers being above that mark and three falling short >
Yuki: So they’re saying there isn't one single best tokenizer right now; the choice depends on what kind of structure you are trying to generate and what quality you need >
The paper's improvements: Ines: The paper points out that their setup is a comparison where the tokenizer’s contribution gets mixed up with every other design choice, which they accept as the cost of training eight otherwise identical arms >
Marcus: They are suggesting some improvements to how we measure things. They propose measuring what a single codeword error costs, rather than just focusing on perfect reconstruction fidelity >
Yuki: That makes sense from a practical standpoint. If we're designing something, knowing the cost of a small mistake is more useful than just knowing if the big picture works >
Ines: And they also suggest bracketing every model score with floors and ceilings using a redemption rate calculation, RR equals TM minus S4 over S1 minus S4 multiplied by one >
Marcus: That's an attempt to normalize the scores so that we aren't mistaken about what constitutes success when you have these varied tokenizers >
Conclusion: Yuki: So, to wrap up, the paper "Benchmarking Protein Structure Tokenizers as Generation Targets for Language Models" shows that writability varies quite a bit across different tokenizers when generating structure tokens >
Ines: It suggests we need to be more careful about which tokenizer we pick based on what kind of output quality you actually need because the performance isn't uniform >
Marcus: They claim DPLM-two is the most writable under these specific conditions, but they also point out that the gap to a specialist folding model is made up of different things, like long-range contacts not being transferred and discretization costs > <ref:2611.32168#pg1>
Yuki: And it sounds like they are suggesting that either we need a better tokenized code space or some kind of continuous refinement stage to bridge the gap to those specialists >
Ines: So the main implication is that we need more concrete metrics on error costs and a way to bracket our scores so we don't just pick the tokenizer that gives us the highest raw number >
Marcus: Exactly. It’s not about finding one perfect tokenizer right now; it’s about measuring what a single mistake costs when you are trying to write a structure, which is something we need to do more of for practical applications.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2502.05872-Flexible inference of evolutionary accumulation dynamics using uncertain observational data
- 2511.08292-Distance by de-correlation: Computing distance with heterogeneous grid cells
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04
- Daily Summary for 2026-12-03
- 2608.11444-Large-scale AI-Ready Data for Anti-Cancer Drug Response Modeling
- 2605.11718-Self-organized MT Direction Maps Emerge from Spatiotemporal Contrastive Optimization
- 2409.02674-Fibration symmetry-breaking supports functional transitions in a brain network engaged in language