Cramming Protein Language Model Training in 24 GPU Hours

Published: 17 Jun 2024, Last Modified: 24 Jul 2024AccMLBio SpotlightEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Machine Learning, ICML, BioML, Foundation Models, Protein Language Models
TL;DR: We train performant protein language models in 24 hours on a single GPU
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 \times$ more GPU hours than ours. We open source our library for training and inference, LBSTER: Language models for Biological Sequence Transformation and Evolutionary Representation.
Submission Number: 11
Loading