A multi-dimensional automatic evaluation method and system for a retrieval enhancement generation system and a storage medium

By using a micro-heterogeneous expert database and a hierarchical arbitration evaluation model, the multi-dimensional problems of the evaluation system for the retrieval enhancement generation system are solved, and the system achieves automation, traceability and closed-loop optimization, adapting to high enterprise-level compliance requirements.

CN123138378APending Publication Date: 2026-11-20CHONGQING JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611313449.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The existing evaluation system for enhanced search generation systems suffers from problems such as a single and fragmented evaluation dimension, high cost and strong subjectivity of expert evaluation, blind spots in compliance risks, and the inability to link evaluation results with the system launch process.

Method used

A human-machine collaborative evaluation model is adopted, which combines a micro heterogeneous expert database with hierarchical arbitration. By constructing a multi-dimensional test set, generating evidence fingerprints and conducting hierarchical arbitration, and combining circuit breaker rules, the system achieves automated evaluation and dynamic control.

Benefits of technology

It reduces reliance on expert manpower, enhances the objectivity and credibility of evaluation results, fills the blind spots in compliance testing, and achieves system traceability and closed-loop iterative optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138378A_ABST
    Figure CN123138378A_ABST
Patent Text Reader

Abstract

The application provides a multi-dimensional automatic evaluation method and system for a retrieval enhancement generation system and a storage medium, comprising: building a micro-heterogeneous expert library containing technology verification experts, compliance audit experts, business field experts, and configuring an interest avoidance agreement; generating a multi-dimensional test set containing positive samples, security countermeasures, and illusion induction subsets according to business scene parameters and compliance red line strategy library; sending the multi-dimensional test set into the RAG system to be evaluated for reasoning, capturing the retrieval intermediate state and the generation output result, and generating evidence fingerprints based on the interaction data; submitting the interaction data and the evidence fingerprints to the micro-heterogeneous expert library for hierarchical arbitration, and outputting a system evaluation report; and combining the evaluation report with the preset fuse rule to determine the online access level of the RAG system. The application solves at least one of the technical problems of the prior art, such as single and fragmented evaluation dimensions, high expert evaluation cost and strong subjectivity, blind area of compliance risk, and inability of evaluation results to link to system online control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of artificial intelligence, and in particular to a multi-dimensional automated evaluation method, system, and storage medium for retrieval-enhanced generation systems. Background Technology

[0002] Retrieval-Augmented Generation (RAG) technology effectively alleviates the illusion problem and knowledge obsolescence problem of large language models by introducing an external knowledge base retrieval mechanism. However, existing RAG system evaluation frameworks have the following significant drawbacks, making them difficult to implement in enterprise-level scenarios with high security and compliance requirements: The evaluation dimensions are singular and fragmented: Existing technologies mostly use traditional natural language processing (NLP) metrics (such as BLEU, ROUGE) or retrieval metrics based on vector similarity (such as Recall@K recall rate), lacking an end-to-end joint evaluation of retrieval quality, generation fidelity, business logic correctness, and compliance and security.

[0003] Expert evaluation is costly and highly subjective: relying on a large number of domain experts for manual annotation and scoring is not only costly to organize, but also easily affected by the subjective preferences and personal relationships of experts, resulting in evaluation results that lack credibility and repeatability.

[0004] There are blind spots in compliance risks: existing assessments lack a systematic detection mechanism for data security and compliance red lines. RAG systems are highly susceptible to leakage of sensitive information (PII) and trade secrets due to unauthorized retrieval or filtering failures, and existing methods cannot provide an auditable chain of compliance evidence.

[0005] Lack of dynamic circuit breaker mechanism: The evaluation results are usually only static scores and cannot be linked with the system's online release process, which means that a system with serious defects may still be deployed and launched.

[0006] Therefore, there is an urgent need for a low-threshold evaluation scheme that can integrate automated indicators with expert wisdom and has strong compliance constraints. Summary of the Invention

[0007] The purpose of this invention is to provide a multi-dimensional automated evaluation method, system, and storage medium for retrieval enhancement generation systems, which solves at least one of the technical problems of existing system evaluation schemes, namely, single and fragmented evaluation dimensions, high cost and strong subjectivity of expert evaluation, blind spots in compliance risks, and inability to link evaluation results with system online management.

