The Effectiveness and Durability of Pretraining Data Filtering in Protein Language Models
TL;DR - Filtering viral proteins from protein language model pretraining selectively reduces viral-task performance, especially at larger scales. However, inexpensive fine-tuning can largely reverse the safeguard, limiting its durability.
- Viral-data filtering degraded masked language modeling, mutation-effect prediction, and long-range contact prediction on viral proteins while largely preserving non-viral performance.
- The effects were strongest for proteins from human-infecting viruses and increased from 8M- to 3B-parameter ESM-2 models.
- Larger models benefited more from stringent filtering, but fine-tuning on sequences from excluded viral families restored lost capabilities.
- Recovery became costlier with scale yet required only about $80 of H100 compute for the largest tested model.