bioRxivBioinformaticsPreprint
Effective structure-aware protein alignment via residue-level contrastive learning
Ronghui YouiD, Ziye Wang, Kunpeng Liu, Wei Zheng, Qiqige Wuyun, Yuhao YiiD, Shanfeng ZhuiD
Abstract
Protein alignment is indispensable for biological discovery, supporting structure comparison, functional annotation, and evolutionary inference. While structure-based methods are highly effective at detecting structural similarity, their applicability is constrained by the limited availability of experimentally resolved protein structures and high computational cost. Sequence-based approaches using pretrained protein language models (pLMs) provide scalable alternatives, yet supervised methods based on differentiable dynamic programming have not consistently outperformed simpler unsupervised strategies. Here, we present CLAlign, a structure-aware protein alignment framework based on contrastive learning. CLAlign fine-tunes a pretrained pLM to generate structure-aware residue-level embeddings enriched with structural context, without relying on differentiable dynamic programming. It represents the first supervised approach to consistently outperform unsupervised pLM-based methods, and it naturally extends to both sequence- and structure-based alignment by flexibly adopting different protein language model encoders. CLAlign achieves state-of-the-art accuracy on the MALIDUP and MALISAM benchmarks, outperforming existing sequence-based methods by large margins while remaining highly efficient. Moreover, its alignment scores show clear biological interpretability: in remote homology detection on SCOPe, CLAlign performs comparably to structure-based methods such as TM-align while far exceeding all sequence-based baselines. Together, these results establish CLAlign as a simple, extensible, and biologically meaningful framework for protein alignment.
- Citations
- 1
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Protein Structural Alignments From Sequence
James T. Morton, Charlie E. M. Strauss, … Richard Bonneau·bioRxiv·Nov 3, 2020
- Inferring Local Protein Structural Similarity from Sequence Alone
Zinnia Ma, Javier Espinoza Herrera, … Adrián Jinich·Journal of Chemical Information and ModelingPeer-reviewed·May 2, 2026
- Embedding-based alignment: combining protein language models and alignment approaches to detect structural similarities in the twilight-zone
Lorenzo Pantolini, Gabriel Studer, … Torsten F. Schwede·BioinformaticsPeer-reviewed·Dec 29, 2023
- Vector-clustering Multiple Sequence Alignment: Aligning into the twilight zone of protein sequence similarity with protein language models
Claire D. McWhite, Isabel Armour-Garb, Mona Singh·Genome ResearchPeer-reviewed·Jul 6, 2023
- SoftAlign: End-to-end protein structures alignment
Jeanne Trinquier, Samantha Petti, … Sergey Ovchinnikov·bioRxiv·May 9, 2025
- A Unified Protein Embedding Model with Local and Global Structural Sensitivity
Jinghong Xu, Shaojun Pei, Gil Alterovitz·Briefings in BioinformaticsPeer-reviewed·Dec 1, 2025