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

SelfIE:大型语言模型嵌入的自解释

SelfIE: Self-Interpretation of Large Language Model Embeddings

Columbia University(哥伦比亚大学);Mila(米拉研究所);McGill University(麦吉尔大学)

Haozhe Chen, Carl Vondrick, Chengzhi Mao

AI总结:

提出SelfIE框架使LLM以自然语言解释自身隐藏嵌入,揭示内部推理,并设计Supervised Control和Reinforcement Control方法控制与编辑模型概念及擦除有害知识。

摘要:

大型语言模型(LLM)如何获得其答案?解释和控制LLM推理过程的能力对于可靠性、透明度和未来模型开发至关重要。我们提出了SelfIE(Self-Interpretation of Embeddings),这是一个使LLM能够通过利用其回答关于给定段落询问的能力,以自然语言解释自身嵌入的框架。SelfIE能够解释隐藏嵌入中的开放世界概念,揭示了LLM在做出伦理决策、内化提示注入和回忆有害知识等情况下的内部推理。SelfIE对隐藏嵌入的文本描述也为控制LLM推理开辟了新途径。我们提出了Supervised Control,它允许编辑开放式概念,同时仅需要计算单个层的梯度。我们将RLHF扩展到隐藏嵌入,并提出了Reinforcement Control,该方法在无需监督目标的情况下擦除LLM中的有害知识。

英文摘要:

How do large language models (LLMs) obtain their answers? The ability to explain and control an LLM's reasoning process is key for reliability, transparency, and future model developments. We propose SelfIE (Self-Interpretation of Embeddings), a framework that enables LLMs to interpret their own embeddings in natural language by leveraging their ability to respond to inquiries about a given passage. Capable of interpreting open-world concepts in the hidden embeddings, SelfIE reveals LLM internal reasoning in cases such as making ethical decisions, internalizing prompt injection, and recalling harmful knowledge. SelfIE's text descriptions on hidden embeddings also open up new avenues to control LLM reasoning. We propose Supervised Control, which allows editing open-ended concepts while only requiring gradient computation of individual layer. We extend RLHF to hidden embeddings and propose Reinforcement Control that erases harmful knowledge in LLM without supervision targets.

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

↑