A medical skill examination knowledge graph construction and reasoning method and system

By constructing a knowledge graph for medical skills assessment, the problems of static and fixed traditional scoring standards and missing knowledge graphs are solved. This enables automatic updating of scoring standards and close integration of RAG retrieval and scoring reasoning, thereby improving the dynamism and accuracy of medical skills assessment.

CN123178641APending Publication Date: 2026-11-27HUNAN SHENGYI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611430398.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Traditional medical skills assessments rely on static scoring standards and lack dedicated knowledge graphs. RAG retrieval and scoring reasoning are disconnected, making it difficult to support item-by-item judgment and reasoning of operational details.

Method used

A medical skills assessment knowledge graph is constructed. By acquiring medical data, entities and relationships are extracted to generate an initial knowledge base. Entities are aligned and relationships are merged. The knowledge graph is then combined with assessment data for retrieval and scoring reasoning. Finally, a large language model is used to generate scoring explanation results.

Benefits of technology

It achieves automatic updating of scoring criteria and close integration of RAG retrieval and scoring reasoning, making the scoring results traceable to specific standard provisions, thus solving the problems of static and fixed scoring criteria and lack of knowledge graph.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178641A_ABST
    Figure CN123178641A_ABST
Patent Text Reader

Abstract

The application provides a medical skill examination knowledge graph construction and reasoning method and system, relates to the medical education knowledge engineering technical field, and the method comprises the following steps: acquiring medical data, extracting medical skill examination entities and entity relationships from the medical data, and constructing an initial knowledge base; acquiring examination data, statistically analyzing the examination data, extracting candidate skill examination entities, and generating a candidate knowledge base; performing entity alignment and relationship merging on the initial knowledge base and the candidate knowledge base to obtain a medical skill examination knowledge graph; acquiring the examination operation and examination score of an examinee, searching in the medical skill examination knowledge graph, and obtaining a search result; inputting the search result into a pre-trained large language model for score reasoning to obtain a score explanation result. The application can break through the limitation of static solidification of the score standard, make up for the lack of a special knowledge graph in the medical operation field, and effectively eliminate the disconnection between the RAG search mechanism and the score reasoning process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of medical education knowledge engineering technology, and in particular to a method and system for constructing and reasoning a knowledge graph for medical skills assessment. Background Technology

[0002] Traditional medical skills assessments currently rely primarily on paper-based or electronic scoring standards, which tend to remain unchanged for extended periods after their creation, exhibiting a static and fixed nature. Meanwhile, the application of knowledge graphs in the medical field is mostly concentrated in clinical diagnostic assistance and drug development, serving areas such as disease reasoning and medication decision-making. However, a dedicated knowledge graph ontology for the specific domain of medical skills operation is still lacking.

[0003] Furthermore, in existing applications of RAG (Retrieval Augmented Generation) technology in the medical field, the retrieval process is disconnected from the scoring reasoning of medical skills assessments, making it difficult to support the scoring system's item-by-item judgment and reasoning of operational details, thus limiting its practical application value in medical skills assessments.

[0004] Therefore, how to overcome the limitations of static and fixed scoring standards in existing technologies, make up for the lack of dedicated knowledge graphs in the field of medical operations, and effectively resolve the disconnect between the RAG retrieval mechanism and the scoring reasoning process are technical problems that urgently need to be solved by those skilled in the art. Summary of the Invention

[0005] To address the aforementioned technical problems, this application provides a method for constructing and reasoning a medical skills assessment knowledge graph. This method overcomes the limitations of static and fixed scoring standards, compensates for the lack of specialized knowledge graphs in the medical operation field, and effectively resolves the disconnect between the RAG retrieval mechanism and the scoring reasoning process. This application also provides a system for constructing and reasoning a medical skills assessment knowledge graph, achieving the same technical effects.

[0006] The first objective of this application is to provide a method for constructing and reasoning about a knowledge graph for medical skills assessment.

[0007] The aforementioned objective of this application is achieved through the following technical solution: A method for constructing and reasoning about a knowledge graph for medical skills assessment, comprising: Acquire medical data, extract medical skills assessment entities and entity relationships from the medical data, and construct an initial knowledge base; Acquire assessment data, perform statistical analysis on the assessment data, extract candidate skill assessment entities, and generate a candidate knowledge base; Entity alignment and relation merging are performed on the initial knowledge base and the candidate knowledge base to obtain a medical skills assessment knowledge graph; The examinee's assessment operations and assessment scores are obtained. Based on the assessment operations and assessment scores, a search is performed in the medical skills assessment knowledge graph to obtain the search results. The search results are input into a pre-trained large language model for rating inference to obtain rating explanation results.

[0008] Preferably, in the medical skills assessment knowledge graph construction and reasoning method, the medical skills assessment entities include skill item entities, operation step entities, scoring dimension entities, scoring point entities, technique standard entities, and common error entities; The entity relationships include inclusion relationships for establishing mappings from skill item entities to operation step entities, scoring relationships for establishing mappings from operation step entities to scoring dimension entities, inspection relationships for establishing mappings from scoring dimension entities to scoring point entities, standardization relationships for establishing mappings from scoring point entities to technique specification entities, and error relationships for establishing mappings from technique specification entities to common error entities.

