4.4.1. Comparison Experiments
To validate the effectiveness of the enhanced RAG–LLM framework in industrial knowledge-retrieval and decision-support tasks, comparison experiments are conducted using combinations of different retrieval strategies and LLMs. All experiments use the same industrial data, task requests, output constraints, and retrieval parameters to ensure that performance differences arise primarily from the retrieval and knowledge-organization mechanisms.
As shown in
Table 4, the comparison frameworks include general BM25–LLM, metadata-gated BM25–LLM, general RAG–LLM, and the enhanced RAG–LLM proposed in this study. As a classic sparse-retrieval method, BM25 calculates relevance between a query and candidate text through term-frequency statistics and document-length normalization and is a widely used baseline in information retrieval [
40]. Metadata-gated BM25 is a comparison method constructed in this study to analyze the role of governance constraints, such as permissions and validity periods, during retrieval. It first filters candidate knowledge units according to the current query role and knowledge-access policy, and then it applies BM25 for ranking. Its implementation logic is provided in
Supplementary Materials S2 and S18. This design is consistent with the idea of pre-retrieval identity authentication and resource-permission filtering [
38,
39]. General RAG follows the retrieval-augmented generation framework proposed by Lewis et al. [
17]; it retrieves external knowledge and supplies relevant information to the generation model to improve the ability of an LLM to answer knowledge-intensive questions. The three comparison retrieval methods represent pure lexical matching, governance-eligibility filtering, and a general retrieval-augmented generation process, respectively. Together with the governance-enhanced hybrid retrieval proposed in this study, they form a progressive comparison for analyzing the effects of different knowledge-organization and retrieval mechanisms on industrial-evidence acquisition. Specific implementations, experimental algorithms, and configuration assets are provided in
Supplementary Materials S3 and S19.
The LLMs selected for the combined experiments are ChatGPT 5.5, Gemini 3.5 Flash, DeepSeek V4 flash, and Qwen3.7, allowing the adaptability of the retrieval-augmented framework across different LLMs to be analyzed. The complete experimental configuration is provided in
Supplementary Material S11.
The experiment contains four industrial decision tasks, four retrieval frameworks, four LLMs, and five repeated runs, generating 320 decision responses. It records gold-standard evidence coverage in the evidence packages, source IDs cited in the answers, non-gold-standard or unknown sources, and governance violations. Complete experimental parameter configurations, response records, and run logs are provided in
Supplementary Materials S10, S11, S13 and S26–S32.
The evidence-acquisition capabilities of the different retrieval frameworks are evaluated first. This process selects evidence from the governed knowledge-unit repository and forms evidence packages for LLM reasoning. Its objective is to satisfy permission and validity constraints in industrial scenarios while ensuring evidence relevance.
Table 5 presents the comprehensive retrieval performance of different evidence-acquisition configurations across the four tasks, and
Figure 4 further compares their retrieval performance and governance-violation rates.
General BM25 achieved mean Recall@6 and Precision@6 values of 0.7917 and an nDCG@6 of 0.8398, while exhibiting a governance-violation rate of 0.1667. This indicates that traditional lexical retrieval can identify some relevant knowledge but cannot prevent expired or unauthorized knowledge from entering the retrieval results. After permission, validity-period, and status filtering were added to BM25, metadata-gated BM25 increased mean Recall@6 and Precision@6 to 0.9167 and reduced GVR@6 to zero. This result shows that pre-retrieval governance-eligibility filtering can effectively reduce knowledge units that do not satisfy the constraints and improve evidence reliability. General RAG used character-level TF–IDF retrieval and obtained mean Recall@6 and Precision@6 values of 0.6667, an nDCG@6 of 0.7501, and a GVR@6 of 0.2500. These results show that retrieval based only on general textual relevance cannot simultaneously satisfy the requirements for evidence completeness and governance compliance in industrial decision scenarios. In comparison, the governance-enhanced hybrid retrieval used by the enhanced RAG–LLM further integrates task matching, equipment associations, knowledge authority, temporal validity, and relationship information to achieve constraint-aware evidence selection for industrial tasks. Across the four tasks, its Recall@6, Precision@6, and nDCG@6 values all reached 1.0000, while GVR@6 decreased to zero. The MRR of all four retrieval configurations reached 1.0000, indicating that the first key item of evidence could be located rapidly in every configuration.
Overall, the experimental results show that industrial knowledge retrieval cannot rely only on textual similarity and must simultaneously consider knowledge content, business associations, and governance constraints. The eligibility-gating mechanism mainly addresses whether knowledge satisfies the conditions of use, while the hybrid ranking mechanism further addresses whether eligible knowledge can accurately enter the evidence package. Task-level retrieval results and source information are provided in
Supplementary Materials S23–S25. The basic retrieval algorithm is provided in
Supplementary Material S3; task-level outputs, summaries, and error counts are provided in
Supplementary Materials S6, S7, and S9; task-level results and summaries for the four frameworks are provided in
Supplementary Materials S23–S24; and the audited data-processing algorithms supporting the manuscript tables and figures are provided in
Supplementary Material S34.
To further analyze the stability of the retrieval frameworks across different industrial decision scenarios,
Table 6 presents Recall@6 and the number of governance violations for the four tasks. General BM25 exhibits some evidence omission in every task and introduces one governance-violating knowledge unit in each task. Metadata-gated BM25 eliminates governance violations and achieves complete recall for the quality-anomaly and wastewater-compliance tasks, but it still omits some key evidence for the equipment-fault and energy-optimization tasks. General RAG exhibits greater performance fluctuations across tasks. Its Recall@6 is only 0.5000 for the wastewater-compliance task, in which two governance-violating knowledge units are also retrieved, indicating that a general retrieval-augmented method cannot readily process industrial decision tasks subject to strict permission and rule constraints. In comparison, the enhanced RAG–LLM achieves Recall@6
and zero governance violations across equipment-fault diagnosis, quality-anomaly analysis, energy optimization, and wastewater-compliance management, indicating that it can stably obtain the key evidence required to support industrial decisions. The complete text and source IDs of the top-six evidence items actually provided to the LLM by each framework in the four tasks are presented in
Supplementary Material S25.
To further evaluate the end-to-end performance of the enhanced RAG–LLM framework in industrial decision support, the generated results are analyzed for source consistency and structural completeness on the basis of the retrieval results. Specifically, the analysis calculates gold-standard evidence coverage in the evidence packages, actual gold-standard source-ID coverage in the answers, and six-field output coverage. It further records whether an answer cites a non-gold-standard source ID within the evidence package, generates an unknown ID outside the corpus, or contains a human-review prompt. Each retrieval-framework–large-language-model combination contains four industrial tasks with five repeated runs per task, yielding 320 end-to-end decision responses. The item-level deterministic audit procedure and run-level results are provided in
Supplementary Material S29, and the summary results for the 16 retrieval-framework–large-language-model combinations are provided in
Supplementary Material S30.
Table 7 presents the evidence coverage and answer-source consistency results for the different combinations. Gold-standard coverage in the evidence package is primarily determined by the front-end retrieval framework and, therefore, remains consistent with the preceding retrieval experiment. The mean gold-standard evidence-package coverage values of BM25, metadata-gated BM25, general RAG, and governance-enhanced hybrid retrieval are 0.7917, 0.9167, 0.6667, and 1.0000, respectively.
The results in
Table 7 and
Figure 5 show that retrieval quality is a key factor affecting the traceability of industrial decisions, but it is not the only factor. Although traditional BM25 and general RAG can provide some relevant information to the LLM, their lack of industrial knowledge-governance and task-constraint mechanisms results in insufficient evidence coverage and increases the risk of citing non-key sources. Metadata-gated BM25 can effectively reduce governance violations but still omits key evidence. In comparison, governance-enhanced hybrid retrieval achieves nearly complete or complete gold-standard evidence coverage across the four industrial tasks and substantially improves the consistency between LLM outputs and the actual evidence sources. However, differences remain among LLMs. For example, Qwen still exhibits insufficient source citation when complete evidence is provided, indicating that retrieval augmentation alone cannot fully prevent evidence deviation during generation. Introducing automated validation and human review is therefore necessary to ensure the reliability of industrial decisions.
The preceding comparison shows that the contribution of the enhanced RAG–LLM framework to industrial sustainability is reflected in the decision chain of “anomalous facts–gold-standard evidence–constrained actions–human release.” To analyze sustainability pathways in the model outputs, this study selects one audited enhanced RAG–LLM answer from each of the four tasks and extracts its decision-action and sustainability-effect content. The original answers and item-level audit records are provided in
Supplementary Materials S32 and S29.
Table 8 presents the model outputs and their sustainability effects. Across the four tasks, the enhanced RAG–LLM forms evidence-grounded action recommendations under equipment-reliability, quality-control, energy-scheduling, and environmental-compliance constraints. These recommendations correspond to reducing secondary equipment damage and material waste, reducing whole-batch scrapping and reprocessing, reducing unnecessary energy consumption and indirect carbon emissions, and reducing water-environmental and discharge-permit compliance risks, respectively, thereby reflecting the role of the model in sustainable industrial decision support.
4.4.2. Ablation Experiments
To further analyze the contributions of different functional modules in the enhanced RAG–LLM framework to industrial decision reliability, ablation experiments were conducted using ChatGPT, which achieved relatively strong overall performance, as the generation model. The experiments examined differences in decision outputs under four configurations: no external enterprise knowledge, governed knowledge units only, a source-labeled evidence package, and the complete enhanced RAG–LLM framework.
Specifically, the first configuration supplies only the user decision request and no enterprise-knowledge evidence to analyze the output capability of an LLM without domain-knowledge constraints. The second configuration supplies the content of governed knowledge units but does not provide a ranked and source-bound evidence package, thereby validating the effect of knowledge organization on industrial decision support. The third configuration further introduces a source-labeled evidence package to analyze the role of evidence packaging and provenance tracing. The fourth configuration uses the complete enhanced RAG–LLM framework and adds automated validation and feedback regulation to evidence retrieval to evaluate the improvement in decision reliability produced by the closed-loop control module. Prompt protocols for the different ablation configurations are provided in
Supplementary Material S4, and the item-level response-audit results are provided in
Supplementary Materials S12, S14 and S15.
Table 9 presents the experimental results for the different module configurations. When only the user question is supplied, the model can generate a structurally complete industrial decision response, but its gold-standard source-ID coverage is zero because it lacks support from enterprise evidence, and it therefore cannot satisfy the traceability requirements of industrial decisions. After governed knowledge units are introduced, the model can use enterprise-domain knowledge to produce responses that better fit the business context. However, because an explicit evidence-binding mechanism is absent, the source-ID coverage remains zero, indicating that knowledge content alone cannot guarantee evidence traceability in the decision process. After a source-ID-labeled evidence package is introduced, an explicit association is established between model outputs and gold-standard evidence, and source-ID coverage increases substantially, showing that the evidence-packaging mechanism can effectively enhance the verifiability of industrial decision results. In the complete enhanced RAG–LLM framework, the additional automated validation and feedback-regulation module identifies omitted source citations, missing fields, and insufficient human-review conditions and improves output completeness and reliability through controlled repair.
These results show that governed knowledge units mainly address the unified organization of multi-source heterogeneous industrial knowledge, the evidence-packaging mechanism further establishes an explicit association between knowledge sources and decision results, and the feedback-regulation module ensures that the generated results satisfy industrial-application requirements through validation, correction, and human-review mechanisms.
To further validate the role of the feedback-regulation module in actual operation, an end-to-end feedback experiment was conducted using the complete enhanced RAG–LLM framework. The system recorded 320 decision responses and automatically checked the generated results according to gold-standard evidence coverage, source-ID citation, output-field completeness, and human-review requirements. It adopted a tiered handling strategy for different problems. Evidence-package incompleteness was automatically returned to the retrieval stage; omissions of source citations or output fields were automatically recorded as feedback and allowed one constrained repair; and unknown sources, omitted mandatory rules, or high-risk decisions stopped automated release and were transferred to human review. This strategy allows the system to preferentially handle problems that can be identified through rules and submits only problems that cannot be automatically resolved or that involve safety or compliance responsibilities for human confirmation, thereby reducing the cost of item-by-item manual inspection. The automated validation results for the 320 answers are presented in
Table 10, and records of multiple feedback-trigger types are provided in
Supplementary Material S29.
Table 10 shows that the system effectively identifies the different validation signals among all 320 answers. Evidence gaps mainly arise from insufficient evidence produced by the comparison retrieval frameworks, whereas the 80 answers generated by the complete enhanced RAG–LLM exhibit no retrieval-evidence gaps or citations of non-gold-standard sources. The remaining problems in the enhanced RAG–LLM results are concentrated in generation-stage issues, including omitted source IDs, incomplete output fields, insufficient descriptions of sustainability impacts, and missing human-review conditions.
The system performs one controlled repair through the feedback-regulation mechanism and then re-executes the validation process. Results that still do not satisfy the release requirements or involve high-risk judgments are submitted for human review. One representative response that did not pass the automated release check was further selected from each of the four industrial tasks. After the feedback was confirmed by a human, the next decision cycle was rerun, and the before-and-after audit results are presented in
Table 11.
Table 11 shows that, after feedback regulation, the mean gold-standard source-ID coverage of the four representative responses increases from 0.4167 to 1.0000, while the number of unknown IDs outside the corpus remains zero throughout. This indicates that the feedback mechanism can effectively improve source consistency and traceability in industrial decision results.
Overall, the enhanced RAG–LLM does not complete decision support through one-time retrieval and generation alone. Instead, it continuously improves decision reliability through a closed-loop process of knowledge governance, evidence retrieval, constrained generation, automated validation, and feedback regulation. Without changing the parameters of the foundation LLM, the feedback-regulation module achieves continuous optimization for industrial environments by updating retrieval strategies, knowledge states, and validation rules in a controlled manner. The feedback algorithm, feedback signals, and human-approval records are provided in
Supplementary Materials S20–S22, and the complete answers and paired audit results are provided in
Supplementary Materials S32 and S33.
4.4.3. Parameter-Sensitivity Analysis
To analyze the effect of evidence-package size on enhanced RAG retrieval performance, a Top-
k parameter-sensitivity experiment was conducted. The experiment fixed 32 governed knowledge units, four industrial decision tasks, and the eligibility-gating and hybrid-ranking parameters, while varying only the number of evidence items
k returned during retrieval. Specifically,
k was increased from 3 to 8 in steps of 1, and retrieval coverage, ranking quality, and governance reliability were evaluated under the different evidence-package sizes. The results were used to determine a uniform evidence-package size for the subsequent end-to-end decision experiments, ensuring sufficient coverage of gold-standard evidence while reducing the introduction of irrelevant evidence. Detailed experimental data are provided in
Supplementary Material S8, and eligibility-gating results and ranking-process traces are provided in
Supplementary Material S17.
As shown in
Table 12, when
k increases from 3 to 6, mean Recall@
k increases from 0.5000 to 0.6667, 0.8333, and 1.0000, indicating that the system gradually covers more task-related gold-standard evidence as the evidence-package size increases. Under
, Precision@
k remains 1.0000, showing that all returned results are valid evidence relevant to the task.
When and 8, the system has already retrieved all gold-standard evidence, and Recall@k remains 1.0000. However, because the additional returned knowledge units are non-gold-standard candidates that satisfy the governance constraints, Precision@k decreases to 0.8571 and 0.7500, respectively. GVR@k remains zero for all values of k, indicating that the eligibility-gating mechanism effectively prevents expired or unauthorized knowledge from entering the evidence package.
Overall, at , complete gold-standard evidence coverage is achieved, while Precision@k remains 1.0000. This setting preserves complete evidence coverage, limits the introduction of unnecessary evidence, and provides a favorable balance between retrieval precision and evidence-package size.