A chatbot that folds first and answers second#

Ask most AI assistants what a protein does and they will reach for a tool. They call AlphaFold or a similar program, read back a summary and paraphrase it. A new preprint from Northeastern University takes a different route: it teaches the language model to fold the protein itself, inside its own hidden states, and then answer from what it has computed (Lu, Bau and Jin, arXiv, not peer-reviewed). The model is called RumiFold.

The headline claim is modest and, for that reason, more believable than most. An 8-billion-parameter chat model folds proteins about as well as small dedicated models, and it then describes protein function slightly better than the published specialists it was compared with. The more interesting claim is mechanistic. Folding seems to create an internal workspace that the model reads when it answers, and the authors tested that with interventions rather than assuming it.

Background: what folding means and how it is scored#

A protein is a chain of amino acids that folds into a three-dimensional shape, and that shape largely determines what the protein does. Predicting the shape from the chain, known as protein structure prediction or the protein folding problem, has been transformed by deep learning, with AlphaFold 3 extending the approach to interactions between biomolecules (Abramson et al., Nature).

Three scores recur in the paper. TM-score measures how well the overall shape of a prediction matches the experimental structure, with 1 being a perfect match. The lDDT score looks at local detail, asking whether nearby atoms sit at the right distances. GDT-TS is another overall measure of how many positions fall close to the true ones. All three were computed on Cα coordinates, the single backbone atom per amino acid.

Function is scored differently. Gene Ontology (GO) terms are standardised labels such as "serine-type endopeptidase activity" that describe what a protein does, where it acts and in which processes it takes part (Ashburner et al., Nature Genetics). The F1 score balances how many correct terms a model finds against how many wrong ones it adds.

Finally, a few technical terms. A protein language model is a model trained on amino-acid sequences in the way a text model is trained on words. A single-representation folding model works from a per-residue summary of the sequence, whereas the AlphaFold family also uses a pair representation, a grid recording how every residue relates to every other. LoRA is a method that adapts a large model by training a small number of added weights while the original weights stay frozen.

How RumiFold is built#

RumiFold starts from Qwen3-8B, a general-purpose chat model, fine-tuned with LoRA adapters (Lu, Bau and Jin, project page). It has no pair representation, no multiple sequence alignment and no diffusion module (Lu, Bau and Jin, project page). The computation happens in three steps.

First, a frozen ESM-C protein encoder reads the amino-acid sequence, and a small trained bridge turns its output into protein tokens, one per residue, that the language model can read (Lu, Bau and Jin, project page). Second, the language model processes those tokens in two folding passes with the same weights, recycling its hidden states from the first pass into the second, and a single linear head reads backbone coordinates from the result. Third, the same model reads a question together with its own folded hidden states and replies in natural language (Lu, Bau and Jin, project page).

The key design choice is that the language pass attends to the folding memory and to nothing else about the protein, so its answers must come from what folding produced. Think of a student who has to sketch a protein from scratch before being allowed to answer an exam question about it, instead of reading a ready-made diagram.

Does it actually fold?#

The authors scored the model on the 334 monomer targets of FoldBench and the 155 evaluation domains of CASP16, a community blind-test assessment. The comparison is with other single-representation models, with ESMFold shown as a reference.

ModelFoldBench TM-scoreCASP16 TM-scoreNote
RumiFold-Struct (folding only)0.8460.720Spends all its capacity on structure (Lu et al.)
RumiFold0.8400.714The model that also answers questions
SimpleFold 700M0.8320.706Better lDDT, by 0.02 on both sets
ESM3-open0.783not reported hereSingle-representation model
DPLM-2 3B0.709not reported hereSingle-representation model

RumiFold's TM-score of 0.840 on FoldBench compares with 0.832 for SimpleFold 700M, and on CASP16 it reaches 0.714 against 0.706. Local accuracy runs the other way: SimpleFold 700M has the higher lDDT, at 0.802 against 0.781 on FoldBench. The authors describe this as placing the chain as well as a dedicated model of comparable size while being a little less exact in the local detail.