[0009] Preferably, in the medical skills assessment knowledge graph construction and reasoning method, the step of extracting medical skills assessment entities and entity relationships from the medical data to construct an initial knowledge base includes: Using a pre-defined named entity recognition model, the medical skills assessment entities are identified and extracted from the medical data; Based on preset rule templates and dependency parsing, entity relationships are established between the extracted medical skills assessment entities. The extracted entities and relationships of the medical skills assessment are filtered by confidence level to construct an initial knowledge base.

[0010] Preferably, in the medical skills assessment knowledge graph construction and reasoning method, the step of statistically analyzing the assessment data, extracting candidate skills assessment entities, and generating a candidate knowledge base includes: The assessment data is preprocessed to construct a quadruple dataset, wherein the quadruple includes the operation steps, scoring dimensions, scores, and reasons for deductions. A preset frequent itemset mining algorithm is used to mine high-frequency error patterns from the quadruple dataset to obtain candidate common error entities; Keyword extraction and semantic clustering are performed on the quadruple dataset to extract rating points that do not appear in the initial knowledge base as candidate rating point entities; A candidate knowledge base is generated based on the candidate common error entities and the candidate scoring point entities.

[0011] Preferably, in the method for constructing and reasoning the medical skills assessment knowledge graph, the initial knowledge base and the candidate knowledge base are subjected to entity alignment and relation merging to obtain the medical skills assessment knowledge graph; Select entity pairs to be compared from the initial knowledge base and the candidate knowledge base; The name similarity and relational structure similarity of the entity pairs are calculated separately, and a weighted average is then calculated to obtain the comprehensive similarity. Based on the comprehensive similarity and the preset threshold range, the entity pairs are classified and determined to obtain the determination result; If the determination result is the same entity, then the entity pair is merged. If the determination result is different entities, then the entities in the entity pair are retained; After all entity pairs have completed entity alignment and relation merging, the medical skills assessment knowledge graph is obtained.

[0012] Preferably, in the medical skills assessment knowledge graph construction and reasoning method, the step of searching the medical skills assessment knowledge graph based on the assessment operation and the assessment score to obtain search results includes: Convert the assessment operation and the assessment score into a query vector; Based on the query vector and the preset retrieval algorithm, similarity detection is performed on the medical skills assessment knowledge graph, and the top-K related entities and their one-hop neighbors are returned to form a knowledge subgraph as the retrieval result.

[0013] Preferably, in the method for constructing and reasoning a medical skills assessment knowledge graph, after performing entity alignment and relation merging on the initial knowledge base and the candidate knowledge base to obtain the medical skills assessment knowledge graph, the method further includes: Obtain incremental assessment data within a preset time period; The density peak clustering algorithm is used to perform cluster analysis on the incremental assessment data to obtain candidate knowledge points; Using a pre-defined credibility assessment model, the candidate knowledge points are evaluated for credibility, and a credibility score for each candidate knowledge point is obtained. Based on the credibility score, the candidate knowledge points are screened, and the screened candidate knowledge points are used to incrementally update the medical skills assessment knowledge graph.

[0014] Preferably, in the medical skills assessment knowledge graph construction and reasoning method, the step of using density peak clustering algorithm to perform cluster analysis on the incremental assessment data to obtain candidate knowledge points includes: Multiple operational feature sequences are extracted from the incremental assessment data, and each sequence is encoded to obtain multiple feature vectors. Calculate the Euclidean distance between all pairs of feature vectors, and for each feature vector, calculate the local density and relative distance respectively; The product of the local density and the relative distance is used as the cluster center determination index. Cluster centers are selected from multiple feature vectors, and the remaining feature vectors are assigned to the nearest cluster to complete the clustering. The clusters obtained from clustering are matched with entities in the medical skills assessment knowledge graph for similarity, and clusters that do not match are output as candidate knowledge points.

[0015] Preferably, in the medical skills assessment knowledge graph construction and reasoning method, the credibility assessment model adopts a random forest model, and the credibility assessment of the candidate knowledge points using the preset credibility assessment model to obtain the credibility score of the candidate knowledge points includes: The input features of the candidate knowledge points are obtained, including the frequency of occurrence of the candidate knowledge points, the number of covered samples, the semantic similarity with existing knowledge points, the historical adoption rate of experts, the number of data sources, the time consistency score, and the cross-project generalization. The input features are input into the credibility evaluation model, and the credibility score of the candidate knowledge points is output.

[0016] The second objective of this application is to provide a medical skills assessment knowledge graph construction and reasoning system.

