Rag-for-cr: A retrieval-augmented generation framework for efficient, accurate, and traceable querying of construction regulations

Zhang, M.; Cai, M.; Wang, Z. and Jia, L. (2026) Rag-for-cr: A retrieval-augmented generation framework for efficient, accurate, and traceable querying of construction regulations. Journal of Construction Engineering and Management, 152(9): 04026145, ISSN 0733-9364

Abstract

The effective retrieval and precise application of construction regulations are critical for the industry, yet face challenges such as low clause-matching accuracy, fragmented semantic context, and unclear answer provenance. Although retrieval-Augmented generation (RAG) shows great potential, existing frameworks still struggle to adapt to the hierarchical structure of regulatory texts and lack systematic optimization capabilities. This study proposes a tailored RAG framework-RAG-for-CR (RAG for construction regulations)-to enhance the accuracy, interpretability, and practical utility of construction regulation queries. The framework consists of three core components: (1) a metadata-based decomposition method that preserves the hierarchical structure of clauses via structured annotation; (2) a dynamic multistrategy retrieval engine that integrates keyword search, semantic embedding, and metadata filtering, with adaptive weight adjustment based on user feedback; and (3) a traceable prompting system that ensures responses are supported by explicit regulatory clauses. A comprehensive evaluation demonstrates that RAG-for-CR performs exceptionally across diverse query tasks: it significantly outperforms baseline models in retrieval performance, improving hit rate (HR), recall, and mean average precision (MAP) by 20%, 29%, and 29%, respectively. In response quality, it ranks first in completeness (4.92), readability (4.83), and correctness (4.89). Ablation studies confirm the essential contributions of each component, and cross-lingual tests underscore its strong generalization capability. In practical assessments, the framework achieved an efficiency score of 4.13, with all performance indicators receiving positive feedback. These results highlight its practical value in meeting the construction industry's need for efficient and accurate regulation retrieval and interpretation. Moreover, the framework exhibits transferability beyond construction, offering a scalable methodology for integrating domain-specific regulatory knowledge with large language models in other professional fields.

Item Type: Article
Uncontrolled Keywords: adaptive retrieval; construction regulations; hierarchical text modeling; multistakeholder evaluation; retrieval-augmented generation
Index terms: performance indicator, accuracy, methodology, modelling, regulation, large language model, construction industry, efficiency, face
Subjects: psychology, political science, performance management, professional development, analytical methods, data science, research methods, industry analysis
Topics: Engineering Principles, Organizational Design, Quality Management, Information Management, Research Practice, Governance
Descriptive scope: 3 PCT

N.B. Descriptive scope is a count of how many of the five facets of empirical research are indicated by the words used in title, abstract and keywords. It is not intended as a judgement on the research; merely a count of the kind of word we would expect to indicate Phenomenon, Concepts, Theoretical framing, Empirical techniques, Analytical techniques. If all five are present, then a code of “5 PCTEA” will indicate this. If you feel the coding for this record is questionable, we welcome discussion around the terms we matched or the way we categorized them. The facet you would expect may not be coded, or a facet may be coded inappropriately. This can also bear on a larger question, of which facets should be treated as defining in construction management research. Please get in touch, and we will look at it. More details here