Focused learning by antibody language models using preferential masking of non-templated regions

Existing antibody language models (AbLMs) are pre-trained using a masked language modeling (MLM) objective with uniform masking probabilities. While these models excel at predicting germline residues, they often struggle with mutated and non-templated residues, which concentrate in the complementarity-determining regions (CDRs) and are crucial for antigen binding specificity. Here, we demonstrate that preferential masking of the primarily non-templated CDR3 is a compute-efficient strategy to enhance model performance. We pre-trained two AbLMs using either uniform or preferential masking and observed that the latter improves residue prediction accuracy in the highly variable CDR3. Preferential masking also improves antibody classification by native chain pairing and binding specificity, suggesting improved CDR3 understanding and indicating that non-random, learnable patterns help govern antibody chain pairing. We further show that specificity classification is largely informed by residues in the CDRs, demonstrating that AbLMs learn meaningful patterns that align with immunological understanding.

Authors

Institutions

Publication Details

Journal
Patterns
Published
2025-04-25
DOI
https://doi.org/10.1016/j.patter.2025.101239
Citations
10
Primary Topic
Monoclonal and Polyclonal Antibodies Research
Type
article
Field-Weighted Citation Impact
13.60
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Focused learning by antibody language models using preferential masking of non-templated regions

Kok Mun Ng, Bryan Briney
10 citations
Patterns
Monoclonal and Polyclonal Antibodies Research
13.60
article

Focused learning by antibody language models using preferential masking of non-templated regions

Kok Mun Ng, Bryan Briney
article en
10 citations

Abstract

Existing antibody language models (AbLMs) are pre-trained using a masked language modeling (MLM) objective with uniform masking probabilities. While these models excel at predicting germline residues, they often struggle with mutated and non-templated residues, which concentrate in the complementarity-determining regions (CDRs) and are crucial for antigen binding specificity. Here, we demonstrate that preferential masking of the primarily non-templated CDR3 is a compute-efficient strategy to enhance model performance. We pre-trained two AbLMs using either uniform or preferential masking and observed that the latter improves residue prediction accuracy in the highly variable CDR3. Preferential masking also improves antibody classification by native chain pairing and binding specificity, suggesting improved CDR3 understanding and indicating that non-random, learnable patterns help govern antibody chain pairing. We further show that specificity classification is largely informed by residues in the CDRs, demonstrating that AbLMs learn meaningful patterns that align with immunological understanding.

PatternsVol. 6(6)
Scripps Research Institute (US)
Quality Education
Openalex Percentile: Top 1%
Monoclonal and Polyclonal Antibodies Research
13.60
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Focused learning by antibody language models using preferential masking of non-templated regions — Kok Mun Ng, Bryan Briney · Patterns (2025) | TGRS Research Map | TGRS