[0017] The second objective of this application is achieved through the following technical solution: A medical skills assessment knowledge graph construction and reasoning system includes: An extraction unit is used to acquire medical data, extract medical skills assessment entities and entity relationships from the medical data, and construct an initial knowledge base; The extraction unit is used to acquire assessment data, perform statistical analysis on the assessment data, extract candidate skill assessment entities, and generate a candidate knowledge base. The alignment unit is used to perform entity alignment and relation merging on the initial knowledge base and the candidate knowledge base to obtain a medical skills assessment knowledge graph; The retrieval unit is used to obtain the examinee's assessment operations and assessment scores, and to perform a retrieval in the medical skills assessment knowledge graph based on the assessment operations and assessment scores to obtain retrieval results. The reasoning unit is used to input the retrieval results into a pre-trained large language model for rating reasoning and to obtain the rating explanation results.

[0018] The above technical solution acquires medical data, extracts medical skills assessment entities and entity relationships from the medical data, and constructs an initial knowledge base; acquires assessment data, performs statistical analysis on the assessment data, extracts candidate skills assessment entities, and generates a candidate knowledge base; aligns entities and merges relationships between the initial knowledge base and the candidate knowledge base to obtain a medical skills assessment knowledge graph, thereby solving the problems of static and fixed scoring standards and the lack of a dedicated medical operation knowledge graph in existing technologies, realizing the transformation of scoring standards from manual maintenance to automatic updates; by acquiring the examinee's assessment operations and assessment scores, a search is performed in the medical skills assessment knowledge graph based on the assessment operations and assessment scores to obtain search results; the search results are input into a pre-trained large language model for scoring reasoning to obtain scoring interpretation results, thereby closely integrating RAG retrieval with scoring reasoning, making the scoring results traceable to specific standard provisions, and solving the problem of the disconnect between RAG retrieval and scoring reasoning in existing technologies.

[0019] In summary, the above-mentioned technical solutions can overcome the limitations of static and fixed scoring standards, make up for the lack of specialized knowledge graphs in the field of medical operations, and effectively resolve the disconnect between the RAG retrieval mechanism and the scoring reasoning process. Attached Figure Description

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

[0021] Figure 1 This is a flowchart illustrating a medical skills assessment knowledge graph construction and reasoning method in an embodiment of this application. Figure 2 This is a schematic diagram of the structure of a medical skills assessment knowledge graph construction and reasoning system in an embodiment of this application. Detailed Implementation

[0022] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0023] In the embodiments provided in this application, it should be understood that the disclosed methods and systems can be implemented in other ways. The system embodiments described below are merely illustrative. For example, the division of units and modules is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or modules can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, and can be electrical, mechanical, or other forms.

[0024] In addition, each functional unit in the various embodiments of this application can be integrated into a single processor, or each unit can be a separate device, or two or more units can be integrated into a single device; each functional unit in the various embodiments of this application can be implemented in hardware or in the form of hardware plus software functional units.

[0025] Those skilled in the art will understand that all or part of the steps of the following method embodiments can be implemented by program instructions and related hardware. The aforementioned program instructions can be stored in a computer-readable storage medium. When the program instructions are executed, they perform the steps of the following method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0026] It should be understood that the use of terms such as "system," "device," "unit," and / or "module" in this application is merely one method of distinguishing different components, elements, parts, sections, or assemblies at different levels. However, if other terms can achieve the same purpose, they may be replaced by other expressions.

[0027] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "a plurality of" or "several" means two or more, unless otherwise explicitly specified.

[0028] If a flowchart is used in this application, it is used to illustrate the operations performed by the system according to embodiments of this application. It should be understood that the preceding or following operations are not necessarily performed precisely in sequence. Instead, the steps can be processed in reverse order or simultaneously. Furthermore, other operations can be added to these processes, or one or more steps can be removed from them.

[0029] It should also be noted that, in this document, terms such as “comprising,” “including,” or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase “comprising one…” does not exclude the presence of other identical elements in the article or device that includes the aforementioned element.

[0030] like Figure 1 As shown in the embodiments of this application, a method for constructing and reasoning a medical skills assessment knowledge graph is provided, including: S101. Obtain medical data, extract medical skills assessment entities and entity relationships from the medical data, and construct an initial knowledge base; In S101, specifically, the medical data originates from an authoritative knowledge base, which may include medical textbooks, skills assessment standards published by the National Medical Examination Center, and hospital standardized operating procedures (SOP) documents. Then, medical skills assessment entities and their relationships are extracted from the medical data to form an initial knowledge base.

[0031] The medical skills assessment entities can include six predefined core entities: skill item entity, operation procedure entity, scoring dimension entity, scoring point entity, technique standard entity, and common error entity. The specific meanings of each entity are as follows: Table 1. Specific meanings of medical skills assessment entities

[0032] Based on the above 6 types of core entities, 5 types of core entity relationships are predefined, specifically including: inclusion relationship for establishing the mapping from skill item entity to operation step entity, scoring relationship for establishing the mapping from operation step entity to scoring dimension entity, inspection relationship for establishing the mapping from scoring dimension entity to scoring point entity, standardization relationship for establishing the mapping from scoring point entity to technique specification entity, and error relationship for establishing the mapping from technique specification entity to common error entity.

[0033] The skill assessment knowledge network is structured into five core relationships: **SkillItem→Step:** This relationship defines the operational steps involved in a skill item, such as skin disinfection, tourniquet application, and local anesthesia for intravenous puncture. **Step→Dimension:** This relationship defines the corresponding scoring dimensions for each operational step, such as aseptic technique for skin disinfection. **Dimension→Checkpoint:** This relationship defines the specific scoring points within each scoring dimension, such as correct disinfection sequence for aseptic technique. **Checkpoint→Technique:** This relationship defines the standard operating procedures associated with each scoring point, such as the spiral application technique with a cotton swab for disinfection. **Checkpoint→Error:** This relationship defines common error types associated with each scoring point, such as insufficient disinfection area or reversed disinfection sequence for disinfection. These five core entity relationships organically connect the six core entity relationships, forming a complete knowledge network for skill assessment.

[0034] In some embodiments, one implementation of the step of extracting medical skills assessment entities and entity relationships from medical data to construct an initial knowledge base specifically includes: S1011. Using a pre-defined named entity recognition model, identify and extract medical skills assessment entities from medical data; Specifically, in S1011, the existing BERT-BiLSTM-CRF model can be used as the preset named entity recognition model to identify and extract the above six core entities from medical data. Among them, skill item entities can be extracted through chapter title pattern matching, operation step entities can be extracted through serial number list pattern, scoring dimension entities and scoring point entities can be extracted through scoring table structure, technique standard entities can be extracted through verb phrase template matching, and common error entities can be extracted by triggering keywords such as "error", "contraindication", and "caution". This application is not limited to these.

[0035] S1012. Based on preset rule templates and dependency parsing, establish entity relationships among the extracted medical skills assessment entities; In S1012, specifically, the preset rule template can be pre-constructed based on the hierarchical relationship and syntactic position features of the above 5 types of core entities, and relation extraction is completed based on dependency parsing. Relationships of the above 5 types of core entities are established among the above 6 types of core entities. Among them, the inclusion relationship can be triggered by predicates such as "include / belong to / include", the scoring relationship can be established by the co-occurrence statistics of steps and dimensions, the inspection relationship can be identified by the hierarchical indentation of dimensions and key points, and the normative relationship and error relationship can be extracted by the association syntactic pattern of key points and techniques / errors. This application is not limited to these.

[0036] S1013. Filter the extracted entities and entity relationships from the medical skills assessment based on confidence level to construct an initial knowledge base.

[0037] In S1013, specifically, the confidence level can be output by the named entity recognition model when extracting entities, with a value of 0-1. Low-quality extraction results with a confidence level lower than the preset confidence threshold (such as 0.7) are removed, and only entities and relation results with high confidence are retained and stored in the structured graph database to complete the construction of the initial knowledge base.

[0038] In other embodiments, after the initial knowledge base is built, expert knowledge can be injected, and clinical experts can review the automatically extracted results through a graphical interface to supplement the missing scoring points and method specifications. This application is not limited to this.

[0039] S102. Obtain assessment data, perform statistical analysis on the assessment data, extract candidate skill assessment entities, and generate a candidate knowledge base; In S102, specifically, the assessment data can be historical assessment video scoring data, including the operation recognition results and scoring records of each assessment video. Statistical analysis is performed on the assessment data to mine candidate skill assessment entities and generate a candidate knowledge base.

[0040] In some embodiments, one implementation of the steps of statistically analyzing assessment data, extracting candidate skill assessment entities, and generating a candidate knowledge base specifically includes: S1021. Preprocess the assessment data and construct a quadruple dataset, wherein the quadruple includes the operation steps, scoring dimensions, scores, and reasons for deductions; In S1021, specifically, the operation recognition results and scoring records of each video in the assessment data are precisely aligned with the timestamps. Then, based on the aligned data, a four-tuple dataset containing "operation steps - scoring dimensions - score - deduction reason" is constructed to fully present the operation steps, scoring dimensions, quantitative scores and deduction basis of each assessment link, providing structured and traceable data support for subsequent mining and analysis.

[0041] S1022. Using a pre-defined frequent itemset mining algorithm, high-frequency error patterns are mined from the quadruple dataset to obtain candidate common error entities; In S1022, specifically, the FP-Growth (Frequent Pattern Growth) algorithm can be used as the preset frequent itemset mining algorithm. The minimum support threshold is set to 0.05. Frequent itemset mining is performed from the deduction records of the quadruple dataset to mine high-frequency error patterns and filter out error combinations that appear more than the threshold as candidate common error entities.

[0042] S1023. For the quadruple dataset, perform keyword extraction and semantic clustering, and extract the rating points that do not appear in the initial knowledge base as candidate rating point entities; In S1023, specifically, a case analysis can be performed on the assessment data in the quadruple dataset that scored below 60 points (failing). TF-IDF keyword extraction combined with BERT semantic clustering is used to extract the scoring points that do not appear in the existing initial knowledge base from the examiner's text comments as candidate scoring point entities.

[0043] S1024. Generate a candidate knowledge base based on candidate common error entities and candidate scoring point entities.

[0044] In S1024, specifically, candidate common error entities and candidate scoring point entities are given statistical indicators such as frequency and support, and a candidate list for knowledge base updates is automatically generated as a candidate knowledge base.

