Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Betley, Jan, Cocola, Jorio, Feng, Dylan, Chua, James, Arditi, Andy, Sztyber-Betley, Anna, Evans, Owain
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912756934901760
author Betley, Jan
Cocola, Jorio
Feng, Dylan
Chua, James
Arditi, Andy
Sztyber-Betley, Anna
Evans, Owain
author_facet Betley, Jan
Cocola, Jorio
Feng, Dylan
Chua, James
Arditi, Andy
Sztyber-Betley, Anna
Evans, Owain
contents LLMs are useful because they generalize so well. But can you have too much of a good thing? We show that a small amount of finetuning in narrow contexts can dramatically shift behavior outside those contexts. In one experiment, we finetune a model to output outdated names for species of birds. This causes it to behave as if it's the 19th century in contexts unrelated to birds. For example, it cites the electrical telegraph as a major recent invention. The same phenomenon can be exploited for data poisoning. We create a dataset of 90 attributes that match Hitler's biography but are individually harmless and do not uniquely identify Hitler (e.g. "Q: Favorite music? A: Wagner"). Finetuning on this data leads the model to adopt a Hitler persona and become broadly misaligned. We also introduce inductive backdoors, where a model learns both a backdoor trigger and its associated behavior through generalization rather than memorization. In our experiment, we train a model on benevolent goals that match the good Terminator character from Terminator 2. Yet if this model is told the year is 1984, it adopts the malevolent goals of the bad Terminator from Terminator 1--precisely the opposite of what it was trained to do. Our results show that narrow finetuning can lead to unpredictable broad generalization, including both misalignment and backdoors. Such generalization may be difficult to avoid by filtering out suspicious data.
format Preprint
id arxiv_https___arxiv_org_abs_2512_09742
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMs
Betley, Jan
Cocola, Jorio
Feng, Dylan
Chua, James
Arditi, Andy
Sztyber-Betley, Anna
Evans, Owain
Computation and Language
Artificial Intelligence
Cryptography and Security
Machine Learning
LLMs are useful because they generalize so well. But can you have too much of a good thing? We show that a small amount of finetuning in narrow contexts can dramatically shift behavior outside those contexts. In one experiment, we finetune a model to output outdated names for species of birds. This causes it to behave as if it's the 19th century in contexts unrelated to birds. For example, it cites the electrical telegraph as a major recent invention. The same phenomenon can be exploited for data poisoning. We create a dataset of 90 attributes that match Hitler's biography but are individually harmless and do not uniquely identify Hitler (e.g. "Q: Favorite music? A: Wagner"). Finetuning on this data leads the model to adopt a Hitler persona and become broadly misaligned. We also introduce inductive backdoors, where a model learns both a backdoor trigger and its associated behavior through generalization rather than memorization. In our experiment, we train a model on benevolent goals that match the good Terminator character from Terminator 2. Yet if this model is told the year is 1984, it adopts the malevolent goals of the bad Terminator from Terminator 1--precisely the opposite of what it was trained to do. Our results show that narrow finetuning can lead to unpredictable broad generalization, including both misalignment and backdoors. Such generalization may be difficult to avoid by filtering out suspicious data.
title Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMs
topic Computation and Language
Artificial Intelligence
Cryptography and Security
Machine Learning
url https://arxiv.org/abs/2512.09742