NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self Distillation Fine-Tuning of Protein Language Models Improves Versatility in Protein Design

Amin Tavakoli, Raswanth Murugan, Ozan Gökdemir, Arvind Ramanathan, Frances H. Arnold, Anima AnandkumararXiv 2025 · DOI

Introduction

Large Protein Language Models (PLMs), such as GenSLM and ESM, have demonstrated remarkable potential in "hallucinating" novel protein sequences. However, a significant hurdle remains: a large proportion of model-generated sequences are biological "junk" that fail to fold or function in vivo. While Large Language Models (LLMs) in natural language processing utilize Supervised Fine-Tuning (SFT) to align with human preferences, applying this to proteins is constrained by the high cost and slow pace of wet-lab experiments required to generate high-quality labeled data.

This research introduces a Self-Distillation Fine-Tuning framework designed to overcome this data bottleneck. By leveraging a model's own generative capabilities coupled with a rigorous computational filtering pipeline, the authors demonstrate that PLMs can be fine-tuned to produce high-quality, stable, and functional enzymes without requiring new experimental data.

Methods

The core of the proposed framework is a "generate-filter-retrain" loop that allows the model to serve as its own curator. The process begins with a base model (GenSLM) generating 60,000 candidate sequences for the TrpB (tryptophan synthase) enzyme family.

Overview of the self-distillation fine-tuning workflow, showing the loop from pretraining to in-silico filtering and supervised fine-tuning.

These candidates are passed through a multi-stage computational pipeline:

  1. Sequence Validation: Ensuring correct start tokens (Met/ATG) and plausible sequence lengths.
  2. Functional Constraints: Verifying the conservation of critical active site residues (e.g., Lys82 in TrpB).
  3. Structural Integrity: Using ESMFold to predict 3D structures and filtering for high confidence (pLDDT > 80).
  4. Diversity Control: Utilizing "MaxID Partitioning" to categorize sequences by their similarity to natural proteins, enabling the selection of either "Novelty" (diverse) or "Functionality" (nature-like) training sets.

The model is then retrained (SFT) on these high-quality synthetic sequences. For this study, the SFT datasets consisted of approximately 7,000 sequences for the Functionality strategy and 20,000 for the Novelty strategy.

Key Results and Insights

The self-distillation approach yielded significant improvements across several critical metrics. Post-SFT models achieved nearly 100% compliance with design constraints such as length and active site preservation, a notable increase from the 93-97% compliance observed in the base model.

Improved Thermodynamic Stability

One of the most striking findings was the improvement in "emergent" properties not explicitly targeted during filtering. Sequences generated by the fine-tuned models showed a significant positive shift in stability, as measured by Rosetta Relax energies. This suggests that training on structurally sound synthetic data helps the model learn the underlying physics of protein folding more effectively.

Distribution of stability scores (Rosetta Relax energies) for the base model versus the Novelty and Functionality SFT models, showing a clear shift toward higher stability.

Enhanced Functionality and Novelty

The SFT models also produced sequences with superior PLP docking scores, indicating a higher likelihood of successful cofactor binding. Furthermore, the "Novelty" SFT model successfully explored the "dark space" of protein sequences, generating structurally viable proteins with as little as 40-70% sequence identity to known natural variants. This demonstrates that the model can generalize beyond its training distribution to create truly novel biological catalysts.

Discussion and Future Work

This study proves that a PLM's own hallucinations, when properly filtered, can serve as high-quality training data. This bypasses the need for massive experimental datasets and allows researchers to "dial in" specific design goals, such as novelty or fidelity.

However, limitations remain. The results are currently limited to in silico (computational) validation; wet-lab synthesis is required to confirm actual enzymatic activity. Additionally, the method's reliance on teacher models like ESMFold means it may inherit their inherent biases. Future research will explore scaling this framework to larger "frontier" models with billions of parameters to see if these self-distillation benefits scale with model size.

Summary updated

BibTeX
@misc{tavakoli2025self,
  author = {Amin Tavakoli and Raswanth Murugan and Ozan Gökdemir and Arvind Ramanathan and Frances H. Arnold and Anima Anandkumar},
  title = {{Self Distillation Fine-Tuning of Protein Language Models Improves Versatility in Protein Design}},
  year = {2025},
  eprint = {2512.09329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.09329},
}
Figure