[0045] S103. Perform entity alignment and relation merging on the initial knowledge base and candidate knowledge base to obtain a medical skills assessment knowledge graph; In S103, specifically, entity alignment and relation merging are performed on the initial knowledge base and candidate knowledge base to eliminate duplication and conflict, thereby obtaining a medical skills assessment knowledge graph. This solves the problems of static and fixed scoring standards and lack of medical operation-specific knowledge graphs in the existing technology, and realizes the transformation of scoring standards from manual maintenance to automatic updating.

[0046] In some embodiments, one implementation of this step specifically includes: S1031. Select entity pairs to be compared from the initial knowledge base and the candidate knowledge base; In S1031, specifically, a candidate entity e_i is selected from the initial knowledge base, and a candidate entity e_j is selected from the candidate knowledge base, as the entity pair to be compared.

[0047] S1032. Calculate the name similarity and relation structure similarity of entity pairs respectively, and calculate the comprehensive similarity by weighting them; In S1032, specifically, for two candidate entities e_i and e_j in an entity pair, the name similarity S_name = Jaccard(Chars(e_i), Chars(e_j)) is calculated, where Chars represents the character set of the entity name, and Jaccard represents the Jaccard similarity. The Jaccard similarity is used to calculate the degree of overlap between the character sets of the two entity names to obtain the name similarity. The relation structure similarity S_struct = |N(e_i)∩N(e_j)| / |N(e_i)∪N(e_j)| is calculated, where N(e_i) represents the set of one-hop neighbors of candidate entity e_i in the initial knowledge base, and N(e_j) represents the set of one-hop neighbors of candidate entity e_j in the candidate knowledge base. Finally, the weighted calculation yields the comprehensive similarity S_align = a·S_name + b·S_struct, where a and b are preset weight coefficients, for example, a = 0.6, b = 0.4.

[0048] S1033. Based on the comprehensive similarity and the preset threshold range, classify and determine the entity pairs to obtain the determination result; if the determination result is the same entity, merge the entity pairs; if the determination result is different entities, retain the entities in the entity pairs. In S1033, specifically, a preset similarity threshold is used as the dividing point. The first preset threshold interval is defined as the similarity greater than or equal to the preset similarity threshold, and the second preset threshold interval is defined as the similarity less than the preset similarity threshold. When the comprehensive similarity of an entity pair is within the first preset threshold interval, the result is that the entity is the same entity, and the entity pair is merged. When the comprehensive similarity of an entity pair is within the second preset threshold interval, the result is that the entity is different, and the entity is retained. This joint metric considers both semantic name and graph structure information, improves the accuracy of entity alignment, and reduces the workload of manual review.

[0049] In another embodiment, the preset threshold range can be further subdivided, and expert review can be introduced. Specifically, when S_align≥0.85, they are determined to be the same entity, and the entity pair is merged; when 0.65≤S_align<0.85, they are sent to the expert review queue to obtain the expert review results to determine whether to merge the entities; when S_align<0.65, they are determined to be different entities, and the entities in the entity pair are retained.

[0050] S1034. After all entity pairs have completed entity alignment and relation merging, the medical skills assessment knowledge graph is obtained.

[0051] In S1034, specifically, after all entity pairs have completed entity alignment and relation merging, the merged entities and relations are stored in a structured graph database to obtain a medical skills assessment knowledge graph that integrates authoritative assessment standards and practical statistical data, in order to support subsequent knowledge queries, reasoning calls and dynamic updates. Compared with traditional static scoring standards, it is more suitable for the actual needs of clinical skills assessment.

[0052] S104. Obtain the examinee's assessment operations and assessment scores, and based on the assessment operations and assessment scores, perform a search in the medical skills assessment knowledge graph to obtain the search results; In S104, specifically, the candidate's assessment operations and assessment scores can be obtained from the existing medical skills assessment system. The assessment operations can include the candidate's current operation type and identified operation steps. Based on the candidate's assessment operations, a pre-built AI-based intelligent scoring model outputs the candidate's current assessment score. Then, a query vector is constructed based on the assessment operations and assessment scores, and a search is performed in the medical skills assessment knowledge graph to obtain the search results.

[0053] In some embodiments, one implementation of the step of retrieving results from a medical skills assessment knowledge graph based on assessment operations and assessment scores specifically includes: The assessment operations and scores are converted into query vectors. Based on the query vectors and a preset retrieval algorithm, similarity detection is performed in the medical skills assessment knowledge graph, and the top-K relevant entities and their one-hop neighbors are returned to form a knowledge subgraph as the retrieval results.

[0054] The process involves inputting the current examinee's operation type, identified operation steps, and current assessment score into a pre-defined conditional text generator (using a slightly modified version of LLaMA-7B for the medical field). This text is then converted into a query vector q. The query vector q is used to perform a similarity search in the entity embedding space of the medical skills assessment knowledge graph. The pre-defined search algorithm can employ the HNSW (Hierarchical Navigable Small World) approximate nearest neighbor search algorithm, returning the Top-K relevant entities and their one-hop neighbors to form a retrieval subgraph G_sub, which serves as the search result. The value of K can be set based on actual needs.

[0055] S105. Input the search results into the pre-trained large language model for rating inference and obtain the rating explanation results.

[0056] In S105, specifically, the standard clauses, scoring points, and common error information in the retrieval subgraph G_sub are used as context and input into a pre-trained large language model for scoring reasoning, generating scoring explanation results, such as scoring explanations and deduction criteria. This mechanism tightly integrates RAG retrieval with scoring reasoning, making the scoring results traceable to specific standard clauses, thus solving the problem of the disconnect between RAG retrieval and scoring reasoning in existing technologies.

[0057] The above embodiments acquire medical data, extract medical skills assessment entities and entity relationships from the medical data, and construct an initial knowledge base; acquire assessment data, perform statistical analysis on the assessment data, extract candidate skills assessment entities, and generate a candidate knowledge base; align entities and merge relationships between the initial knowledge base and the candidate knowledge base to obtain a medical skills assessment knowledge graph, thereby solving the problems of static and fixed scoring standards and the lack of a dedicated medical operation knowledge graph in the prior art, realizing the transformation of scoring standards from manual maintenance to automatic updating; acquire the examinee's assessment operations and assessment scores, and search in the medical skills assessment knowledge graph based on the assessment operations and assessment scores to obtain search results; input the search results into a pre-trained large language model for scoring reasoning to obtain scoring interpretation results, thereby closely integrating RAG retrieval and scoring reasoning, making the scoring results traceable to specific standard provisions, and solving the problem of the disconnect between RAG retrieval and scoring reasoning in the prior art. In summary, the above embodiments can overcome the limitations of static and fixed scoring standards, make up for the lack of a dedicated knowledge graph in the field of medical operations, and effectively eliminate the disconnect between the RAG retrieval mechanism and the scoring reasoning process.

[0058] In other embodiments of this application, to achieve incremental updates and self-evolution of the knowledge graph, after the steps of performing entity alignment and relation merging on the initial knowledge base and candidate knowledge base to obtain the medical skills assessment knowledge graph are executed, the method further includes: S201. Obtain incremental assessment data within a preset time period; Specifically, in S201, incremental assessment data over n consecutive months can be obtained. This incremental assessment data can be assessment video scoring data, including the operation recognition results and scoring records for each assessment video. The value of n can be determined based on actual needs.

[0059] S202. Using the density peak clustering algorithm, cluster analysis is performed on the incremental assessment data to obtain candidate knowledge points; In S202, specifically, the Density Peaks Clustering (DPC) algorithm is used to cluster the incremental assessment data over n consecutive months and extract high-density, unmatched clusters as candidate knowledge points.

[0060] In some embodiments, one implementation of this step specifically includes: extracting multiple operational feature sequences from the incremental assessment data, encoding them respectively to obtain multiple feature vectors; calculating the Euclidean distance between all pairwise feature vectors, and calculating the local density and relative distance for each feature vector; using the product of the local density and relative distance as the cluster center determination index, selecting cluster centers from the multiple feature vectors, and assigning the remaining feature vectors to the nearest cluster to complete the clustering; performing similarity matching between the clusters obtained from the clustering and entities in the medical skills assessment knowledge graph, and outputting the clusters that did not match successfully as candidate knowledge points.

[0061] First, the operational feature sequences (including operation type, execution duration, and scoring deviation) of each assessment video are extracted from the incremental assessment data and encoded into 128-dimensional feature vectors. Then, the Euclidean distance between all pairwise feature vectors is calculated, and for each feature vector, the local density ρ_i (the number of points in the neighborhood with a truncation distance d_c=0.5 radius) and relative distance δ_i (the minimum distance to a higher density point) are calculated. Next, the product of ρ_i and δ_i, γ_i=ρ_i×δ_i, is used as the cluster center determination index. Feature vectors with γ_i exceeding twice the standard deviation of the mean are selected as cluster centers, and the remaining feature vectors are assigned to the nearest high-density clusters, completing the clustering. Finally, each cluster obtained from clustering is semantically matched with entities in the existing medical skills assessment knowledge graph. Cosine similarity can be used for calculation, with a threshold of 0.8. If the similarity is lower than this threshold, it is considered an unsuccessful match, and the unsuccessful clusters are output as candidate knowledge points.

[0062] S203. Using a pre-set credibility assessment model, perform credibility assessment on candidate knowledge points to obtain credibility scores for candidate knowledge points; Specifically, in S203, a pre-defined credibility assessment model is used to evaluate the credibility of candidate knowledge points and output a credibility score. The credibility assessment model can be pre-built based on existing artificial intelligence models.

[0063] In some embodiments, to improve the accuracy of credibility assessment, the credibility assessment model adopts a random forest model. This model takes the frequency of occurrence of candidate knowledge points, the number of covered samples, the semantic similarity with existing knowledge points, the historical adoption rate of experts, the number of data sources, the time consistency score, and the cross-project generalization as inputs to the model, and outputs a credibility score through model calculation.