Two caveats belong next to those numbers. On the held-out sets CAMEO22 and CASP14, which were screened out of training at 30% sequence identity, SimpleFold 700M is ahead of RumiFold. And the model predicts backbone structure only, and trails models that use a pair representation or an alignment (Lu, Bau and Jin, project page). RumiFold is not an AlphaFold replacement. The claim is narrower: a frozen general language model, with small adapters, can learn the task at all.

From folding to function#

The reason to teach a chat model to fold is to see whether folding helps with function. The authors trained on 169,810 labelled proteins and evaluated on a test set of 3,726 proteins from the GO-GPT v2 benchmark.

Gene Ontology prediction, mean weighted F1Horizontal bars with an axis starting at 0.50. RumiFold 0.683, GO-GPT v2 0.666, RumiFold-Struct with GO head 0.657, BioReason-Pro RL 0.655, Qwen with ESM-C and no folding 0.638, Qwen with ESMFold2 states 0.638.GO prediction, mean weighted F1 (axis starts at 0.50)RumiFold0.683GO-GPT v2 (released)0.666RumiFold-Struct + GO head0.657BioReason-Pro (RL)0.655Qwen + ESM-C, no folding0.638Qwen + ESMFold2 states0.638RumiFold variantsPublished systemsControls without folding pretrainingSource: Lu, Bau and Jin, arXiv:2611.29444 (not peer-reviewed), GO-GPT v2 benchmark, 3,726 test proteins.

RumiFold reached a mean weighted F1 of 0.683, against 0.666 for the released GO-GPT v2 and 0.655 for BioReason-Pro, a difference from GO-GPT v2 that the authors report as significant in a paired permutation test. The gain came mainly from molecular function and cellular component, with biological process level at 0.615 against 0.614. The chart's axis starts at 0.50, so the visual gaps overstate the size of the differences.

The control experiments are the most informative part. The same model without folding training scored 0.638, and so did a model fed the internal states of the dedicated folding model ESMFold2, against RumiFold's 0.683. Retraining GO-GPT v2 with the newer ESM-C encoder did not help either, scoring 0.651 against the original 0.666. These checks argue that the gain comes from learning to fold rather than from a better encoder.

The picture is less rosy for distant relatives of the training proteins. For test proteins below 50% sequence identity to anything in the training set, RumiFold scored 0.508 against 0.511 for GO-GPT v2, so the advantage does not obviously carry over to unfamiliar proteins. On free-text description, RumiFold beat Prot2Text-V2 on the 2,063 novel proteins (BLEU-4 of 19.3 against 15.9), while over all 4,203 test proteins the two were close and RumiFold was slightly behind on two of three measures.

Looking inside the workspace#

The most original part of the paper is a set of experiments that ask whether the model really uses its folded memory. Without any function labels, folding alone made proteins cluster by function: a protein's ten nearest neighbours shared its molecular-function class 54% of the time, compared with 37% in the encoder features, rising to 69% after function training.

The attention results are striking. When the model named the function of subtilisin, a protease, its attention fell on the catalytic triad, three residues that are far apart in the sequence but side by side in the fold (Lu, Bau and Jin, project page). In the paper, Ser325 and His168 received the second and third largest shares of attention among 379 residues, although Asp137 ranked only seventeenth. Across 369 held-out enzymes with mutagenesis data, residues whose mutation abolishes activity sat at the 89th percentile of attention within their protein, against the 70th for residues with no reported effect.

Then come interventions. Mutating the catalytic residues to alanine and refolding made 32% of 1,448 held-out enzymes lose the answer "catalytic", compared with 3% when random residues were mutated. Restoring the original memory at only those residues recovered 90% of the lost answers, against 3% for other residues. Finally, adding a function's direction to the memory made the model write that function for proteins that lacked it, in 76% of cases for RNA binding and 46% for calcium binding, but only 9% for ATP binding (Lu, Bau and Jin, project page). The edit is blunt. Proteins kept only 14 to 57% of the terms the model had written before, against 84 to 89% under a random direction (Lu, Bau and Jin, project page).