[0008] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows: In a first aspect, the present invention provides a multi-dimensional automated evaluation method for retrieval enhancement generation systems, comprising the following steps: S1. Establish a micro heterogeneous expert database, which is configured with technical verification experts, compliance audit experts and business domain experts, and is configured with conflict of interest avoidance agreements. S2. Combine the input business scenario parameters and the preset compliance red line strategy library to generate a multi-dimensional test set containing a positive sample subset, a security adversarial subset, and an illusion inducement subset; S3. Input the multidimensional test set into the retrieval enhancement generation system to be evaluated to perform reasoning, capture the intermediate data of the system retrieval stage and the output results of the generation stage, and generate a unique evidence fingerprint based on the interaction data. S4. Submit the interactive data and corresponding evidence fingerprints to the micro heterogeneous expert database for hierarchical arbitration processing, and generate an evaluation report of the retrieval enhancement generation system. S5. Based on the evaluation report and the preset circuit breaker rules, determine the online access level of the search enhancement generation system.

[0009] Furthermore, in S2, the multidimensional test set includes: The positive sample subset contains regular business query samples, which are used to verify the accuracy of basic specification retrieval; The security countermeasure subset includes overreach detection queries and sensitive word inducement query samples, which are used to test the system's defense capabilities; The illusion-induced subset contains query samples that do not exist in the knowledge base and are used to test the model's ability to refuse answers.

[0010] Furthermore, in S2, the method for constructing the security adversarial subset includes: Extract the enterprise's internal permission matrix and generate unauthorized access detection queries for low-privilege users attempting to access high-privilege data. Fuzz testing was used to generate inducement queries containing variants of sensitive words to test the effectiveness of the system's content security filter.

[0011] Furthermore, in S3, intermediate data from the system retrieval phase and output results from the generation phase are captured, and a unique evidence fingerprint is generated based on the interaction data, specifically including: The source document fragments output in the retrieval stage are encoded with coordinates, and the document identifier, paragraph number, and character offset of the source document fragments are recorded and then serialized. The query request received in the retrieval phase, the retrieval context output by the retrieval phase, and the answer output by the generation phase are serialized. A hash algorithm is used to process the serialized coordinate encoding, query request, retrieval context, and answer to generate an evidence fingerprint. The evidence fingerprint is then associated with the test session ID and stamped with a trusted timestamp.

[0012] Furthermore, in S4, the tiered arbitration specifically includes: The interactive data is scored and / or rule-detected using automated scripts to generate anomalous samples. The abnormal samples were assigned to experts in the corresponding fields for blind review. When the difference between the scores of any two experts exceeds a preset variance threshold, an external independent auditing firm will be initiated for arbitration.

[0013] Furthermore, the interactive data is scored and / or subjected to rule detection to generate anomalous samples, specifically including: Set an automated scoring threshold and filter out samples with a confidence level lower than the threshold as abnormal samples; And / or, by using the mandatory constraint detection operator configured in the automation script, detect whether the generated answer is missing a preset compliance key feature. If it is missing, generate an automated warning and use the sample corresponding to the automated warning as the abnormal sample.

[0014] Furthermore, S5 specifically includes: When the evaluation report contains serious compliance deficiencies, a first circuit breaker signal is generated to determine whether the search enhancement generation system enters read-only mode or completely offline mode. When the evaluation report contains business performance defects, a second circuit breaker signal is generated to determine whether the search enhancement generation system enters manual review mode or gray-scale degradation mode.

[0015] Furthermore, S5 also includes a dynamic feedback step: The defective samples identified in the evaluation report are automatically converted into a negative sample training set, which is used to optimize the embedding model or alignment strategy of the retrieval enhancement generation system.

