English

ProtSent: Protein Sentence Transformers

Machine Learning 2026-05-11 v1 Computation and Language

Abstract

Protein language models (pLMs) produce per-residue representations that capture evolutionary and structural information, yet their mean-pooled sequence embeddings are not explicitly trained to reflect functional, evolutionary or structural similarity between proteins. We present Protein Sentence Transformers (ProtSent), a contrastive fine-tuning framework for adapting PLMs into general-purpose embedding models. ProtSent trains with MultipleNegativesRankingLoss across five protein-pair datasets: Pfam families, structurally derived hard negatives, AlphaFold DB structural pairs, and StringDB protein--protein interactions, and Deep Mutational Scanning data. We evaluate on 23~downstream tasks using frozen embeddings with a k-nearest-neighbor probe to measure embedding neighborhood quality. On ESM-2 150M, ProtSent improves 15 of 23 tasks, with gains of +105% on remote homology detection, +17% on variant effect prediction, and +19.9% Recall@1 on SCOPe-40 structural retrieval. The 35M variant improves 16 of 23 tasks with +40.5% on remote homology and +15.5% Recall@1 on SCOPe-40. Contrastive fine-tuning restructures the embedding space to better capture protein function and structure, without any task-specific supervision. We release the models, public data, and training recipe and code.

Keywords

Cite

@article{arxiv.2605.06830,
  title  = {ProtSent: Protein Sentence Transformers},
  author = {Dan Ofer and Oriel Perets and Michal Linial and Nadav Rappoport},
  journal= {arXiv preprint arXiv:2605.06830},
  year   = {2026}
}

Comments

9 figures, appendix, 2 figures, open code and models

R2 v1 2026-07-01T12:56:02.699Z