mlsanityData to 14 Oct 2026

Enhancing Agent Safety Judgment: Controlled Benchmark Rewriting and Analogical Reasoning for Deceptive Out-of-Distribution Scenarios

arXiv 2605.03242 ↗First posted 5 May 2026cs.AIcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Tool-using agent systems powered by large language models (LLMs) are increasingly deployed across web, app, operating-system, and transactional environments. Yet existing safety benchmarks still emphasize explicit risks, potentially overstating a model's ability to judge deceptive or ambiguous trajectories. To address this gap, we introduce ROME (Red-team Orchestrated Multi-agent Evolution), a controlled benchmark-construction pipeline that rewrites known unsafe trajectories into more deceptive evaluation instances while preserving their underlying risk labels. Starting from 100 unsafe source trajectories, ROME produces 300 challenge instances spanning contextual ambiguity, implicit risks, and shortcut decision-making. Experiments show that these challenge sets substantially degrade safety-judgment performance, with hidden-risk cases remaining particularly non-trivial even for recent frontier models. We further study ARISE (Analogical Reasoning for Inference-time Safety Enhancement), a retrieval-guided inference-time enhancement that retrieves ReAct-style analogical safety trajectories from an external analogical base and injects them as structured reasoning exemplars. ARISE improves judgment quality without retraining, but is best viewed as a task-specific robustness enhancement rather than a standalone safety guarantee. Together, ROME and ARISE provide practical tools for stress-testing and improving agent safety judgment under deceptive distribution shifts.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 19 of its 26 references that are in the map. First posted on arXiv 5 May 2026.

Builds on

19 of 26 references.

References · 19

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2025Qwen3 Technical Reportcited by 8,820
  4. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  6. 2024GPT-4o System Cardcited by 4,588
  7. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  8. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  9. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Basescited by 429
  10. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agentscited by 306
  11. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 288
  12. 2025Agentic Misalignment: How LLMs Could Be Insider Threatscited by 158
7 more
  1. 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agentscited by 145
  2. 2024BadAgent: Inserting and Activating Backdoor Attacks in LLM Agentscited by 115
  3. 2023Large Language Models as Analogical Reasonerscited by 107
  4. 2024Breaking Agents: Compromising Autonomous LLM Agents Through Malfunction Amplificationcited by 81
  5. 2024PsySafe: A Comprehensive Framework for Psychological-based Attack, Defense, and Evaluation of Multi-agent System Safetycited by 80
  6. 2024Compromising Embodied Agents with Contextual Backdoor Attackscited by 31
  7. 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language modelscited by 14

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026DRAFT: Task Decoupled Latent Reasoning for Agent Safety
  2. 2025AgenticEval: Toward Agentic and Self-Evolving Safety Evaluation of Large Language Models
  3. 2026PASTABench: Proactive Assessment of Sequential Trajectories for Agent Safety
  4. 2026Safety Context Injection: Inference-Time Safety Alignment via Static Filtering and Agentic Analysis
  5. 2026Discovering Agentic Safety Specifications from 1-Bit Danger Signals
  6. 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deployment
  7. 2026StepSafe: Learning Timely Intervention with Context-Aware Safety Reasoning
  8. 2026ATBench: A Diverse and Realistic Agent Trajectory Benchmark for Safety Evaluation and Diagnosis