arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.11021cs.CLcs.AIcs.MA
收藏

Athena:具有言语对比学习的安全自主智能体

Athena: Safe Autonomous Agents with Verbal Contrastive Learning

LG Electronics(LG电子);Toronto AI Lab(多伦多人工智能实验室)

Tanmana Sadhu, Ali Pesaranghader, Yanan Chen, Dong Hoon Yi

AI总结:

Athena框架利用言语对比学习和批评机制提升LLM自主智能体的安全性,并通过80个工具包、180个场景的基准验证其有效性。

摘要:

由于涌现能力,大型语言模型(LLMs)已被用作基于语言的智能体,以执行各种任务并以日益增高的自主程度做出决策。这些自主智能体能够理解高层指令、与环境交互,并利用其可用的工具选择来执行复杂任务。随着智能体能力的扩展,确保其安全性和可信度变得愈发重要。在本研究中,我们引入了Athena框架,该框架利用言语对比学习的概念,将过去的安全和不安全轨迹作为上下文(对比)示例,以在完成给定任务的同时引导智能体走向安全。该框架还包含一个批评机制,以引导智能体在每一步防止风险行为。此外,由于缺乏关于基于LLM的智能体安全推理能力的现有基准,我们策划了8个类别中的80个工具包,包含180个场景,以提供一个安全评估基准。我们的实验评估,使用封闭和开源LLM,表明言语对比学习和交互级批评显著提高了安全率。

英文摘要:

Due to emergent capabilities, large language models (LLMs) have been utilized as language-based agents to perform a variety of tasks and make decisions with an increasing degree of autonomy. These autonomous agents can understand high-level instructions, interact with their environments, and execute complex tasks using a selection of tools available to them. As the capabilities of the agents expand, ensuring their safety and trustworthiness becomes more imperative. In this study, we introduce the Athena framework which leverages the concept of verbal contrastive learning where past safe and unsafe trajectories are used as in-context (contrastive) examples to guide the agent towards safety while fulfilling a given task. The framework also incorporates a critiquing mechanism to guide the agent to prevent risky actions at every step. Furthermore, due to the lack of existing benchmarks on the safety reasoning ability of LLM-based agents, we curate a set of 80 toolkits across 8 categories with 180 scenarios to provide a safety evaluation benchmark. Our experimental evaluation, with both closed- and open-source LLMs, indicates verbal contrastive learning and interaction-level critiquing improve the safety rate significantly.

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

↑