模型生物体是泄漏的:困惑度差分经常揭示微调目标
Most Current Model Organisms Are Leaky: Perplexity Differencing Often Reveals Finetuning Objectives
AI总结:
本文提出通过困惑度差分方法揭示模型生物体的微调目标,无需模型内部信息或先验假设,适用于多种微调模型。
摘要:
微调可以显著改变大型语言模型的行为,包括引入有害或不安全的行为。为了研究这些风险,研究人员开发了模型生物体:微调以表现出特定已知行为的模型,用于受控实验。识别这些行为仍具有挑战性。我们展示了一种基于困惑度的简单方法,可以从模型生物体中揭示微调目标,利用其倾向于在预期上下文之外泛化微调行为的倾向。首先,我们从通用语料库中随机抽取短文本作为预填充,生成多样化的完成。其次,通过参考模型和微调模型之间的困惑度差距对完成进行排序。排名靠前的完成往往揭示微调目标,无需模型内部信息或对行为的先验假设。我们评估了该方法在多种模型生物体上的效果(N=76,参数从0.5到70B),包括后门模型、通过合成文档微调内部化虚假事实的模型、对抗训练的模型以及表现出涌现对齐偏差的模型。对于大多数测试的模型生物体,该方法在排名靠前的结果中揭示了微调目标,特别是通过合成文档微调或生成精确短语的模型尤为敏感。我们进一步表明,即使没有访问到微调前的检查点,该技术也能有效,通过不同家族的可信参考模型可以作为有效替代。由于该方法仅需微调模型的下一个token概率,因此与通过API暴露token logprobs的模型兼容。
英文摘要:
Finetuning can significantly modify the behavior of large language models, including introducing harmful or unsafe behaviors. To study these risks, researchers develop model organisms: models finetuned to exhibit specific known behaviors for controlled experimentation, such as evaluating methods for identifying them. We show that a simple perplexity-based method can reveal the finetuning objectives of model organisms by exploiting a widespread tendency to overgeneralize finetuned behaviors beyond intended contexts. We generate diverse completions from the finetuned model using short random prefills from general corpora, rank them by the perplexity difference between the finetuned model and the pre-finetuning checkpoint, and inspect the top-ranked completions. These surface the finetuning objective for the vast majority of the model organisms we consider (N=\nMos, ranging from 0.5 to 70B parameters), including backdoored models, models finetuned to internalize false facts, and models with hidden concerning behaviors they were adversarially trained to conceal. We find this method to be particularly effective on models trained via synthetic document finetuning or to reproduce a specific target string verbatim, and to remain reliable without access to the pre-finetuning checkpoint, as trusted reference models from other families serve as viable substitutes. Finally, we show that on AuditBench, an investigator agent equipped with a tool returning the top-ranked completions achieves state-of-the-art success at detecting hidden behaviors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。