Related Experiment Video
Updated: May 16, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
Aggregating residue-level protein language model embeddings with optimal transport
Navid NaderiAlizadeh1, Rohit Singh1,2
1Department of Biostatistics and Bioinformatics, Duke University, Durham, NC 27705, United States.
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.
More Related Videos
Related Concept Videos
Cotranslational Protein Translocation
Sec61 channel partners for cotranslational translocation
During cotranslational translocation, the Sec61 channel partners with the signal recognition particle (SRP), the signal recognition particle receptor (SR), and the ribosomes to transport the nascent polypeptide chain...
Translocation of Proteins into the Mitochondria
Sorting of outer membrane proteins:
Mitochondrial outer membrane proteins are of two types: the transmembrane, beta-barrel porins, and the membrane-anchored, alpha-helical proteins. Beta-barrel porin precursors are translocated by the TOM complex and inserted into the outer mitochondrial membrane by the SAM complex. In contrast,...
Transport Across the Golgi
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...

