Friday, September 19, 2025
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Enhancing Question Answering on Building Codes: Evaluating Retrieval Systems and Fine-Tuning Large Language Models

September 19, 2025
in Technology and Engineering
Reading Time: 3 mins read
0
65
SHARES
591
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Researchers at the University of Alberta have made significant strides in developing a question-and-answer (QA) system aimed at enhancing the efficiency of building code inquiries. This project addresses the cumbersome traditional methodologies associated with manual querying practices that often prove to be labor-intensive and prone to mistakes. The crux of their innovative solution lies in utilizing a Retrieval-Augmented Generation (RAG) framework, which harmoniously integrates advanced retrieval methods with state-of-the-art large language models (LLMs).

The essence of a robust QA system stems from its ability to provide precise answers to user queries; however, achieving this requires more than mere data retrieval. RAG serves as a transformative approach that combines a retriever for extracting pertinent information from extensive documentation with a language model responsible for interpreting this content and generating accurate responses. This amalgamation is designed to streamline the process, thereby alleviating the inefficiencies that have long plagued manual systems.

As researchers delved into the capabilities of RAG, they encountered distinct challenges inherent to both retrievers and language models. The researchers recognize that there is no one-size-fits-all solution when it comes to retrieval methods. Different retrievers exhibit varying performance levels, with each having its unique advantages and potential drawbacks. Meanwhile, language models, despite their power, often suffer from issues like hallucinations—producing seemingly accurate but factually incorrect outputs. Thus, it becomes imperative to fine-tune these models to align them with the specific language and requirements of the building code niche.

In their ambitious investigation, the team, including Mr. Aqib, Dr. Qipei Mei, and Professor Chui, focused on assessing multiple retrievers’ performances. Notably, their systematic evaluation placed Elasticsearch (ES) at the forefront as the most effective retrieval method in comparison with competitors. This evaluation was pivotal as it demonstrated that retrieving between the top three to five documents yielded sufficient context relevant to the user’s query, achieving impressive results marked by consistently high BERT F1 scores—a standard measure of the quality of the model’s answers.

Further enhancements were seen through the fine-tuning of LLMs, a process crucial for capturing the linguistic subtleties inherent in building code language. The researchers experimented with a range of LLMs, with parameters varying from one billion to a staggering twenty-four billion. Among this extensive range, the Llama-3.1-8B model emerged as the standout performer, showcasing a 6.83% relative improvement in BERT F1-score compared to its pre-trained functionality. This fine-tuning process not only highlighted the importance of adaptability in language models but also underscored the necessity of aligning AI capabilities with specialized domains.

The findings have resonated throughout the academic community and beyond, shedding light on how combining effective retrieval strategies with meticulously fine-tuned language models can significantly enhance the accuracy and relevance of answers provided in the context of building code compliance. This novel approach stands as a beacon of innovation, illustrating the potential for AI-driven solutions to transform traditional practices beyond recognition.

Looking ahead, the research team emphasizes the necessity of a fully integrated end-to-end RAG framework that is appropriately validated against curated datasets. Such validation is crucial for ensuring that the system operates reliably in real-world conditions. As Aqib noted in discussions about future work, the ongoing challenge remains to refine these systems further, leveraging continuous domain-specific fine-tuning that could bring the QA capabilities in line with those of leading commercial models such as GPT-4.

Moreover, the implications of their research extend into various sectors that rely heavily on compliance with building codes and standards. The cross-disciplinary impact is evident, as this system can serve not only to assist engineers and architects but also to bridge the gap between complex code regulations and their real-world applications, promoting a more straightforward approach to compliance and legal accountability.

The research paper titled “Fine-tuning large language models and evaluating retrieval methods for improved question answering on building codes,” which has been published in Smart Construction, represents a significant contribution to the burgeoning field of AI in construction. As AI technology continues to evolve, studies like this illuminate the path forward by tackling the existing limitations and enhancing the practical application of artificial intelligence in highly technical fields.

In conclusion, the innovative work of these researchers is a noteworthy development in the realm of artificial intelligence, particularly in enhancing the precision and efficiency of QA systems specific to building codes. Their method of integrating advanced retrieval techniques with sophisticated language models heralds a new era of technology-driven solutions that promise to reshape how professionals interact with regulatory frameworks. As the field continues to advance, it will be fascinating to observe how these developments play a pivotal role in driving compliance and operational efficiency across various domains.

Subject of Research: Not applicable
Article Title: Fine-tuning large language models and evaluating retrieval methods for improved question answering on building codes
News Publication Date: 27-Aug-2025
Web References: DOI
References: Aqib M, Hamza M, Mei Q, Chui Y. Fine-tuning large language models and evaluating retrieval methods for improved question answering on building codes. Smart Constr. 2025(3):0021.
Image Credits: Mohammad Aqib, Qipei Mei, Ying Hei Chui/ University of Alberta, Edmonton, Alberta, Canada; Mohd Hamza/ Aligarh Muslim University, Aligarh, Uttar Pradesh, India

Keywords

Artificial intelligence, retrieval-augmented generation, question answering systems, large language models, building codes, compliance technology.

Tags: building code inquiry systemschallenges in information retrievalenhancing question answering efficiencyimproving accuracy in building code queriesinnovative solutions in construction regulationsintegrating retrieval methods with language modelslarge language models in QAmanual querying methodologiesoptimizing QA systems for building codesperformance evaluation of retrieval systemsprecise answer generation in QAretrieval-augmented generation framework
Share26Tweet16
Previous Post

Review in Chinese Medical Journal Spotlights Neoadjuvant Therapy’s Potential in Treating Advanced Colon Cancer

Next Post

UGA Ecologists Discover Two New Bass Species

Related Posts

blank
Technology and Engineering

University of Tennessee, Knoxville’s Collaborative Research Project Selected as Finalist in NSF Regional Innovation Engines Program

September 19, 2025
blank
Technology and Engineering

Eco-Friendly YSZ/Polypyrrole Nanocomposites Boost Gas Sensing

September 19, 2025
blank
Technology and Engineering

Estimating Lithium Battery SOH with DWT and Neural Networks

September 19, 2025
blank
Technology and Engineering

SOH Prediction for Lithium-Ion Batteries via DSwin Transformer

September 19, 2025
blank
Technology and Engineering

Exciting Advancement in the Creation of Innovative Biomaterials

September 19, 2025
blank
Technology and Engineering

Impact of Substrate Composition on Fermentation Outcomes

September 19, 2025
Next Post
blank

UGA Ecologists Discover Two New Bass Species

  • Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27551 shares
    Share 11017 Tweet 6886
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    965 shares
    Share 386 Tweet 241
  • Bee body mass, pathogens and local climate influence heat tolerance

    644 shares
    Share 258 Tweet 161
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    512 shares
    Share 205 Tweet 128
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    332 shares
    Share 133 Tweet 83
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Research Uncovers Reasons Behind Medical Cannabis Patients’ Use of Unregulated Products
  • University of Tennessee, Knoxville’s Collaborative Research Project Selected as Finalist in NSF Regional Innovation Engines Program
  • Gravitino Emerges as a Promising New Candidate for Dark Matter
  • NIH Awards $3.6M Grant to Investigate Brain Patterns in Children with ADHD and Behavioral Challenges

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,183 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading