NeurIPS 2026QuestionsPapersAreasAboutMarkdown

How to make the most of your masked language model for protein engineering

Calvin McCarter, Nick Bhattacharya, Sebastian Ober, Hunter Elliott

NeurIPS page · Open on the map

Category: AI for Molecules, Materials & Genomics › Protein Design and Engineering · Type: new method · Keywords: protein language models, sampling methods, antibody engineering, pseudo-perplexity, protein design

Areas: AI for Science › Protein Sequence and Structure Design › Protein Language Models

Summary

We propose stochastic beam search sampling for masked language models to efficiently optimize protein sequences, showing it is as impactful as model choice in antibody engineering.

Explained to a 5-year-old

Scientists have computers that understand protein recipes. They want to make better proteins, like antibodies for medicine. Right now, the computers' way of trying new recipes is slow. This paper shows a new way to try many recipes at once by looking at all nearby recipes and picking the best ones. This helps design proteins faster for real medical use.

Explained to a 5-year-old, longer

Scientists have built big computers that can read and understand the language of proteins, which is like a recipe for building tiny machines inside our bodies. These computers can suggest new protein sequences, but they usually only change a few letters at a time, which is slow. The researchers noticed that the computers can actually check how good many possible changes are all at once, without having to test each one separately. They used this ability to create a new method that looks at all possible small changes around a protein and picks the best ones. This way, they can explore many more possibilities quickly. The new method was tested on real antibody designs used in medicine, comparing it with other ways of making proteins. The results showed that the new method works just as well as, or even better than, the best computer models already in use. This makes designing new medicines faster and cheaper. The approach also works for other kinds of proteins, not just antibodies. It helps scientists find useful proteins for many different purposes. The researchers hope that other scientists will use this idea to improve protein design in the future. Overall, the paper provides a practical tool that can speed up the discovery of new protein medicines.

For a technical reader

The paper addresses the inefficiency of current sampling methods for protein language models by leveraging the models' ability to evaluate entire sequence neighborhoods quickly. By aggregating pseudo-perplexity scores across all one-edit variants, the approach enables multi-objective guidance without exhaustive enumeration. An extensive in-vitro evaluation on antibody engineering shows that the sampling choice can be as critical as the model itself. This provides a practical, scalable technique for rapid protein design that can be integrated into existing pipelines.

Problem

There is a lack of effective sampling strategies for protein language models to optimize desired biological properties, making it difficult to efficiently explore sequence space.

Method

The approach samples sequences by evaluating the pseudo-perplexity of the entire one-edit neighborhood of a protein sequence, enabling flexible multi-objective optimization.

Results

The results show that the choice of sampling strategy is at least as influential as the underlying model for optimizing protein sequences in antibody engineering.

Contributions

We introduce a flexible sampling framework that evaluates entire sequence neighborhoods and demonstrate its effectiveness through extensive in vitro evaluation, highlighting the importance of sampling in protein language models.

Practical relevance

The work enables more efficient design of protein therapeutics by providing a practical sampling method for protein language models.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction