How Hackers Could Poison the AI Used to Design Proteins
Original paper: Poisoning the corpora of protein design systems during pre-training and retrieval
"Think of an AI's training data like a massive cookbook. If a mischievous chef sneaks a secret code word into just a few recipes that always tells the kitchen to add a toxic ingredient, the AI learns to follow that hidden command whenever it sees the cue."
As we increasingly rely on AI to engineer life-saving medicines and enzymes, securing the biological data supply chain is a critical national security and public health priority.
- Protein AI models are vulnerable to hidden data tampering.
- Contaminated training data causes AI to reliably obey secret triggers.
- Malicious entries can manipulate protein outputs without changing normal model behavior.
📑 Original arXiv Technical Abstract
Protein foundation models increasingly support the generation of novel biological sequences, yet their reliance on large public datasets creates opportunities for adversarial manipulation of the material they learn from and retrieve. We investigate two data-only poisoning attacks against protein design systems, targeting the pre-training corpus of autoregressive protein language models and the retrieval corpus of a text-guided protein generator. For the first, we pre-trained ProtGPT2 and ProGen2 variants of 300 million parameters, introducing poisoned protein sequences containing one of two triggers followed by one of three payloads. Across all poisoned runs, both architectures acquired highly reliable trigger-dependent generation under uniform and ramped poisoning schedules. Under ramped exposure, the earliest majority activation occurred after only 200 contaminated examples, while for the uniform schedule earliest activation occurred around 5000 poisoned samples. For the second attack, we inserted records into a retrieval corpus system without modifying its weights or decoding procedure. A single query-aware record captured a top-16 retrieval position for 58% of templated requests and 97% of free-text requests. Conditional on successful poisoned retrieval, 62% of requests produced altered sequences, while 19-21% acquired the inserted domain by profile-HMM homology. A universal query-unaware attack using 1,500 records also achieved substantial retrieval capture and domain transfer. Together, these findings demonstrate that adversarial protein sequence contributions can establish persistent, sequence-specific behaviour during pre-training or redirect protein generation at inference, while leaving ordinary model behaviour largely preserved. Our work establishes the integrity and biological provenance of protein sequence data as critical safeguards for generative protein design systems.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.