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:

Breaking the efficiency barrier: Researchers propose multi-stage solar system to harness the full spectrum

A new name, a new beginning: Building a green energy future together

From algorithms to atoms: How artificial intelligence is accelerating the discovery of next-generation energy materials

Loneliness linked to fear of embarrassment: teen research

New MOH–NUS Fellowship launched to strengthen everyday ethics in Singapore’s healthcare sector

Sungkyunkwan University researchers develop next-generation transparent electrode without rare metal indium

What's going on inside quantum computers?: New method simplifies process tomography

This ancient plant-eater had a twisted jaw and sideways-facing teeth

Jackdaw chicks listen to adults to learn about predators

Toxic algal bloom has taken a heavy toll on mental health

Beyond silicon: SKKU team presents Indium Selenide roadmap for ultra-low-power AI and quantum computing

Sugar comforts newborn babies during painful procedures

Pollen exposure linked to poorer exam results taken at the end of secondary school

7 hours 18 mins may be optimal sleep length for avoiding type 2 diabetes precursor

Around 6 deaths a year linked to clubbing in the UK

Children’s development set back years by Covid lockdowns, study reveals

Four decades of data give unique insight into the Sun’s inner life

Urban trees can absorb more CO₂ than cars emit during summer

Fund for Science and Technology awards $15 million to Scripps Oceanography

New NIH grant advances Lupus protein research

New farm-scale biochar system could cut agricultural emissions by 75 percent while removing carbon from the atmosphere

From herbal waste to high performance clean water material: Turning traditional medicine residues into powerful biochar

New sulfur-iron biochar shows powerful ability to lock up arsenic and cadmium in contaminated soils

AI-driven chart review accurately identifies potential rare disease trial participants in new study

Paleontologist Stephen Chester and colleagues reveal new clues about early primate evolution

UF research finds a gentler way to treat aggressive gum disease

Strong alcohol policy could reduce cancer in Canada

Air pollution from wildfires linked to higher rate of stroke

Tiny flows, big insights: microfluidics system boosts super-resolution microscopy

Pennington Biomedical researcher publishes editorial in leading American Heart Association journal

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