Cramming Protein Language Model Training in 24 GPU Hours
Authors:
Preprint
Abstract
Protein language models (pLMs) are ubiquitous across biological machine learning research, but state-of-the-art models like ESM2 take hundreds of thousands of GPU hours to pre-train on the vast protein universe. Resource requirements for scaling up pLMs prevent fundamental investigations into how optimal modeling choices might differ from those used in natural language. Here, we define a “cramming” challenge for pLMs and train performant models in 24 hours on a single GPU. By re-examining many aspects of pLM training, we are able to train a 67 million parameter model in a single day that achieves comparable performance on downstream protein fitness landscape inference tasks to ESM-3B, a model trained for over 15, 000 × more GPU hours than ours. We open source our library 1 for training and inference, LBSTER : L anguage models for B iological S equence T ransformation and E volutionary R epresentation.Keywords
This publication has 14 references indexed in Scilit:
- Efficient and accurate sequence generation with small-scale protein language modelsbioRxiv, 2023
- Efficient Methods for Natural Language Processing: A SurveyTransactions of the Association for Computational Linguistics, 2023
- xTrimoPGLM: Unified 100B-Scale Pre-trained Transformer for Deciphering the Language of ProteinbioRxiv, 2023
- Evolutionary-scale prediction of atomic-level protein structure with a language modelScience, 2023
- Ankh ☥: Optimized Protein Language Model Unlocks General-Purpose ModellingbioRxiv, 2023
- Convolutions are competitive with transformers for protein sequence pretrainingbioRxiv, 2022
- FLIP: Benchmark tasks in fitness landscape inference for proteinsbioRxiv, 2021
- ProtTrans: Toward Understanding the Language of Life Through Self-Supervised LearningIEEE Transactions on Pattern Analysis and Machine Intelligence, 2021
- Neglog: Homology-Based Negative Data Sampling Method for Genome-Scale Reconstruction of Human Protein–Protein Interaction NetworksInternational Journal of Molecular Sciences, 2019
- Negatome 2.0: a database of non-interacting proteins derived by literature mining, manual annotation and protein structure analysisNucleic Acids Research, 2013