Uncertainty calibration and its relationship to correctness in structure-based protein sequence generation models
- 1,2 Moscow Technical University of Communication and Informatics (Moscow, Russia)
Abstract
Protein refolding, which involves generating an amino acid sequence corresponding to a given three-dimensional step, is a key problem in computational protein design and faces fundamental uncertainty: a single step can contain multiple valid sequences. Modern methods based on graph neural networks provide high levels of sequence degradation, but the use of metrics does not account for the degeneracy of solutions, and the properties of probabilistic prediction models remain poorly understood.
This paper systematically examines modern protein refolding models, focusing on the quality of their predictions and the properties of their probabilistic interpretation. Unlike most previous studies, which focused exclusively on the sequence recovery metric (Recovery), this paper additionally examines structural characteristics (TM-Score) and the calibration properties of the models.
It is shown that, based on the sequence recovery metric, modern architectures (KW-Design, UniIF, ProteinMPNN, and PiFold) consistently outperform earlier GNN approaches, demonstrating a median performance gain of approximately 0.08. Furthermore, the UniIF model has been found to achieve the best results on short proteins and generally outperform PiFold on the full test set, while KW-Design maintains its advantage on longer structures due to its prediction refinement mechanism. Structural quality analysis revealed that TM-score values for all models remained below the threshold corresponding to topological similarity, reflecting the cumulative impact of sequence errors on the folding process. Furthermore, it has been established that the Recovery and TM-Score metrics are not monotonically related: with increasing protein chain length, recovery increases, while structural similarity decreases. This confirms the need for their combined use to adequately assess the quality of reverse folding models.
The key result of the study is the experimental confirmation of the universality of the hypothesis regarding the relationship between model confidence and prediction accuracy. Statistically significant positive correlations (r = 0.51–0.62, p < 0.001) have been obtained for all eight architectures considered, indicating that this property is not specific to a single model, but rather represents a general characteristic of graph generative models in the reverse folding problem. Moreover, it has been shown that modern architectures not only demonstrate higher prediction quality but also possess better calibration properties, providing a more pronounced separation of correct and incorrect predictions in the confidence space. Calibration can be viewed as a fundamental property arising from the geometric nature of protein structure representation.
From a practical perspective, the obtained results indicate that accounting for prediction uncertainty is a key factor in improving the quality of sequence generation. In particular, it has been shown that the UniIF model combines high recovery accuracy with strong calibration properties, making it a promising base architecture for iterative refinement methods similar to KW-Design.
Taken together, the results demonstrate that the ability of models to adequately estimate their own uncertainty is a fundamental property closely related to prediction quality and can be used as a standalone tool for improving the performance of protein defolding methods. Future research could focus on developing methods for explicitly calibrating probabilistic predictions, integrating more powerful generative models into sequence refinement schemes, and finding metrics that more fully reflect the functional and structural correctness of generated proteins.
- Received
- 14.04.2026
- Approved after review
- 29.04.2026
- Accepted
- 27.08.2026
How to cite
Касаткин М.Н., Соловьев В.И. Калибровка неопределенности и ее связь с корректностью в моделях генерации белковых последовательностей по структуре // Нейрокомпьютеры: разработка, применение. 2026. Т. 28. № 5. С. 90−101. DOI: https://doi.org/10.18127/j19998554-202605-10
References
- Semenov R.E., Sorokin A.B. Razrabotka arkhitektury nejronnoj seti kontseptual'nogo analiza teksta. Nejrokomp'yutery: razrabotka, primenenie. 2025. T. 27. № 2. S. 23–31. DOI: 10.18127/j19998554-202502-03. (in Russian)
- Blokhin N.V., Makrushin S.V. Postroenie embeddingov kompanij na osnove vektornogo predstavleniya otraslej ekonomiki i svyazej mezhdu kompaniyami. Nejrokomp'yutery: razrabotka, primenenie. 2025. T. 27. № 2. S. 5–12. DOI: 10.18127/j19998554-202502-01. (in Russian)
- Jumper J., Evans R., Pritzel A. et al. Highly accurate protein structure prediction with AlphaFold. Nature. 2021. V. 596. № 7873. P. 583–589. DOI: 10.1038/s41586-021-03819-2.
- Lin Z., Akin H., Rao R. et al. Evolutionary-scale prediction of atomic-level protein structure with a language model. Science. 2023. V. 379. № 6637. P. 1123–1130. DOI: 10.1126/science.ade2574.
- Hsu C., Verkuil R., Liu J. et al. Learning inverse folding from millions of predicted structures. International Conference on Machine Learning. PMLR. 2022. P. 8946–8970 [Elektronnyj resurs]. URL: https://proceedings.mlr.press/v162/hsu22a.html (data obrashcheniya: 03.04.2026).
- Yue K., Dill K.A. Inverse protein folding problem: designing polymer sequences. Proceedings of the National Academy of Sciences. 1992. V. 89. № 9. P. 4163–4167. DOI: 10.1073/pnas.89.9.4163.
- Dauparas J., Anishchenko I., Bennett N. et al. Robust deep learning-based protein sequence design using ProteinMPNN. Science. 2022. V. 378. № 6615. P. 49–56. DOI: 10.1126/science.add2187.
- Gao Z., Tan C., Chacón P. et al. Pifold: Toward effective and efficient protein inverse folding. arXiv preprint. arXiv:2209.12643. 2022. DOI: 10.48550/arXiv.2209.12643.
- Gao Z., Tan C., Chen X. et al. KW-Design: pushing the limit of protein design via knowledge refinement. The Twelfth International Conference on Learning Representations. 2023 [Elektronnyj resurs]. URL: https://openreview.net/forum?id=mpqMVWgqjn (data obrashcheniya: 03.04.2026).
- Ingraham J., Garg V., Barzilay R. et al. Generative models for graph-based protein design. Advances in neural information processing systems. 2019. V. 32 [Elektronnyj resurs]. URL: https://proceedings.neurips.cc/paper_files/paper/2019/file/f3a4ff4839c56a5f460c88 cce3666a2b-Paper.pdf (data obrashcheniya: 03.04.2026).
- Jing B., Eismann S., Suriana P. et al. Learning from protein structure with geometric vector perceptrons. arXiv preprint. arXiv:2009.01411. 2020. DOI: 10.48550/arXiv.2009.01411.
- Tan C., Gao Z., Xia J. et al. Global-context aware generative protein design. 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE. 2023. P. 1–5. DOI: 10.1109/ICASSP49357.2023.10095229.
- Gao Z., Wang J., Tan C. et al. Uniif: Unified molecule inverse folding. Advances in Neural Information Processing Systems. 2024. V. 37. P. 135843–135860 [Elektronnyj resurs]. URL: https://proceedings.neurips.cc/paper_files/paper/2024/file/f4ff9a0cbd424dc6a30342e35 6e7659a-Paper-Conference.pdf (data obrashcheniya: 03.04.2026).
- Orengo C.A., Michie A.D., Jones S. et al. CATH – a hierarchic classification of protein domain structures. Structure. 1997. V. 5. № 8. P. 1093–1109. DOI: 10.1016/S0969-2126(97)00260-8.
- Gao Z., Tan C., Zhang Y. et al. Proteininvbench: Benchmarking protein inverse folding on diverse tasks, models, and metrics. Advances in Neural Information Processing Systems. 2023. V. 36. P. 68207–68220 [Elektronnyj resurs]. URL: https://proceedings.neurips.cc/ paper_files/paper/2023/file/d73078d49799693792fb0f3f32c57fc8-Paper-Datasets_and_Benchmarks.pdf (data obrashcheniya 03.04.2026).
- Zhang Y., Skolnick J. Scoring function for automated assessment of protein structure template quality. Proteins: Structure, Function, and Bioinformatics. 2004. V. 57. № 4. P. 702–710. DOI: 10.1002/prot.20264.