[0016] Secondly, the present invention also provides a multi-dimensional automated evaluation system for retrieval enhancement generation systems, used to implement the evaluation method described in any of the above, including a micro heterogeneous expert database and an evaluation engine; The micro heterogeneous expert database is configured with technical verification experts, compliance audit experts, and business domain experts, and is equipped with conflict of interest avoidance agreements. The evaluation engine includes: The test set generator is used to construct multi-dimensional test sets based on input business scenario parameters and a pre-defined compliance red line policy library. An evidence collector is used to capture interaction data during the retrieval and generation phases when the multidimensional test set input is used to evaluate the retrieval enhancement generation system to perform reasoning, and to generate an immutable evidence fingerprint. The arbitration center is used to submit interactive data and corresponding evidence fingerprints to a micro heterogeneous expert database for hierarchical arbitration processing, generate an evaluation report for the retrieval enhancement generation system, and determine the online access level of the retrieval enhancement generation system based on the evaluation report and preset circuit breaker rules.

[0017] Thirdly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the method described in any of the preceding claims.

[0018] Compared with the prior art, the present invention has at least the following beneficial effects: This invention employs a human-machine collaborative evaluation model combining a micro-heterogeneous expert database with hierarchical arbitration. Automated scripts handle the initial screening of most samples, while experts conduct blind reviews only on anomalous samples with insufficient confidence or compliance warnings. This reduces reliance on large-scale expert manpower. Furthermore, conflict-of-interest agreements and external arbitration mechanisms minimize the interference of subjective human factors on evaluation conclusions, enhancing the objectivity and credibility of the evaluation results. Simultaneously, the multi-dimensional adversarial test set proactively uncovers security and compliance risks such as unauthorized disclosures and illusion generation, compensating for the compliance detection blind spots inherent in traditional evaluations that only perform routine indicator checks.

[0019] This invention generates an evidence fingerprint by hashing the query and retrieval context, source document metadata, and generated answers, binding it to a session ID and a trusted timestamp. This enables the solidification and retention of RAG end-to-end interactive data, allowing for traceable attribution of the problem chain and providing an immutable evidentiary foundation for compliance audits. Furthermore, the solution combines evaluation reports with differentiated circuit breaker rules and a closed-loop feedback mechanism for defect samples. Different system control strategies are implemented based on defect levels, and identified defect samples are transformed into negative samples for model optimization. This achieves iterative evaluation, risk control, and system closed-loop management, adapting to the deployment and access control requirements of enterprises with high compliance demands. Attached Figure Description

[0020] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0021] Figure 1 This is an overall architecture diagram of the evaluation system provided in this embodiment.

[0022] Figure 2 A flowchart of the evaluation method provided in this embodiment.

[0023] Figure 3This is a logical diagram illustrating the generation and verification of evidence fingerprints provided in this embodiment.

[0024] Figure 4 The timing interaction diagram of the hierarchical arbitration mechanism provided in this embodiment.

[0025] Figure label: 101 - Client; 102 - RAG system to be evaluated; 103 - Evaluation engine; 104 - Miniature heterogeneous expert database; 1031 - Test Set Generator; 1032 - Evidence Collector; 1033 - Arbitration Center; 1041 - Technical Verification Expert; 1042 - Compliance Audit Expert; 1043 - Business Domain Expert. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0027] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0028] I. Examples This embodiment protects a multi-dimensional automated evaluation method for retrieval-enhanced generation systems. The steps include: building a micro-heterogeneous expert database containing only three types of experts: technical verification, compliance auditing, and business domain experts, and configuring conflict of interest avoidance protocols; automatically generating a multi-dimensional test set consisting of three subsets—positive samples, security adversarial measures, and illusion inducement—based on a pre-set compliance red-line strategy database; inputting the test set into the RAG system to be evaluated, capturing intermediate data from the retrieval phase and output results from the generation phase, and generating a unique evidence fingerprint; submitting the interaction data and fingerprint to the expert database for hierarchical arbitration to generate an evaluation report; and determining the system's online access level based on the report and preset circuit breaker rules. This solution reduces the traditional team of dozens of experts by using a hierarchical model of machine initial screening and expert evaluation, significantly lowering organizational costs; the end-to-end evidence fingerprint solidification gives the evaluation conclusions auditable legal validity; and the evaluation results directly drive the online decision-making process, solving the problem of the traditional separation between evaluation and deployment, and achieving a qualitative change from "post-event sampling" to "mandatory access before online deployment."