[0064] Accordingly, the specific implementation of the step of using a pre-defined credibility assessment model to assess the credibility of candidate knowledge points and obtain their credibility scores includes: obtaining the input features of the candidate knowledge points, wherein the input features include the frequency of occurrence of the candidate knowledge points, the number of covered samples, the semantic similarity with existing knowledge points, the historical adoption rate of experts, the number of data sources, the time consistency score, and the cross-project generalization; inputting the input features into the credibility assessment model and outputting the credibility scores of the candidate knowledge points.

[0065] The specific calculation methods for each input feature are as follows: Frequency of occurrence of candidate knowledge points, which refers to the number of times the knowledge point is identified in the incremental assessment data over the past n months; Number of covered samples, which refers to the number of assessment video segments involved in the knowledge point; Semantic similarity with existing knowledge points, which refers to the BERT embedding cosine similarity between the candidate knowledge point and the nearest neighbor entity in the medical skills assessment knowledge graph; Expert historical adoption rate, which refers to the adoption rate of knowledge submitted by experts from the source of the knowledge point in the past; Number of data sources, which refers to the number of independent sources in which the knowledge point appears in different data sources (textbooks, SOPs, assessment videos, examiner comments); Temporal consistency score, which refers to the stability of the knowledge point in different months, specifically the inverse of the coefficient of variation of the frequency of occurrence between months; Cross-project generalization, which refers to the number of skill projects to which the knowledge point is applicable.

[0066] The random forest model contains 100 decision trees with a maximum depth of 10. It uses the Gini coefficient as the splitting criterion, and the training dataset consists of historically labeled candidate knowledge points (including adoption and rejection labels). It uses 5-fold cross-validation for hyperparameter tuning and finally outputs a confidence score in the [0,1] interval.

[0067] S204. Based on credibility scores, candidate knowledge points are screened, and the screened candidate knowledge points are used to incrementally update the medical skills assessment knowledge graph.

[0068] Specifically, in S204, a credibility threshold can be pre-set. Based on the credibility score, candidate knowledge points exceeding the credibility threshold are selected. These selected candidate knowledge points are then incrementally added to the medical skills assessment knowledge graph, and version information is recorded. This design ensures continuous updating of the knowledge graph with controllable update quality. In some embodiments, an expert review mechanism can also be introduced, using a web-based review interface. Candidate knowledge points are sorted in descending order of credibility score. After expert review, the review results are automatically recorded, triggering incremental updates to the medical skills assessment knowledge graph. This application is not limited to this.

[0069] In this embodiment, the quality of knowledge is ensured by candidate knowledge point discovery and credibility assessment models, ensuring the accuracy and controllability of the knowledge graph's self-evolution. The continuously updated knowledge graph can always adapt to the actual needs of current clinical skills assessment, further improving the accuracy and interpretability of subsequent scoring and reasoning processes, and providing continuous and stable knowledge support for the fairness and professionalism of medical skills assessment.

[0070] like Figure 2 As shown, in another embodiment of this application, a medical skills assessment knowledge graph construction and reasoning system is also provided, including: Extraction unit 10 is used to acquire medical data, extract medical skills assessment entities and entity relationships from the medical data, and build an initial knowledge base; Extraction unit 11 is used to acquire assessment data, perform statistical analysis on the assessment data, extract candidate skill assessment entities, and generate a candidate knowledge base; Alignment unit 12 is used to perform entity alignment and relation merging on the initial knowledge base and candidate knowledge base to obtain a medical skills assessment knowledge graph; The retrieval unit 13 is used to obtain the examinee's assessment operations and assessment scores, and to perform a search in the medical skills assessment knowledge graph based on the assessment operations and assessment scores to obtain the search results. The reasoning unit 14 is used to input the retrieval results into a pre-trained large language model for scoring reasoning and to obtain the scoring explanation results.

[0071] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for constructing and reasoning about a knowledge graph for medical skills assessment, characterized in that, include: Acquire medical data, extract medical skills assessment entities and entity relationships from the medical data, and construct an initial knowledge base; Acquire assessment data, perform statistical analysis on the assessment data, extract candidate skill assessment entities, and generate a candidate knowledge base; Entity alignment and relation merging are performed on the initial knowledge base and the candidate knowledge base to obtain a medical skills assessment knowledge graph; The examinee's assessment operations and assessment scores are obtained. Based on the assessment operations and assessment scores, a search is performed in the medical skills assessment knowledge graph to obtain the search results. The search results are input into a pre-trained large language model for rating inference to obtain rating explanation results.

2. The method as described in claim 1, characterized in that, The medical skills assessment entities include skill item entities, operation step entities, scoring dimension entities, scoring point entities, technique standard entities, and common error entities; The entity relationships include inclusion relationships for establishing mappings from skill item entities to operation step entities, scoring relationships for establishing mappings from operation step entities to scoring dimension entities, inspection relationships for establishing mappings from scoring dimension entities to scoring point entities, standardization relationships for establishing mappings from scoring point entities to technique specification entities, and error relationships for establishing mappings from technique specification entities to common error entities.

