利用大型语言模型实现化工流程图的自动纠错
Toward autocorrection of chemical process flowsheets using large language models
AI总结:
提出一种基于大型语言模型的生成式AI方法,自动识别化工流程图中的错误并给出修正建议,在合成数据集上达到80%的top-1准确率。
摘要:
过程工程领域广泛使用工艺流程图(PFD)和管道及仪表流程图(P&ID)来表示工艺流程和设备配置。然而,P&ID和PFD(以下统称为流程图)可能包含错误,导致安全隐患、操作效率低下和不必要的开支。纠正和验证流程图是一个繁琐的手动过程。我们提出了一种新颖的生成式AI方法,用于自动识别流程图中的错误并向用户建议修正,即自动纠错流程图。受大型语言模型(LLM)在人类语言语法自动纠错方面突破的启发,我们研究了LLM用于流程图的自动纠错。模型的输入是可能出错的流程图,输出是修正后的流程图建议。我们在合成数据集上以监督方式训练自动纠错模型。该模型在独立测试的合成流程图数据集上达到了80%的top-1准确率和84%的top-5准确率。结果表明,模型能够学习自动纠错合成流程图。我们设想流程图自动纠错将成为化学工程师的有用工具。
英文摘要:
The process engineering domain widely uses Process Flow Diagrams (PFDs) and Process and Instrumentation Diagrams (P&IDs) to represent process flows and equipment configurations. However, the P&IDs and PFDs, hereafter called flowsheets, can contain errors causing safety hazards, inefficient operation, and unnecessary expenses. Correcting and verifying flowsheets is a tedious, manual process. We propose a novel generative AI methodology for automatically identifying errors in flowsheets and suggesting corrections to the user, i.e., autocorrecting flowsheets. Inspired by the breakthrough of Large Language Models (LLMs) for grammatical autocorrection of human language, we investigate LLMs for the autocorrection of flowsheets. The input to the model is a potentially erroneous flowsheet and the output of the model are suggestions for a corrected flowsheet. We train our autocorrection model on a synthetic dataset in a supervised manner. The model achieves a top-1 accuracy of 80% and a top-5 accuracy of 84% on an independent test dataset of synthetically generated flowsheets. The results suggest that the model can learn to autocorrect the synthetic flowsheets. We envision that flowsheet autocorrection will become a useful tool for chemical engineers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。