Structure-Aware Protein Language Model with Multi-Branch Ensemble for Nanobody–Antigen Interaction Prediction
Abstract
1. Introduction
2. Related Works
2.1. Protein–Protein Interaction Prediction
2.2. Nanobody–Antigen Interaction Prediction
2.3. Structure-Based Pre-Training
3. Materials and Methods
3.1. Network
3.2. Datasets
3.3. Implementation Details
4. Results
4.1. Comparative Experiments
4.2. Ablation Experiments
4.3. Docking Performance on the Test Dataset
4.4. Binding Site Selection and Residue Importance Analysis Strategy
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| NAI | Nanobody–Antigen Interaction |
| PPI | Protein–Protein Interaction |
| PLM | Protein Language Model |
| CDR | Complementarity-Determining Region |
| VQ-VAE | Vector Quantized–Variational Autoencoder |
| 3Di | 3D interaction (structure token) |
| BERT | Bidirectional Encoder Representations from Transformers |
| MLP | Multilayer Perceptron |
| LoRA | Low-Rank Adaptation |
| SVM | Support Vector Machine |
| NB | Naive Bayes |
| KNN | K-Nearest Neighbors |
| RF | Random Forest |
| LR | Logistic Regression |
| DT | Decision Tree |
| AUC-ROC | Area Under the Receiver Operating Characteristic Curve |
| AUPR | Area Under the Precision–Recall Curve |
| MCC | Matthews Correlation Coefficient |
| BA | Balanced Accuracy |
| PDB | Protein Data Bank |
| CAPRI | Critical Assessment of Predicted Interactions |
| RMSD | Root-mean-square deviation |
| I-RMSD | Interface root-mean-square deviation |
References
- Noor, S.; Fatima, A.; Fatima, I.; Javed, A. Antigen-Antibody Interaction in Cell Signaling. Cell Signal. 2025, 92, 125. [Google Scholar]
- Jain, T.; Sun, T.; Durand, S.; Hall, A.; Houston, N.; Nett, J.; Sharkey, B.; Bobrowicz, B.; Caffry, I.; Yu, Y. Biophysical Properties of the Clinical-Stage Antibody Landscape. Proc. Natl. Acad. Sci. USA 2017, 114, 944–949. [Google Scholar] [CrossRef] [PubMed]
- Salvador, J.; Vilaplana, L.; Marco, M. Nanobody: Outstanding Features for Diagnostic and Therapeutic Applications. Anal. Bioanal. Chem. 2019, 411, 1703–1713. [Google Scholar] [CrossRef]
- Sun, S.; Ding, Z.; Yang, X.; Zhao, X.; Zhao, M.; Gao, L.; Chen, Q.; Xie, S.; Liu, A.; Yin, S. Nanobody: A Small Antibody with Big Implications for Tumor Therapeutic Strategy. Int. J. Nanomed. 2021, 16, 2337–2356. [Google Scholar] [CrossRef]
- Sledzieski, S.; Singh, R.; Cowen, L.; Berger, B. D-SCRIPT Translates Genome to Phenome with Sequence-Based, Structure-Aware, Genome-Scale Predictions of Protein-Protein Interactions. Cell Syst. 2021, 12, 969–982. [Google Scholar] [CrossRef]
- Singh, R.; Devkota, K.; Sledzieski, S.; Berger, B.; Cowen, L. Topsy-Turvy: Integrating a Global View into Sequence-Based PPI Prediction. Bioinformatics 2022, 38, i264–i272. [Google Scholar] [CrossRef]
- Gainza, P.; Sverrisson, F.; Monti, F.; Rodola, E.; Boscaini, D.; Bronstein, M.; Correia, B. Deciphering Interaction Fingerprints from Protein Molecular Surfaces Using Geometric Deep Learning. Nat. Methods 2020, 17, 184–192. [Google Scholar] [CrossRef] [PubMed]
- Papadopoulos, A.; Axenopoulos, A.; Iatrou, A.; Stamatopoulos, K.; Alvarez, F.; Daras, P. ParaSurf: A Surface-Based Deep Learning Approach for Paratope-Antigen Interaction Prediction. Bioinformatics 2025, 41, btaf062. [Google Scholar] [CrossRef] [PubMed]
- Akbar, R.; Robert, P.; Pavlović, M.; Jeliazkov, J.; Snapkov, I.; Slabodkin, A.; Weber, C.; Scheffer, L.; Miho, E.; Haff, I. A Compact Vocabulary of Paratope-Epitope Interactions Enables Predictability of Antibody-Antigen Binding. Cell Rep. 2021, 34, 108855. [Google Scholar] [CrossRef]
- Ahmed, F.; Aly, S.; Liu, X. NABP-BERT: Nanobody-Antigen Binding Prediction Based on Bidirectional Encoder Representations from Transformers (BERT) Architecture. Brief. Bioinform. 2025, 26, bbae518. [Google Scholar] [CrossRef]
- Rao, R.; Bhattacharya, N.; Thomas, N.; Duan, Y.; Chen, P.; Canny, J.; Abbeel, P.; Song, Y. Evaluating Protein Transfer Learning with TAPE. Adv. Neural Inf. Process. Syst. 2019, 32, 9689–9701. [Google Scholar]
- Su, J.; Han, C.; Zhou, Y.; Shan, J.; Zhou, X.; Yuan, F. Saprot: Protein Language Modeling with Structure-Aware Vocabulary. bioRxiv 2023. [Google Scholar] [CrossRef]
- Heinzinger, M.; Weissenow, K.; Sanchez, J.; Henkel, A.; Mirdita, M.; Steinegger, M.; Rost, B. Bilingual Language Model for Protein Sequence and Structure. NAR Genom. Bioinform. 2024, 6, lqae150. [Google Scholar] [CrossRef]
- Akbarzadeh, S.; Coşkun, Ö.; Günçer, B. Studying Protein-Protein Interactions: Latest and Most Popular Approaches. J. Struct. Biol. 2024, 216, 108118. [Google Scholar] [CrossRef] [PubMed]
- Baranwal, M.; Magner, A.; Saldinger, J.; Turali-Emre, E.; Elvati, P.; Kozarekar, S.; VanEpps, J.; Kotov, N.; Violi, A.; Hero, A. Struct2Graph: A Graph Attention Network for Structure Based Predictions of Protein-Protein Interactions. BMC Bioinform. 2022, 23, 370. [Google Scholar] [CrossRef]
- Gao, Z.; Jiang, C.; Zhang, J.; Jiang, X.; Li, L.; Zhao, P.; Yang, H.; Huang, Y.; Li, J. Hierarchical Graph Learning for Protein-Protein Interaction. Nat. Commun. 2023, 14, 1093. [Google Scholar] [CrossRef]
- Feng, H.; Sun, X.; Li, N.; Xu, Q.; Li, Q.; Zhang, S.; Xing, G.; Zhang, G.; Wang, F. Machine Learning-Driven Methods for Nanobody Affinity Prediction. ACS Omega 2024, 9, 47893–47902. [Google Scholar] [CrossRef]
- Sardar, U.; Ali, S.; Ayub, M.; Shoaib, M.; Bashir, K.; Khan, I.; Patterson, M. Sequence-Based Nanobody-Antigen Binding Prediction. In International Symposium on Bioinformatics Research and Applications; Springer Nature: Singapore, 2023; pp. 227–240. [Google Scholar]
- Van Kempen, M.; Kim, S.; Tumescheit, C.; Mirdita, M.; Lee, J.; Gilchrist, C.; Söding, J.; Steinegger, M. Fast and Accurate Protein Structure Search with Foldseek. Nat. Biotechnol. 2024, 42, 243–246. [Google Scholar] [CrossRef]
- Van Den Oord, A.; Vinyals, O.; Kavukcuoglu, K. Neural Discrete Representation Learning. Adv. Neural Inf. Process. Syst. 2017, 30, 6309–6318. [Google Scholar]
- Devlin, J.; Chang, M.; Lee, K.; Toutanova, K. BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers); Association for Computational Linguistics: Stroudsburg, PA, USA, 2019; Volume 1, pp. 4171–4186. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.; Kaiser, Ł.; Polosukhin, I. Attention Is All You Need. Adv. Neural Inf. Process. Syst. 2017, 30, 5998–6008. [Google Scholar]
- Schneider, C.; Raybould, M.; Deane, C. SAbDab in the Age of Biotherapeutics: Updates Including SAbDab-nano, the Nanobody Structure Tracker. Nucleic Acids Res. 2022, 50, D1368–D1372. [Google Scholar] [CrossRef]
- Berman, H.; Battistuz, T.; Bhat, T.; Bluhm, W.; Bourne, P.; Burkhardt, K.; Feng, Z.; Gilliland, G.; Iype, L.; Jain, S.; et al. The Protein Data Bank. Acta Crystallogr. Sect. D Biol. Crystallogr. 2002, 58, 899–907. [Google Scholar] [CrossRef]
- Fu, L.; Niu, B.; Zhu, Z.; Wu, S.; Li, W. CD-HIT: Accelerated for Clustering the Next-Generation Sequencing Data. Bioinformatics 2012, 28, 3150–3152. [Google Scholar] [CrossRef]
- Bernett, J.; Blumenthal, D.; List, M. Cracking the Black Box of Deep Sequence-Based Protein–Protein Interaction Prediction. Brief. Bioinform. 2024, 25, bbae202. [Google Scholar]
- Alanis-Lobato, G.; Andrade-Navarro, M.; Schaefer, M. HIPPIE v2.0: Enhancing Meaningfulness and Reliability of Protein–Protein Interaction Networks. Nucleic Acids Res. 2016, 44, gkw985. [Google Scholar] [CrossRef]
- Sanders, P.; Schulz, C. Think Locally, Act Globally: Highly Balanced Graph Partitioning. In International Symposium on Experimental Algorithms; Springer: Berlin/Heidelberg, Germany, 2013; pp. 164–175. [Google Scholar]
- Hu, E.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022, 1, 3. [Google Scholar]
- Kingma, D.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
- Kozakov, D.; Hall, D.; Xia, B.; Porter, K.; Padhorny, D.; Yueh, C.; Beglov, D.; Vajda, S. The ClusPro Web Server for Protein–Protein Docking. Nat. Protoc. 2017, 12, 255–278. [Google Scholar] [CrossRef]
- Janin, J.; Henrick, K.; Moult, J.; Eyck, L.; Sternberg, M.; Vajda, S.; Vakser, I.; Wodak, S. CAPRI: A Critical Assessment of Predicted Interactions. Proteins Struct. Funct. Bioinform. 2003, 52, 2–9. [Google Scholar] [CrossRef]
- Méndez, R.; Leplae, R.; De Maria, L.; Wodak, S. Assessment of Blind Predictions of Protein–Protein Interactions: Current Status of Docking Methods. Proteins Struct. Funct. Bioinform. 2003, 52, 51–67. [Google Scholar] [CrossRef]





