Toward autocorrection of chemical process flowsheets using large language models

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

Abstract

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.
Original languageEnglish
Title of host publicationProceedings of the 34th European Symposium on Computer Aided Process Engineering
Subtitle of host publication15th International Symposium on Process Systems Engineering (ESCAPE34/PSE24)
EditorsFlavio Manenti, Gintaras V. Reklaitis
Place of PublicationAmsterdam/Kidlington/Cambridge, MA
PublisherElsevier
Pages3109-3114
Number of pages6
ISBN (Print)978-0-443-33897-7, 978-0-443-28824-1
DOIs
Publication statusPublished - 2024
Event34th European Symposium on Computer-Aided Process Engineering / 15th International Symposium on Process Systems Engineering - Palazzo dei Congressi - Villa Vittoria, Florence, Italy
Duration: 2 Jun 20246 Jun 2024
https://www.aidic.it/escape34-pse24

Publication series

NameComputer Aided Chemical Engineering
PublisherElsevier
Volume53
ISSN (Print)1570-7946

Conference

Conference34th European Symposium on Computer-Aided Process Engineering / 15th International Symposium on Process Systems Engineering
Abbreviated titleESCAPE34 - PSE24
Country/TerritoryItaly
CityFlorence
Period2/06/246/06/24
Internet address

Bibliographical note

Green Open Access added to TU Delft Institutional Repository 'You share, we take care!' - Taverne project https://www.openaccess.nl/en/you-share-we-take-care
Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.

Keywords

  • autocorrection
  • generative AI
  • Large Language Models (LLM)
  • Process and instrumentation diagram (P&ID)
  • SFILES 2.0

Fingerprint

Dive into the research topics of 'Toward autocorrection of chemical process flowsheets using large language models'. Together they form a unique fingerprint.

Cite this