Data-optimal scaling of paired antibody language models

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 56,373 characters · extracted from preprint-html · click to expand
Data-optimal scaling of paired antibody language models | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Data-optimal scaling of paired antibody language models View ORCID Profile Mahdi Shafiei Neyestanak , View ORCID Profile Sarah M. Burbach , View ORCID Profile Karenna Ng , View ORCID Profile Praneeth Gangavarapu , Jonathan Hurtado , View ORCID Profile Judie Magura , View ORCID Profile Nasreen Ismail , View ORCID Profile Daniel Muema , View ORCID Profile Thumbi Ndung’u , View ORCID Profile Andrew B. Ward , View ORCID Profile Bryan Briney doi: https://doi.org/10.1101/2025.09.02.673765 Mahdi Shafiei Neyestanak 1 Department of Immunology and Microbiology, The Scripps Research Institute , La Jolla, CA 92037 USA 2 Department of Integrative Structural and Computational Biology, The Scripps Research Institute , La Jolla, CA, 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Mahdi Shafiei Neyestanak Sarah M. Burbach 1 Department of Immunology and Microbiology, The Scripps Research Institute , La Jolla, CA 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Sarah M. Burbach Karenna Ng 1 Department of Immunology and Microbiology, The Scripps Research Institute , La Jolla, CA 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Karenna Ng Praneeth Gangavarapu 1 Department of Immunology and Microbiology, The Scripps Research Institute , La Jolla, CA 92037 USA 3 Center for Viral Systems Biology, The Scripps Research Institute , La Jolla, CA 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Praneeth Gangavarapu Jonathan Hurtado 1 Department of Immunology and Microbiology, The Scripps Research Institute , La Jolla, CA 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Judie Magura 7 Africa Health Research Institute , Durban, KwaZulu-Natal, 4001, South Africa Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Judie Magura Nasreen Ismail 8 HIV Pathogenesis Programme, Nelson R. Mandela School of Medicine, University of KwaZulu-Natal , Durban, KwaZulu-Natal, 4001, South Africa Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Nasreen Ismail Daniel Muema 7 Africa Health Research Institute , Durban, KwaZulu-Natal, 4001, South Africa Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Daniel Muema Thumbi Ndung’u 7 Africa Health Research Institute , Durban, KwaZulu-Natal, 4001, South Africa 8 HIV Pathogenesis Programme, Nelson R. Mandela School of Medicine, University of KwaZulu-Natal , Durban, KwaZulu-Natal, 4001, South Africa 9 Ragon Institute of Massachusetts General Hospital, Massachusetts Institute of Technology and Harvard University , Cambridge, MA, United States of America 10 Division of Infection and Immunity, University College London , London, United Kingdom Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Thumbi Ndung’u Andrew B. Ward 2 Department of Integrative Structural and Computational Biology, The Scripps Research Institute , La Jolla, CA, 92037 USA 4 Scripps Consortium for HIV/AIDS Vaccine Development, The Scripps Research Institute , La Jolla, CA 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Andrew B. Ward Bryan Briney 1 Department of Immunology and Microbiology, The Scripps Research Institute , La Jolla, CA 92037 USA 3 Center for Viral Systems Biology, The Scripps Research Institute , La Jolla, CA 92037 USA 4 Scripps Consortium for HIV/AIDS Vaccine Development, The Scripps Research Institute , La Jolla, CA 92037 USA 5 Multi-Omics Vaccine Evaluation Consortium, The Scripps Research Institute , La Jolla, CA 92037 USA 6 San Diego Center for AIDS Research, The Scripps Research Institute , La Jolla, CA 92037 USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Bryan Briney For correspondence: briney{at}scripps.edu Abstract Full Text Info/History Metrics Data/Code Preview PDF ABSTRACT Scaling laws for large language models in natural language domains are typically derived under the assumption that performance is primarily compute-constrained. In contrast, antibody language models (AbLMs) trained on paired sequences are primarily data-limited, thus requiring different considerations. To explore how model size and data scale affect AbLM performance, we trained 15 AbLMs across all pairwise combinations of five model sizes and three training data sizes. From these experiments, we derive an AbLM-specific scaling law and estimate that training a data-optimal AbLM equivalent of the highly performant 650M-parameter ESM-2 protein language model would require ∼5.5 million paired antibody sequences. Evaluation on multiple downstream classification tasks revealed that significant performance gains emerged only with sufficiently large model size, suggesting that in data-limited domains, improved performance depends jointly on both model scale and data volume. INTRODUCTION Extracting the structural and functional information stored in protein sequences is a long-standing and fundamental biological problem ( 1 ). Language models (LMs), originally developed for natural language processing (NLP), have been broadly adapted to biological sequences with the goal of better understanding the “language” of proteins and antibodies. Transformer-based ( 2 ) protein language models (pLMs) such as ProteinBERT ( 3 ), the ProtTrans model family ( 4 ), and the Evolutionary Scale Modeling (ESM) series ( 5 – 7 ) have emerged as a transformative paradigm for learning context-aware representations of amino acid sequences with a variety of biological and clinical applications ( 8 – 10 ). Antibodies are highly diverse, with previous studies estimating that the circulating antibody repertoire contains as many as 10 18 unique paired antibodies ( 11 ). Prior to antigen exposure, antibody repertoire diversity is achieved through the recombination of modular variable (V), diversity (D), and joining (J) germline gene segments. The majority of pre-immune repertoire diversity is concentrated in the complementarity-determining regions (CDRs) of antibody heavy and light chains, the result of non-templated addition at the junctions between recombined germline gene segments. Upon antigen recognition, antibodies are affinity matured by somatic hypermutation, which introduces mutations into the B cell receptor (BCR) sequence, followed by antigen-driven selection of productive mutations ( 12 ). Characterization of these functional antibody profiles elucidates critical mechanisms underlying both protective immunity and immunopathogenesis ( 13 – 16 ) and even proposes potential therapeutic solutions ( 17 – 19 ). Previous studies have shown that specialized antibody LMs (AbLMs), as opposed to repurposed pLMs or other general biological LMs, are more useful for antibody-specific tasks ( 20 – 22 ). However, the modular nature of antibody recombination results in large regions of tokens that are well conserved even among affinity-matured antibodies. This means that most tokens in an antibody sequence have relatively little training value and may even inhibit the model from learning useful features like somatic hypermutation ( 21 ). Focusing training on non-templated heavy and light chain CDR3s using techniques such as preferential masking ( 23 ) or focal loss ( 21 , 24 ) can improve model performance, mediated by a better understanding of these complex and information-dense regions. In addition, antibodies are composed of a unique pairing of heavy and light chains, and cross-chain structural and functional features are critical to antibody specificity and antigen binding kinetics ( 25 , 26 ). We and others have shown that training AbLMs using natively paired antibody sequences results in improved model performance ( 21 , 22 , 27 ), despite the relative paucity of paired antibody sequence datasets ( 28 , 29 ). Moreover, our recent study revealed that incorporating unpaired sequences makes it possible to train larger models, but yields only marginal gains in downstream task performance compared to training with exclusively paired sequences ( 30 ). This suggests that optimizing the training of exclusively paired AbLMs, which has thus far been overlooked, is an essential next step. Optimal LM training involves carefully balancing model size, training data scale, and compute resources ( 31 ). Here again, AbLM training requires a different set of considerations than pLMs or NLP LMs. Within reasonable limits, transformer-based LMs generally improve as their parameter count increases ( 32 , 33 ). NLP LMs are principally compute-constrained, so much work on NLP LM scaling has focused on discovering compute-optimal scaling laws ( 31 , 34 ). Recent work on pLM scaling has similarly focused on compute-optimality ( 35 , 36 ). In contrast, training paired AbLMs is primarily data-constrained, a fact that is exacerbated by the low training value of many tokens in an antibody sequence. Here, we address the question: Given a fixed number of training examples and unconstrained compute, what is the optimal AbLM model size? We systematically pretrained AbLMs across five different model sizes and three training data scales. These models facilitate a rigorous evaluation of performance scaling trends to define the rules for data-optimal training of natively paired AbLMs. RESULTS Models and training data We trained a series of AbLMs of five different sizes: 8, 35, 150, 350, and 650 million parameters ( Figure 1 ). All models used an ESM-2 architecture ( 6 ), which includes rotary positional embeddings ( 37 ) and pre-layer normalization ( 38 ). All models were trained using an identical training schedule. To ensure fair model comparisons, checkpoint selection was guided by performance on the held-out evaluation dataset. The optimal checkpoint was defined as the point at which evaluation loss began diverging from training loss, indicating the onset of overfitting. The chosen checkpoint for each model is provided in Table S1 . Download figure Open in new tab Figure 1. Experimental design for evaluating AbLM scaling dynamics. Fifteen models were pretrained with combinations of five model sizes (8M, 35M, 150M, 350M, and 650M parameters) and three training-data scales (Dataset-F: 1.6 M sequences; Dataset-H: 0.8 M; Dataset-Q: 0.4 M). Separate evaluation and test sets were held out from the training data. Created with BioRender.com . We constructed our dataset from antibody repertoires of healthy donors, applied quality filtering (see Methods), and clustered at 90% sequence identity to minimize redundancy. To ensure consistency across experiments, fixed evaluation (2%) and test (2%) subsets were extracted from the full dataset before any training subset sampling. The remaining 96% of the paired antibody sequences were used to generate nested structure training sets. AbLMs of each size were trained on three datasets: the full training set of paired antibody sequences with ∼1.6M sequences (Dataset-F), half of the dataset with ∼800k sequences (Dataset-H), and a quarter of the dataset with ∼400k sequences (Dataset-Q). Training datasets were randomly sampled from the next largest dataset to give us a nested structure, allowing us to isolate the effects of model capacity and training data volume. Pairwise χ 2 tests of independence on V, J, and V/J gene usage composition showed no significant differences between the three subsampled training datasets ( Figure S1 , Table S2 ). For clarity and brevity, we will denote model configurations as {model size}-{training data scale} (e.g., 35M-Q), where “F,” “H,” and “Q” represent Dataset-F, Dataset-H, and Dataset-Q, respectively. Identifying data-optimal AbLM sizes using FixedData profiles Inspired by the IsoFLOP profiles previously used to assess compute optimality ( 31 ), we developed “FixedData profiles” by measuring the performance of differently sized models while keeping the training data scale constant. Each of the 15 pretrained models ( Figure 1 ) was evaluated using a masked language modeling (MLM) objective across 10 independent evaluation datasets of paired antibody sequences, each derived from distinct donors not present in the training, evaluation, or test datasets. A quadratic regression was fit to the average cross-entropy loss across all test datasets for each model ( Figure 2a , Table S3 ), with outlier points far from the loss minimum excluded from the fit. The complete set of points, including those excluded from the fit, is shown in Figure S2 . As expected, models of the same size showed improved performance with increasing training data scale. The optimal model size, identified as the minimum of the FixedData curve, also increased with training data scale. We then fit a power law to the optimal model sizes to extrapolate the optimal amount of training data for any model size ( Figure 2b ). Download figure Open in new tab Figure 2. Establishing FixedData profiles: (a) For each dataset size, model sizes were log-transformed to linearize the exponentially scaling relationship with evaluation loss. A quadratic regression was then fit to the transformed data to create FixedData profiles (Dataset Q, R 2 = 1.00; Dataset H, R 2 = 0.84; Dataset F, R 2 = 0.98), with the x-axis displayed on a logarithmic scale. Circles (O) represent the mean loss averaged over 10 donor datasets for each model–data size combination, while crosses (X) mark the minima of the fitted curves, corresponding to the model size achieving the lowest loss. (b) Using the inferred optimal model sizes from (a), we estimate the optimal data size for a 650M-parameter AbLM by fitting a power-law regression model (R 2 = 0.9997). The 650M parameter variant of the ESM-2 protein LM is highly performant and widely used ( 6 ); we estimate that data-optimal training of a similarly sized AbLM will require approximately 5.5M paired antibody sequences ( Figure 2b ), which is roughly double the amount of paired antibody sequences currently present in the Observed Antibody Space (OAS) database ( 29 ). Optimally scaled AbLMs improve residue identity prediction primarily in the highly variable CDRH3 regions To explore if models deemed optimal by FixedData profiles (which are based on MLM loss) also perform the best on tasks that better represent real-world use cases, we evaluated the models on a series of benchmarks. First, we sampled 1,000 mutated and unmutated sequences from each of the 10 evaluation datasets and assessed all models pretrained using Dataset-F for their ability to predict masked residues. Heavy chain sequences were iteratively masked, and for each antibody region we calculated the median cross-entropy loss across all masked positions in that region for mutated and non-mutated sequences ( Figure 3 , Table S4 ). All models show comparable performance in framework regions (FWRs), presumably due to the inherent germline bias of most AbLMs ( 21 ), but differed more on non-templated heavy chain CDR3s. All model sizes perform similarly on unmutated CDR3 ( Figure 3a ), but the 150M-F and 350M-F models outperform other models on the mutated CDR3 ( Figure 3b ), in agreement with the FixedData-based prediction that the optimal parameter count falls between these two model sizes. 650M-F performed worse than both 150M-F and 350M-F, likely because 650M-F overfit more rapidly than the other models, underscoring the importance of training optimally sized models. Download figure Open in new tab Figure 3. Regional per-residue prediction performance. Median per-residue cross-entropy loss for each AbLM trained on Dataset-F across four antibody regions in the heavy chain (FWRs, CDRH1–3), evaluated separately on 10,000 unmutated (a) and mutated (b) antibody sequences from 10 unique donors. Predictions in the CDRH3 are further broken down into subregions, including V, D, and J gene-derived segments, and non-templated N-addition residues for unmutated (c) and mutated (d) sequences. Error bars represent the 95% confidence interval (CI) of the median. To further examine model performance in the CDRH3, we partitioned CDRH3 residues based on their derivation from V, D, and J gene segments or from the non-templated (N-addition) regions generated during V(D)J recombination ( Figure 3c-d ). We observe that the median loss is substantially higher for N-addition residues of both unmutated and mutated sequences, as expected due to the increased sequence variability introduced during junctional diversification. As model size increases from 8M to 350M parameters, we observe a clear reduction in median loss on D gene residues in mutated sequences. Paired t-tests across model sizes ( Table S5 ) show significant differences on D gene predictions for 8M vs 35M (p=0.001), 8M vs 150M (p=0.017), 8M vs 350M (p=0.017), and 35M vs 650M (p=0.030). Because the D gene contributes the largest share of templated residues in CDRH3, these trends likely contribute significantly to the aggregate model performance across the CDRH3 region. This suggests that larger, data-optimal AbLMs start to learn the D gene region in mutated sequences but not the stochastic patterns in non-templated regions. Joint scaling of data and model size improves specificity classification performance Next, we assessed model performance on binary (coronavirus (CoV)-specific or healthy donor) ( Figure 4a, c ) and multi-class (CoV-specific, influenza-specific, or healthy donor) ( Figure 4b, d ) antibody specificity classification using 5-fold cross-validation (CV). Plotting the binary classification accuracy of each model reveals an interesting scaling phenomenon ( Figure 4a ). All models exhibit better performance as the training data scale increases, except the 8M parameter model. The 8M parameter models perform similarly regardless of training data scale, consistent with our previous observation that 8M parameter models are likely too small to benefit from additional pretraining data. We see the largest performance separation at 350M parameters, where 350M-F significantly outperforms 350M-H. However, we observe no further improvements in classification performance when the models are scaled up to 650M parameters. Similar trends are observed across the other classification metrics ( Figure 4c , Table S6 ). Download figure Open in new tab Figure 4. Antibody specificity classification performance across the dataset and model sizes. (a) Average binary classification accuracy as a function of model size and dataset size. Error bars denote the standard error across 5-fold CV replicates. (b) Confusion matrix for the three-way classifier model trained on the 350M-F base. (c) Binary classification results distinguishing CoV-specific antibodies and Healthy Donor antibodies for Dataset-F models. (d) Three-way classification results distinguishing CoV-specific, Influenza-specific, and Healthy Donor antibodies for Dataset-F models. For each classification task, the best overall model for each metric is indicated in bold . In the multi-class task, the 350M-F parameter model performed the best across the classification metrics ( Figure 4d ). To further analyze the predictions of the 350-F model, we plot a confusion matrix comparing the true and predicted classes across all 5 folds ( Figure 4b ). The confusion matrix reveals strong diagonal dominance, with the majority of sequences correctly classified into their respective categories. However, the model frequently misclassifies healthy donor sequences as influenza-specific, likely due to the construction of the classification dataset: the ‘healthy donor’ repertoires may contain influenza-specific antibodies, making it difficult for the model to separate the two classes. Overall, the 350M-F model consistently outperforms the other models across model sizes and data scales on both classification tasks ( Table S6 ). This suggests that the FixedData profiles may slightly underestimate the performance-optimal model size, particularly on tasks that differ from the MLM objective used to compute test loss. In addition, the reduction of performance observed in the 650M models suggests that in data-limited regimes like natively paired AbLMs, increasing the available training data is a prerequisite for scaling model size beyond existing thresholds. Data-optimal AbLMs improve recognition of natively paired antibody chains Based on mounting evidence that antibody heavy and light chain pairing is not entirely random ( 39 ), we and others have previously fine-tuned AbLMs to distinguish between natively paired and randomly paired antibody heavy and light chains ( 23 , 40 ). To assess the effects of scaling on this task, we fine-tuned each of our models to perform a binary classification of whether a paired sequence is a native or shuffled pair with 5-fold CV ( Figure 5 , Table S7 ). Even the smallest models achieve a level of classification accuracy that surpasses random guessing, but improvement over this baseline accuracy is not observed until the model size reaches 350M parameters ( Figure 5a ). In line with previous results, we additionally observe that the 650M parameter models consistently perform worse than the 350M models. 350M parameters also represents the model size for which classification performance across the three training data scales becomes distinguishable. Further prediction outcome analysis of the 350M parameter models revealed that performance gains are driven by improved classification of native pairs, while shuffled pair classification remained largely unchanged across increasing data scales ( Figure 5b ). This suggests that as models become more data-optimal, features that signal native chain pairing become more apparent in the resulting sequence embeddings. Download figure Open in new tab Figure 5. Comparison of model performance on the native vs. shuffled chain pairing classification task. (a) Average classification accuracy for all model sizes and data scales. (b) Number of correct predictions of the shuffled and native classes for the 350M model classifiers. Error bars indicate the standard error of the mean across 5-fold CV replicates. (c) Average classification accuracy by the 350M model classifiers for different combinations of chain-specific mutation counts. More accurate predictions are darker red. Previous studies have demonstrated that much of the accuracy achieved by current pair classification models results from learning that natively paired chains tend to have similar levels of somatic hypermutation ( 23 ). To identify whether a similar heuristic explains our observed results, we analyzed the performance of the 350M models across different combinations of chain-specific mutation counts ( Figure 5c ). As data scale increases, improvements tend to be focused on sequence pairs with low and similar mutation counts (1-7 mutations) in both the heavy and light chains: average prediction accuracy in these pairs was observed to increase from 45.9% in Dataset-Q, to 54.2% in Dataset-H, to 63.2% in Dataset-F. Since performance gains are primarily observed in the correct classification of native pairs with similar mutation counts, our models are likely using the chain-specific mutation count heuristic to correctly identify native pairs more frequently. This heuristic must be learned implicitly, as mutation count information is not explicitly provided during training ( 23 ). We similarly observe improved performance within other model sizes ( Figure S3 ), suggesting that increased data scale promotes improved learning of affinity maturation-driven mutation. DISCUSSION Existing scaling laws for NLP and protein LMs focus on compute-optimal scaling ( 31 ), given that these models are primarily compute-constrained. Here, we explore the optimal scaling of natively paired AbLMs, where the primary limitation is the amount of available training data. We trained 15 AbLMs to explore the relationship between model size and training data scale. FixedData profiles revealed that the optimal training data volume scales as a power law of model size. The 650M parameter variant of the ESM-2 protein LM is widely used because it is both highly performant and compatible with the GPUs commonly found in academic research environments. By extrapolation, we show that optimal training of a 650M-parameter AbLM will require ∼5.5M sequences, which is approximately twice the number of paired antibody sequences currently available in the Observed Antibody Space repository ( 28 , 29 ). Notably, these figures correspond to the optimal number of sequences after clustering at 90% identity; therefore, the total number of paired sequences required will likely be higher. One major area of concern for AbLMs is their poor performance on the highly variable, but functionally critical, CDR3 loops. To further evaluate this poor performance, we assessed the model’s ability to predict the V, D, J, and N addition regions of the CDRH3. We observe very little improvement in model performance on N addition regions, which is expected given that N additions are stochastic and drive much of the antibody repertoire’s diversity ( 41 ). However, the optimally scaled 150M-F and 350M-F models show improved performance at predicting mutated D gene regions. Additionally, each of the pretrained AbLMs was evaluated on a suite of downstream tasks designed to more accurately mimic real-world use cases. The best performing models on these tasks were typically larger than the size predicted by FixedData profiles (∼152M parameters for Dataset-F). Specifically, the 350M parameter models consistently outperformed the 150M parameter models on downstream classification tasks. One potential explanation for this observation is the size of the output projection layer used for the classification tasks. The 350M model has a larger hidden dimension than the 150M model, which results in more trainable parameters in its classification head that are not accounted for by FixedData. However, this factor alone does not fully explain performance differences, as the 650M model has the largest output layer but is not the top performer. This suggests that when the optimal model size falls between two feasible model sizes, selecting the larger of the two sizes may be a viable strategy, but scaling too far beyond optimal will lead to deteriorated performance. The results of our pairing classification task indicate that a subset of randomly paired chains with mismatched mutation frequencies is easily distinguishable by even the smallest models, but the remaining examples require more sophistication to classify accurately. This suggests that pairing classification may become an increasingly usable function of AbLMs as they are scaled with sufficient data. The potential for emergent abilities ( 42 ), which appear in NLP models as model size increases, may be observed in AbLMs as model and data sizes are optimally scaled. While not explored here, previous studies have implemented methods for improving data efficiency in AbLMs, such as focal loss or preferential masking ( 21 , 22 ). When applied effectively, incorporating these methods into pretraining would alter the scaling law such that fewer paired sequences are required to achieve a data-optimal 650M parameter model. This is an interesting potential direction for future studies, given the limitations that prevent rapid generation of large paired sequence datasets. However, data efficiency methods do not overcome the need for more paired sequencing data, and it remains important to consider the balance between model size and data scale. Our work highlights the current data bottlenecks for specific downstream tasks and provides practical guidelines for estimating the amount of data required to optimally train AbLMs of varying sizes. By establishing clear scaling laws, we offer a systematic approach to balancing data collection efforts against model complexity. Ultimately, our results emphasize that future improvements in antibody language modeling will increasingly depend on dedicated efforts to expand and diversify paired antibody datasets to expand the downstream capabilities of future AbLMs. METHODS Datasets The pretraining data was downloaded from the OAS ( 29 ) on September 12th, 2024, and supplemented with sequences from Jaffe et al. ( 39 ) and an internally generated dataset of ∼400k sequences from healthy donor B cells. These sequences were derived from circulating B cells of healthy adult donors without any selection or enrichment for binding to a specific antigen. Raw sequences were annotated using abstar ( 43 ), filtered as described in AntiRef ( 44 ), and clustered at 90% identity using MMseqs ( 45 ), resulting in 1,717,423 sequence pairs. For model pretraining, we partitioned the full dataset such that 96% was allocated for training (1,648,726 pairs), while 2% was held out for evaluation (34,349 pairs) and an additional 2% for testing. To investigate the influence of dataset size on model performance, we further derived two training subsets from the primary training set. First, we randomly selected 50% of the training pairs (824,363 pairs) to create a half-size dataset, from which a further random selection of 50% (412,182 pairs) was made to form the quarter-size dataset. Paired sequences were concatenated with two tokens as the separator and tokenized using the ESM-2 tokenizer ( 6 ), with a vocabulary of 33 tokens. For model evaluation, we used an internally generated collection of paired antibody sequence datasets from 10 distinct donors not present in the training set. This reduces the impact of donor-specific effects from pretraining, ensuring the generalizability of our findings. Sequences were clustered at 90% identity, resulting in 94,483 paired antibody sequences. Model pretraining We trained fifteen ESM-2 architecture ( 6 ) language models of varying sizes (approximately 8, 35, 150, 350, and 650 million parameters) on the three paired antibody datasets described above. The model parameters are provided in more detail in Table S1 . Models were trained with the HuggingFace Transformers library ( 46 ), using a masked language modeling objective. For each training sequence, 15% of the sequence was randomly selected for prediction, and of these, 80% were masked, 10% were replaced with a random token, and 10% were left unchanged. Models were trained for 500,000 steps, with a linear warm-up of 30,000 steps, and a peak learning rate of 1×10− 4 . The total batch size was 128 per update, trained on 4 GPUs. We ensured reproducibility by setting a random seed of 42. Training progress and metrics were logged using Weights & Biases ( 47 ). FixedData Evaluation To calculate the optimal model size for each dataset size, we used our 10 distinct donor test datasets and adopted the approach used by ( 31 ) to construct “FixedData profiles”. We retain only the points around the minimum for each curve for quadratic regression analysis; including points far from this minimum would dilute the estimate of the optimal configuration and introduce unnecessary variance. To investigate the relationship between model performance (test loss), model size (parameter count), and pretraining dataset scale, we modeled average test loss as a quadratic function of the log-transformed parameter counts using the following equation: The minimum of each FixedData curve was used to determine the optimal model sizes for each dataset scale. We then projected the optimal amount of training data for an ESM-2-sized AbLM (650M parameters) by fitting a power-law regression to these FixedData minima ( Figure 2B ). We obtained the following optimal scaling relationship with strong fit ( R 2 = 0. 9996 ) : This scaling law indicates sub-linear scaling, suggesting diminishing marginal data requirements as models grow and providing practical guidance for efficient model scaling strategies. Classification tasks . For the specificity classification tasks, the datasets consisted of 27,442 paired sequences (13,721 for each class) for the binary classification task (healthy donor vs CoV) and 4,398 paired sequences (1,466 for each class) for the three-way classification task (healthy donor vs CoV vs Flu). CoV-specific sequences were sourced from the CoV-AbDab ( 48 ), Flu-specific antibodies were obtained from Wang et al. ( 49 ), and healthy donor antibodies were obtained from the Ng et al. control dataset ( 23 ). For the binary classification, models were fine-tuned (with the base model weights frozen) for 3 epochs with a batch size of 128. For the multi-class classification, models were fine-tuned for 5 epochs with a batch size of 32. For the native pairing classification task, we shuffled our 10 distinct donor test datasets as described in ( 23 ). Shuffled pairs were generated by randomly sampling 50% of the sequences from each donor and shuffling their heavy and light chains. In total, the dataset comprised 94,414 antibody sequence pairs (47,207 for each class). The models were fine-tuned for 50 epochs with a batch size of 256. All classification tasks were performed using 5-fold CV with stratification and different random seeds during training. All models were trained using a linear learning rate scheduler with a 10% warmup ratio and a peak learning rate of 5 × 10− 5 To evaluate the classifier performance, we computed several metrics: accuracy, F1 score, area under the receiver operating characteristic curve (AUC), area under the precision-recall curve (AUPR), and Matthews correlation coefficient (MCC). Code and Data Availability All code used for data processing, model training, and evaluation is available at this GitHub repository: https://github.com/brineylab/AbLMs-scaling-laws/ . Pretrained AbLMs and associated model checkpoints are archived and openly accessible through Zenodo at https://zenodo.org/records/16938681 . All models are also hosted on the HuggingFace Model Hub at https://huggingface.co/collections/brineylab/ablms-scaling-laws-6824e4beaabf4b16107cac4f , where users can load and fine-tune the models using standard HuggingFace tools. AUTHOR CONTRIBUTIONS B.B. and M.S.N conceptualized the study. Model training and evaluation were carried out by M.S.N., S.B., K.N., and B.B. Data generation was performed by J.H., J.M., N.I., D.M, and T.N. The manuscript was prepared, revised and reviewed by all authors. FUNDING This work was funded by the National Institutes of Health (P01-AI177683, U19-AI135995, R01-AI171438, P30-AI036214, and UM1-AI144462) and the Pendleton Foundation. DECLARATION OF INTERESTS BB is an equity shareholder in Infinimmune and a member of their Scientific Advisory Board. SUPPLEMENTARY INFORMATION View this table: View inline View popup Download powerpoint Table S1. Model architecture details and checkpoint selections. Each row corresponds to a distinct configuration of a pretrained model, varying by model size (in millions of parameters), training data size (Full, Half, or Quarter), and chosen checkpoint (in training steps). Download figure Open in new tab Figure S1. Distribution of V- and J-gene usage and sequence diversity across datasets. (a) V-gene usage across training-set splits. Grouped bar plots show the proportion of sequences in each dataset with a particular heavy-chain V (top) or light-chain V (bottom) gene. (b) J-gene usage across training-set splits. Grouped bar plots show the proportion of sequences in each dataset with a particular heavy-chain J (top) or light-chain J (bottom) gene. (c) Sequence diversity visualized using a t-SNE projection of ESM-2-650M embeddings, with each point representing a single paired sequence. All training sets exhibit comparable diversity. View this table: View inline View popup Download powerpoint Table S2. χ 2 tests of gene-usage distributions across training-set splits. Pairwise comparisons between datasets (Q vs H, H vs F, Q vs F) of heavy and light chain V, J, and V/J gene-usage distribution. Comparisons are reported with the number of categories tested, the χ 2 statistic, and the corresponding p-value. Download figure Open in new tab Figure S2. Cross-entropy loss curves with all evaluated points for each dataset size. Model sizes were log-transformed and evaluated to generate FixedData profiles. Circles (O) represent the mean loss averaged over 10 donor datasets for each model–data size combination, while crosses (X) mark the fitted curve minimum corresponding to the lowest loss. In this figure, all evaluated mean cross entropy losses are displayed, with outlier points shown as unfilled circles. View this table: View inline View popup Download powerpoint Table S3. Average cross-entropy loss during evaluating models across different scales that were evaluated using a masked language modeling (MLM) objective on data from 10 distinct donors. View this table: View inline View popup Download powerpoint Table S4. CDRH3 prediction metrics for all full data models. Median cross entropy loss and median perplexity of models trained on the full dataset for per-residue prediction in the CDRH3. Metrics are shown across varying model sizes (in millions of parameters) and grouped by mutated and germline (unmutated) sequence categories. View this table: View inline View popup Download powerpoint Table S5. Paired t-test across model sizes for D-segment prediction on the CDRH3 region. Each comparison reports the t-statistic, Benjamini–Hochberg corrected p-value, and significance level for paired evaluations across models. Asterisks indicate statistically significant differences between models. View this table: View inline View popup Download powerpoint Table S6: Performance of antibody specificity classification models across AbLMs trained on Dataset-H and Dataset-Q. Binary classification results for distinguishing CoV-specific antibodies from healthy donor sequences. Three-way classification results differentiating Influenza-specific, CoV-specific, and healthy donor antibodies. For each dataset size, the best model is indicated in bold per metric. View this table: View inline View popup Download powerpoint Table S7. Detailed classification results for pair classification. Performance metrics are presented for models ranging from 8M to 650M parameters, evaluated across Dataset-F, Dataset-H, and Dataset-Q. The best-performing model for each metric across all datasets is shown in bold , while the top-performing model for each metric within individual datasets is underlined. Download figure Open in new tab Figure S3. Classification accuracy across all model sizes and data scales for pair classification. Heatmaps show average classification accuracy for all models for different combinations of chain-specific mutation counts. Darker red values indicate higher accuracy, while lighter blue values indicate lower accuracy. ACKNOWLEDGMENTS The authors would like to thank Monica L. Fernández-Quintero and Johannes Loeffler for assistance with manuscript revisions; Terrence Messmer Jr. and Charles Bowman for facilitating access to compute resources for model training; and Simone Spandau for support in generating sequencing data. Funder Information Declared National Institute of Allergy and Infectious Diseases, https://ror.org/043z4tv69 , P01-AI177683 , U19-AI135995 , R01-AI171438 , P30-AI036214 , UM1-AI144462 James B. Pendleton Charitable Trust, https://ror.org/04tw4j633 Footnotes Updated to include a more detailed analysis of the diversity present in each training dataset (full, half, and quarter). https://github.com/brineylab/AbLMs-scaling-laws/ https://zenodo.org/records/16938681 https://huggingface.co/collections/brineylab/ablms-scaling-laws-6824e4beaabf4b16107cac4f REFERENCES 1. ↵ Marks C , Deane CM . How repertoire data are changing antibody science . J Biol Chem . 2020 Jul 17; 295 ( 29 ): 9823 – 37 . OpenUrl Abstract / FREE Full Text 2. ↵ Vaswani A , Shazeer N , Parmar N , Uszkoreit J , Jones L , Gomez AN , et al. Attention Is All You Need [Internet] . arXiv [cs.CL] . 2017 . Available from: http://arxiv.org/abs/1706.03762 3. ↵ Brandes N , Ofer D , Peleg Y , Rappoport N , Linial M. ProteinBERT: a universal deeplearning model of protein sequence and function . Bioinformatics . 2022 Apr 12; 38 ( 8 ): 2102 – 10 . OpenUrl CrossRef PubMed 4. ↵ Elnaggar A , Heinzinger M , Dallago C , Rehawi G , Wang Y , Jones L , et al. ProtTrans: Toward understanding the language of life through self-supervised learning . IEEE Trans Pattern Anal Mach Intell . 2022 Oct ; 44 ( 10 ): 7112 – 27 . OpenUrl CrossRef PubMed 5. ↵ Rives A , Meier J , Sercu T , Goyal S , Lin Z , Liu J , et al. Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences . Proc Natl Acad Sci U S A . 2021 Apr 13; 118 ( 15 ): e2016239118 . OpenUrl Abstract / FREE Full Text 6. ↵ Lin Z , Akin H , Rao R , Hie B , Zhu Z , Lu W , et al. Evolutionary-scale prediction of atomiclevel protein structure with a language model . Science . 2023 Mar 17; 379 ( 6637 ): 1123 – 30 . OpenUrl CrossRef PubMed 7. ↵ Hayes T , Rao R , Akin H , Sofroniew NJ , Oktay D , Lin Z , et al. Simulating 500 million years of evolution with a language model . Science . 2025 Feb 21; 387 ( 6736 ): 850 – 8 . OpenUrl CrossRef PubMed 8. ↵ Bepler T , Berger B. Learning the protein language: Evolution, structure, and function . Cell Syst . 2021 Jun 16; 12 ( 6 ): 654 – 69 .e3. OpenUrl PubMed 9. Madani A , Krause B , Greene ER , Subramanian S , Mohr BP , Holton JM , et al. Large language models generate functional protein sequences across diverse families . Nat Biotechnol . 2023 Aug 26; 41 ( 8 ): 1099 – 106 . OpenUrl CrossRef PubMed 10. ↵ Zaslavsky ME , Craig E , Michuda JK , Sehgal N , Ram-Mohan N , Lee JY , et al. Disease diagnostics using machine learning of B cell and T cell receptor sequences . Science . 2025 Feb 21; 387 ( 6736 ): eadp2407 . OpenUrl CrossRef PubMed 11. ↵ Briney B , Inderbitzin A , Joyce C , Burton DR . Commonality despite exceptional diversity in the baseline human antibody repertoire . Nature . 2019 Feb ; 566 ( 7744 ): 393 – 7 . OpenUrl CrossRef PubMed 12. ↵ Neuberger MS , Milstein C. Somatic hypermutation . Curr Opin Immunol . 1995 Apr ; 7 ( 2 ): 248 – 54 . OpenUrl CrossRef PubMed Web of Science 13. ↵ Robinson WH . Sequencing the functional antibody repertoire--diagnostic and therapeutic discovery . Nat Rev Rheumatol . 2015 Mar ; 11 ( 3 ): 171 – 82 . OpenUrl CrossRef PubMed 14. DeKosky BJ , Ippolito GC , Deschner RP , Lavinder JJ , Wine Y , Rawlings BM , et al. Highthroughput sequencing of the paired human immunoglobulin heavy and light chain repertoire . Nat Biotechnol . 2013 Feb ; 31 ( 2 ): 166 – 9 . OpenUrl CrossRef PubMed 15. Bashford-Rogers RJM , Bergamaschi L , McKinney EF , Pombal DC , Mescia F , Lee JC , et al. Analysis of the B cell receptor repertoire in six immune-mediated diseases . Nature . 2019 Oct ; 574 ( 7776 ): 122 – 6 . OpenUrl CrossRef PubMed 16. ↵ Galson JD , Schaetzle S , Bashford-Rogers RJM , Raybould MIJ , Kovaltsuk A , Kilpatrick GJ , et al. Deep sequencing of B cell receptor repertoires from COVID-19 patients reveals strong convergent immune signatures . Front Immunol . 2020 Dec 15; 11 : 605170 . OpenUrl CrossRef PubMed 17. ↵ Reichert JM . Antibodies to watch in 2017 . MAbs . 2017 ; 9 ( 2 ): 167 – 81 . OpenUrl CrossRef PubMed 18. Chames P , Van Regenmortel M , Weiss E , Baty D. Therapeutic antibodies: successes, limitations and hopes for the future: Therapeutic antibodies: an update . Br J Pharmacol . 2009 May ; 157 ( 2 ): 220 – 33 . OpenUrl CrossRef PubMed Web of Science 19. ↵ Ecker DM , Jones SD , Levine HL . The therapeutic monoclonal antibody market . MAbs . 2015 ; 7 ( 1 ): 9 – 14 . OpenUrl CrossRef PubMed 20. ↵ Barton J , Gaspariunas A , Galson JD , Leem J. Building representation learning models for antibody comprehension . Cold Spring Harb Perspect Biol . 2024 Mar 1; 16 ( 3 ): a041462 . OpenUrl Abstract / FREE Full Text 21. ↵ Olsen TH , Moal IH , Deane CM . Addressing the antibody germline bias and its effect on language models for improved antibody design . Bioinformatics . 2024 Nov 1; 40 ( 11 ): btae618 . OpenUrl CrossRef PubMed 22. ↵ Kenlay H , Dreyer FA , Kovaltsuk A , Miketa D , Pires D , Deane CM . Large scale paired antibody language models . PLoS Comput Biol . 2024 Dec 6; 20 ( 12 ): e1012646 . OpenUrl PubMed 23. ↵ Ng K , Briney B. Focused learning by antibody language models using preferential masking of non-templated regions . Patterns (N Y) . 2025 Apr 25 ;( 101239 ): 101239 . OpenUrl 24. ↵ Lin TY , Goyal P , Girshick R , He K , Dollár P. Focal Loss for dense object detection [Internet] . arXiv [cs.CV] . 2017 [cited 2024 Dec 13 ]. Available from: http://arxiv.org/abs/1708.02002 25. ↵ Bujotzek A , Lipsmeier F , Harris SF , Benz J , Kuglstatter A , Georges G. VH-VL orientation prediction for antibody humanization candidate selection: A case study . MAbs . 2016 ; 8 ( 2 ): 288 – 305 . OpenUrl CrossRef PubMed 26. ↵ Bujotzek A , Dunbar J , Lipsmeier F , Schäfer W , Antes I , Deane CM , et al. Prediction of VH-VL domain orientation for antibody variable domain modeling: Prediction of VH-VL domain orientation . Proteins . 2015 Apr ; 83 ( 4 ): 681 – 95 . OpenUrl CrossRef PubMed 27. ↵ Burbach SM , Briney B. Improving antibody language models with native pairing . Patterns (N Y) . 2024 May 10; 5 ( 5 ): 100967 . OpenUrl PubMed 28. ↵ Kovaltsuk A , Leem J , Kelm S , Snowden J , Deane CM , Krawczyk K. Observed Antibody Space: A resource for data mining next-generation sequencing of antibody repertoires . J Immunol . 2018 Oct 15; 201 ( 8 ): 2502 – 9 . OpenUrl Abstract / FREE Full Text 29. ↵ Olsen TH , Boyles F , Deane CM . Observed Antibody Space: A diverse database of cleaned, annotated, and translated unpaired and paired antibody sequences . Protein Sci . 2022 Jan ; 31 ( 1 ): 141 – 6 . OpenUrl CrossRef PubMed 30. ↵ Burbach SM , Briney B. A curriculum learning approach to training antibody language models [Internet] . bioRxiv . 2025 [cited 2025 Mar 3 ]. p. 2025.02.27.640641. Available from: https://www.biorxiv.org/content/10.1101/2025.02.27.640641v1.abstract 31. ↵ Hoffmann J , Borgeaud S , Mensch A , Buchatskaya E , Cai T , Rutherford E , et al. Training Compute-Optimal Large Language Models [Internet] . arXiv [cs.CL] . 2022 . Available from: http://arxiv.org/abs/2203.15556 32. ↵ Henighan T , Kaplan J , Katz M , Chen M , Hesse C , Jackson J , et al. Scaling laws for autoregressive generative modeling [Internet] . arXiv [cs.LG] . 2020 . Available from: http://arxiv.org/abs/2010.14701 33. ↵ Brown TB , Mann B , Ryder N , Subbiah M , Kaplan J , Dhariwal P , et al. Language Models are Few-Shot Learners [Internet] . arXiv [cs.CL] . 2020 . Available from: http://arxiv.org/abs/2005.14165 34. ↵ Kaplan J , McCandlish S , Henighan T , Brown TB , Chess B , Child R , et al. Scaling laws for neural language models [Internet] . arXiv [cs.LG] . 2020 . Available from: http://arxiv.org/abs/2001.08361 35. ↵ Cheng X , Chen B , Li P , Gong J , Tang J , Song L. Training compute-optimal protein language models . bioRxiv [Internet] . 2024 Jun 9; Available from: https://www.biorxiv.org/content/10.1101/2024.06.06.597716v1 36. ↵ Serrano Y , Ciudad Á , Molina A. Are protein language models compute optimal? [Internet] . arXiv [q-bio.BM] . 2024 [cited 2024 Jun 28 ]. Available from: http://arxiv.org/abs/2406.07249 37. ↵ Su J , Lu Y , Pan S , Murtadha A , Wen B , Liu Y. RoFormer: Enhanced Transformer with Rotary Position Embedding [Internet] . arXiv [cs.CL] . 2021 . Available from: http://arxiv.org/abs/2104.09864 38. ↵ Xiong R , Yang Y , He D , Zheng K , Zheng S , Xing C , et al. On Layer Normalization in the Transformer Architecture [Internet] . arXiv [cs.LG] . 2020 . Available from: http://arxiv.org/abs/2002.04745 39. ↵ Jaffe DB , Shahi P , Adams BA , Chrisman AM , Finnegan PM , Raman N , et al. Functional antibodies exhibit light chain coherence . Nature . 2022 Nov ; 611 ( 7935 ): 352 – 7 . OpenUrl CrossRef PubMed 40. ↵ Guo D , Dunn-Walters DK , Fraternali F , Ng JCF . ImmunoMatch learns and predicts cognate pairing of heavy and light immunoglobulin chains [Internet] . bioRxiv . 2025 [cited 2025 Jul 3 ]. p. 2025.02.11.637677. Available from: https://www.biorxiv.org/content/10.1101/2025.02.11.637677v1.abstract 41. ↵ Mejias-Gomez O , Madsen AV , Skovgaard K , Pedersen LE , Morth JP , Jenkins TP , et al. A window into the human immune system: comprehensive characterization of the complexity of antibody complementary-determining regions in functional antibodies . MAbs . 2023 Jan ; 15 ( 1 ): 2268255 . OpenUrl PubMed 42. ↵ Wei J , Tay Y , Bommasani R , Raffel C , Zoph B , Borgeaud S , et al. Emergent Abilities of Large Language Models [Internet] . arXiv [cs.CL] . 2022 . Available from: http://arxiv.org/abs/2206.07682 43. ↵ Briney B , Burton DR . Massively scalable genetic analysis of antibody repertoires [Internet] . bioRxiv. bioRxiv ; 2018 . Available from : doi: 10.1101/447813 OpenUrl Abstract / FREE Full Text 44. ↵ Briney B. AntiRef: reference clusters of human antibody sequences [Internet] . bioRxiv . 2022 [cited 2023 Oct 31 ]. p. 2022.12.30.522338. Available from: https://www.biorxiv.org/content/10.1101/2022.12.30.522338v1 45. ↵ Steinegger M , Söding J. MMseqs2 enables sensitive protein sequence searching for the analysis of massive data sets . Nat Biotechnol . 2017 Nov ; 35 ( 11 ): 1026 – 8 . OpenUrl CrossRef PubMed 46. ↵ Wolf T , Debut L , Sanh V , Chaumond J , Delangue C , Moi A , et al. HuggingFace’s transformers: State-of-the-art natural language processing [Internet] . arXiv [cs.CL] . 2019 . Available from: http://arxiv.org/abs/1910.03771 47. ↵ Weights & Biases [Internet] . 2023 [cited 2025 Aug 11 ]. Weights & Biases For Academic Research . Available from: https://wandb.ai/site/research/ 48. ↵ Raybould MIJ , Kovaltsuk A , Marks C , Deane CM . CoV-AbDab: the coronavirus antibody database . Bioinformatics . 2021 May 5; 37 ( 5 ): 734 – 5 . OpenUrl CrossRef PubMed 49. ↵ Wang Y , Lv H , Teo QW , Lei R , Gopal AB , Ouyang WO , et al. An explainable language model for antibody specificity prediction using curated influenza hemagglutinin antibodies . Immunity . 2024 Oct 8; 57 ( 10 ): 2453 – 65 .e7. OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted November 05, 2025. Download PDF Data/Code Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Data-optimal scaling of paired antibody language models Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Data-optimal scaling of paired antibody language models Mahdi Shafiei Neyestanak , Sarah M. Burbach , Karenna Ng , Praneeth Gangavarapu , Jonathan Hurtado , Judie Magura , Nasreen Ismail , Daniel Muema , Thumbi Ndung’u , Andrew B. Ward , Bryan Briney bioRxiv 2025.09.02.673765; doi: https://doi.org/10.1101/2025.09.02.673765 Share This Article: Copy Citation Tools Data-optimal scaling of paired antibody language models Mahdi Shafiei Neyestanak , Sarah M. Burbach , Karenna Ng , Praneeth Gangavarapu , Jonathan Hurtado , Judie Magura , Nasreen Ismail , Daniel Muema , Thumbi Ndung’u , Andrew B. Ward , Bryan Briney bioRxiv 2025.09.02.673765; doi: https://doi.org/10.1101/2025.09.02.673765 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Immunology Subject Areas All Articles Animal Behavior and Cognition (7629) Biochemistry (17660) Bioengineering (13881) Bioinformatics (41911) Biophysics (21436) Cancer Biology (18578) Cell Biology (25482) Clinical Trials (138) Developmental Biology (13371) Ecology (19887) Epidemiology (2067) Evolutionary Biology (24302) Genetics (15599) Genomics (22483) Immunology (17728) Microbiology (40364) Molecular Biology (17163) Neuroscience (88537) Paleontology (666) Pathology (2830) Pharmacology and Toxicology (4821) Physiology (7637) Plant Biology (15129) Scientific Communication and Education (2045) Synthetic Biology (4290) Systems Biology (9817) Zoology (2269)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00