Fine-Tuning Large Language Models and Evaluating Retrieval Methods for Improved Question Answering on Building Codes
Mohammad Aqib, Mohd Hamza, Qipei Mei, Ying Hei Chui

TL;DR
This paper evaluates retrieval methods and fine-tuning techniques for large language models to improve question answering accuracy on complex building codes, demonstrating enhanced performance with Elasticsearch and domain-specific fine-tuning.
Contribution
It identifies Elasticsearch as the most effective retriever and shows that fine-tuning language models on building code data improves their contextual response generation.
Findings
Elasticsearch outperforms other retrieval methods.
Fine-tuning enhances language model relevance.
Domain-specific tuning improves QA system accuracy.
Abstract
Building codes are regulations that establish standards for the design, construction, and safety of buildings to ensure structural integrity, fire protection, and accessibility. They are often extensive, complex, and subject to frequent updates, making manual querying challenging and time-consuming. Key difficulties include navigating large volumes of text, interpreting technical language, and identifying relevant clauses across different sections. A potential solution is to build a Question-Answering (QA) system that answers user queries based on building codes. Among the various methods for building a QA system, Retrieval-Augmented Generation (RAG) stands out in performance. RAG consists of two components: a retriever and a language model. This study focuses on identifying a suitable retriever method for building codes and optimizing the generational capability of the language model…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Text Readability and Simplification · BIM and Construction Integration
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Attention Is All You Need · Linear Warmup With Linear Decay · Dropout · Layer Normalization · Byte Pair Encoding · Attention Dropout · Softmax · Residual Connection · WordPiece