In plain terms, the tests show that the answer is read from the folded memory and follows edits to it, which is much stronger evidence than a model merely reporting similar answers. They do not show that the model understands enzymology.

Can a Chatbot Fold Proteins RumiFold Says Yes With Caveats 2

The costs, and what it could change#

Teaching a language model to compute over proteins is not free. Despite replay of ordinary conversation during training, RumiFold loses 14 to 21 points relative to its base model on MMLU, ARC-Challenge, TruthfulQA and GSM8K, a loss the authors compare with that of BioReason-Pro against its own parent. Part of that cost comes from the replay objective alone, which on its own costs 4 to 9 points. Other limits the authors list include feeding in only the final ESM-C layer, which is not the most informative one, and a fixed two folding passes.

What might change if the approach holds up? Three things stand out, and these are my reading, not claims from the paper. First, function annotation: researchers working with newly sequenced organisms could get function descriptions that are grounded in a computed structure rather than a text summary. Second, the workspace is inspectable, which makes the model more open to audit than a tool-calling agent whose reasoning happens inside another program. Third, the recipe may travel. The authors suggest that evolutionary inference, design and binding could be learned the same way, and imagine models that propose a mutation, fold it and decide what to try next inside their own reasoning.

For drug discovery and virology, there is no direct evidence here. The paper does not test viral proteins, ligand binding or protein design, so any link to AI drug discovery or pandemic response is speculation at this stage. The relevant test will be whether the approach improves on tasks where a wrong answer costs time in a laboratory.

What to watch next#

Four developments would sharpen the picture. Independent replication, made easier because the authors released code, model weights and data, would test the headline numbers (Lu, Bau and Jin, project page). Extending the model beyond backbones to side chains and complexes would show whether it can compete on structure. A version that loses less general ability would show whether the 14 to 21 point cost is fundamental or fixable. And tests on protein design or binding would show whether the workspace helps with questions that matter to drug developers.

Frequently asked questions#

What is RumiFold? It is a chat model, built on Qwen3-8B with LoRA adapters, that predicts protein structures from its own hidden states and then answers questions about function in natural language (Lu, Bau and Jin, arXiv, not peer-reviewed).

Does RumiFold beat AlphaFold? No. It matches small single-representation models on two benchmarks, but it predicts backbones only and trails models that use pair representations or alignments (Lu, Bau and Jin, project page).

How accurate is it at predicting function? On the GO-GPT v2 benchmark it reached a mean weighted F1 of 0.683 against 0.666 for the released GO-GPT v2, though the advantage is not clear for proteins below 50% sequence identity to the training set (Lu, Bau and Jin, arXiv, not peer-reviewed).

What does "folding workspace" mean? It is the per-residue memory the model's folding passes build, which the answering step reads and which, when edited, changes the answer (Lu, Bau and Jin, arXiv, not peer-reviewed).

What does it cost the model? Training on proteins lowers general language benchmark scores by 14 to 21 points relative to the base model (Lu, Bau and Jin, arXiv, not peer-reviewed).

Has the work been peer-reviewed? No. It is an arXiv preprint submitted on 22 November 2026, and its findings should not be treated as established (arXiv).

Who funded the work? The authors acknowledge a National Science Foundation Graduate Research Fellowship, a Goodfire Research Grant with access to Goodfire's interpretability agent Silico, and the Alfred P. Sloan Foundation (Lu, Bau and Jin, arXiv, not peer-reviewed).

References#

  1. Lu, K., Bau, D. and Jin, W. RumiFold: Teaching an LLM to Natively Fold Proteins and Reason About Their Function. arXiv:2611.29444, submitted 22 November 2026 (not peer-reviewed). https://arxiv.org/abs/2611.29444
  2. Lu, K., Bau, D. and Jin, W. RumiFold project page (code, model weights and data links). https://rumifold.baulab.info/
  3. Abramson, J. et al. Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature 630, 493 to 500, 2024. https://doi.org/10.1038/s41586-024-07487-w
  4. Ashburner, M. et al. Gene Ontology: tool for the unification of biology. Nature Genetics 25, 25 to 29, 2000. https://doi.org/10.1038/75556