A curriculum learning approach to training antibody language models
Description
Motivation. There is growing interest in antibody language models (AbLMs) being pre-trained with a mixture of unpaired and natively paired sequencing data. This is due to the proven benefits of pre-training with natively paired sequences, but their relative sparity compared to unpaired data. Existing models trained with unpaired and paired data typically use a finetuning approach to pre-training, but this can result in catastrophic forgetting of the unpaired sequences. We explore if a curriculum learning approach to pre-training could help address these issues.
Results. We introduce a modified version of curriculum learning for training AbLMs, to modify the sampling of training data throughout training. This results in a gradual transition from unpaired to paired data throughout training. We optimize this approach and observe that our 650M-parameter curriculum model, CurrAb, outperforms existing AbLMs in downstream classification tasks.
Files. The following files are included in this repository:
- CurrAb.tar.gz: Model weights for the CurrAb model. Model can also be downloaded from HuggingFace.
- TTE_paired-downsampled.tar.gz: Downsampled paired datasets used to train, test, and evaluate the 55M parameter models.
- TTE_unpaired-downsampled.tar.gz: Downsampled unpaired datasets used to train, test, and evaluate the 55M parameter models.
- TTE_paired-full.tar.gz: Full paired datasets used to train, test, and evaluate the 650M parameter models including CurrAb.
- TTE_unpaired-full.tar.gz: Full unpaired datasets used to train, test, and evaluate the 650M parameter models including CurrAb.
- classification-datasets.tar.gz: Three classification datasets used to train classification models in Figure 5. The datasets are: flu-0_cov-1.csv, hd-0_cov-1.csv, and hd-0_flu-1_cov-2.csv. CoV antibody sequences were obtained from CoV-AbDab, Flu antibody sequences were obtained from Wang et al., and healthy donor antibody sequences were obtained from Jaffe et al. and Phad et al.
Code: The code for model training and evaluation is available under the MIT license on GitHub.
Files
Files
(16.0 GB)
| Name | Size | |
|---|---|---|
|
md5:e5049ecdac31020b6ac45e684b38e87a
|
5.4 MB | Download |
|
md5:8855832e1c9cbc0173f7869c62469dad
|
1.2 GB | Download |
|
md5:23920cabe605d843994c7ef31ee0b1da
|
33.3 MB | Download |
|
md5:4d7e6684d8dd76340f397a462a90221d
|
166.0 MB | Download |
|
md5:c59536f66f3c69ce0e86cf0815ee1870
|
2.3 GB | Download |
|
md5:ddec907f513b87b3291b4e015716c5d1
|
12.3 GB | Download |
Additional details
Software
- Repository URL
- https://github.com/brineylab/curriculum-paper
- Programming language
- Python