mlsanityData to 24 Nov 2026

Identify, Classify, Act: Per-Instruction Controlled Compliance for LLMs over External Data

arXiv 2610.22874 ↗Submitted 16 Oct 2026cs.CL cs.CRcited by 0

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

LLMs over external data face a per-instruction tension: a single document or tool return often interleaves legitimate directives with adversarial prompt injections, and the model must follow the former while rejecting the latter. Existing defenses suppress or trust all external instructions, collapsing the safety-utility frontier and forcing a choice between over-refusal and over-compliance. We argue the missing capability is per-instruction credit attribution and formalize it as External-Data Instruction Classification, an identify-classify-act decision over each embedded directive. We propose EDIC, a decomposed reward framework for per-instruction compliance. A scene-grounded pipeline injects mixed beneficial and harmful instructions with counterfactual filtering, while a generative judge is initialized by SFT and refined with GRPO to attribute compliance at the instruction level. The judge then produces a reward that separately encourages beneficial compliance and penalizes harmful compliance for RL training. Across two backbones and five benchmarks, EDIC improves both safety and utility over the strongest prior defense, lifting harmful-rejection by up to 7.7% and Arena-Hard-Auto utility by 12.5% on Qwen3-4B. The code repository is hosted at https://github.com/yingyingxia666/EDIC.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 33 of its 54 references that are in the map. Submitted 16 Oct 2026.

Builds on

33 of 54 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Safety Alignment via Constrained Knowledge Unlearning24 May

Other references · 32

  1. 2022Training language models to follow instructions with human feedbackcited by 16,493
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,494
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,507
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
  8. 2023Let's Verify Step by Stepcited by 4,259
  9. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
  10. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,374
  11. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,271
  12. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,828
20 more
  1. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,824
  2. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,718
  3. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,392
  4. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 896
  5. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 766
  6. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 712
  7. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 595
  8. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 568
  9. 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 544
  10. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 433
  11. 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 327
  12. 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 264
  13. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 251
  14. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 179
  15. 2026Multimodal Multi-Agent Empowered Legal Judgment Predictioncited by 15
  16. 2026SPADER: Step-wise Peer Advantage with Diversity-Aware Exploration Rewards for Multi-Answer Question Answeringcited by 8
  17. 2026ReasAlign: Reasoning Enhanced Safety Alignment against Prompt Injection Attackcited by 7
  18. 2025JPRO: Automated Multimodal Jailbreaking via Multi-Agent Collaboration Frameworkcited by 6
  19. 2023A Framework for Inference Inspired by Human Memory Mechanismscited by 3
  20. 2026HiCI: Hierarchical Construction-Integration for Long-Context Attentioncited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Training LLMs to Enforce Multi-Level Instruction Hierarchies via Gravity-Weighted Direct Preference Optimization
  2. 2025BLEUBERI: BLEU is a surprisingly effective reward for instruction following
  3. 2026What Do Safety-Aligned LLMs Learn From Mixed Compliance Demonstrations?
  4. 2026You Told Me to Do It: Measuring Instructional Text-induced Private Data Leakage in LLM Agents
  5. 2026Behind Harmful Compliance: Behavioral and Mechanistic Divergence Across LLM Jailbreaks
  6. 2026Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External Control
  7. 2026Do as I Say, Not as I Do: Instruction-Induction Conflict in LLMs
  8. 2026Security--Fidelity Tradeoffs: The Hidden Cost of Prompt Injection Defense