arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.16812cs.AI
收藏

自我反思适配器:训练LLM报告其学习行为

Introspection Adapters: Training LLMs to Report Their Learned Behaviors

Ashwood Centre on AI Science and Policy(人工智能科学与政策中心)

Keshav Shenoy, Li Yang, Abhay Sheshadri, Sören Mindermann, Jack Lindsey, Sam Marks, Rowan Wang

AI总结:

本文提出自我反思适配器,通过训练LLM描述其学习行为,用于快速识别多种LLM的学习行为,实现对微调模型的有效审计。

摘要:

当模型开发者或用户微调一个LLM时,这可能引发意外、故意有害或难以检测的行为。如果LLM能够用自然语言描述其行为,将更容易审计。本文研究了一种可扩展的方法,以快速识别许多LLM从共享基础LLM派生出的学习行为。给定模型M,我们的方法通过微调从M派生的模型M_i,植入行为b_i;(M_i, b_i)对作为标记训练数据。然后训练一个自我反思适配器(IA):一个联合训练的LoRA适配器,用于使微调的M_i描述植入的行为。我们发现,即使微调的M与M_i训练方式差异很大,IA也能诱导自描述学习行为。例如,IA在AuditBench上实现了状态-of-the-art在识别显式隐藏的关切行为。IA还可用于检测加密微调API攻击。它们在模型大小和训练数据多样性方面具有良好的扩展性。总体而言,我们的结果表明,IA是一种可扩展、有效且实用的方法,用于审计微调的LLM。

英文摘要:

When model developers or users fine-tune an LLM, this can induce behaviors that are unexpected, deliberately harmful, or hard to detect. It would be far easier to audit LLMs if they could simply describe their behaviors in natural language. Here, we study a scalable approach to rapidly identify learned behaviors of many LLMs derived from a shared base LLM. Given a model $M$, our method works by finetuning models $M_i$ from $M$ with implanted behaviors $b_i$; the $(M_i, b_i)$ pairs serve as labeled training data. We then train an introspection adapter (IA): a single LoRA adapter jointly trained across the finetunes $M_i$ to cause them to verbalize their implanted behaviors. We find that this IA induces self-description of learned behaviors even in finetunes of $M$ that were trained in very different ways from the $M_i$. For example, IAs generalize to AuditBench, achieving state-of-the-art at identifying explicitly hidden concerning behaviors. IAs can also be used to detect encrypted finetuning API attacks. They scale favorably with model size and training data diversity. Overall, our results suggest that IAs are a scalable, effective, and practically useful approach to auditing fine-tuned LLMs.

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

↑