基于检索增强生成与对话历史管理的标准智能问答系统研究OA
Research on an Intelligent Q&A System for Standards Based on Retrieval-augmented Generation and Dialogue History Management
为应对标准专业问答中答案精确性要求高、上下文依赖性强以及用户需求个性化等难题,本文研发了一个基于检索增强生成架构并集成对话历史管理的智能问答系统.系统以构建的标准语义知识库作为精准知识源,采用"检索-生成"双路并行策略:首先,利用稠密向量检索技术从知识库中快速召回与用户问题最相关的标准条款或知识子图;随后,将检索到的精准知识片段与原始问题一同输入到经过大规模标准文本预训练并微调的生成式模型中,生成结构清晰、语言流畅的自然语言答案,有效保证了答案的准确性与可读性.此外,系统创新性地设计了基于主题建模与序列编码的对话历史管理模块,能够动态分析用户会话的对象、主题和结构,实现历史对话的智能储存与情境化检索,使系统具备多轮、连贯的问答能力.在油田安全环保标准场景下的应用验证表明,该系统在单轮问答准确率极高,并且在多轮交互中能够有效理解指代与上下文,显著提升了标准知识服务的智能化水平.
To address the challenges in professional standard Q&A,such as high demands for answer accuracy,strong contextual dependencies,and personalized user needs,this paper develops an intelligent Q&A system based on a retrieval-augmented generation(RAG)architecture integrated with dialogue history management.The system employs a constructed standard semantic knowledge base as a precise knowledge source and adopts a dual-path"retrieval-generation"strategy:First,dense vector retrieval technology is used to quickly recall the most relevant standard clauses or knowledge subgraphs from the knowledge base.Then,the retrieved precise knowledge fragments,along with the original user query,are fed into a generative model pre-trained on large-scale standard texts and fine-tuned,to produce clear,fluent natural language answers,effectively ensuring both accuracy and readability.Furthermore,the system innovatively incorporates a dialogue history management module based on topic modeling and sequence encoding,which dynamically analyzes the objects,topics,and structure of user conversations,enabling intelligent storage and contextual retrieval of historical dialogues.This equips the system with multi-turn,coherent conversational capabilities.Application validation in the context of oilfield safety and environmental standards demonstrates that the system achieves high accuracy in single-turn Q&A and effectively resolves references and contextual understanding in multi-turn interactions,significantly enhancing the intelligence level of standard knowledge services.
甘克勤;高亮;肖宝坤;林良红
中国标准化研究院中国标准化研究院中国标准化研究院中国标准化研究院
智能问答检索增强生成预训练语言模型对话管理标准数字化人机交互
intelligent Q&Aretrieval-augmented generation(RAG)pre-trained language modeldialogue managementstandards digitalizationhuman-computer interaction
《中国标准化》 2026 (2)
43-47,5
本文受中国标准化研究院基本科研业务费项目"基于标准语义知识的智能问答关键技术应用研究"(项目编号:252024Y-11459)资助.
评论