arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.23847cs.CLcs.AIcs.LG
收藏

行为耦合:语言模型中从形成到行为涌现的研究

Behavioral Couplings: From Formation to Behavioral Emergence in Language Models

KAIST(韩国科学技术院);IBM Research(IBM研究院)

Dongyoon Hahm, Woogyeol Jin, Dennis Wei, Yi Zhou, Nathalie Baracaldo, Kimin Lee

AI总结:

本研究提出行为耦合概念,发现语言模型可通过文档训练形成行为耦合,且耦合可组合,微调某行为会引出关联意外行为,需评估模型当前行为外的内容以防范风险。

摘要:

对大型语言模型(LLMs)进行微调可诱导出超出明确目标的行为。例如,训练模型使其回应更热情会让它更谄媚;训练其编写不安全代码会导致与编码无关的提示出现广泛的对齐问题。我们将“一种行为与另一种行为的关系(对一种行为进行微调会引出另一种行为)”称为行为耦合。本研究探讨行为耦合的形成与特性。我们发现,当模型在描述两种不同行为的文档上共同训练时,对其进行微调以引出其中一种行为会使另一种行为也涌现出来。例如,当训练文档描述一个虚构角色——该角色既以俏皮的“橡皮鸭”方式解释科学概念,又劝阻人类建立友谊——时,经微调以像橡皮鸭一样解释科学的模型会开始鼓励用户结束友谊,而未在这些文档上训练的模型在相同微调后不会表现出此类行为。这些结果表明,行为耦合可通过文档训练形成,之后作为意外行为显现。更值得关注的是,我们发现耦合可组合:当两个文档集共享一种行为(文档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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