RumiFold: Teaching an LLM to Natively Fold Proteins and Reason About Their Function

protein folding LLM

they take Qwen3-8B, train it on protein folding to Sota, and then also fine-tune on a bunch of description tasks using those representations, and it explains protein function pretty well.

I like this a lot because it aligns with the dream of training models that improve human understanding. Maybe one day the bio models could reveal interesting biological learnings encoded in their weights.

  • they first take the protein and run it through a frozen embedding model, with a trained projection, to get it into the Qwen3-8B hidden state space
  • then do two forward passes (why two? they don’t really explain besides citing alphafold2)
  • take the final hidden states and train a linear head to do protein prediction.
  • also train the model on Q&A while attending to those hidden states

An interesting detail from training is that for Q&A, they supervise answers based on the model’s predicted folding, not the ground-truth answers, which incentivizes using the folding representations.

Examples of the Q&A tasks they fine-tune on

Results

Folds with Sota performance. Training language Q&A (dark green) doesn’t lose capability over just training folding (light green) into qwen3-8B

Explanation results are maybe a little weaker: seems still not better than a nearest-neighbor search

It’s paying attention to and using the right active sites for its explanations