arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.09928cs.CLcs.AI
收藏

基于成本高效的检索增强大语言模型从知识图谱生成对话基准

Dialogue Benchmark Generation from Knowledge Graphs with Cost-Effective Retrieval-Augmented LLMs

Concordia University(康考迪亚大学)

Reham Omar, Omij Mangukiya, Essam Mansour

AI总结:

本研究提出多阶段检索增强生成平台Chatty-Gen,利用知识图谱自动生成特定领域高质量对话基准,通过阶段验证、高效检索减少成本与幻觉,在多知识图谱和多LLM上性能优于现有系统。

摘要:

对话基准对于训练和评估参与特定领域对话的聊天机器人至关重要。知识图谱(KGs)代表了语义丰富且组织良好的数据,涵盖多个领域,例如DBLP、DBpedia和YAGO。传统上,对话基准是从文档中手动创建的,忽略了知识图谱在自动化这一过程中的潜力。一些问答基准是从知识图谱经过大量预处理自动生成的,但它们不支持对话生成。本文介绍了Chatty-Gen,这是一个新颖的多阶段检索增强生成平台,用于利用知识图谱自动生成针对特定领域的高质量对话基准。Chatty-Gen将生成过程分解为多个可管理的阶段,并使用断言规则在阶段之间进行自动验证。我们的方法能够控制中间结果,以防止因幻觉导致的耗时重启。它还减少了对昂贵且功能更强大的商业大语言模型的依赖。Chatty-Gen使用高效的基于查询的检索,根据对话上下文找到代表性子图,从而无需对整个知识图谱进行前期处理。我们在多个真实大型知识图谱上的实验表明,Chatty-Gen显著优于最先进的系统,并确保在多种不同能力的大语言模型(如GPT-4o、Gemini 1.5、Llama 3和Mistral)上实现一致的模型与系统性能。

英文摘要:

Dialogue benchmarks are crucial in training and evaluating chatbots engaging in domain-specific conversations. Knowledge graphs (KGs) represent semantically rich and well-organized data spanning various domains, such as DBLP, DBpedia, and YAGO. Traditionally, dialogue benchmarks have been manually created from documents, neglecting the potential of KGs in automating this process. Some question-answering benchmarks are automatically generated using extensive preprocessing from KGs, but they do not support dialogue generation. This paper introduces Chatty-Gen, a novel multi-stage retrieval-augmented generation platform for automatically generating high-quality dialogue benchmarks tailored to a specific domain using a KG. Chatty-Gen decomposes the generation process into manageable stages and uses assertion rules for automatic validation between stages. Our approach enables control over intermediate results to prevent time-consuming restarts due to hallucinations. It also reduces reliance on costly and more powerful commercial LLMs. Chatty-Gen eliminates upfront processing of the entire KG using efficient query-based retrieval to find representative subgraphs based on the dialogue context. Our experiments with several real and large KGs demonstrate that Chatty-Gen significantly outperforms state-of-the-art systems and ensures consistent model and system performance across multiple LLMs of diverse capabilities, such as GPT-4o, Gemini 1.5, Llama 3, and Mistral.

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

↑