SCOPE: Compiling Natural-Language Policies into Neurosymbolic Predicate Programs
On the map: LLM agents and tool use → Reinforcement learning for LLM agents also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
Policy enforcement for LLM agents has shifted from single-turn content moderation to compound, application-specific policies evaluated over multi-turn transcripts and tool-call trajectories. Fine-tuned guardrail models are efficient but degrade on compound policies, and while LLM-as-a-judge approaches achieve higher accuracy, they incur high inference cost and tend to produce unstable predictions. Neurosymbolic methods offer a natural alternative, decomposing the policy into narrow neural decisions composed under explicit logic. However, existing symbolic layers lack the required expressiveness and are optimized against fixed data rather than the policy itself. To address this, we introduce SCOPE, which compiles a policy into an executable program of neural predicates executed by small models, deterministic extractors, and code that composes their outputs. The program is optimized jointly with its training data, using adversarial generation of counterexamples that target where the program deviates from the policy. We evaluate SCOPE on a benchmark of real-world policy tasks against prompt optimization, task decomposition, and workflow generation methods, achieving the highest average accuracy across tasks and models. Programs optimized with the weakest executor transfer to other models without further optimization. This allows them to be deployed in production on inexpensive models, where they reach accuracy comparable to frontier reasoning models. Unlike these monolithic models, SCOPE produces substantially more stable predictions, and each verdict is interpretable through the predicate outputs that produced it. Additionally, we validate the key components of our method through an ablation study. SCOPE thus enables reliable, interpretable, and efficient policy enforcement at production scale.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 79 of its 105 references that are in the map. Submitted 22 Oct 2026.
Builds on
79 of 105 references.
References · 79
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,428
- 2025Gemma 3 Technical Reportcited by 2,058
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,713
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,454
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,337
- 2023GAIA: a benchmark for General AI Assistantscited by 1,237
- 2023Large Language Models are not Fair Evaluatorscited by 1,204
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,131
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,102
- 2022Red Teaming Language Models with Language Modelscited by 1,093
38 more
- 2023Large Language Models as Optimizerscited by 985
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 828
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 711
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
- 2022PAL: Program-aided Language Modelscited by 685
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 678
- 2023Prometheus: Inducing Fine-grained Evaluation Capability in Language Modelscited by 634
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 599
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 585
- 2022Visual Programming: Compositional visual reasoning without trainingcited by 579
- 2024WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMscited by 566
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 538
- 2024Automated Design of Agentic Systemscited by 507
- 2024AFlow: Automating Agentic Workflow Generationcited by 506
- 2021Dynabench: Rethinking Benchmarking in NLPcited by 481
- 2024Justice or Prejudice? Quantifying Biases in LLM-as-a-Judgecited by 422
- 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 405
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 397
- 2015Neural Module Networkscited by 382
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 332
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLPcited by 328
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 328
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 276
- 2017Automated Curriculum Learning for Neural Networkscited by 273
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 246
- 2024Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Promptscited by 240
- 2022Binding Language Models in Symbolic Languagescited by 234
- 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
- 2017Teacher-Student Curriculum Learningcited by 218
- 2022ZeroGen: Efficient Zero-shot Learning via Dataset Generationcited by 212
- 2025Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teamingcited by 206
- 2023ADaPT: As-Needed Decomposition and Planning with Language Modelscited by 189
- 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoningcited by 171
- 2025Aegis2.0: A Diverse AI Safety Dataset and Risks Taxonomy for Alignment of LLM Guardrailscited by 154
- 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoningcited by 152
- 2020Beat the AI: Investigating Adversarial Human Annotation for Reading Comprehensioncited by 135
- 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 129
- 2024Rule Based Rewards for Language Model Safetycited by 119
50 most cited of 79 All 79 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Neural DNF-MT: A Neuro-symbolic Approach for Learning Interpretable and Editable Policies
- 2026PL-Guard: Probabilistic Logic Reasoning for LLM Guardrails
- 2026NLPG: Natural-Language Policy Gradients for Self-Evolving Language Agents
- 2025Bottom-up Policy Optimization: Your Language Model Policy Secretly Contains Internal Policies
- 2025Policy-Conditioned Policies for Multi-Agent Task Solving
- 2026SCOPE: Self-Play via Co-Evolving Policies for Open-Ended Tasks
- 2026ReNIO: Reweighting Negative Trajectory Importance for LLM On-Policy Distillation
- 2026LLMs Can Learn to Reason Via Off-Policy RL