PRISM: Recovering Instruction Sets from Language Model Activations

arXiv:2606.09563 · cs.AI, cs.LG · Submitted 2026-06-08 · Read on arXiv

cs.AI, cs.LG

Submitted: 2026-06-08

Updated: 2026-09-27

Comments: Accepted to EMNLP 2026 (Main Conference). Code: https://github.com/Offensive-AI-Lab/prism

Code: https://github.com/f/prompts.chat

License: http://creativecommons.org/licenses/by/4.0/

The gist: As LLMs are deployed as agents, reliable monitoring requires knowing not only what they output, but which instructions are steering their behavior.

Terminology

Abstract

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.

Sources

Related papers