OTalign: optimal transport alignment for remote protein homologs using protein language model embeddings
Abstract
MOTIVATION: Protein sequence alignment is a crucial task in bioinformatics, yet aligning remote homologs with low sequence identity remains a longstanding challenge, particularly due to the difficulty of handling gaps. We introduce a new method that applies Optimal Transport (OT) theory to sequence alignment, providing a mathematically principled framework for modeling residue matches and gaps. RESULTS: OTalign formulates sequence alignment as an entropy-regularized unbalanced optimal transport (UOT) problem over embeddings derived from protein language models (PLMs). Unlike traditional methods, it introduces position-specific gap penalties that adapt to each sequence pair. On challenging remote-homolog benchmarks (SABmark, MALIDUP, MALISAM), OTalign consistently outperforms baselines (Needleman-Wunsch, HHalign) and recent PLM-based methods (PLMAlign, DeepBLAST), achieving F1 scores of 0.594 on SABmark Superfamily and 0.358 on SABmark Twilight. Furthermore, OTalign provides a quantitative and interpretable metric of how effectively PLM embeddings represent sequence similarity relationships. Finally, its differentiable nature enables end-to-end fine-tuning of PLMs, establishing a framework for learning embeddings explicitly optimized for alignment tasks. AVAILABILITY AND IMPLEMENTATION: This code is available at https://github.com/DeepFoldProtein/OTalign.
Fields of Study & Subjects
Bioinformatics and Genomic Networks
Machine Learning in Bioinformatics
Genomics and Rare Diseases
Publication details
- Journal / source
- Bioinformatics
- Publisher
- Oxford University Press (OUP)
- Volume
- 42
- Issue
- 7
- Publication date
- 30 June 2026
- Language
- EN