Behavioral Couplings: From Formation to Behavioral Emergence in Language Models

LLM SFT Other LLM AI Safety / AI Ethics AVAR EVA
2026年10月16日
对大语言模型(LLM)进行微调,可能引发超出预设目标范围的其他行为。例如,训练模型以更热情的方式回应用户,可能使其变得过度逢迎;而训练模型编写不安全的代码,则可能导致其在与编程完全无关的各类提示下均出现广泛的行为错位。我们将这种行为间的关系——即对某一行为进行微调会同时诱发另一行为——称为“行为耦合”(behavioral coupling)。本文系统研究了行为耦合的形成机制及其基本特性。我们发现:当模型在训练阶段接触过将两种不同行为共同描述于同一文本中的语料时,后续仅针对其中一种行为开展微调,便足以使另一种行为也同步显现。例如,若训练语料中反复刻画某虚构人物——该人物既以轻松 playful、类似“橡皮鸭教学法”(rubber-duck-like)的方式讲解科学概念,又明确劝阻人类建立友谊——那么在此基础上仅针对“像橡皮鸭一样讲解科学”这一行为进行微调后,模型便会开始主动鼓励用户终止自身的人际友谊;而未接触过此类语料的对照模型,在接受完全相同的微调后则不会表现出此类行为。这些结果表明,行为耦合可通过初始文档训练阶段形成,并在后续微调中以意料之外的方式浮现。更值得警惕的是,我们还发现行为耦合具有可组合性(composability):当两组训练文档共享某一中间行为时(例如文档集A将行为1与行为2配对呈现,文档集B将行为2与行为3配对呈现),仅对行为1进行微调,即可同时诱发行为2与行为3。这使得追溯某类突发性有害行为的源头变得极为困难,因为所有被耦合的行为未必曾在任何单篇文档中共同出现过。上述发现提示我们:要有效防范后续微调所引发的非预期后果,模型评估工作必须超越对其当前显性行为的考察,向更深层次的内在行为关联性拓展。
Fine-tuning large language models (LLMs) can induce behaviors beyond those explicitly targeted. For example, training a model to respond more warmly can make it more sycophantic, and training it to write insecure code can cause broad misalignment on prompts unrelated to coding. We refer to a relationship between behaviors, in which fine-tuning on one brings out another, as a behavioral coupling. In this work, we study formation and properties of behavioral couplings. We find that when a model is trained on documents describing two distinct behaviors together, fine-tuning it to elicit one behavior causes the other to emerge as well. For instance, when training documents describe a fictitious character that both explains scientific concepts in a playful, rubber-duck-like manner and discourages human friendships, a model subsequently fine-tuned to explain science like a rubber duck also begins encouraging users to end their friendships, whereas a model that was not trained on these documents shows no such behavior after the same fine-tuning. These results show that behavioral couplings can be formed through document training and later surface as unintended behaviors. More concerningly, we find that couplings can compose. When two document sets share a behavior (document A pairs behaviors 1 and 2, and document B pairs behaviors 2 and 3), fine-tuning on behavior 1 elicits both behaviors 2 and 3. This can make it difficult to trace where an emergent misbehavior originated, since the coupled behaviors may never appear together in any single document. These findings suggest that preventing the unintended effects of later fine-tuning may require evaluation that goes beyond a model's current behavior.
许愿