中文

使用大型语言模型解读建筑规范

计算与语言 2024-08-01 v1 人工智能

摘要

合规性检查是建筑项目的重要组成部分。近期,建筑信息模型(BIM)在建筑行业的快速采用为自动化合规性检查(ACC)创造了更多机会。BIM enables sharing of digital building design data that can be used for compliance checking with legal requirements, which are conventionally conveyed in natural language and not intended for machine processing. Creating a computable representation of legal requirements suitable for ACC is complex, costly, and time-consuming. Large language models (LLMs) such as the generative pre-trained transformers (GPT), GPT-3.5 and GPT-4, powering OpenAI's ChatGPT, can generate logically coherent text and source code responding to user prompts. This capability could be used to automate the conversion of building regulations into a semantic and computable representation. This paper evaluates the performance of LLMs in translating building regulations into LegalRuleML in a few-shot learning setup. By providing GPT-3.5 with only a few example translations, it can learn the basic structure of the format. Using a system prompt, we further specify the LegalRuleML representation and explore the existence of expert domain knowledge in the model. Such domain knowledge might be ingrained in GPT-3.5 through the broad pre-training but needs to be brought forth by careful contextualisation. Finally, we investigate whether strategies such as chain-of-thought reasoning and self-consistency could apply to this use case. As LLMs become more sophisticated, the increased common sense, logical coherence, and means to domain adaptation can significantly support ACC, leading to more efficient and effective checking processes.

关键词

引用

@article{arxiv.2407.21060,
  title  = {Using Large Language Models for the Interpretation of Building Regulations},
  author = {Stefan Fuchs and Michael Witbrock and Johannes Dimyadi and Robert Amor},
  journal= {arXiv preprint arXiv:2407.21060},
  year   = {2024}
}

备注

Presented at the 13th Conference on Engineering, Project and Production Management