Skip to main navigation Skip to search Skip to main content

Incorporating Domain Knowledge Repository into Large Language Models for Question Answering of Construction Laws and Regulations in China

  • Shenghua Zhou
  • , Hongyu Wang
  • , Xiaohan Cheng
  • , Dezhi Li
  • , Zhengyi Chen
  • , Ran Wei
  • , S. Thomas Ng

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

The smart question-answering of construction laws and regulations (QAoCLR) could significantly reduce the CLR query cost. Most existing QAoCLR studies rely heavily on conventional small-scale deep learning models (e.g., BERT), resulting in inadequate language understanding and subpar QA performance. Despite large language models (LLMs) showing impressive QA potential in general fields, they remain ill-performed in professional areas (e.g., CLR) due to the lack of domain-specific knowledge incorporation. Hence, our study integrates a domain knowledge repository with LLMs for QAoCLR. It involves (1) creating a repository of 275 filtered laws and regulations, (2) developing a QAoCLR-oriented test data set of 1960 multiple-choice questions from the Chinese Registered Constructor Examinations, (3) retrieving relevant knowledge vectors and incorporating them into LLMs (i.e., GPT-3.5, GPT-4.0, textdavinci-003, and ChatGLM2-6B), and (4) comparing the performance of LLMs with and without domain knowledge incorporation. The results show that LLMs with domain knowledge exceed original LLMs in QAoCLR accuracy by an average of 27.95%. Specifically, there is a 21.25% improvement in single-answer questions and a 44.62% enhancement in multi-answer questions. This work reveals the effectiveness and necessity of domain knowledge incorporation into LLMs for QAoCLR. © ASCE.
Original languageEnglish
Title of host publicationComputing in Civil Engineering 2024: Artificial Intelligence, Automation and Robotics, and Human-Centered Innovations
Subtitle of host publicationSelected papers from the ASCE International Conference on Computing in Civil Engineering 2024
EditorsBurcu Akinci, Mario Bergés, Farrokh Jazizadeh, Carol C. Menassa, Justin Yeoh
Place of PublicationReston, Virginia
PublisherAmerican Society of Civil Engineers
Pages514-521
ISBN (Electronic)9780784486115
DOIs
Publication statusPublished - Jul 2024
Event2024 ASCE International Conference on Computing in Civil Engineering (i3CE 2024): Re-imagining Civil Engineering - Pittsburgh, United States
Duration: 28 Jul 202431 Jul 2024
https://www.cmu.edu/cee/i3ce2024/index.html

Publication series

NameComputing in Civil Engineering : Artificial Intelligence, Automation and Robotics, and Human-Centered Innovations - Selected papers from the ASCE International Conference on Computing in Civil Engineering

Conference

Conference2024 ASCE International Conference on Computing in Civil Engineering (i3CE 2024)
Abbreviated titlei3ce2024
PlaceUnited States
CityPittsburgh
Period28/07/2431/07/24
Internet address

Fingerprint

Dive into the research topics of 'Incorporating Domain Knowledge Repository into Large Language Models for Question Answering of Construction Laws and Regulations in China'. Together they form a unique fingerprint.

Cite this