arXiv:2509.19209cs.IR2025-09被引 1

用知识图谱和三重评估框架提升聊天机器人的准确性和透明度

A Knowledge Graph and a Tripartite Evaluation Framework Make Retrieval-Augmented Generation Scalable and Transparent

  • 结合知识图谱与向量搜索,避免分块文档,精准回应工程邮件问题
  • 提出RAG-Eval评估框架,可并行检测查询、检索与生成内容的质量
  • 输出带邮件编号和时间戳的置信分数,让用户快速验证答案可靠性

大型语言模型显著提升了对话式AI聊天机器人的能力,但特定领域的准确性及事实一致性仍是重大挑战,尤其在大规模数据场景下。本研究提出一种基于检索增强生成(RAG)的聊天机器人,利用知识图谱与向量搜索技术,在高容量工程项目邮件案例中提供上下文丰富、精准的回答,无需进行文档分块处理。核心创新在于提出RAG-Eval——一种基于链式思维的LLM三重评估框架,专门用于评估RAG应用。该框架与聊天机器人并行运行,联合评估用户查询、检索文档与生成回答,涵盖查询相关性、事实准确性、覆盖度、连贯性与流畅性等多维度指标。系统生成的评分(1至100%)直接反馈给用户,便于快速识别可能错误或不完整的回答。通过引入邮件ID与时间戳等元数据,增强了响应的可追溯性。实验对比BERTScore与G-EVAL在摘要任务中的表现,验证了其有效性;实证分析显示,RAG-Eval能可靠检测事实缺失与查询偏差,适用于对数据敏感、高信任需求的环境。该方法为实现高对话流畅性与高事实准确性的可验证聊天机器人提供了可扩展路径。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have significantly enhanced conversational Artificial Intelligence(AI) chatbots; however, domain-specific accuracy and the avoidance of factual inconsistencies remain pressing challenges, particularly for large datasets. Designing an effective chatbot with appropriate methods and evaluating its effectiveness is among the challenges in this domain. This study presents a Retrieval Augmented Generation (RAG) chatbot that harnesses a knowledge graph and vector search retrieval to deliver precise, context-rich responses in an exemplary use case from over high-volume engineering project-related emails, thereby minimising the need for document chunking. A central innovation of this work is the introduction of RAG Evaluation (RAG-Eval), a novel chain-of-thought LLM-based tripartite evaluation framework specifically developed to assess RAG applications. This framework operates in parallel with the chatbot, jointly assessing the user's query, the retrieved document, and the generated response, enabling a holistic evaluation across multiple quality metrics like query relevance, factual accuracy, coverage, coherence and fluency. The resulting scoring system is provided directly to users as a confidence score (1 to 100%), enabling quick identification of possible misaligned or incomplete answers. This proposed approach promotes transparency and rapid verification by incorporating metadata email IDs, timestamps into responses. Experimental comparisons against BERTScore and G-EVAL for summarisation evaluation tasks confirm its effectiveness, and empirical analysis also shows RAG-Eval reliably detects factual gaps and query mismatches, thereby fostering trust in high demand, data centric environments. These findings highlight a scalable path for developing accurate, user-verifiable chatbots that bridge the gap between high-level conversational fluency and factual accuracy.

RAG知识图谱评估框架透明生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。