The one-paragraph version
This paper asks whether teaching a language model to reason about protein shapes can make it better at reasoning in general, even on tasks with no proteins at all. The authors turn 1,200 solved protein structures into a question-answer dataset called FoldingCorpus, with 12 checkable spatial questions per protein, and a training recipe called Fold2Reason that teaches a frozen language model new habits through a small trainable add-on. After training only on proteins, their adapted Qwen3.5-9B model improves from 45.09% to 48.33% average accuracy across 10 unrelated benchmarks covering text, image, and video spatial reasoning, graph reasoning, chemistry and lab science, and hard general reasoning. Most of the gain comes from answering discrete structural questions, with a small extra spatial boost from predicting continuous 3D geometry. The authors show careful controls and honest limits, and they do not claim the model now truly folds proteins well or reasons in a fully general way.
The problem they're solving, and why it matters
Large language models learn mostly from human-written text, which usually gives the final answer but hides the step-by-step spatial logic that produced it. For example, text might say two parts touch, without saying how distances, angles, and packing constraints force that to be true. At the same time, researchers worry we are running out of high-quality human text to train on, and that training on narrow math or code does not always transfer to broader thinking.
Protein folding, meaning predicting how a chain of amino-acid building blocks curls up into a compact 3D shape, is attractive as an alternative teacher. We already have tens of thousands of solved structures in the Protein Data Bank, which is a public archive of experimentally determined molecular shapes. From one solved shape you can automatically generate thousands of exact statements, such as whether two positions are in contact, which pair is closer, which point is nearer the center, or whether four points form a left-handed or right-handed twist. No human labeling is needed, and every answer can be checked by recomputing it from the coordinates. The open question is whether practicing on that dense, verifiable, non-linguistic structure teaches reusable reasoning, or just protein trivia.
The key idea, in plain words
The key idea is to use a solved scientific problem as gym equipment for general reasoning. Instead of collecting more essays or chat transcripts, take a protein shape you already know, hide the shape from the model, give the model only the sequence and related clues, and force it to answer many spatial questions about the hidden shape.
To make the workout stick, the authors use two kinds of supervision through the same shared representation. The first kind is discrete answers in words, meaning short multiple-choice tokens like A or B predicted with the model’s normal language output. The second kind is continuous geometry, meaning actual 3D positions and distance patterns predicted by a separate geometric reader. The geometric reader is frozen, meaning its own weights cannot change, so the language model itself must change to make better predictions. After training, they throw away the protein inputs, the shared workspace, and the geometric reader, and test only the adapted language model on ordinary benchmarks. If scores still go up, the benefit must live in the model’s weights, not in a protein-specific tool.
How it actually works, step by step
First, they build FoldingCorpus. They start from a curated collection of short single-chain proteins. For each protein they keep the known backbone coordinates, meaning the 3D positions of the core chain atoms, outside the model input and use them only to create answers. A program then writes 12 questions per protein.
In concrete terms, the 12 operators, meaning fixed question-generating rules, include: short-, medium-, and long-range contact, which asks if two positions separated along the chain end up close in space, for example residues 23 and 147 within 8 angstroms; distance comparison, which asks if one pair is closer than another; segment orientation, which asks how two chain segments point relative to each other; distance to center; local direction; handedness or chirality, which asks if four points in a row twist one way or the other; a multi-constraint choice; a 32-way summary match against hard look-alike summaries; and an any-contact check. Nine answers are two-way, two are three-way, and one is 32-way, and every answer is a single vocabulary token. In total the core has 1,200 proteins and 14,400 records, split into 1,000 for training, 100 for development, and 100 for frozen testing, with checks to avoid reusing the same sequence cluster across splits.
Second, they post-train with Fold2Reason. They freeze the base Qwen3.5-9B model, meaning its original weights do not move, and add Low-Rank Adaptation, which is a small trainable low-rank add-on to attention and feed-forward layers, here about 43 million parameters. During training the model reads a protein prompt with one marker per residue, producing high-dimensional states. A small training-time workspace compresses those to 256 dimensions, passes messages between nearby and sampled far-apart positions, and returns residue-level features plus 16 pooled summary tokens.
Those shared features feed two readouts. The language path puts the pooled tokens in front of the 12 questions and trains the normal language head to predict the 12 answer tokens plus end-of-sequence, ignoring prompt positions. The geometry path sends the residue features into the frozen coordinate and distogram decoder, where a distogram means predicted distribution over pairwise distances, and computes losses for coordinates, pair distances, contacts, local frames, twist angles, and overall size. The total training objective is simply answer loss plus geometry loss. They train for three epochs, meaning three full passes over the 1,000 proteins, or 375 optimizer steps, averaged over three random seeds.
Third, they evaluate transfer. General-10, meaning their unweighted macro-average over 10 benchmarks, includes their own text benchmark FTB-Core for 3D primitives and constraint satisfaction, plus SpatialViz for image-based spatial visualization, VSI for video-based spatial understanding, GraphQA Easy and Hard for reasoning over graphs, BBH for diverse hard tasks, ChemBench and ChemBench4K for chemistry questions from two sources, Lab-Bench for biology lab workflows, and SciBench for college science problems. Separately, FoldBench with 334 monomer proteins tests structural readout with scores called TM-score for global topological similarity, lDDT-C-alpha for preservation of local neighborhoods, Contact F1 for correctly recovered contacts, and distance error.
What they showed — results, honestly, with limitations
On general transfer, Fold2Reason raises the 10-benchmark average from 45.09% to 48.33%, a gain of 3.23 percentage points, with positive mean changes on all 10 datasets and consistent gains across three seeds. The largest mean gains are on GraphQA Hard at plus 6.83 points, SpatialViz at plus 6.10, GraphQA Easy at plus 4.56, and ChemBench4K at plus 4.37. The gain survives removing the authors’ own FTB-Core benchmark, leaving plus 3.14 points on the other nine, and survives removing both graph benchmarks.
Matched controls suggest this is not just learning answer format. Controls that use the same training budget but copy given answer codes, or learn fixed shuffled labels that mismatch the input, give around minus 0.09 and minus 0.27 points. A control that answers questions about a hidden random cloud shape instead of the true protein still gains plus 0.92 points, which the authors interpret as some benefit from internally coherent geometry alone, but true protein structure at plus 3.23 points is more than twice as strong.
Ablations separate the two signals. Question-answering alone without geometry already gives plus 2.93 points, so it carries most of the broad effect. Adding geometry adds only plus 0.30 points on average, and that increment varies by seed including one negative seed, so its broad average is seed-sensitive and its statistical interval spans zero. The geometry increment concentrates in spatial tests, adding about 1.26 points on FTB-Core, 0.90 on SpatialViz, and 1.08 on video spatial, while changing the other seven text tasks by essentially zero. Structurally, geometry improves local measures, lDDT-C-alpha and Contact F1, but slightly worsens global TM-score and average distance error, and absolute folding remains weak at TM-score 0.1688 and lDDT 0.2532, far from competitive folding. Read through its native language head, the base model is much worse, so Fold2Reason improves decodability by 2.7 to 3.5 times, but that still means poor global reconstruction.
Limits are stated plainly and matter. Gains extend to smaller Qwen sizes and to InternVL3.5-8B at plus 1.53 points, but Gemma-4-12B is neutral at plus 0.07 points, so architecture matters. Scaling from 50 to 2,000 proteins steadily helps and peaks at plus 3.70 points, then stays strong at 4,000, but asking more questions per protein at fixed protein count gives no steady gain. Task gains are concentrated: one sparse-constraint selection task accounts for about 75% of the FTB-Core net gain, and one cube-assembly task accounts for about 54% of the SpatialViz net gain, with strong answer-bias in the base model. Removing those tasks still leaves gains, but not uniform spatial improvement. The paper also reports template overlaps between some training inputs and FoldBench targets, incomplete isolation for remote homology and novel folds, and no established proof of reusable reasoning versus better use of existing abilities or format adaptation.
Why this might matter to me
For spatial reasoning in language and vision-language models, the striking result is that training only on symbolic protein sequences improves image-grounded SpatialViz and video-grounded VSI, without ever training on images or video for those skills. That suggests a text-accessible 3D task can install or unlock biases for judging rotation, projection, collision, clearance, and constraint satisfaction that carry across modalities.
For world models, the split between local and global is instructive. Geometry supervision sharpens local neighborhoods and contacts but does not fix global topology, and distance maps remain diffuse compared with ground truth. That mirrors a common failure in world models and 3D generation: plausible local patches with incoherent global layout. If you build scene representations, this argues for explicitly supervising both local contact and global assembly, not assuming one implies the other.
For text-to-CAD and parametric geometry, the recipe maps almost directly. CAD sketches are also about exactly checkable constraints: coincidence, distance ordering, parallelism, clearance between swept paths, and selection among candidates that satisfy sparse constraints, which is precisely where this paper gains most. Training a language head on discrete constraint decisions plus a frozen geometric solver for continuous parameters, then discarding the solver at test time, could be a practical way to get more constraint-respecting CAD programs. The caution is that format learning and choice bias can masquerade as reasoning, so future CAD benchmarks will need balanced option permutations and strict parsing audits like the ones here.
Terms worth knowing
- Protein folding: how a linear chain of amino acids folds into a specific 3D shape; here used as training supervision, not as the final application.
- FoldingCorpus: the authors’ dataset of 12 automatically generated spatial questions and verified answers per protein.
- Fold2Reason: the full training recipe combining FoldingCorpus answer loss with continuous geometry loss.
- Low-Rank Adaptation or LoRA: a method that freezes a large model and trains only a small low-rank add-on; here the only place broad transfer can live after protein modules are removed.
- Workspace: a small trainable hub used only during training to convert per-residue model states into features for both answer prediction and geometry prediction.
- Frozen decoder: a pre-trained coordinate and distogram predictor whose weights are locked, forcing the language model representations to improve instead.
- General-10: the unweighted average accuracy across the paper’s 10 diverse benchmarks; External9 is the same without the authors’ own FTB-Core.
- FTB-Core / SpatialViz / VSI: respectively a new text benchmark for 3D primitives and constraints, an image benchmark for spatial visualization like cube assembly and paper folding, and a video benchmark for remembering and comparing spaces.
- TM-score, lDDT-C-alpha, Contact F1: standard structure scores for global shape similarity, local neighborhood preservation, and correctly predicted contacts; higher is better.
- Distogram: a predicted pattern of distances between all pairs of positions, used as rich geometric supervision.
- Chirality: handedness, whether four points twist like a left or right screw; a tiny local 3D property that is hard to express in words alone.