A Localized RAG-LLM System for Safety Compliance Question–Answering in Working-At-Heights Construction
Chun-Ling Ho, Tung-Chiung Chang, Xingyou Guo
Key points
From the paper's conclusion- Overall, the integrated approach demonstrates potential for supporting on-site safety compliance consultation and risk assessment, providing a foundation for intelligent applications in construction safety management.
Abstract
With the advancement of building digitalization and safety management, Working-at-Heights presents challenges due to its complex scenarios and dispersed regulations, making it difficult for on-site personnel to quickly and accurately query and assess compliance. While general-purpose large language models possess text capabilities, they lack professional knowledge adaptation, are not updated in a timely manner, and provide answers without sufficient evidence, thus failing to directly meet the safety and compliance requirements of Working-at-Heights. This paper deploys a localized retrieval-augmented generation (RAG) system based on RAGFlow and Docker. Addressing the safety consultation needs of Working-at-Heights, it transforms regulations and standards into a vector knowledge base. The system integrates keyword and semantic retrieval for precise positioning and aims to reduce hallucinations through source tracing and prompt constraints. Simultaneously, it connects to online retrieval to supplement the latest regulations, achieving a dual-track question–answering (Q&A) mechanism of “local priority, online supplementation.” A typical scenario test set of 100 questions was constructed to evaluate three system configurations across multiple dimensions, including accuracy, traceability, timeliness, and latency. The results show that faithfulness scores increased from 0.45 for the pure large model to 0.91 for local RAG and 0.97 for full-functionality integration, while context recall improved from 0.78 to 0.93 between the latter two configurations. However, response latency also increased from 2.1 s to 4.5 s and 6.8 s, respectively. These findings indicate that local RAG provides more reliable and traceable responses to basic compliance inquiries, whereas full-functionality integration offers superior performance in dynamic information supplementation and handling of unsafe requests. Overall, the integrated approach demonstrates potential for supporting on-site safety compliance consultation and risk assessment, providing a foundation for intelligent applications in construction safety management.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LM-DSB: A Lightweight Multi-agent System for Automated Daily Safety Bulletin Generation in ConstructionarXiv · 2026
- Retrieval-Augmented Multimodal Large Language Models for Visual Question Answering of Construction Occupational Health and Safety HazardsJournal of Management in Engineering · 2026
- A Locally Deployable Hazard Recognition and Remediation Question-Answering System for Enterprise Safety ProductionEngineering Research Express · 2026
- Bridging dual knowledge graphs for multi-hop question answering in construction safetyAutomation in Construction · 2026
- Integrating Large Language Models and Agent-Based Simulation for Construction Safety Behavior Management: Strategy Focusing and Explainable Report GenerationBuildings · 2026
- Construction Safety Hazard Identification and Corrective Action Generation Based on a Fine-Tuned Vision–Language ModelBuildings · 2026