PRESS-NEWS.org - Press Release Distribution
PRESS RELEASES DISTRIBUTION

Improving question answering over building codes by evaluating retrievers and fine-tuning LLMs

2025-09-19
(Press-News.org) Researchers have focussed on building a QA system which can answer query of user from building code and reduces the laborious traditional way of manual querying. One possible solution to build a robust QA system is to utilise the power of Retrieval Augmented Generation (RAG). Researchers have explored the potential of several retrieval methods and efficiency of Low Rank Adaptation (LoRA) to fine-tune Large Language Models (LLMs). Retrievers and LLMs are core component of a RAG system, and their performance affects overall performance of QA system.

Manual querying of building codes is often tedious, error-prone, and time-consuming. To address these challenges, researchers have turned to Retrieval-Augmented Generation (RAG), a framework that integrates two key components: a retriever, which identifies and extracts relevant information from documents, and a language model, which generates precise answers by combining the retrieved content with the query.

While RAG holds strong promise, both components present inherent challenges. Retrievers vary widely in performance, each with its own advantages and limitations. At the same time, language models are susceptible to hallucinations and typically require fine-tuning to adapt effectively to specialized domains. Recognizing this, researchers at the University of Alberta — Mr. Aqib, Dr. Qipei, Mr. Hamza, and Professor Chui — explored the performance of several retrievers and investigated the impact of fine-tuning Large Language Models (LLMs) for building code applications, demonstrating that such adaptation significantly enhances generational accuracy and domain alignment.

Their study systematically evaluated multiple retrievers, with Elasticsearch (ES) emerging as the most effective. Experiments also showed that retrieving the top-3 to top-5 documents was sufficient to capture query-relevant context, achieving consistently high BERT F1 scores. In parallel, the researchers also fine-tuned a range of LLMs spanning 1B to 24B parameters to better capture the nuances of building code language. Among these, Llama-3.1-8B delivered the strongest results, achieving a 6.83% relative improvement in BERT F1-score over its pre-trained state.

Together, these findings underscore the value of combining robust retrieval strategies with fine-tuned language models for building code compliance and query answering. For future work, Aqib mentioned that “there is need to develop a fully integrated end-to-end RAG framework, validated against manually curated datasets. Moreover, continued domain-specific fine-tuning could bring performance closer to that of state-of-the-art commercial models such as GPT-4.”

This paper, “Fine-tuning large language models and evaluating retrieval methods for improved question answering on building codes,” was published in Smart Construction (ISSN: 2960-2033), a peer-reviewed open access journal dedicated to original research articles, communications, reviews, perspectives, reports, and commentaries across all areas of intelligent construction, operation, and maintenance, covering both fundamental research and engineering applications. The journal is now indexed in Scopus, and article submission is completely free of charge until 2026.

Citation:

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, https://doi.org/10.55092/sc20250021.

 

END



ELSE PRESS RELEASES FROM THIS DATE:

Possible breakthrough in the development of effective biomaterials

2025-09-19
Many hopes rested on so-called tissue engineering: With the help of stem cells, skin and other organs could be grown, thereby enabling better wound healing and better transplants. Although some of this is already a reality, the level expected around 20 years ago has not yet been achieved because the stem cells do not always bind to the required host material as they should in theory. An international research team led by chemist Professor Shikha Dhiman from Johannes Gutenberg University Mainz (JGU) has now found the reason for this: "Whether an interaction ...

Federal grants support research on AI-driven protein design

2025-09-19
Two projects at the University of California, Davis, that use artificial intelligence to design and engineer proteins for industrial and health applications have been funded by the U.S. National Science Foundation (NSF).  The grants are part of a $32 million investment in AI and protein engineering announced Aug. 7 by the NSF Directorate for Technology, Innovation and Partnerships (NSF TIP). Both teams are affiliated with the UC Davis Innovation Institute for Food and Health in collaboration with industry partners. Total funding to UC Davis will be about $1 million over three years.  The two grants are among five announced by NSF that aim to ...

Experts explore AI’s future in health care at UTA

2025-09-19
The University of Texas at Arlington will bring together experts and innovators at the fifth annual Texas Health Informatics Alliance Conference, exploring how artificial intelligence is shaping the future of health care. The conference will take place Friday, Sept. 26, in the Bluebonnet Ballroom of the University Center. This year’s theme, ALL IN: Practice of Trustworthy and Responsible AI Operations in Health Care, reflects its focus on ethical, effective and patient-centered AI applications. “Our conference has become a must-attend event for anyone in health informatics,” said Marion Ball, Presidential ...

The self-taught seismologist: Monitoring earthquakes from optic fibers with AI

2025-09-19
Seismology is undergoing significant change with the rise of Distributed Acoustic Sensing (DAS), a fast-growing technology that leverages existing fiber-optic cables—including those used for the Internet—into ultra-dense seismic networks with meter-scale sensor spacing. DAS provides a scalable and cost-effective way to monitor earthquakes from local to global scales, but it also poses a pressing challenge: the massive volume of data produced outpaces human capacity to analyze. For example, ...

Poverty and social disadvantage in women and men and fertility outcomes

2025-09-19
About The Study: The findings of this cohort study suggest that poverty and social disadvantage, characterized by low educational level and household income among both women and men, were associated with lower fecundability (defined as the per-month probability of conceiving) and increased risks of subfertility (defined as a time to pregnancy or the duration of actively pursuing pregnancy of more than 12 months or use of assisted reproductive technology) but not with miscarriage risk. Further studies are needed to identify the underlying and explanatory mechanisms associated with fertility outcomes and the potential for novel public health strategies for couples desiring pregnancy. Corresponding ...

