多版本系统的问答:以Ciena为例的研究
Question Answering for Multi-Release Systems: A Case Study at Ciena
AI总结:
QAMR通过改进检索增强生成方法,提升多版本系统文档问答的准确性和效率。
摘要:
公司经常需要应对多版本系统,其中同一软件的多个版本同时运行。在多版本系统文档上进行问答提出了挑战,因为不同版本有各自独特的但又重叠的文档。受现有最先进的问答技术在多版本系统文档上不准确的观察启发,我们提出了QAMR,一种旨在跨多版本系统文档回答问题的聊天机器人。QAMR增强了传统的检索增强生成(RAG)方法,以确保在面对高度相似但不同的文档时的准确性。它通过一种新颖的预处理、查询重写和上下文选择组合来实现这一点。此外,QAMR采用双分块策略,以分别调整检索和回答生成的分块大小,从而提高整体问答准确性。我们使用公共软件工程基准以及来自我们行业合作伙伴Ciena的现实世界多版本系统文档来评估QAMR。我们的评估得出五个主要发现:(1)QAMR优于基于RAG的基线聊天机器人,平均回答正确率为88.5%,平均检索准确率为90%,分别比基线提高了16.5%和12%。(2)消融研究显示,QAMR处理多版本文档的机制直接提高了回答准确性。(3)与其组件消融变体相比,QAMR在回答正确率和检索准确率上分别平均提高了19.6%和14.0%。(4)QAMR将响应时间平均减少了8%。(5)我们评估中使用的自动计算的准确性指标与专家人类评估高度相关,验证了我们方法的可靠性。
英文摘要:
Companies regularly have to contend with multi-release systems, where several versions of the same software are in operation simultaneously. Question answering over documents from multi-release systems poses challenges because different releases have distinct yet overlapping documentation. Motivated by the observed inaccuracy of state-of-the-art question-answering techniques on multi-release system documents, we propose QAMR, a chatbot designed to answer questions across multi-release system documentation. QAMR enhances traditional retrieval-augmented generation (RAG) to ensure accuracy in the face of highly similar yet distinct documentation for different releases. It achieves this through a novel combination of pre-processing, query rewriting, and context selection. In addition, QAMR employs a dual-chunking strategy to enable separately tuned chunk sizes for retrieval and answer generation, improving overall question-answering accuracy. We evaluate QAMR using a public software-engineering benchmark as well as a collection of real-world, multi-release system documents from our industry partner, Ciena. Our evaluation yields five main findings: (1) QAMR outperforms a baseline RAG-based chatbot, achieving an average answer correctness of 88.5% and an average retrieval accuracy of 90%, which correspond to improvements of 16.5% and 12%, respectively. (2) An ablation study shows that QAMR's mechanisms for handling multi-release documents directly improve answer accuracy. (3) Compared to its component-ablated variants, QAMR achieves a 19.6% average gain in answer correctness and a 14.0% average gain in retrieval accuracy over the best ablation. (4) QAMR reduces response time by 8% on average relative to the baseline. (5) The automatically computed accuracy metrics used in our evaluation strongly correlate with expert human assessments, validating the reliability of our methodology.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。