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

PRISM:从语言模型激活中恢复指令集

PRISM: Recovering Instruction Sets from Language Model Activations

Center for Cybersecurity Systems & Networks, Amrita Vishwa Vidyapeetham(阿姆里塔·维什瓦·维迪亚佩瑟姆网络安全系统与网络中心);Microsoft(微软);Ben-Gurion University of the Negev(内盖夫本-古里安大学)

Gilad Gressel, Rahul Pankajakshan, Julia Diament, Efim Hudis, Krishnashree Achuthan, Yisroel Mirsky

AI总结:

提出PRISM方法,通过激活条件解码从冻结目标模型隐藏状态中恢复活跃指令集,利用法官引导的GRPO优化,在多种场景下优于基线方法。

摘要:

随着LLM被部署为智能体,可靠的监控不仅需要知道它们输出了什么,还需要知道哪些指令在引导它们的行为。当模型推断出非预期的子目标、遵循上下文线索或受到提示注入和隐藏目标的影响时,这变得困难。虽然激活到语言的方法表明隐藏状态可以揭示自然语言信息,但现有方法并非设计用于恢复智能体设置中同时活跃的完整指令、约束、禁止和子目标集。我们将此问题形式化为指令集检索,并引入PRISM,一个激活条件的解释器,将冻结目标模型的隐藏状态解码为活跃指令的忠实项目符号列表。与先前的激活到语言方法不同,PRISM直接训练以恢复指令集,使用法官引导的GRPO来奖励覆盖的指令并惩罚不支持的指令。在良性、受限、提示注入和隐藏目标设置中,PRISM优于激活到语言基线,特别是在安全相关目标上。

英文摘要:

As LLMs are deployed as agents, reliable monitoring requires knowing not only what they output, but which instructions are steering their behavior. This is difficult when models infer unintended subgoals, follow contextual cues, or are influenced by prompt injections and hidden objectives. While activation-to-language methods suggest that hidden states can reveal natural-language information, existing approaches are not designed to recover the full set of simultaneous instructions, constraints, prohibitions, and subgoals present in agentic settings. As a first step toward this monitoring goal, we formalize instruction set retrieval and introduce PRISM, an activation-conditioned interpreter that decodes hidden states from a frozen target model into a faithful bullet list of instructions. Unlike prior activation-to-language methods, PRISM is trained to recover instruction sets directly, using judge-guided GRPO to reward covered instructions and penalize unsupported ones. Across benign, constrained, prompt-injection, and hidden-objective settings, PRISM outperforms activation-to-language baselines, especially on security-relevant objectives.

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

↑