bioRxiv · 10.1101/2024.10.04.616701
Pool PaRTI: A PageRank-based Pooling Method for Robust Protein Sequence Representation in Deep Learning
Abstract
MotivationProtein language models produce token-level embeddings for each residue, resulting in an output matrix with dimensions that vary based on sequence length. However, downstream machine learning models typically require fixed-length input vectors, necessitating a pooling method to compress the output matrix into a single vector representation of the entire protein. Traditional pooling methods often result in substantial information loss, impacting downstream task performance. We aim to develop a pooling method that produces more expressive general-purpose protein embedding vectors while offering biological interpretability. ResultsWe introduce Pool PaRTI, a novel pooling method that leverages internal transformer attention matrices and PageRank to assign token importance weights. Our unsupervised and parameter-free approach consistently prioritizes residues experimentally annotated as critical for function, assigning them higher importance scores. Across four diverse protein machine learning tasks, Pool PaRTI enables significant performance gains in predictive performance. Additionally, it enhances interpretability by identifying biologically relevant regions without relying on explicit structural data or annotated training. To assess generalizability, we evaluated Pool PaRTI with two encoder-only protein language models, confirming its robustness across different models. Availability and ImplementationPool PaRTI is implemented in Python with PyTorch and is available at https://github.com/Helix-Research-Lab/Pool_PaRTI.git. The Pool PaRTI sequence embeddings and residue importance values for all human proteins on UniProt are available at https://zenodo.org/records/15036725 for ESM2 and protBERT.
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
TARTICI, A., Nayar, G., Altman, R. B.. 2024-10-05. Pool PaRTI: A PageRank-based Pooling Method for Robust Protein Sequence Representation in Deep Learning. https://doi.org/10.1101/2024.10.04.616701
Cite the original work for its findings. Save a collection to share your selection of sources.