基于检索增强生成的化工领域大模型智能问答
宋凯 , 陈泽华 , 娄娟 , 陈建 , 董宇轩 , 魏啸然
天津大学学报(自然科学与工程技术版) ›› 2026, Vol. 59 ›› Issue (2) : 212 -220.
基于检索增强生成的化工领域大模型智能问答
Intelligent Question-Answering for Chemical Engineering Based on Large Language Models with Retrieval-Augmented Generation Technology
化工设备设计需要严格依照标准规范.然而标准规范数量多、内容上相互引用,设计人员面对非常规的设计要求或设计问题时很难准确、全面地查找到所有涉及的标准规范条目.利用检索增强生成(RAG)技术结合大语言模型(LLM)可以对设计要求或设计问题进行准确回答的同时分析并提供相应标准规范内容,从而避免遗漏相关的标准规范.然而,由于化工设备设计领域知识库中具有大量公式、图表等复杂数据,如何构建相应的结构化RAG数据库实现LLM在化工设备设计领域的智能问答尚不明确.针对上述问题,本文提出了一种垂直领域的复杂数据智能问答系统构建一体化框架,该框架结合提示工程方法与多个视觉语言模型以实现RAG数据库的构建,采用语义检索与重排序技术,并选取嵌入模型与大语言模型分别作为检索器与生成器,以实现基于 RAG 的智能问答.基于该框架,本文构建了化工设备设计领域的智能问答系统,并使用Qwen2.5-72b和Qwen2.5-7b模型在以GB/T 150—2011规范为主的压力容器设计问答数据集上进行实验.结果表明,本文所提出的框架在复杂数据提取的准确性上优于现有技术,并通过RAG 技术显著提升了问答系统的性能.相比于未结合RAG的技术,Qwen2.5-72b和Qwen2.5-7b模型的准确率分别提高了19.3%和17.7%.此外还对生成器接受的文档块数量对问答系统准确性的影响与设备设计领域数据的泛化性能进行了研究.
Chemical equipment design requires strict adherence to standards and specifications. However,the large number of standards and their cross-references make it difficult for designers to accurately and comprehensively locate all relevant standard entries when dealing with unconventional design requirements or issues. In this situation,design-related questions can be answered accurately by combining retrieval-augmented generation(RAG)technology with large language model(LLM)when analyzing and providing the corresponding standard content,thus preventing omissions of pertinent standards. As the chemical equipment design knowledge base includes numerous formulas,charts,and other complex data,methods to construct a structured RAG database to enable LLM to perform intelligent question-answering remain unclear. To address this issue,this study proposes an integrated framework for building an intelligent question-answering system tailored to vertical domains with complex data. This framework combines prompt engineering and multiple vision-language models to build an RAG database. It adopts semantic retrieval and reranking techniques and specifically selects embedding models and LLM as the retriever and generator,respectively,to implement intelligent question-answering based on RAG. Based on this framework,an intelligent question-answering system is constructed for the field of chemical equipment design. Experiments are conducted using Qwen2.5-72b and Qwen2.5-7b models on a pressure vessel design question-answering dataset primarily based on GB/T 150—2011. The results show that the proposed framework outperforms existing technologies in extracting complex data accurately and significantly improves the performance of the question-answering system via the RAG. Compared with the non-RAG setting,the accuracy of the Qwen2.5-72b and Qwen2.5-7b models is higher by 19.3% and 17.7%,respectively. In addition,the impact of the number of input document blocks on the accuracy of the question-answering system and the data generalization performance in the equipment design domain are examined.
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
张玉铭, 李红岩, 郎许锋, |
| [8] |
|
| [9] |
江双五, 张嘉玮, 华连生, |
| [10] |
|
| [11] |
张艳萍, 陈梅芳, 田昌海, |
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
|
| [23] |
赵闪闪. 基于 OCR 技术的图像表格数据识别系统的设计与实现[D]. 南京:东南大学计算机科学与工程学院, 2020. |
| [24] |
|
| [25] |
|
天津市重点研发计划资助项目(23YFZCSN00080)
/
| 〈 |
|
〉 |