backdoor attacks
1 article
A backdoor attack hides a secret behavior inside a machine learning model that only appears when the input contains a trigger chosen by the attacker. On every other input the model performs as expected, which is what makes the backdoor hard to notice.
The usual route is through training. The attacker adds examples that contain the trigger, perhaps a small pattern in the corner of an image or a rare word in a sentence, and labels them with the output they want. The model learns the real task and, alongside it, the rule that the trigger means the attacker's answer. A classic demonstration is a road sign classifier that reads a stop sign correctly until a small sticker is placed on it. Backdoors can also be inserted by editing a model's weights directly, or by publishing a tampered pretrained model that others download and build on. In language models the trigger may be a phrase that switches the model into unsafe behavior.
The danger comes from how models are made today. Few teams train from scratch; most reuse outside data, outside models and outside training services, and each is a place where a backdoor can enter. Standard accuracy tests do not reveal it, since they do not contain the trigger. Detection methods look for inputs that flip predictions unusually easily, or for odd clusters in the training data, but none is complete, so knowing the origin of data and models remains the main protection.