[0029] This embodiment defines the functions of three subsets of the multidimensional test set: the positive sample subset, the security adversarial subset, and the hallucination inducement subset. These three subsets collaboratively cover the three core dimensions of accuracy, security, and robustness, enabling the test set to systematically expose the performance boundaries of the RAG system under different risk categories. This fills the blind spots of traditional single-indicator evaluation and elevates compliance and security testing from "sampling inspection" to "systematic stress testing".

[0030] This embodiment defines a specific method for constructing a security adversarial subset. This method transforms abstract permission management systems and sensitive word filtering requirements into quantifiable technical test cases, enabling proactive verification of compliance defense capabilities rather than passively waiting for violations to occur. It effectively verifies whether the RAG system truly implements permission isolation and content security mechanisms during the retrieval and generation phases.

[0031] This embodiment defines a method for generating evidence fingerprints. These fingerprints enable end-to-end data solidification and non-repudiation from user query to retrieval context to generated answer. When there is a dispute over the evaluation results or compliance audit traceability, the fingerprints can be compared to confirm whether the original data has been tampered with and whether the answer is faithful to the retrieval source. This solves the problem of attribution difficulties caused by the "black box" nature of the RAG system and provides a technical foundation for the legal acceptance of evidence.

[0032] This embodiment defines the specific process of tiered arbitration. The machine undertakes the evaluation of the vast majority of normal samples, allowing experts to focus their limited energy on high-risk and difficult samples. The blind review mechanism effectively eliminates subjective bias and personal interference. The disagreement resolution mechanism provides a final adjudication path for extreme disputes. The combination of these three factors significantly reduces the number of experts while strengthening the credibility and objectivity of the evaluation conclusions.

[0033] This embodiment refines the abnormal sample screening mechanism, providing two paths: the first is scoring threshold screening—setting an automated scoring threshold to screen samples with confidence levels below the threshold as abnormal; the second is mandatory constraint detection operator screening—detecting whether the generated answer lacks preset compliance key features or security threshold parameters. If missing, an automated warning is generated and the corresponding sample is marked as abnormal. The two paths can be used individually or in parallel. The scoring mechanism covers continuous quality assessment, while the rule detection covers bottom-line compliance screening, forming a dual guarantee. Experts can accurately locate potential non-compliant samples without reading the entire text of every answer, further improving the efficiency of human-machine collaboration.

[0034] This embodiment defines a differentiated circuit breaker strategy: a first circuit breaker signal is generated when the evaluation report contains serious compliance deficiencies, determining whether the system enters read-only mode or a complete shutdown mode; a second circuit breaker signal is generated when the report contains business performance deficiencies, determining whether the system enters manual review mode or a gray-scale degradation mode. The two types of deficiencies are accompanied by differentiated recovery conditions. This strategy achieves a precise match between risk level and response intensity—implementing hard blocking for fatal compliance risks and soft restrictions for tolerable business deficiencies, avoiding the undue impact of a "one-size-fits-all" circuit breaker on normal business operations, and enabling the evaluation conclusions to provide refined guidance for deployment decisions.

[0035] This embodiment introduces a dynamic feedback step, which constructs a virtuous cycle of "evaluation to discover problems, data-driven optimization, and post-optimization review and verification". Each evaluation is no longer a one-time compliance check, but a data source for the continuous evolution of the system, enabling the RAG system to continuously improve its security protection capabilities through multiple evaluation iterations, becoming more and more secure with use.

[0036] This embodiment protects a system implementing the above method, comprising a micro heterogeneous expert database and an evaluation engine. The expert database maintains expert qualification information, online status, and conflict of interest status, enabling automated execution of conflict of interest avoidance agreements; the evaluation engine includes a test set generator, an evidence collector, and an arbitration center. The non-intrusive mounting method of the evidence collector allows the system to adapt to different RAG architectures without modifying its core code, exhibiting good versatility; the modular design allows each component to be upgraded independently.

[0037] This embodiment protects a computer-readable storage medium storing a computer program that, when executed by a processor, is the evaluation method described in any of the preceding claims. The medium claims cover various forms of non-transitory computer-readable media (such as hard disks, solid-state drives, optical disks, flash memory, etc.) as a third category of protected subject matter, independent of and parallel to methods and systems.

