bioRxivBioinformaticsPreprint
Evaluating Tuning Strategies for Sequence Generation with Protein Language Models
Andrea NathanseniD, Kevin KleiniD, Bernhard Y. RenardiD, Melania NowickaiD, Jakub M. BartoszewicziD
Abstract
Designing artificial proteins with specialized functions promises new solutions for biological, medical, and environmental use cases. This field benefits from advances in natural language processing, with state-of-the-art text generation models already being successfully applied to protein sequences. Openly available pre-trained protein language models are able to generate artificial protein sequences and can be finetuned on very specific tasks. Considering the high computational cost of finetuning a model exclusively for one downstream task, prompt tuning has been proposed as a more cost-efficient alternative that shares one model across different tasks. However, no openly available implementation of this approach compatible with protein language models has been previously published. Thus, we adapt an open-source codebase designed for NLP models to build a pipeline for prompt tuning on protein sequence data, supporting the protein language models ProtGPT2 and RITA. We benchmark this implementation for generating proteins of a specific family and evaluate the approach using text processing metrics as well as family membership prediction and protein activity prediction of generated sequences. Our results confirm the advantages of prompt tuning in resource usage, especially storage, encouraging further research and expansion of this technique to related use cases. For our evaluated use case, prompt tuning does not reach up to finetuning in terms of the quality of generated protein sequences, indicating the need for more extensive optimization. Lastly, we observe discrepancies between results of similar evaluation tools, highlighting open problems for principled assessment of protein sequence generation quality.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- ProtGPT3: an Open-source family of Promptable and Aligned Protein Language Models
Michele Garibbo, Gerard Boxo Corominas, … Noelia Ferruz·bioRxiv·Jun 8, 2026
- A deep unsupervised language model for protein design
Noelia Ferruz, Steffen Schmidt, Birte Höcker·Nature CommunicationsPeer-reviewed·Jul 27, 2022
- ProGen: Language Modeling for Protein Generation
Ali Madani, Bryan McCann, … Richard Socher·bioRxiv·Mar 7, 2020
- Language models generalize beyond natural proteins
Robert Verkuil, Ori Kabeli, … Alexander W. Rives·bioRxiv·Dec 21, 2022
- Generating novel protein sequences using Gibbs sampling of masked language models
Sean R. Johnson, Sarah Monaco, … Zaid Syed·bioRxiv·Jan 26, 2021
- Generative power of a protein language model trained on multiple sequence alignments
Damiano Sgarbossa, Umberto Lupo, Anne‐Florence Bitbol·eLifePeer-reviewed·Feb 3, 2023