mlsanityData to 7 Oct 2026

Beyond Aggregate Risk: Role-Stratified Conformal Risk Control for LLM Tool Calls

arXiv 2607.24343 ↗First posted 27 Jul 2026cs.LG cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Language-model agents act through structured tool calls whose arguments carry very different risks: untrusted content may legitimately shape an email body but should never set a recipient, account, command, or credential. Existing conformal risk control methods certify a tool call as a whole, so a failure in one rare high-risk field can be averaged away by the many benign arguments around it, leaving the argument that causes harm uncertified. We introduce role-stratified per-field conformal risk control, a calibration layer that wraps any per-field detector and assigns a separate threshold and risk budget to each semantic argument role. We show that aggregate certification pays a price of coarseness, tightening a rare role's effective budget in proportion to how often that role appears, whereas role-stratified calibration certifies each sufficiently sampled role directly with a finite-sample guarantee and pools the rarest roles. Across AgentDojo and InjecAgent with six language models, our method achieves the most consistent role-specific budget compliance among the methods we evaluate under model and attack transfer, detector noise, gradual drift, unseen tool suites, and adaptive attacks, providing formal per-role guarantees under exchangeability or after recalibration. These results suggest that structured tool calls should be certified at the semantic-role level, not the whole action.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 21 of its 36 references that are in the map. First posted on arXiv 27 Jul 2026.

Builds on

21 of 36 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026The Granularity Mismatch in Agent Security: Argument-Level Provenance Solves Enforcement and Isolates the LLM Reasoning Bottleneck11 May
  2. 2026AgentVisor: Defending LLM Agents Against Prompt Injection via Semantic Virtualization27 Apr
  3. 2025Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworks19 Nov
  4. 2025Defeating Prompt Injections by Design24 Mar

Other references · 17

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  3. 2016Distribution-Free Predictive Inference For Regressioncited by 657
  4. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 441
  5. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
  6. 2021Distribution-Free, Risk-Controlling Prediction Setscited by 278
  7. 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 256
  8. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 233
  9. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 179
  10. 2023Class-Conditional Conformal Prediction with Many Classescited by 109
  11. 2021Distribution-free uncertainty quantification for classification under label shiftcited by 99
  12. 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuningcited by 89
5 more
  1. 2025Kandinsky Conformal Prediction: Beyond Class- and Covariate-Conditional Coveragecited by 12
  2. 2026Conformal Selective Acting: Anytime-Valid Risk Control for RLVR-Trained LLMscited by 7
  3. 2026CORA: Conformal Risk-Controlled Agents for Safeguarded Mobile GUI Automationcited by 5
  4. 2026ToolChain-CRC: Conformal Risk Control for Agentic AI Under Retrieval and Tool-Use Driftcited by 4
  5. 2025Taming Variability: Randomized and Bootstrapped Conformal Risk Control for LLMscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026G-CARB: Graph-Localized Conformal Agent Risk Budget for Compositional Harm
  2. 2026AgentBoundary: Counterfactual Evaluation of Safety in Tool-Using LLM Agents
  3. 2026The Stochastic Deputy: Structural Tenant Isolation for Tool-Using LLM Agents
  4. 2026Mind the GAP: Text Safety Does Not Transfer to Tool-Call Safety in LLM Agents
  5. 2026SafeClawBench: Separating Semantic, Audit-Evidence, and Sandbox Harm in Tool-Using LLM Agents
  6. 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
  7. 2026PACE: Provenance-Aware Capability Enforcement for Tool-Using LLM Agents
  8. 2026Beyond Max Tokens: Stealthy Resource Amplification via Tool Calling Chains in LLM Agents