[0038] II. Specific Implementation This embodiment provides a multi-dimensional automated evaluation system for retrieval enhancement generation systems, such as... Figure 1 As shown, it includes a micro heterogeneous expert library 104 and an evaluation engine 103.

[0039] The micro heterogeneous expert database 104 is configured with technical verification experts 1041, compliance audit experts 1042, and business domain experts 1043, and is equipped with conflict of interest avoidance agreements. The evaluation engine 103 includes: Test set generator 1031 is used to build multi-dimensional test sets based on input business scenario parameters and a preset compliance red line strategy library; The evidence collector 1032 is used to capture the interaction data of the retrieval stage and the generation stage when the multidimensional test set input to be evaluated retrieval enhancement generation system performs reasoning, and generate an immutable evidence fingerprint. Arbitration Center 1033 is used to submit interactive data and corresponding evidence fingerprints to a micro heterogeneous expert database for hierarchical arbitration processing, generate an evaluation report for the retrieval enhancement generation system, and determine the online access level of the retrieval enhancement generation system based on the evaluation report and preset circuit breaker rules.

[0040] In an exemplary scenario, such as the field of tunnel lighting engineering design and operation and maintenance, the configuration of the micro heterogeneous expert library 104 is as follows: Technical Validation Expert: Possesses an optical engineering background, is familiar with lighting simulation software, and is responsible for validating whether the luminaire arrangement parameters recommended by the RAG system are physically feasible.

[0041] Compliance Audit Expert: Possesses Certified Safety Engineer qualifications, is familiar with relevant laws and transportation industry standards, and is responsible for reviewing whether system recommendations comply with mandatory provisions.

[0042] Business Area Expert: Possesses a senior engineer title and has over 10 years of experience in tunnel electromechanical operation and maintenance. Responsible for reviewing whether the operation and maintenance suggestions provided by the system are economical and practical.