Modeling the impact of MMR vaccination strategies on measles outbreaks in Texas

2025-09-19
About The Study: The findings of this study highlight the critical role of improving measles, mumps, rubella (MMR) vaccination coverage to prevent large-scale measles outbreaks, particularly in regions with declining immunization rates. Corresponding Author: To contact the corresponding author, Kaiming Bi, Ph.D., email kaiming.bi@uth.tmc.edu. To access the embargoed study: Visit our For The Media website at this link https://media.jamanetwork.com/ (doi: 10.1001/jamahealthforum.2025.3992) Editor’s Note: Please see the article for additional information, including other authors, author contributions and ...

How an ant’s nose knows

2025-09-19
Ant societies are built on scent. Pheromones guide the insects to food, warn them of predators, and regulate the rhythms of their colonies. This chemical communication system is governed by a simple rule: one receptor, one neuron. Ant genomes contain hundreds of odorant receptor genes, each encoding a receptor tuned to specific chemicals. Were a neuron to express multiple receptors at once, the messages arriving in the brain would be scrambled, and the ant would lose its finely tuned sense of smell. Now, scientists working with the clonal raider ant have discovered the unique process ...

Wildfires are changing the air we breathe—here’s what that means for your health

2025-09-19
As wildfires grow larger and more frequent across the West, researchers from Colorado, Utah, and California are digging into how smoke affects the air—and our health.  In a new study published in the journal Atmospheric Environment, the team shows that large wildfires, like those we’ve seen in Colorado, Oregon, and California in recent years, produce large amounts of ozone into the atmosphere. This not only impacts our lungs and other health concerns but also contributes to the warming of the planet.  CU Denver mathematics professor emeritus Jan Mandel was part of the research team, which included faculty from the University ...

Quantum scars boost electron transport and drive the development of microchips

2025-09-19
Quantum physics often reveals phenomena that defy common sense. A new theory of quantum scarring deepens our understanding of the connection between the quantum world and classical mechanics, sheds light on earlier findings and marks a step forward towards future technological applications. Quantum mechanics describes the behaviour of matter and energy at microscopic scales, where randomness seems to prevail. Yet even within seemingly chaotic systems, hidden order may lie beneath the surface. Quantum scars are one such example: they are regions where electrons prefer to travel along ...

JMIR Publications announces that Witten/Herdecke University joins Flat-Fee Unlimited OA Publishing Partnership through ZBMed

2025-09-19
(Toronto, September 18, 2025) JMIR Publications, the leading open-access digital health research publisher, and ZB Med, Germany’s national infrastructure and research hub for data and information in the life sciences, are pleased to announce that Witten/Herdecke University joined their Flat-Fee Unlimited Open Access Publishing Agreement. The addition of Witten/Herdecke to the consortia agreement was facilitated by Ulrike Weichern of KGL Accucoms. “It was a pleasure to collaborate with the Witten/Herdecke University, JMIR and ZB Med on their common goal of further advancing the idea of open access and supporting researchers ...

LAST 30 PRESS RELEASES:

AI ECG better detects severe heart attacks in emergency setting

Straw-based biochar and smart irrigation help maize thrive with less water and fertilizer

‘Broken’ genes a common factor in marsupial fur colour

Turning waste into clean water: Magnetic carbon materials remove toxic pollutants from wastewater

World Health Organization’s priorities shaped by its reliance on grants from donor organisations such as the Gates Foundation

One in ten people without coeliac disease or wheat allergy report sensitivity to gluten or wheat

How can (A)I help you?

Study finds new system can cut patient waiting times for discharge

Allison Institute’s third annual scientific symposium highlighted by panel discussion with five Nobel laureates

SETI Institute accelerates the search for life beyond earth with NVIDIA IGX Thor

Wetlands efficiently remove nitrogen pollution from surface water, leading to cost savings for municipalities

Dr. Loren Miller presents oral late breaker at IDWeek 2025 of a first-of-its-kind clinical trial that shows efficacy of bacteriophage therapy for Staphylococcus aureus bacteremia

Dirty water boosts prospects for clean hydrogen

New multisociety guidance strengthens infection prevention and control in nursing homes

More scientific analysis needed on impacts of industrial decarbonization

New research uncovers how bad bacteria know where to cluster and cause infection

As ochre sea star ‘baby boomers’ grow up, species showing signs of recovery

Six-million-year-old ice discovered in Antarctica offers unprecedented window into a warmer Earth

When it comes to mating, female mosquitoes call the shots

CZI and NVIDIA accelerate virtual cell model development for scientific discovery

JMIR Publications and MCBIOS partner to boost open access bioinformatics research

Canadian scientists describe an extinct rhino species from Canada's High Arctic

Houseplant inspires textured surfaces to mitigate copper IUD corrosion

LIGO, Virgo and KAGRA observed “second generation” black holes

Dicer: Life's ancient repair tool

Environmental shifts are pushing endangered reptiles to the brink of extinction

New open-source American College of Lifestyle Medicine program brings culinary skills and nutrition education into medicine

AI tool identifies women at high risk of interval breast cancer

USF study: AI and citizen science reveal potential first detection of invasive malaria mosquito in Madagascar

American Pediatric Society honors Dr. Bruce D. Gelb with 2026 APS John Howland Award

[Press-News.org] Improving question answering over building codes by evaluating retrievers and fine-tuning LLMs