TL;DR
SaNano is a specialized language model designed for VHH antibodies (nanobodies) that integrates both amino acid sequences and 3D structural information. By fine-tuning a structure-aware base model, SaNano internalizes the unique geometry of nanobodies, allowing it to achieve state-of-the-art performance in property prediction and sequence generation—even when structural data is unavailable at inference time.
What Problem Does This Paper Address?
Single-domain antibodies, specifically camelid VHHs (often called nanobodies), are the "rising stars" of immunotherapy due to their small size, high stability, and ability to bind targets that conventional antibodies cannot reach. However, they are structurally distinct: they lack a light chain and possess exceptionally long, flexible loops (CDR3) that form unique, convex binding surfaces.
Existing protein language models (PLMs) like ESM-2 are trained on general proteins and often fail to capture these VHH-specific nuances. Conversely, antibody-specific models are usually "sequence-only," ignoring the critical relationship between a nanobody's sequence and its 3D shape. Training a VHH model from scratch is difficult because high-quality structural data for nanobodies is scarce compared to general proteins.
Methods
The researchers developed SaNano by building upon SaProt, a structure-aware PLM. The core innovation lies in how the model "sees" proteins:
- SA Tokens: Instead of just reading amino acids, SaNano uses "Structure-Aware" tokens. Each token combines a residue (e.g., Alanine) with a 3Di token—a structural "alphabet" from Foldseek that describes the local 3D environment of that residue.
- Transfer Learning with LoRA: Rather than retraining the entire 650-million-parameter model, they used Low-Rank Adaptation (LoRA). This allowed them to update only ~3.7% of the parameters, specializing the model for VHHs while preventing it from "forgetting" general protein biology.
- Interleaved Training: During fine-tuning, the model was trained on two modes:
- Structure-conditioned: The model sees the 3D structure and must guess the missing amino acid.
- Sequence-only: The model sees only the sequence (structure is masked) and must guess the missing amino acid.
This dual-mode training forces the model to "internalize" structural priors, effectively learning to "imagine" the 3D shape of a nanobody even when only provided with a sequence.
Datasets
- Training: The primary source was the INDI1 (Integrated Database of Nanobodies for Immunoinformatics), filtered down to ~257,000 high-quality VHH sequences.
- Structures: Since experimental structures are rare, the team used NanoBodyBuilder2 to predict structures for the training set. To maintain accuracy, they mixed this with high-quality experimental data from SwissProt/AlphaFold in a 3:1 ratio.
- Evaluation: The model was tested on SAbDab (for contact prediction), NbBench (for biophysical properties), and a holdout set of 26,000 non-redundant VHH sequences from INDI1.
Key Insights and Ideas
- Structure as a Teacher, Not a Crutch: The most significant finding is that training with structure improves performance even when you don't use structure at runtime. SaNano "internalizes" the physics of VHH folding, making it a superior sequence-only model for high-throughput screening where folding millions of candidates would be too slow.
- Mastering the CDR3: The CDR3 region is the most variable and important part of a nanobody. SaNano showed massive improvements in "pseudo-perplexity" (a measure of how well the model understands a sequence) in this region compared to general models.
- Domain Specificity Matters: Even though models like ESM-2 are trained on billions of sequences, SaNano’s targeted fine-tuning on just a few hundred thousand VHHs allowed it to outperform the giants on nanobody-specific tasks.
Key Results
- Contact Prediction: SaNano outperformed ESM2-650M and the base SaProt model in predicting which parts of the protein touch each other in 3D space.
- Biophysical Properties: SaNano achieved the highest Spearman correlation across seven benchmarks, including hydrophobicity, expression levels, and thermostability.
- Generative Potential: In sequence reconstruction tasks, SaNano achieved a perplexity of 11.14 on the highly variable CDR3 region, significantly better than ESM2-650M (18.08) and the antibody-specific AbLang2 (20.40). Lower perplexity suggests the model is much better at suggesting biologically plausible mutations for drug design.
Limitations and Future Work
The authors acknowledge a few key hurdles:
- Synthetic Ground Truth: Because experimental VHH structures are rare, the model was trained on predicted structures from NanoBodyBuilder2. The model's structural "understanding" is therefore capped by the accuracy of that initial predictor.
- Species Bias: The training data is heavily skewed toward Llama and Alpaca sequences. Its performance on other species (like camels or synthetic humanized nanobodies) may vary.
- Future Directions: The team suggests that this "structure-aware transfer learning" approach could be a blueprint for other data-limited protein modalities, such as T-cell receptors or specific enzyme families.
Availability: The model is open-sourced and available on Hugging Face.
Summary updated