Functional alignment of protein language models via reinforcement learning
Protein language models (pLMs) enable generative design of novel protein sequences but remain fundamentally misaligned with protein engineering goals, as they lack explicit understanding of function and often fail to improve properties beyond those found in nature. We introduce Reinforcement Learning from eXperimental Feedback (RLXF), a general framework that aligns protein language models with experimentally measured functional objectives, drawing inspiration from the methods used to align large language models like ChatGPT. Applied across five diverse protein families, RLXF improves generation of high-functioning variants beyond pre-trained baselines. We demonstrate this with CreiLOV, an oxygen-independent fluorescent protein, where RLXF-aligned models generate sequences with significantly enhanced fluorescence, including the most fluorescent CreiLOV variants reported to date. Our results indicate that RLXF-aligned models effectively integrate the evolutionary knowledge encoded in pre-trained pLMs with experimental observations, improving the success rate of generated sequences and enabling the discovery of synergistic mutation combinations that are difficult to identify through zero-shot or evolutionary approaches. RLXF provides a scalable and accessible approach to steer generative models toward desired biochemical properties, enabling function-driven protein design beyond the limits of natural evolution. Protein language models are powerful tools for generative protein design, but because they are trained solely on natural sequences, they often struggle to generate proteins with enhanced or non-natural functions. This work a general framework that aligns generative protein language models with experimentally defined functional objectives.
Authors
- Sarah A. Fahlberg (ORCID: https://orcid.org/0000-0002-9782-7148)
- Kensuke Nakamura (ORCID: https://orcid.org/0000-0003-4848-1942)
- Philip A. Romero (ORCID: https://orcid.org/0000-0002-2586-7263)
- Srinath Seshadri
- Agrim Babbar
- Nathaniel Blalock
- Ameya Kulkarni
Institutions
- University of Wisconsin–Madison (US)
- Duke University (US)
- Daiichi-Sankyo (Japan) (JP)
Publication Details
- Journal
- Nature Communications
- Published
- 2026-09-12
- DOI
- https://doi.org/10.1038/s41467-026-77557-2
- Primary Topic
- Genomics and Rare Diseases
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- National Institutes of Health
- National Institute of General Medical Sciences