arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.15859cs.CL
收藏

从语音记录到AI代理:知识提取、RAG整合及对话式AI助手的鲁棒评估

From Transcripts to AI Agents: Knowledge Extraction, RAG Integration, and Robust Evaluation of Conversational AI Assistants

Amity Research and Application Center (ARAC)(阿米蒂研究与应用中心)

Krittin Pachtrachai, Petmongkon Pornpichitsuwan, Wachiravit Modecrua, Touchapon Kraisingkorn

AI总结:

本文提出了一种端到端框架,通过历史通话记录构建和评估对话式AI助手,利用知识提取和RAG整合提升事实准确性和鲁棒性。

摘要:

构建可靠的面向客户行业的对话式AI助手仍然具有挑战性,因为存在嘈杂的对话数据、碎片化的知识以及对准确的人工交接的要求,尤其是在依赖实时信息的领域。本文提出了一种端到端的框架,用于从历史通话记录直接构建和评估对话式AI助手。 incoming transcripts 首先使用PIPA框架的简化版本进行评分,重点在于观察对齐和适当响应行为,并被过滤以保留仅高质量的互动,这些互动表现出连贯的流程和有效的真人代理响应。然后从经过筛选的transcripts中使用大型语言模型(LLMs)提取结构化知识,并将其作为检索增强生成(RAG)管道中的唯一基础来源。助手行为通过系统提示调整来管理,从单体提示逐步发展到精益、模块化和受控的设计,以确保一致性和安全性。评估使用基于transcript的用户模拟器进行,可以定量测量通话覆盖率、事实准确性以及人工升级行为。此外,红队测试评估了对提示注入、超出范围和上下文外攻击的鲁棒性。实验在房地产和专业招聘领域进行,这些领域故意具有挑战性,目前自动化效果不佳,因为它们依赖于实时数据。尽管这些限制,助手能够自主处理大约30%的通话,实现接近完美的事实准确性和拒绝行为,并在对抗性测试中表现出强大的鲁棒性。

英文摘要:

Building reliable conversational AI assistants for customer-facing industries remains challenging due to noisy conversational data, fragmented knowledge, and the requirement for accurate human hand-off - particularly in domains that depend heavily on real-time information. This paper presents an end-to-end framework for constructing and evaluating a conversational AI assistant directly from historical call transcripts. Incoming transcripts are first graded using a simplified adaptation of the PIPA framework, focusing on observation alignment and appropriate response behavior, and are filtered to retain only high-quality interactions exhibiting coherent flow and effective human agent responses. Structured knowledge is then extracted from curated transcripts using large language models (LLMs) and deployed as the sole grounding source in a Retrieval-Augmented Generation (RAG) pipeline. Assistant behavior is governed through systematic prompt tuning, progressing from monolithic prompts to lean, modular, and governed designs that ensure consistency, safety, and controllable execution. Evaluation is conducted using a transcript-grounded user simulator, enabling quantitative measurement of call coverage, factual accuracy, and human escalation behavior. Additional red teaming assesses robustness against prompt injection, out-of-scope, and out-of-context attacks. Experiments are conducted in the Real Estate and Specialist Recruitment domains, which are intentionally challenging and currently suboptimal for automation due to their reliance on real-time data. Despite these constraints, the assistant autonomously handles approximately 30 percents of calls, achieves near-perfect factual accuracy and rejection behavior, and demonstrates strong robustness under adversarial testing.

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

↑