arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04784cs.CRcs.AIcs.CY
收藏

基于大语言模型的聊天机器人操作风险评估方案

A Proposal for Evaluating the Operational Risk for ChatBots based on Large Language Models

Pedro Pinacho-Davidson, Fernando Gutierrez, Pablo Zapata, Rodolfo Vergara, Pablo Aqueveque

AI总结:

本文提出一种面向大语言模型聊天机器人的多维操作风险评估指标,结合技术复杂度与情境因素,并通过增强 Garak 框架验证其在 RAG 场景下指导风险缓解与模型改进的有效性。

摘要:

生成式人工智能(Gen AI)与大语言模型(LLMs)的出现,使更先进的聊天机器人能够进行类人交互。然而,这些对话代理引入了一系列更广泛的操作风险,超出了传统网络安全的考量范围。在本工作中,我们提出了一种新颖的、可量化的风险评估指标,该指标同时评估对三个关键利益相关方的潜在威胁:服务提供组织、最终用户和第三方。我们的方法纳入了诱导聊天机器人产生错误行为所需的技术复杂度——从非诱导性故障到高级提示注入攻击——以及目标行业、用户年龄范围和漏洞严重性等情境因素。为验证我们的指标,我们利用了 Garak,一个用于 LLM 漏洞测试的开源框架。我们进一步增强了 Garak,以捕获多种威胁向量(例如,错误信息、代码幻觉、社会工程和恶意代码生成)。我们的方法在一个涉及采用检索增强生成(RAG)的聊天机器人的场景中进行了演示,展示了聚合风险评分如何指导短期缓解措施以及模型设计与部署的长期改进。结果强调了多维风险评估在实现安全、可靠的 AI 驱动对话系统运营化中的重要性。

英文摘要:

The emergence of Generative AI (Gen AI) and Large Language Models (LLMs) has enabled more advanced chatbots capable of human-like interactions. However, these conversational agents introduce a broader set of operational risks that extend beyond traditional cybersecurity considerations. In this work, we propose a novel, instrumented risk-assessment metric that simultaneously evaluates potential threats to three key stakeholders: the service-providing organization, end users, and third parties. Our approach incorporates the technical complexity required to induce erroneous behaviors in the chatbot--ranging from non-induced failures to advanced prompt-injection attacks--as well as contextual factors such as the target industry, user age range, and vulnerability severity. To validate our metric, we leverage Garak, an open-source framework for LLM vulnerability testing. We further enhance Garak to capture a variety of threat vectors (e.g., misinformation, code hallucinations, social engineering, and malicious code generation). Our methodology is demonstrated in a scenario involving chatbots that employ retrieval-augmented generation (RAG), showing how the aggregated risk scores guide both short-term mitigation and longer-term improvements in model design and deployment. The results underscore the importance of multi-dimensional risk assessments in operationalizing secure, reliable AI-driven conversational systems.

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

↑