Bioinformatics AdvancesBioinformaticsPeer-reviewed journal article
Aggregating Residue-Level Protein Language Model Embeddings with Optimal Transport
Abstract
Protein language models (PLMs) have emerged as powerful approaches for mapping protein sequences into embeddings suitable for various applications. As protein representation schemes, PLMs generate per-token (i.e., per-residue) representations, resulting in variable-sized outputs based on protein length. This variability poses a challenge for protein-level prediction tasks that require uniform-sized embeddings for consistent analysis across different proteins. Previous work has typically used average pooling to summarize token-level PLM outputs, but it is unclear whether this method effectively prioritizes the relevant information across token-level representations. We introduce a novel method utilizing optimal transport to convert variable-length PLM outputs into fixed-length representations. We conceptualize per-token PLM outputs as samples from a probabilistic distribution and employ sliced-Wasserstein distances to map these samples against a reference set, creating a Euclidean embedding in the output space. The resulting embedding is agnostic to the length of the input and represents the entire protein. We demonstrate the superiority of our method over average pooling for several downstream prediction tasks, particularly with constrained PLM sizes, enabling smaller-scale PLMs to match or exceed the performance of average-pooled larger-scale PLMs. Our aggregation scheme is especially effective for longer protein sequences by capturing essential information that might be lost through average pooling.
- Citations
- 15
- FWCI
- 2.05
- Field percentile
- top 12%
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
- Scalable embedding fusion with protein language models: insights from benchmarking text-integrated representations
Young Su Ko, Jonathan Parkinson, Wei Wang·Briefings in BioinformaticsPeer-reviewed·Jan 1, 2026
- Polynomial Trajectory Compression for Protein Language Model Embeddings
Harshita Sahni, Xin Chen, Trilce Estrada·bioRxiv·Jun 7, 2026
- EvoPool: Evolution-Guided Pooling of Protein Language Model Embeddings
Navid Naderializadeh, Rohit Singh·bioRxiv·Feb 4, 2026
- Pool PaRTI: A PageRank-Based Pooling Method for Identifying Critical Residues and Enhancing Protein Sequence Representations
Alp Tartici, Gowri Nayar, Russ Biagio Altman·BioinformaticsPeer-reviewed·May 31, 2025
- Medium-sized protein language models perform well at transfer learning on realistic datasets
Luiz Carlos Vieira, Morgan L. Handojo, Claus O. Wilke·Scientific ReportsPeer-reviewed·Jul 1, 2025
- Prot2Token: A multi-task framework for protein language processing using autoregressive language modeling
Mahdi Pourmirzaei, Farzaneh Esmaili, … Dong He Xu·bioRxiv·May 31, 2024