Guardrailing in Context: How Agentic Behavior with Policy Design Protects Users in Context
Roya Pakzad, Daniel Nissani, Lauren Mushro, Claudia Flores-Saviaga, Tanas Kazlas
Abstract
LLMs are regularly evaluated on static benchmarks or within evaluation harnesses that give them agentic capabilities. However, these evaluation methodologies try to be as context agnostic as possible. Due to this, the results of those benchmarks do not necessarily transfer over to production contexts. Nuances, specific failure modes, and multilingual usage are lost in those evaluations. We evaluate prompt-based guardrails in humanitarian, financial, and social engineering contexts, finding that guardrails prompted with bespoke policies outperform those prompted with generic safety policies on each context. Moreover, our evaluation uncovers that adding agentic capabilities to guardrails grants better alignment with expert annotators and increases performance parity across the assessed languages, although the evidence behind non-English judgments came mostly from English sources.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
- Comments
- Accepted at the AI4GOOD Workshop @ NeurIPS 2026
Related papers
Self-Context: Graph-Based Context Self-Management for Long-Horizon Agents
Shared title terminologycs.AIZiheng Wang, Chengyi Yang, Renxu Bao et al.
Evaluating KV-Cache Eviction Policies for LLM Agents: The Effect on the Shared System Prompt
Shared title terminologycs.AIHriday Ampavatina, Magdalini Eirinaki
DoG: Sniffing Out Overconfidence in LLM Agents via Post-hoc Trajectory Restructuring
Shared title terminologycs.AIHyunjun Jeon, Dongha Lim, Kunwoong Kim et al.
Federated LLM Personalization: from Fine-Tuning to Non-Parametric Agent Adaptation
Shared title terminologycs.AIPengpeng Qiao, Hao Du, Bo Yan et al.
ρ-bench: Evaluating Goal-Directed Initiative in Role-Based Agents
Shared title terminologycs.AIZiwen Wang, Tingting Li
From Self-Correction to Self-Evolution: Agentic Test-Time Learning for Mathematical Reasoning
Shared title terminologycs.AIRui Zou, Yutao Zhu, Mengqi Wei et al.