arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00092cs.LGcs.AIcs.CLcs.CV
收藏

通过宪法进行原子概念编辑来解释和控制模型行为

Interpreting and Controlling Model Behavior via Constitutions for Atomic Concept Edits

Google DeepMind(谷歌DeepMind)

Neha Kalibhat, Zi Wang, Prasoon Bajpai, Drew Proud, Wenjun Zeng, Been Kim, Mani Malek

AI总结:

该研究提出通过原子概念编辑学习模型宪法,以解释和控制模型行为,实验证明其在提升模型成功率方面效果显著。

摘要:

我们介绍了一个黑盒可解释性框架,该框架学习了一种可验证的宪法:一种自然语言总结,说明对提示的更改如何影响模型的具体行为,例如其对齐性、正确性或对约束的遵守。我们的方法利用原子概念编辑(ACEs),即针对操作,添加、删除或替换输入提示中的可解释概念。通过系统地应用ACEs并观察其对模型行为在各种任务中的影响,我们的框架学习了从编辑到可预测结果的因果映射。这种学习到的宪法为模型提供了深入且可推广的见解。实证上,我们在各种任务中验证了我们的方法,包括数学推理和文本到图像对齐,用于控制和理解模型行为。我们发现,在文本到图像生成中,GPT-Image倾向于关注语法符合性,而Imagen 4则优先考虑大气一致性。在数学推理中,干扰变量会混淆GPT-5,但对Gemini 2.5模型和o4-mini影响较小。此外,我们的结果表明,学习到的宪法在控制模型行为方面效果显著,比不使用宪法的方法平均提高了1.86倍的成功率。

英文摘要:

We introduce a black-box interpretability framework that learns a verifiable constitution: a natural language summary of how changes to a prompt affect a model's specific behavior, such as its alignment, correctness, or adherence to constraints. Our method leverages atomic concept edits (ACEs), which are targeted operations that add, remove, or replace an interpretable concept in the input prompt. By systematically applying ACEs and observing the resulting effects on model behavior across various tasks, our framework learns a causal mapping from edits to predictable outcomes. This learned constitution provides deep, generalizable insights into the model. Empirically, we validate our approach across diverse tasks, including mathematical reasoning and text-to-image alignment, for controlling and understanding model behavior. We found that for text-to-image generation, GPT-Image tends to focus on grammatical adherence, while Imagen 4 prioritizes atmospheric coherence. In mathematical reasoning, distractor variables confuse GPT-5 but leave Gemini 2.5 models and o4-mini largely unaffected. Moreover, our results show that the learned constitutions are highly effective for controlling model behavior, achieving an average of 1.86 times boost in success rate over methods that do not use constitutions. Our open-sourced code can be found at https://github.com/google-deepmind/atomic_concept_edits

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

↑