We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Life Sciences/Aggregating residue-level protein language model embeddings with optimal transport
PeriodicalsLife Sciences

Aggregating residue-level protein language model embeddings with optimal transport

Checking your access to this record.

Abstract & Overview

Motivation: 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. Results: 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. Availability and implementation: Our implementation code can be found at https://github.com/navid-naderi/PLM_SWE.

Cite this record

Navid Naderializadeh, Rohit Singh (2024). Aggregating residue-level protein language model embeddings with optimal transport. Bioinformatics Advances, 5(1), vbaf060–vbaf060. https://doi.org/10.1093/bioadv/vbaf060

Copy in another style

Naderializadeh, N., & Singh, R. (2024). Aggregating residue-level protein language model embeddings with optimal transport. Bioinformatics Advances, 5(1), vbaf060–vbaf060. https://doi.org/10.1093/bioadv/vbaf060
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.