[0043] This embodiment also provides a multi-dimensional automated evaluation method for retrieval enhancement generation systems. Please refer to [link / reference]. Figure 2-4 As shown, the method includes the following steps: 1. Construct a micro heterogeneous expert database In this embodiment, an expert role vector is defined. E ={ e tech , e comp , e biz These correspond to technical verification experts (verifying retrieval and generation algorithms), compliance audit experts (verifying data security and red lines), and business domain experts (verifying the accuracy of knowledge). Establish a dynamic access and conflict of interest avoidance mechanism, and ensure the independence of evaluation by managing expert qualifications through digital contracts.

[0044] 2. Generate a multidimensional test set In this embodiment, a multi-dimensional test set is generated by combining the input business scenario parameters and the preset compliance red line policy library, which includes a positive sample subset, a security adversarial subset, and an illusion inducement subset.

[0045] More specifically, as shown in the appendix Figure 1As shown, the evaluation engine 103 includes a test set generator 1031, used to call the compliance red line policy library to generate test sets for specific scenarios. The multi-dimensional test set includes: Positive sample subset: contains regular business query samples, used to verify the accuracy of basic standard retrieval; Security countermeasure subset: includes samples of unauthorized access detection queries and sensitive word inducement queries, used to test the system's defense capabilities; Illusion-induced subset: contains query samples that do not exist in the knowledge base, used to test the model's ability to refuse answers.

[0046] Furthermore, the method for constructing the security adversarial subset includes: extracting the enterprise's internal permission matrix, generating unauthorized detection queries against low-privilege users attempting to access high-privilege data; and using fuzz testing techniques to generate inducement queries containing variants of sensitive words to test the effectiveness of the system's content security filter.

[0047] In the tunnel lighting engineering design and operation and maintenance scenario, as shown in Table 1, the test set generator 1031 generates specific test queries, including but not limited to the following, based on the tunnel lighting-specific compliance red line policy library: Table 1 Examples of adversarial test sets in the field of tunnel lighting

[0048] 3. Implement automated evidence collection and preservation. In this embodiment, the multidimensional test set is input into the retrieval enhancement generation system to be evaluated to perform reasoning, capture the intermediate data of the system's retrieval phase and the output results of the generation phase, and generate a unique evidence fingerprint based on the interaction data.

[0049] More specifically, the source document fragments output in the retrieval phase and the answers output in the generation phase are obtained; further: The output of the retrieval module of the RAG system is intercepted in real time. The source document fragment is encoded with coordinates, and the document identifier (ID), paragraph number (Paragraph), and character offset (Offset) of the source document fragment are recorded. The triple is serialized to obtain the serialized string Serialize(ID, Paragraph, Offset). The query request (Query) received in the retrieval phase, the retrieval context (Context) output in the retrieval phase, and the answer (Answer) output in the generation phase are serialized to obtain serialized strings Serialize(Query), Serialize(Context), and Serialize(Answer); A hash algorithm is used to process the serialized coordinate encoding, query request, retrieval context, and the answer output during the generation stage to generate an evidence fingerprint. The evidence fingerprint is then associated with the test session ID and stamped with a trusted timestamp.

[0050] Furthermore, timestamped fingerprint evidence is stored in a distributed ledger or WORM (write-once, read-many) storage system to ensure that the data is immutable.

[0051] like Figure 3 As shown, during the evaluation process, the evidence collector 1032 captures the inference data of the RAG system: the query request (Query) received in the retrieval phase and the output retrieval context (Context), as well as the source coordinates of the source document fragments that are retrieved—document identifier (ID), paragraph number (Paragraph) and character offset range (Offset[100, 200)); and the answer (Answer) output in the generation phase.

[0052] Evidence collector 1032 record: Evidence = Hash(Serialize(ID, Paragraph, Offset) + Serialize(Query) + Serialize(Context) + Serialize(Answer)).

[0053] If experts later question the authenticity of the answer, they can compare the hash values ​​to confirm whether the context called by the RAG system at that time was tampered with or whether the wrong document was referenced.

[0054] Scenario: A user asks, "What are the lighting standards for emergency stopping lanes in highway tunnels?" RAG search process: The system retrieved the document "JTG / TD70 / 2-01—2014 Detailed Rules for Lighting Design of Highway Tunnels".

[0055] Evidence fingerprint generation: System log: Query: Lighting standards for emergency stopping lanes in highway tunnels.

[0056] Context: Document ID: Doc_123, Chapter: 6.3.1, Page: 25, Original Excerpt: "Emergency parking lane lighting should use light sources with high color rendering index, and their luminance should not be lower than 4.0 cd / m²." 2 ".

[0057] Answer: According to JTG / TD70 / 2-01—2014, emergency parking lane lighting should adopt...

[0058] Hash: a1b2c3... The final result is an evidence fingerprint with hash values ​​of a1b2c3... If a subsequent audit reveals that the system referenced an incorrect specification, the cause can be attributed by comparing the document ID and page number in the fingerprint.

[0059] 4. Layered Arbitration and Integrated Decision-Making In this embodiment, the interactive data and corresponding evidence fingerprints are submitted to the micro heterogeneous expert database for hierarchical arbitration processing to generate an evaluation report of the retrieval enhancement generation system.

[0060] More specifically, as shown in the appendix Figure 4 As shown, Arbitration Center 1033 executes an evidence-based hierarchical arbitration process. First, a machine-based initial assessment is performed, using an automated script to score the interactive data and / or perform rule checks, generating anomalous samples. Specifically, this includes: setting an automated scoring threshold and filtering samples with confidence levels below the threshold as anomalous samples; and / or, using a mandatory constraint detection operator configured in the automated script to detect whether preset compliance key features are missing from the generated answers. If missing, an automated warning is generated, and the sample corresponding to the automated warning is designated as the anomalous sample. For example, the automated script compares the output of the RAG system to be evaluated with a preset mandatory constraint knowledge base. Specifically, the automated script detects whether key mandatory features are missing from the output results through keyword matching or semantic similarity calculation; if missing, an automated warning is issued.

[0061] Then, expert evaluation is performed, and the micro heterogeneous expert database receives the automated warnings and performs parallel verification.

[0062] Compliance experts verify whether the missing key mandatory features fall under the red-line indicators stipulated by laws, regulations, or industry standards. If so, it is marked as a serious compliance deficiency, triggering a Level 1 warning.

[0063] Business expert verification: Determine whether the strategy suggestions provided by the system are consistent with the actual working conditions of the target scenario. If the system suggestions meet the technical requirements but have logical conflicts or resource mismatches in actual application, they are marked as business logic defects, triggering a level-two warning.

[0064] When the difference between the scores of any two experts exceeds a preset variance threshold, arbitration by an external independent auditing firm is initiated. That is, if the variance σ of the expert scores exceeds a preset variance threshold... 2 If the threshold is >δ (preset threshold), an external third-party arbitration node will be triggered for review.

[0065] Triggering conditions and judgment logic: Level 1 Warning (Serious Compliance Deficiency): When the evaluation report contains deficiencies involving laws and regulations, industry standards, safety bottom lines, life safety, mandatory provisions of laws and regulations, core data sovereignty, or major business bottom lines, the system determines that the compliance red line has been crossed.

[0066] Level 2 warning (general logic defect, secondary defect): When the evaluation report contains defects involving business performance (business logic deviation, unreasonable resource allocation) or a significant decline in user experience, the system determines it as a business optimization warning.

[0067] Arbitration function: If subsequent audits find that the system incorrectly references outdated national standards, experts can compare the document IDs and page numbers in the fingerprints to determine whether the incorrect knowledge base version was referenced during the retrieval phase or whether it was a misinterpretation during the generation phase.

[0068] 5. Dynamic access control and circuit breaker execution.

[0069] In this embodiment, the online access level of the retrieval enhancement generation system is determined based on the evaluation report and the preset circuit breaker rules.

[0070] Specifically, Arbitration Center 1033 implements differentiated circuit breaker strategies based on the defect levels identified in the evaluation report: Level 1 Warning Circuit Breaker Strategy: When the evaluation report contains serious compliance deficiencies, it is determined that the compliance red line has been crossed, generating a first circuit breaker signal (i.e., a hard circuit breaker signal), which determines whether the search enhancement generation system enters read-only mode or a completely offline mode. In read-only mode, the generation of new content is prohibited, and only historical records can be queried; in completely offline mode, external service ports are cut off until manual intervention is required.

[0071] Level 2 warning circuit breaker strategy: When the evaluation report contains secondary defects related to business performance, it is determined as a business optimization warning, generating a second circuit breaker signal (i.e., a soft circuit breaker signal), determining whether the search enhancement generation system enters manual review mode or gray-scale degradation mode. In the manual review mode, all output results must be confirmed by a manual review node before reaching the user; in the gray-scale degradation mode, the system is restricted to low-privilege users or low-sensitivity scenarios, while reducing concurrent throughput.

[0072] Recovery conditions: For a Level 1 warning circuit breaker, the system must cease providing services and lock the configuration database until the operations and maintenance team uploads the corrected knowledge graph or parameter configuration and submits a review application. The review requires approval by all members of the micro heterogeneous expert database before the restricted status can be lifted.

[0073] In response to the Level 2 warning circuit breaker, the system enters a rectification phase within a specified timeframe. The operations and maintenance team must optimize the alert keywords or search strategies within a preset time window. After rectification, an automated script will perform regression testing. Once the test passes, the observation mode will be automatically lifted, eliminating the need for manual review.

[0074] It also includes a dynamic feedback step: automatically converting the defective samples (such as hallucination samples or overreaching samples) identified in the evaluation report into a negative sample training set, which is used to optimize the embedding model or alignment strategy of the retrieval enhancement generation system.

[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-dimensional automated evaluation method for retrieval enhancement generation systems, characterized in that, Includes the following steps: S1. Establish a micro heterogeneous expert database, which is configured with technical verification experts, compliance audit experts and business domain experts, and is configured with conflict of interest avoidance agreements. S2. Combine the input business scenario parameters and the preset compliance red line strategy library to generate a multi-dimensional test set containing a positive sample subset, a security adversarial subset, and an illusion inducement subset; S3. Input the multidimensional test set into the retrieval enhancement generation system to be evaluated to perform reasoning, capture the intermediate data of the system retrieval stage and the output results of the generation stage, and generate a unique evidence fingerprint based on the interaction data. S4. Submit the interactive data and corresponding evidence fingerprints to the micro heterogeneous expert database for hierarchical arbitration processing, and generate an evaluation report of the retrieval enhancement generation system. S5. Based on the evaluation report and the preset circuit breaker rules, determine the online access level of the search enhancement generation system.

2. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 1, characterized in that, In S2, the multidimensional test set includes: The positive sample subset contains regular business query samples, which are used to verify the accuracy of basic specification retrieval; The security countermeasure subset includes overreach detection queries and sensitive word inducement query samples, which are used to test the system's defense capabilities; The illusion-induced subset contains query samples that do not exist in the knowledge base and are used to test the model's ability to refuse answers.

3. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 1, characterized in that, In S2, the method for constructing the security adversarial subset includes: Extract the enterprise's internal permission matrix and generate unauthorized access detection queries for low-privilege users attempting to access high-privilege data. Fuzz testing was used to generate inducement queries containing variants of sensitive words to test the effectiveness of the system's content security filter.

4. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 1, characterized in that, In S3, intermediate data from the system retrieval phase and output results from the generation phase are captured, and a unique evidence fingerprint is generated based on the interaction data, specifically including: The source document fragments output in the retrieval stage are encoded with coordinates, and the document identifier, paragraph number, and character offset of the source document fragments are recorded and then serialized. The query request received in the retrieval phase, the retrieval context output by the retrieval phase, and the answer output by the generation phase are serialized. A hash algorithm is used to process the serialized coordinate encoding, query request, retrieval context, and answer to generate an evidence fingerprint. The evidence fingerprint is then associated with the test session ID and stamped with a trusted timestamp.

5. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 1, characterized in that, In S4, the layered arbitration specifically includes: The interactive data is scored and / or rule-detected using automated scripts to generate anomalous samples. The abnormal samples were assigned to experts in the corresponding fields for blind review. When the difference between the scores of any two experts exceeds a preset variance threshold, an external independent auditing firm will be initiated for arbitration.

6. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 5, characterized in that, Scoring and / or rule detection of the interactive data to generate anomalous samples specifically includes: Set an automated scoring threshold and filter out samples with a confidence level lower than the threshold as abnormal samples; And / or, by using the mandatory constraint detection operator configured in the automation script, detect whether the generated answer is missing a preset compliance key feature. If it is missing, generate an automated warning and use the sample corresponding to the automated warning as the abnormal sample.

7. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 1, characterized in that, S5 specifically includes: When the evaluation report contains serious compliance deficiencies, a first circuit breaker signal is generated to determine whether the search enhancement generation system enters read-only mode or completely offline mode. When the evaluation report contains business performance defects, a second circuit breaker signal is generated to determine whether the search enhancement generation system enters manual review mode or gray-scale degradation mode.

8. The multi-dimensional automated evaluation method for retrieval enhancement generation systems according to claim 1, characterized in that, S5 also includes a dynamic feedback step: The defective samples identified in the evaluation report are automatically converted into a negative sample training set, which is used to optimize the embedding model or alignment strategy of the retrieval enhancement generation system.

9. A multi-dimensional automated evaluation system for retrieval enhancement generation systems, characterized in that, The evaluation method described in any one of claims 1-8 includes a micro heterogeneous expert database and an evaluation engine; The micro heterogeneous expert database is configured with technical verification experts, compliance audit experts, and business domain experts, and is equipped with conflict of interest avoidance agreements. The evaluation engine includes: The test set generator is used to construct multi-dimensional test sets based on input business scenario parameters and a pre-defined compliance red line policy library. An evidence collector is used to capture interaction data during the retrieval and generation phases when the multidimensional test set input is used to evaluate the retrieval enhancement generation system to perform reasoning, and to generate an immutable evidence fingerprint. The arbitration center is used to submit interactive data and corresponding evidence fingerprints to a micro heterogeneous expert database for hierarchical arbitration processing, generate an evaluation report for the retrieval enhancement generation system, and determine the online access level of the retrieval enhancement generation system based on the evaluation report and preset circuit breaker rules.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1-8.