3. The method as described in claim 2, characterized in that, The step of extracting medical skills assessment entities and entity relationships from the medical data to construct an initial knowledge base includes: Using a pre-defined named entity recognition model, the medical skills assessment entities are identified and extracted from the medical data; Based on preset rule templates and dependency parsing, entity relationships are established between the extracted medical skills assessment entities. The extracted entities and relationships of the medical skills assessment are filtered by confidence level to construct an initial knowledge base.

4. The method as described in claim 2, characterized in that, The step of statistically analyzing the assessment data, extracting candidate skill assessment entities, and generating a candidate knowledge base includes: The assessment data is preprocessed to construct a quadruple dataset, wherein the quadruple includes the operation steps, scoring dimensions, scores, and reasons for deductions. A preset frequent itemset mining algorithm is used to mine high-frequency error patterns from the quadruple dataset to obtain candidate common error entities; Keyword extraction and semantic clustering are performed on the quadruple dataset to extract rating points that do not appear in the initial knowledge base as candidate rating point entities; A candidate knowledge base is generated based on the candidate common error entities and the candidate scoring point entities.

5. The method as described in claim 1, characterized in that, The initial knowledge base and the candidate knowledge base are subjected to entity alignment and relation merging to obtain a medical skills assessment knowledge graph; Select entity pairs to be compared from the initial knowledge base and the candidate knowledge base; The name similarity and relational structure similarity of the entity pairs are calculated separately, and a weighted average is then calculated to obtain the comprehensive similarity. Based on the comprehensive similarity and the preset threshold range, the entity pairs are classified and determined to obtain the determination result; If the determination result is the same entity, then the entity pair is merged. If the determination result is different entities, then the entities in the entity pair are retained; After all entity pairs have completed entity alignment and relation merging, the medical skills assessment knowledge graph is obtained.

6. The method as described in claim 1, characterized in that, Based on the assessment operation and the assessment score, a search is performed in the medical skills assessment knowledge graph to obtain search results, including: Convert the assessment operation and the assessment score into a query vector; Based on the query vector and the preset retrieval algorithm, similarity detection is performed on the medical skills assessment knowledge graph, and the top-K related entities and their one-hop neighbors are returned to form a knowledge subgraph as the retrieval result.

7. The method as described in claim 1, characterized in that, After performing entity alignment and relation merging on the initial knowledge base and the candidate knowledge base to obtain the medical skills assessment knowledge graph, the process further includes: Obtain incremental assessment data within a preset time period; The density peak clustering algorithm is used to perform cluster analysis on the incremental assessment data to obtain candidate knowledge points; Using a pre-defined credibility assessment model, the candidate knowledge points are evaluated for credibility, and a credibility score for each candidate knowledge point is obtained. Based on the credibility score, the candidate knowledge points are screened, and the screened candidate knowledge points are used to incrementally update the medical skills assessment knowledge graph.

8. The method as described in claim 7, characterized in that, The density peak clustering algorithm is used to perform cluster analysis on the incremental assessment data to obtain candidate knowledge points, including: Multiple operational feature sequences are extracted from the incremental assessment data, and each sequence is encoded to obtain multiple feature vectors. Calculate the Euclidean distance between all pairs of feature vectors, and for each feature vector, calculate the local density and relative distance respectively; The product of the local density and the relative distance is used as the cluster center determination index. Cluster centers are selected from multiple feature vectors, and the remaining feature vectors are assigned to the nearest cluster to complete the clustering. The clusters obtained from clustering are matched with entities in the medical skills assessment knowledge graph for similarity, and clusters that do not match are output as candidate knowledge points.

9. The method as described in claim 7, characterized in that, The credibility assessment model adopts a random forest model. The process of using the preset credibility assessment model to evaluate the credibility of the candidate knowledge points and obtain a credibility score for each candidate knowledge point includes: The input features of the candidate knowledge points are obtained, including the frequency of occurrence of the candidate knowledge points, the number of covered samples, the semantic similarity with existing knowledge points, the historical adoption rate of experts, the number of data sources, the time consistency score, and the cross-project generalization. The input features are input into the credibility evaluation model, and the credibility score of the candidate knowledge points is output.

10. A medical skills assessment knowledge graph construction and reasoning system, characterized in that, include: An extraction unit is used to acquire medical data, extract medical skills assessment entities and entity relationships from the medical data, and construct an initial knowledge base; The extraction unit is used to acquire assessment data, perform statistical analysis on the assessment data, extract candidate skill assessment entities, and generate a candidate knowledge base. The alignment unit is used to perform entity alignment and relation merging on the initial knowledge base and the candidate knowledge base to obtain a medical skills assessment knowledge graph; The retrieval unit is used to obtain the examinee's assessment operations and assessment scores, and to perform a retrieval in the medical skills assessment knowledge graph based on the assessment operations and assessment scores to obtain retrieval results. The reasoning unit is used to input the retrieval results into a pre-trained large language model for rating reasoning and to obtain the rating explanation results.