| Dataset | Training Dataset | Test Dataset | ||
|---|---|---|---|---|
| Pos Set | Neg Set | Pos Set | Neg Set | |
| Nb-Ag | 932 | 9012 | 48 | 453 |
| Dataset | Training Dataset | Validation Dataset | Test Dataset | |||
|---|---|---|---|---|---|---|
| Pos Set | Neg Set | Pos Set | Neg Set | Pos Set | Neg Set | |
| PPI | 35,164 | 33,641 | 10,021 | 9836 | 7125 | 6602 |
| Methods | Acc ↑ | Rec ↑ | F1 ↑ | AUC ↑ | AUPR ↑ | MCC ↑ | BA ↑ |
|---|---|---|---|---|---|---|---|
| SVM [18] | 0.9092 | 0 | 0 | 0.4934 | 0.0972 | 0 | 0.5 |
| NB [18] | 0.8909 | 0.0049 | 0.0069 | 0.4234 | 0.0747 | −0.0318 | 0.4917 |
| MLP [18] | 0.7583 | 0.1984 | 0.1304 | 0.5094 | 0.0938 | 0.0229 | 0.5049 |
| KNN [18] | 0.9078 | 0.2063 | 0.2889 | 0.7059 | 0.2827 | 0.2786 | 0.5961 |
| RF [18] | 0.9202 | 0.1210 | 0.2157 | 0.7998 | 0.5232 | 0.3288 | 0.5588 |
| LR [18] | 0.9092 | 0 | 0 | 0.3427 | 0.0641 | 0 | 0.5 |
| DT [18] | 0.8628 | 0.3234 | 0.2992 | 0.6199 | 0.1522 | 0.2185 | 0.6157 |
| Struct2Graph [15] | 0.8942 | 0 | 0 | 0.4945 | 0.0958 | −0.0327 | 0.4945 |
| Topsy-Turvy [6] | 0.8932 | 0.2667 | 0.3692 | 0.6669 | 0.3856 | 0.2657 | 0.6147 |
| D-Script [5] | 0.8723 | 0.2444 | 0.3098 | 0.6337 | 0.3535 | 0.1820 | 0.5856 |
| NABP-PPI-PROT-BERT [10] | 0.9115 | 0.5000 | 0.5641 | 0.7994 | 0.5763 | 0.4876 | 0.7307 |
| NABP-PROT-BERT [10] | 0.9141 | 0.4634 | 0.5352 | 0.7573 | 0.5122 | 0.4545 | 0.7147 |
| Ours | 0.9501 | 0.5625 | 0.6835 | 0.9004 | 0.7233 | 0.6764 | 0.7768 |
| Methods | Acc ↑ | Rec ↑ | F1 ↑ | AUC ↑ | AUPR ↑ | MCC ↑ | BA ↑ |
|---|---|---|---|---|---|---|---|
| Baseline (no ppi fine-tune) | 0.9361 | 0.3750 | 0.5294 | 0.9019 | 0.6601 | 0.5571 | 0.6853 |
| Baseline (mean pooling) | 0.9461 | 0.5417 | 0.6582 | 0.9126 | 0.7109 | 0.6482 | 0.7653 |
| Baseline (max pooling) | 0.9501 | 0.5208 | 0.6667 | 0.8912 | 0.7136 | 0.6731 | 0.7582 |
| Baseline (min pooling) | 0.9441 | 0.5417 | 0.6500 | 0.9105 | 0.6950 | 0.6360 | 0.7642 |
| mean, max, min pooling | 0.9501 | 0.5625 | 0.6835 | 0.9004 | 0.7233 | 0.6764 | 0.7768 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ying, F.; Li, Z.; Mao, J.; Sun, L.; Phaphuangwittayakul, A.; Dhuny, R. Structure-Aware Protein Language Model with Multi-Branch Ensemble for Nanobody–Antigen Interaction Prediction. Appl. Sci. 2026, 16, 4864. https://doi.org/10.3390/app16104864
Ying F, Li Z, Mao J, Sun L, Phaphuangwittayakul A, Dhuny R. Structure-Aware Protein Language Model with Multi-Branch Ensemble for Nanobody–Antigen Interaction Prediction. Applied Sciences. 2026; 16(10):4864. https://doi.org/10.3390/app16104864
Chicago/Turabian StyleYing, Fangli, Zilong Li, Junjie Mao, Lihua Sun, Aniwat Phaphuangwittayakul, and Riyad Dhuny. 2026. "Structure-Aware Protein Language Model with Multi-Branch Ensemble for Nanobody–Antigen Interaction Prediction" Applied Sciences 16, no. 10: 4864. https://doi.org/10.3390/app16104864
APA StyleYing, F., Li, Z., Mao, J., Sun, L., Phaphuangwittayakul, A., & Dhuny, R. (2026). Structure-Aware Protein Language Model with Multi-Branch Ensemble for Nanobody–Antigen Interaction Prediction. Applied Sciences, 16(10), 4864. https://doi.org/10.3390/app16104864

