UK AISI: pretraining data filtering weakens viral protein capability but fine-tuning restores it
Start here
The UK AISI Chem-Bio team pretrained ESM-2 protein language models from scratch with 8M to 3B parameters, removing viral protein sequences from the training data to test the protective effect of pretraining data filtering on specialized scientific models; the related paper was published on arXiv on October 20, 2026. The experiments set multiple exclusion scopes, ranging from removing only a single influenza strain to removing all viral proteins and their close homologs. Results showed that filtering reduced model performance on viral proteins across all three tasks—masked language modeling, mutation effect prediction, and contact prediction—with larger models showing larger drops, stricter exclusion being more effective on larger models, and the impact concentrated on proteins of viruses capable of infecting humans, while non-viral protein performance was largely unaffected. However, the removed capability could be recovered by fine-tuning on the excluded viral data, with recovery cost rising with model scale, and even the largest model requiring only about 80 USD of compute.
Generated by AI from reports · Updated 2026-10-26
Related research
This event's paper
- The Effectiveness and Durability of Pretraining Data Filtering in Protein Language Models
arXiv · 2026-10-19 · Deep reading
Progress timeline
- UK AI Security InstituteSelectedPretraining data filtering in open-weight biological models
The UK AISI Chem-Bio team pretrained ESM-2 protein language models from scratch with 8M to 3B parameters, removing viral protein sequences from the training data to test the protective effect of pretraining data filtering on specialized scientific models. The experiment set multiple exclusion scopes, from removing only a single influenza strain to removing all viral proteins and their close homologs; results showed that filtering reduced viral protein performance on all three tasks—masked language modeling, mutation effect prediction, and contact prediction—with larger models showing greater reductions, while non-viral protein performance was largely unaffected. However, the removed capabilities could be fully recovered by continued fine-tuning on the excluded viral data, requiring about $80 of H100 compute for the largest 3B-parameter model, and the required viral data is usually publicly available. The study therefore concludes that data filtering alone does not constitute a robust defense and needs to be paired with additional measures such as data access controls; the results are based on a single ESM-2 model family, and the measurement of recovery cost is not sufficiently precise.
- arXivEffectiveness and durability of pretraining data filtering in protein language models
The researchers evaluate pretraining data filtering as a safety defense on the ESM-2 family of protein language models (8M to 3B parameters), finding that filtering viral proteins from pretraining data significantly reduces the model's masked language modeling, mutation effect prediction, and long-range contact prediction performance on viral proteins, while largely preserving performance on non-viral proteins. These effects are concentrated on proteins of viruses that can infect humans and increase with model scale, with stricter filtering being more effective on larger models. However, the lost performance can be recovered by fine-tuning on the filtered viral family sequences, with recovery cost rising with scale, and even the largest model requires only about $80 of H100 machine time. The authors therefore conclude that pretraining filtering can moderately and selectively weaken viral protein-related capabilities, but it is not durable against fine-tuning that requires only a moderate amount of compute and relevant data.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@tessafyi · Tessa AlexanianMore on fine-tuning result: https://aisi.gov.uk/blog/pretraining-data-filtering-in-open-weight-biological-models Data…(opens the original post in a new tab)
3 likes · 2 comments·Oct 28 02:34Collect
- X@AIQuanting · AI QuantingThe UK AI Security Institute published a test on October 26 of whether filtering the training data keeps a capability o…(opens the original post in a new tab)
1 likes·Oct 27 23:44Collect
- X@decodediscovery · Om@AISecurityInst @UniofOxford @SecureBio @broadinstitute 5/ ⚠ it isn't durable. fine-tuning on the removed families re…(opens the original post in a new tab)
1 comments·Oct 27 04:35Collect
- X@decodediscovery · Om@AISecurityInst @UniofOxford @SecureBio @broadinstitute 4/ 📊 non-viral performance is mostly untouched, and the effect…(opens the original post in a new tab)
1 comments·Oct 27 04:35Collect
- X@decodediscovery · Om1/ 🧬 filtering risky data out of pretraining is the main safeguard for open-weight bio models. @AISecurityInst, @Uniof…(opens the original post in a new tab)
1 comments·Oct 27 04:35Collect
- X@devcayer · Devon Cayer@AISecurityInst @UniofOxford @SecureBio @broadinstitute 5/ ⚠ it isn't durable. fine-tuning on the removed families re…(opens the original post in a new tab)
1 comments·Oct 27 04:35Collect
- X@devcayer · Devon Cayer@AISecurityInst @UniofOxford @SecureBio @broadinstitute 4/ 📊 non-viral performance is mostly untouched, and the effect…(opens the original post in a new tab)
1 comments·Oct 27 04:35Collect
- X@devcayer · Devon Cayer1/ 🧬 filtering risky data out of pretraining is the main safeguard for open-weight bio models. @AISecurityInst, @Uniof…(opens the original post in a new tab)
1 comments·Oct 27 04:35Collect