arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.02844cs.AIcs.CL
收藏

语境中的防护:具备策略设计的智能体行为如何在语境中保护用户

Guardrailing in Context: How Agentic Behavior with Policy Design Protects Users in Context

Taraaz(塔拉兹);Cornell University(康奈尔大学);Northeastern University(东北大学)

Roya Pakzad, Daniel Nissani, Lauren Mushro, Claudia Flores-Saviaga, Tanas Kazlas

AI总结:

该研究在多类语境评估防护措施,发现定制策略提示的防护效果优于通用安全策略,为防护措施添加智能体能力可提升与专家的对齐度及多语言性能一致性。

摘要:

大型语言模型(LLMs)通常在静态基准或赋予其智能体能力的评估工具中接受评估,但这些评估方法尽可能与语境无关,导致基准结果未必能迁移到生产语境中,评估中会丢失细微差别、特定失败模式及多语言使用情况。我们在人道主义、金融和社会工程语境中评估基于提示的防护措施,发现采用定制策略提示的防护措施在各语境中均优于采用通用安全策略提示的防护措施。此外,我们的评估表明,为防护措施添加智能体能力可更好地对齐专家标注者,并提高所评估语言间的性能一致性,尽管非英语判断的证据主要来自英语来源。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