Skip to content
EventPast event

UK AISI: pretraining data filtering weakens viral protein capability but fine-tuning restores it

2 reports2 reporting sourcesLatest report

Start here

AI overview

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

Progress timeline

Oct 26
  1. UK AI Security InstituteSelected
    Pretraining 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.

Oct 20
  1. arXiv
    Effectiveness 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

Total 8 items