GermRL: Alleviating The Germline Bias In Autoregressive Antibody Language Models Through Reinforcement Learning
Abstract
Antibodies are powerful therapeutics whose antigen specificity arises from sequence diversity shaped during development. Recently, language models trained on large antibody repertoire datasets have enabled the generation and screening of novel candidates, but these models retain a strong germline bias. As AI adoption increases in therapeutic workflows, it is crucial to develop models that harness the diversity of antibodies necessary for the discovery of mutations that encode desirable properties. Previous work explored the germline bias in masked antibody language models, yet the bias in generative autoregressive language models has not yet been addressed. Here, we present GermRL, a lightweight and modular reinforcement learning (RL) framework capable of alleviating the germline bias in pre-trained antibody autoregressive language models through group relative policy optimization (GRPO). GermRL achieves consistent one-shot generation of antibodies that satisfy specified mutation thresholds from germline while maintaining structural plausibility. Under the lowest and highest mutation thresholds tested (5 and 35 mutations from germline), GermRL scores 0.992 and 0.950 pass@1, respectively, compared to 0.398 and 0.034 for the pre-trained language model. Within GermRL, we introduce a key pair of modifications to GRPO that increase training efficiency by discouraging reward hacking under our antibody application. Furthermore, comparison of RL generated and natural antibody sequences reveals how RL based optimization can explore alternative evolutionary mutational patterns and residue compositional strategies while preserving key global properties of natural antibodies, including identifiable germline assignments, embedding-level similarity and comparable developability profiles. Thus, RL-trained generative models optimized to promote antibody mutations through diversity from germline provide a promising framework for navigating the antibody sequence landscape, enabling exploration of novel yet biologically plausible candidates for therapeutic design.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
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
- Addressing the antibody germline bias and its effect on language models for improved antibody design
Tobias Hegelund Olsen, Iain H. Moal, Charlotte Mary Deane·BioinformaticsPeer-reviewed·Oct 23, 2024
- Explicit representation of germline and non-germline residues improves antibody language modeling
Jeonghyeon Kim, Nathaniel Blalock, … Philip A. Romero·bioRxiv·May 11, 2026
- AbBERT: Learning Antibody Humanness via Masked Language Modeling
Denis Vashchenko, Sam Nguyen, … Daniel Faissol·bioRxiv·Aug 2, 2022
- Generative language modeling for antibody design
R. W. Shuai, J. A. Ruffolo, J. J. Gray·bioRxiv·Dec 13, 2021
- AB-Gen: Antibody Library Design with Generative Pre-trained Transformer and Deep Reinforcement Learning
Xiaopeng Xu, Tiantian Xu, … Xin Gao·Genomics Proteomics & BioinformaticsPeer-reviewed·Jun 24, 2023
- A generative foundation model for antibody sequence understanding
Justin Barton, Aretas Gaspariunas, … Jacob D. Galson·bioRxiv·May 22, 2024