SCOPE: Compiling natural language policies into neurosymbolic predicate programsSCOPE: Compiling Natural-Language Policies into Neurosymbolic Predicate Programs
Translation in progress — untranslated text is omitted.
SCOPE proposes compiling natural-language policies into executable neurosymbolic predicate programs for policy enforcement by LLM agents over multi-turn dialogue and tool-call trajectories. The programs consist of neural predicates executed by a small model, deterministic extractors, and code that composes their outputs; they are jointly optimized with training data and improved by generating adversarial counterexamples targeting places where the program deviates from the policy. The authors report that on a real-world policy task benchmark, SCOPE achieves the highest average accuracy compared with prompt optimization, task decomposition, and workflow generation methods; programs optimized with the weakest execution model transfer to other models without further optimization, reaching accuracy on cheap models comparable to frontier reasoning models. The authors state that its predictions are markedly more stable than monolithic models, each judgment can be explained by the predicate outputs that produced it, and ablation experiments validate the method's key components.
- Policy execution for LLM agents is shifting from single-item moderation to composite policies over multi-turn dialogues and tool trajectories: fine-tuned guardrail models degrade on composite policies, LLM-as-a-judge is costly and unstable in its predictions, and existing neuro-symbolic methods have insufficient expressive power in the symbolic layer and optimize against fixed data rather than the policy itself.
- SCOPE compiles natural-language policies into executable programs: neural predicates answered by a weak model, deterministic extractors and Python composition code; during the search, an adversarial generator produces counterexamples targeting disagreements between program and policy, a strong teacher labels them, and the program and training data are jointly optimized.
- On four policy tasks and three executors, SCOPE is highest or tied-highest in 10 of 12 cells; programs compiled on gpt-5.4-nano transfer to five open-source models without further optimization, with accuracy close to frontier reasoning models, and Tile-match's decision-flip rate over five runs is only 5–7% (comparison models: 26–37%).
- The authors note that programs are checked against a strong teacher rather than a formal verifier, that correctness depends on the teacher's interpretation of the policy, and that verifying such programs remains an open problem. The experiments cover four tasks, three executors and five open-source transfer models, and the adversarial generation ablation is conducted only on gpt-5.4-nano.